[Gdal-dev] Problem on creating a simple point shapefile with OGR

Zheng, Lin ERDC-TEC-VA Lin.Zheng at erdc.usace.army.mil
Fri Mar 3 09:21:02 EST 2006


Hi All,
    I am a newbie on OGR.  I read the OGR API tutorial and tried to compile
the "writing to OGR" example with Microsoft Visual C++ 6.0, where a single
shapefile is created using OGR.  The program compiled successfully, but when
after I ran it, it returned:
                    "ERROR 1: point_out.shp is not a directory.
                     Creation of output file failed."
   I also read through the documentation on ESRI shapefile, and it
specifically said that it is possible to use one of the files (.shp, .shx or
.dbf) in a shapefile set as the dataset name.  Did I forget to add something?
Can anyone please help me?
 
        Thank you very much.
 
   Lin Zheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060303/5b4c1390/attachment.html


More information about the Gdal-dev mailing list