mtirwin / mgcp-diff

Turf and Tile Reduce scripts for diffing OSM and MGCP data
0 stars 0 forks source link

A tile-reduce-based script for comparing road networks across vector tilesets (e.g. OSM and MGCP).

Takes two vector tilesets in mbtiles format as input, in this case mgcp.mbtiles and osm.mbtiles. Output is geojson of road segments present in one source but not the other within a certain buffer threshold.

To run:

Geojson may then be turned into vector tiles with tools like tippecanoe.

The output files in this repo (osm-not-mgcp.geojson and mgcp-not-osm.geojson) are provided as sample for viewing in a map client. Alternatively, convert to vector tiles with tippecanoe and view locally with mbview.