You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First point IMHO: the README and internal code comments could explain more.
Second: I had to install newer modules than specified in requirements.txt - with the specified versions it failed to install.
Used OS: Win10. If I remember correctly the pain started with Fiona.. let me re-check, yep:
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
However, when installing manually shapely, plotly, pandas, overpass, gpxpy, in this order, everything worked.
But I still get this, see last lines:
C:\Python3\python.exe C:/workspace/python/OpenCycleExport/export_cycle_route.py
INFO:__main__:process route france_ncn_V43
INFO:open_cycle_export.route_downloader.query_overpass:query overpass
INFO:__main__:downloaded 1557 route features
INFO:__main__:waypoint cache not found
INFO:open_cycle_export.route_processor.route_processor:create line strings for 1557 features
INFO:open_cycle_export.route_processor.route_processor:processing 1557 ways to find waypoints
INFO:open_cycle_export.route_processor.way_processor:create line segment from 1557 ways (0.0)
INFO:open_cycle_export.route_processor.way_processor:find intersecting lines
INFO:open_cycle_export.route_processor.way_processor:split ways into line segments
INFO:open_cycle_export.route_processor.way_processor:found 1656 line segments
INFO:open_cycle_export.route_processor.way_processor:find line segment costs (8.133967638015747)
INFO:open_cycle_export.route_processor.way_processor:create waypoints (0.009994029998779297)
INFO:open_cycle_export.route_processor.way_processor:create waypoints from line segments
INFO:open_cycle_export.route_processor.way_processor:sort 1572 extracted waypoints
INFO:open_cycle_export.route_processor.way_processor:make empty matrixes for results (0.4837009906768799)
INFO:open_cycle_export.route_processor.way_processor:loop through all waypoint connections (0.2218625545501709)
INFO:open_cycle_export.route_processor.way_processor:process ways complete (51.27227187156677)
INFO:open_cycle_export.route_downloader.query_overpass:query overpass
INFO:__main__:downloaded 1197 place features
INFO:open_cycle_export.route_processor.route_processor:creating route using 1572 waypoints
INFO:__main__:export gpx files for both directions
Traceback (most recent call last):
File "C:/workspace/python/OpenCycleExport/export_cycle_route.py", line 247, in <module>
create_route("France", "ncn", "V43")
File "C:/workspace/python/OpenCycleExport/export_cycle_route.py", line 225, in create_route
export_gpx_route(route_a_to_b, route_a_to_b_name)
File "C:/workspace/python/OpenCycleExport/export_cycle_route.py", line 51, in export_gpx_route
elevations = find_elevations(coordinates)
File "C:\workspace\python\OpenCycleExport\open_cycle_export\route_exporter\elevation_finder.py", line 24, in find_elevations
response = request.json()
File "C:\Python3\lib\site-packages\requests\models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Python3\lib\site-packages\simplejson\__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "C:\Python3\lib\site-packages\simplejson\decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "C:\Python3\lib\site-packages\simplejson\decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
File "C:\Python3\lib\site-packages\simplejson\scanner.py", line 79, in scan_once
return _scan_once(string, idx)
File "C:\Python3\lib\site-packages\simplejson\scanner.py", line 70, in _scan_once
raise JSONDecodeError(errmsg, string, idx)
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered:
Very interesting project, found it via:
https://fosdem.org/2020/schedule/event/creating_gpx_tracks_from_cycle_routes_in_openstreetmap/
First point IMHO: the README and internal code comments could explain more.
Second: I had to install newer modules than specified in requirements.txt - with the specified versions it failed to install.
Used OS: Win10. If I remember correctly the pain started with Fiona.. let me re-check, yep:
However, when installing manually shapely, plotly, pandas, overpass, gpxpy, in this order, everything worked.
But I still get this, see last lines:
The text was updated successfully, but these errors were encountered: