group-relations

1.0.0 • Public • Published

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

Dependencies (2)

Dev Dependencies (1)

Package Sidebar

Install

npm i group-relations

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • rumc