sekilab / osn2osm

Transform OpenStreetMap notes *.osn to *.osm file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

osn2osm

Python script for transform OpenStreetMap notes dump file *.osn to *.osm file format. This script improves https://github.com/tbicr/osn2osm as a expand to distinguish between open and closed statuses in OSM-Notes.

Setting

You can output open and closed OSM-Notes by switching the parse_notes() setting.

notes = parse_notes(stdin)
notes = parse_notes_without_closed(stdin)

Usage

wget -qO- http://planet.openstreetmap.org/notes/planet-notes-latest.osn.bz2 | bzcat | python osn2osm.py > output_with_close.osm

About OSM-Notes

Visualize map examples

References

    1. Seto, T.; Kanasugi, H.; Nishimura, Y. Quality Verification of Volunteered Geographic Information Using OSM Notes Data in a Global Context. ISPRS International Journal of Geo-Information, 9(6):372, 2020.06. https://doi.org/10.3390/ijgi9060372

About

Transform OpenStreetMap notes *.osn to *.osm file


Languages

Language:Python 100.0%