Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ramyaragupathy/group-relations


https://github.com/ramyaragupathy/group-relations

Last synced: 16 days ago
JSON representation

Awesome Lists containing this project

README

        

### Group - relations

This utility works on an input feature collection of [turn restrictions](http://wiki.openstreetmap.org/wiki/Relation:restriction) from [OSM](http://www.openstreetmap.org/) 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 `

This will give the restructured geojson output to `stdout`.

`group-relations --filename > `

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