Closed danielfdsilva closed 3 years ago
@danielfdsilva This is the GeoJSON with populated places: places.zip
The GeoJSON with places I shared above contains too many settlements, and running criticality for all-to-all
would take too long. Instead, we can use a file with main settlements, which only contains ~200 locations
Source shapefiles:
MT_101-A_ChefsLieux_Departements
MT_101_ChefsLieux_Communes
MT_102_QuartiersUrbains
Merge them into a single GeoJSON:
ogrmerge.py \
-f "GeoJSON" \
-o populated-places.geojson \
*.shp \
-single \
-t_srs EPSG:4326
This looks good!
This PR adds the base code for the criticality calculation. It uses the same methodology as Mozambique:
Some pairs may become unroutable when ways are ignored, therefore the calculations use the formula:
This seems to be running ok, but with 42627 different ways in the network, this is going to take roughly 12h to run.
Would it make sense to remove the uninvestible roads from the equation?
Next steps:
@olafveerman