[Gdal-dev] Problem on creating a simple point shapefile with OGR
Julien Demaria
dem at acri-st.fr
Fri Mar 3 09:38:13 EST 2006
Lin,
This is a common error you get when the output file (.shp .shx and .dbf)
already exists, remove it first and it'll works.
Julien
Zheng, Lin ERDC-TEC-VA a écrit :
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
More information about the Gdal-dev
mailing list