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

https://github.com/xarg/osm_parser_script


https://github.com/xarg/osm_parser_script

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

PBF/OSM to osm filter
==========================

This is a script that filters the boundaries of world countries using the planet.pbf.

Dependencies
---------------

https://github.com/werner2101/python-osm - Generates osm files
https://bitbucket.org/sasha/imposm.parser - Reads PBF/OSM files

Installation and usage
---------------------------

pip install -r requirements.txt
python parser.py --src file.pbf --dst out.osm

The above will generate an .osm file containing the ways and nodes of countries
boundaries.