>-----Original Message-----
>From: Even Rouault [mailto:even.roua...@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.
**********************************************************************

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

Reply via email to