Skip to content

Rub21/osmrel2geojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

OpenStreetMap relation to geojson

Convert any OSM relation to geojson, user geofabrik data.

Install

git clone https://github.com/Rub21/osmrel2geojson.git
cd osmrel2geojson/
npm link

Usage

osmrel2geojson <pbf File> <out.geojson File> <options>

e.g

$ osmrel2geojson peru-latest.osm.pbf geo.geojson --type=restriction 
$ osmrel2geojson peru-latest.osm.pbf geo.geojson --type=restriction --restriction=no_u_turn
$ osmrel2geojson peru-latest.osm.pbf geo.geojson --type=restriction --restriction=*

We can add many relations properties as you want.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published