Giter Club home page Giter Club logo

xodr2nxgpd's People

Contributors

larsklitzke avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

xodr2nxgpd's Issues

Error in xodr visualization

Hi, thanks for the great work.

I have an issue when trying to Visualize Interactively an xodr.
campus.zip

I get a GEOSException as follows:

File ~\Miniconda3\envs\ekf\lib\site-packages\shapely\geometry\linestring.py:73, in LineString.__new__(self, coordinates)
     68 if len(coordinates) == 0:
     69     # empty geometry
     70     # TODO better constructor + should shapely.linestrings handle this?
     71     return shapely.from_wkt("LINESTRING EMPTY")
---> 73 geom = shapely.linestrings(coordinates)
     74 if not isinstance(geom, LineString):
     75     raise ValueError("Invalid values passed to LineString constructor")

File ~\Miniconda3\envs\ekf\lib\site-packages\shapely\decorators.py:77, in multithreading_enabled.<locals>.wrapped(*args, **kwargs)
     75     for arr in array_args:
     76         arr.flags.writeable = False
---> 77     return func(*args, **kwargs)
     78 finally:
     79     for arr, old_flag in zip(array_args, old_flags):

File ~\Miniconda3\envs\ekf\lib\site-packages\shapely\creation.py:120, in linestrings(coords, y, z, indices, out, **kwargs)
    118 coords = _xyz_to_coords(coords, y, z)
    119 if indices is None:
--> 120     return lib.linestrings(coords, out=out, **kwargs)
    121 else:
    122     return simple_geometries_1d(coords, indices, GeometryType.LINESTRING, out=out)

GEOSException: IllegalArgumentException: point array must contain 0 or >1 elements

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.