[Gdal-dev] C# Dataset not calling GDALClose()?

Tamas Szekeres szekerest at gmail.com
Wed Jul 11 06:41:30 EDT 2007


Richard,

OGR_DS_Destroy doesn't handle if the datasource is shared so I
consider OGRReleaseDataSource is the proper method to use.

Could you describe your issue in more detail?

Best regards,

Tamas


2007/7/11, Richard Matsunaga <richard.matsunaga at waypointinfo.com>:
>
>
> On a related note, I see that the Dispose() method for DataSource ultimately
> calls the OGRReleaseDataSource() method. Shouldn't this be calling
> OGR_DS_Destroy() instead? The latter method is the one I used in the
> hand-rolled C# wrapper class.
>
> Richard
>
>
>  ________________________________
>  From: gdal-dev-bounces at lists.maptools.org
> [mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of
> Richard Matsunaga
> Sent: July 10, 2007 11:59 PM
> To: gdal-dev at lists.maptools.org
> Subject: [Gdal-dev] C# Dataset not calling GDALClose()?
>
>
>
> Tamas,
>
> Shouldn't Dataset.Dispose() be calling GDALClose()? I'm trying to track down
> a resource issue and wondering if this is a potential problem?
>
> Thanks,
> Richard
> _______________________________________________
> 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