larsklitzke / xodr2nxgpd Goto Github PK
View Code? Open in Web Editor NEWA converter from OpenDRIVE to NetworkX and GeoPandas
License: MIT License
A converter from OpenDRIVE to NetworkX and GeoPandas
License: MIT License
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.