polygon2osm icon indicating copy to clipboard operation
polygon2osm copied to clipboard

Converts a polygon filter to a GeoJSON

polygon2osm

Converts a polygon filter to a GeoJSON file.

Setup virtual environment

make setup-env

Install requirements

make bootstrap

Download a polygon filter from Geofabrik

wget http://download.geofabrik.de/europe/italy.poly

Convert it to GeoJSON

python polygon2geojson.py italy.poly