[OSM-dev] Shape File to OSM

Ted Mielczarek ted.mielczarek at gmail.com
Wed Oct 24 17:42:22 BST 2007


On 10/24/07, Ray Booysen <raybooysen at rjb.za.net> wrote:
> Hi all
>
> Is there a shape file to OSM converter out there in the svn repository?  I
> couldn't seem to find it last time I looked.

I have a one-off Python script I used for state/county borders from
TIGER.  It requires you to use ogr2ogr to convert the shapefile to
GML, and then the Python script converts to OSM.  It's a real hack,
and it only handles
<gml:Polygon><gml:outerBoundaryIs><gml:LinearRing>, but it worked for
my purposes.

-Ted




More information about the dev mailing list