[Imports] polyshp2osm.py

Dan Homerick danhomerick at gmail.com
Tue Oct 20 03:43:28 BST 2009


[Sent to the OSM Imports list and to polyshp2osm.py author]

A couple of questions about polyshp2osm.py:

Should I be concerned by the "<osm version='0.5'>" if I'm only working
with nodes and ways? Where do I find the changes that occurred between
ver 0.5 and ver 0.6 of the API?

As far as I can tell, and as the name hints at, polyshp2osm.py only
works for polygons -- it bombs if it hits a non-closed way. Should I
be using shp2osm.pl for non-closed ways? Is there any documentation
for how to add tags using shp2osm.pl?

I'd almost prefer to modify the polyshp2osm.py to accept non-closed
ways, since I know Python already (but not Perl) and it doesn't seem
like a very big change is required. Would anyone be interested in
doing a code-review + commit to the repository if I do modify it?

Cheers,
- Dan




More information about the Imports mailing list