developmentseed / road-planning-datapipeline

Data pipeline for the Road Planning tool
MIT License
0 stars 1 forks source link

Road Network processing #1

Closed olafveerman closed 4 years ago

olafveerman commented 4 years ago

Start with a Road Network dataset (Shapefile?) and generate:

  1. an OSRM file
  2. a way_id index
  3. Vector Tiles for display in the frontend
  4. a GeoJSON for other processing (eg. prioritization indicators)

In the process:

  1. attribute meaningful road IDs - https://github.com/developmentseed/resilient-roads-haiti/issues/5
  2. map classification to highway tags - https://github.com/developmentseed/resilient-roads-haiti/issues/4
  3. add bridges(?)

The pipeline could look like:

IMG_20200102_160513

cc @danielfdsilva

danielfdsilva commented 4 years ago

There will need to be an extra step to populate the database with the road information (properties and indicator values - data is similar to the one on the VT). The result could also be a series of csv files that are then imported into the db (manually or not).

olafveerman commented 4 years ago

@danielfdsilva This particular process doesn't deal with the prioritization indicators, purely the road information. Can you document here what basic road information needs to be stored in the database?

olafveerman commented 4 years ago

Note, tThe original road classification will not be mapped to the OSM highway classification. Instead, we'll use a custom OSRM speed profile so we can stick to the original classification.

danielfdsilva commented 4 years ago

@olafveerman The basic road information would be (with example):

  "roadId": "N3-T8811",
  "type": "national",
  "surface": "paved",
  "length": 62.8,
  "condition": "fair",
  "bridges": 4,
  "bridgeLength": 2.44,
  "culverts": 6,
olafveerman commented 4 years ago

The basic road network processing was implemented, with minor changes to the above flow.