Skip to content

Latest commit

 

History

History
15 lines (7 loc) · 650 Bytes

README.md

File metadata and controls

15 lines (7 loc) · 650 Bytes

Group - relations

This utility works on an input feature collection of turn restrictions from OSM and re-group them into features based on unique relations IDs. So the number of features in the output geojson will be equal to the number of unique relation IDs present in your input collection.

Usage:

group-relations --filename <source.geojson>

This will give the restructured geojson output to stdout.

group-relations --filename <source.geojson> > <output.geojson>

This saves the restructured geojson to a file named output.geojson