Hello all,

 

I've developed a python script for exporting from ArcGIS directly to the
.OSM file format used by JOSM. The script is available here:
http://users.rowan.edu/~reiser/osm/

 

The script also does the following:

*         Preserves topology. Polygons or lines that share vertices will
become ways that share nodes. Efforts have been made to reduce the
amount of duplicate nodes exported.

*         Creates multipolygon relations for multipart polygons (both
internal ring and external part polygons). 

*         Reprojects to WGS84 automatically. 

*         Exports attribute data as keys. Only fields prefixed with "_"
or "osm_" are exported. 

 

The script can be added to ArcToolbox, allowing ArcGIS users a quick way
to export data to OSM. I'm hoping this will encourage small towns or
institutions (like Rowan, also exported to OSM, here:
http://osm.org/go/ZciXY0SlF-) to contribute to OSM. I used this script
to export the land use/land cover data for the State of New Jersey,
which has since been uploaded to OpenStreetMap
(http://osm.org/go/Zcmube--). I hope this will encourage contributions
from smaller-scale stakeholders, like myself. (I intend to keep Rowan
up-to-date on OSM, as we may use the platform for on-campus mapping
projects in the future.)

 

The code has been released under a CC by-sa-nc license. I'd appreciate
any changes or bug fixes to the code, as well as any comments, questions
or complaints. 

 

-John

 

John Reiser

GIS Support Specialist

Rowan University

201 Mullica Hill Road

Glassboro, NJ 08028

web: http://users.rowan.edu/~reiser/ <http://users.rowan.edu/~reiser/> 

 

_______________________________________________
Imports mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/imports

Reply via email to