Closed arindam1993 closed 1 day ago
This PR adds an additional logfile in the /logs folder, called ways_dump.ldgeojson thats a newline-delimited GeoJson of all the OSM Ways in the graph cache.
/logs
ways_dump.ldgeojson
This dumpfile can be converted to a visualizable PMTiles tileset using
PMTiles
tippecanoe -zg -l ways_dump -P -o out.pmtiles --drop-densest-as-needed ways_dump.ldgeojson
I also added a webpage to visualize the data.
All the params are in there, here's an example of a OSM Way geo-json-ifield:
{ "type": "Feature", "properties": { "country": "204", "foot_subnetwork": "0", "road_access": "0", "foot$priority": "0.8", "get_off_bike": "0", "road_class_link": "1", "bike2_subnetwork": "0", "foot$access_reversed": "1", "id": "4304424", "roundabout": "0", "bike2$penalty_reversed": "9.0", "bike_network": "0", "foot_network": "0", "bike2$access_reversed": "0", "max_speed_reversed": "Infinity", "foot$access": "1", "road_environment": "4", "max_speed": "Infinity", "cycleway_reversed": "0", "bike2$average_speed_reversed": "18.0", "bike2$average_speed": "18.0", "smoothness": "0", "bike2$access": "1", "foot$average_speed": "5.0", "grade": "1", "name": "", "road_class": "4", "bike2$penalty": "9.0", "cycleway": "0" }, "geometry": { "type": "LineString", "coordinates": [ [ -122.0470346, 37.3867598, 28.01300048828125 ], [ -122.0468441, 37.3865939, 28.136999130249023 ], [ -122.0466566, 37.3864817, 28.450000762939453 ], [ -122.0465405, 37.3864281, 28.636999130249023 ], [ -122.0463011, 37.386358, 28.854000091552734 ] ] } }
Anything in the properties can visualized on the map for debugging.
properties
This PR adds an additional logfile in the
/logs
folder, calledways_dump.ldgeojson
thats a newline-delimited GeoJson of all the OSM Ways in the graph cache.This dumpfile can be converted to a visualizable
PMTiles
tileset usingI also added a webpage to visualize the data.
All the params are in there, here's an example of a OSM Way geo-json-ifield:
Anything in the
properties
can visualized on the map for debugging.