On 11-03-04 05:02 AM, Alexandre Leclerc wrote:
Anybody can help me please ?

I feel that the SHPWriteObject() write a bad way in the file.

Do you think it could come from compiler ? I use Borland C++ 6

When I edit the file in text editor it seems good, the length of the file is 
1904

But when I read file with SHPOpen() the psSHP->nFileSize attribute is 100…
oddly this corresponds to the size of the header (shx).

So I wonder if It comes from compiler or not…

What do you think ?

Alexandre,

It sounds like you neglected to close the file so the header remains as
it was on creation.  Shapelib related questions are better sent to the
Shapelib mailing list.


Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to