https://github.com/xarg/osm_parser_script
https://github.com/xarg/osm_parser_script
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/xarg/osm_parser_script
- Owner: xarg
- Created: 2011-06-28T09:01:06.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-07-01T11:59:42.000Z (about 15 years ago)
- Last Synced: 2025-04-06T14:14:15.518Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 105 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
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.