[Gdal-dev] Trouble with append option of ogr2ogr

guillaume huby guillaume.huby.lists at gmail.com
Thu Apr 5 09:24:38 EDT 2007


Hello,

I'm using FWTools 1.2.1

I have two shapefiles :

>ogrinfo out.shp
INFO: Open of `out.shp'
      using driver `ESRI Shapefile' successful.
1: out (Polygon)

>ogrinfo 013719-002.shp
INFO: Open of `013719-002.shp'
      using driver `ESRI Shapefile' successful.
1: 013719-002 (Polygon)

I use ogr2ogr to merge 013719-002.shp into out.shp and have a message error:

>ogr2ogr -append out.shp 013719-002.shp -nln out 013719-002
ERROR 1: out.shp is not a directory.

ESRI Shapefile driver failed to create out.shp

Same result without the -nln option.
Can someone see if I made something wrong ?


Thank you in advance for your reply.

Regards,
Guillaume.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070405/3a0bb4ac/attachment.html


More information about the Gdal-dev mailing list