Skip to content

Road Network Fetching

Clerik edited this page Mar 11, 2018 · 8 revisions

road_fetcher.py imports functions from road_filter.py, nvdbapi.py, and nvdb_to_geojson.py.

Using the nvdbVegnett class from nvdbapi, we create a road network which is converted to json, using the vegnett2geojson function from nvdb_to_geojson.py. The network we pass through vegnett2geojson is filtered with the remove_keys function from road_filter.py. This filter so far removes the "geometri.kvalitet" field, as well as "felt".

Clone this wiki locally