[Gdal-dev] RE: MapServer WCS
Martin Daly
Martin.Daly at cadcorp.com
Tue Oct 19 09:29:33 EDT 2004
Frank,
> Well, an extra TIFFOpen() isn't that expensive; however, it
> happens there is a very nice mechanism for handling this.
> The GDALDataset class has a
> GetInternalHandle() method specifically intended to make it
> possible to get internal access handles for "extended access"
> by applications with very specific needs. I have added an
> implementation for the GTiffDataset that returns hTIFF.
>
> void *GTiffDataset::GetInternalHandle( const char * pszHandleName )
>
> {
> return hTIFF;
> }
>
> To future proof you code I would encourage you to pass the
> handle name "hTIFF".
>
> Does this give you what you need?
It does indeed.
Thanks.
Martin
More information about the Gdal-dev
mailing list