-
Notifications
You must be signed in to change notification settings - Fork 0
Road Network Fetching
Clerik edited this page Mar 12, 2018
·
8 revisions
The files relevant for this section are: - road_fetcher.py - road_filter.py - nvdbapi.py - nvdb_to_geojson.py
In road_fetcher.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. Using the commune code 5001, category K, and status G, we fetch only the communal walkways and bicycle roads of Trondheim.
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".
Afterwards, a single data point will look like this:
- fylke
- geometri
- srid
- wkt
- href
- kommune
- konnekteringslenke
- medium
- metadata
- startdato
- region
- sluttnode
- sluttposisjon
- startnode
- startposisjon
- strekningslengde
- temakode
- typeVeg
- vegavdeling
- veglenkeid
- vegreferanse
- fra_meter
- fylke
- hp
- kategori
- kommune
- kortform
- nummer
- status
- til_meter
-
Product related
-
Development process and guidelines
-
Sprints
-
Testing
-
-
Old notes