[OSM-talk] script and python bindings

Nathan Mixter nmixter at runbox.com
Wed Jun 10 09:40:18 BST 2009


I'm trying to run the polyshp2osm.py script on a shapefile I converted to
4326 format using ogr2ogr. I copied the script and all three files created
by ogr2ogr to the c directory.

I try to run from the command prompt
python c:\polyshp2osm.py -s 10 -o 40000 -l c:/open C:/Zoning.shp.

 

But I keep getting "ogr python bindings not installed"

 

I tried several different options from
http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries

 

I added the path location\data in the GDAL_DATA system variable and the
location\bin to the path.

 

I added the gdal locaton inside the script.

 

I got the same results when I installed fw tools, when I ran the individual
installation and when I ran it from USBGIS.

 

I tried uninstalling and reinstalling the application several times in
different orders, but still nothing.

 

What am I missing? Anything I can try? Thanks

 






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20090610/1b241916/attachment.html>


More information about the talk mailing list