[gdal-dev] OGR API for ESRI Shapefile writer
Chandra Shekhar Kumar
chandra.kumar at flagstonere.bm
Mon Jun 29 14:59:40 EDT 2009
>-----Original Message-----
>From: Even Rouault [mailto:even.rouault at mines-paris.org]
>Almost perfect, but you've made a classical error : you've just forgotten to
>properly close the dataset with OGRDataSource::DestroyDataSource( poDS );
>
>Quoting http://gdal.org/ogr/ogr_apitut.html: "Finally we need to close down
>the datasource in order to ensure headers are written out in an orderly way
>and all resources are recovered."
[Chandra ] It worked like a magic!
It was my fault that I didn't read the tutorial completely :( though it was hardly 2-3 pages and complete in all sense.
Thanks a lot Even!
Regards,
Chandra
**********************************************************************
This communication contains information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), disclosure, copying, distribution, or other use of, or action taken or omitted to be taken in reliance upon, this communication or the information in it is prohibited and maybe unlawful. If you have received this communication in error please notify the sender by return email, delete it from your system and destroy any copies.
**********************************************************************
More information about the gdal-dev
mailing list