New script to convert SHP into OSM relation boundaries (SHPtoOSMBoundaries.py)
Posted by Kapis on 26 September 2016 in English. Last updated on 23 January 2017.Hi OSM community,
my name is Ivan Garcia .
I helped many regions of the world to convert their official boundaries into OSM format and import them into OpenStreetMap following, of course, the OSM import guideline.
So I decided that since a lot of people are doing these conversions manually therefore wasting a lot of time, I created a python script that you can see and improve, it is called SHPtoOSMBoundaries.py
It already exists an script called polyshp2osm.py but it is not specific for administrative boundaries and it is not capable to extract and join together different admin_levels into a single OSM file. That script works perfectly for converting all the features from SHP to OSM format.
Normally, what OSM contributors have is a SHP file received from some official institution or downloaded through some OpenData portal, this example will show the user case of Fiji islands SHP file.
