Suite de la discussion commencée 
http://gis.19327.n5.nabble.com/osm2shp-td5722686.html ICI 

Je précise que je n'ai aucune connaissance en python et quelques bases en
bash sous ubuntu.


J'ai mis le script OsmApi.py et osm2shp.py dans le même dossier. Gdal est
installé par défaut avec Qgis.
J'ai effectué un test du script sans trop me poser de questions et j'ai eu
un premier message :

//usr/lib/python2.6/dist-packages/osgeo/gdal.py:80: DeprecationWarning:
ogr.py was placed in a namespace, it is now available as osgeo.ogr
  DeprecationWarning)
ERROR 1: point_out.shp is not a directory.

Creation of output file failed.
/

J'ai remplacé import ogr, osr par from osgeo import ogr

puis et j'ai obtenu ce résultat :

/ERROR 1: point_out.shp is not a directory.

Creation of output file failed./






--
View this message in context: 
http://gis.19327.n5.nabble.com/osm2shp-py-tp5723145.html
Sent from the France mailing list archive at Nabble.com.

_______________________________________________
Talk-fr mailing list
Talk-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-fr

Répondre à