<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.35">
<TITLE>Re: [Gdal-dev] Problem on creating a simple point shapefile with OGR</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText21911 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Julien,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2> Thank you for your
help. I think it works now. Will this make a directory full of
shapefiles or just a single shapefile?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2> Thank you
again.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Lin Zheng</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Julien Demaria
[mailto:dem@acri-st.fr]<BR><B>Sent:</B> Fri 3/3/2006 8:38 AM<BR><B>To:</B>
Zheng, Lin ERDC-TEC-VA<BR><B>Cc:</B>
gdal-dev@lists.maptools.org<BR><B>Subject:</B> Re: [Gdal-dev] Problem on
creating a simple point shapefile with OGR<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Lin,<BR><BR>This is a common error you get when the output file
(.shp .shx and .dbf)<BR>already exists, remove it first and it'll
works.<BR><BR><BR>Julien<BR><BR><BR>Zheng, Lin ERDC-TEC-VA a écrit :<BR>> Hi
All,<BR>> I am a newbie on OGR. I read the OGR
API tutorial and tried to<BR>> compile the "writing to OGR" example with
Microsoft Visual C++ 6.0,<BR>> where a single shapefile is created using
OGR. The program compiled<BR>> successfully, but when after I ran it,
it
returned:<BR>>
"ERROR 1: point_out.shp is not a
directory.<BR>>
Creation of output file failed."<BR>> I also read through
the documentation on ESRI shapefile, and it<BR>> specifically said that it is
possible to use one of the files (.shp,<BR>> .shx or .dbf) in a shapefile set
as the dataset name. Did I forget to<BR>> add something? Can
anyone please help
me?<BR>> <BR>> Thank
you very much.<BR>> <BR>> Lin
Zheng<BR>><BR>><BR>>
------------------------------------------------------------------------<BR>><BR>>
_______________________________________________<BR>> Gdal-dev mailing
list<BR>> Gdal-dev@lists.maptools.org<BR>> <A
href="http://lists.maptools.org/mailman/listinfo/gdal-dev">http://lists.maptools.org/mailman/listinfo/gdal-dev</A><BR></FONT></P></DIV>
</BODY>
</HTML>