This repo converts PSMA Administrative Boundaries data into OSM XML.
The data publisher has completed the OSMF CC BY waiver clearing the licensing aspect of an OSM import.
This conversion process outputs results as relations ensuring shared borders are only represented once.
type=boundary
boundary=administrative
admin_level=6
place=municipality
name=
short_name=
With optional tags wikidata
, website
, phone
, email
.
type=boundary
boundary=administrative
admin_level=10
name=
Data also contains ACT Districts which are mapped to admin_level=7
+ place=district
and SA Hundreds which are ommitted.
With optional tags place
, postal_code
, wikidata
.
https://github.com/andrewharvey/psma-admin-bdys-data is used to help process the upstream data, either run through that process or shortcut to the prebuild files using:
make download extract
Convert the Shapefiles to GeoJSON
yarn install
make geojson geojson_osm
Convert the GeoJSON to TopoJSON
make topojson
Simplify the TopoJSON to reduce excess nodes
make simplify
Convert the TopoJSON to OSM
make osm
Processed outputs at https://tianjara.net/data/PSMA_AdminBdy_OSM/