Hi Everyone,
Sorry to bother again! I am looking for a cheap/dirty way of subsetting a
GTiff image based on a rectangle specified in the geo-coordinates. Does GDAL
has already something for that?
Thank you very much in advance.
With best regards.
~Belaid.
> Date: Wed, 29 Jul 2009 16:35:16 -0400
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [gdal-dev] JPEG format - TestCapability
>
> Belaid MOA wrote:
> > Thank you all for your reply.
> >
> > Somehow I could not get TestCapability to work. I get the compilation
> > error: "class GDALDriver has no member named TestCapability". According
> > to the gdal_priv.h and GDAL Doc, the GDALDriver class does not have
> > TestCapability function.
> > Am I missing something?
>
> Belaid,
>
> TestCapability() is actually an OGR method. In GDAL we test for particular
> capability related metadata items. In GDAL you could test for the Create()
> method being supported with the following:
>
> if( GDALGetMetadataItem( hDriver, GDAL_DCAP_CREATE, NULL ) != NULL )
> ... we have Create support ...
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up | Frank Warmerdam, [email protected]
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush | Geospatial Programmer for Rent
>
_________________________________________________________________
Stay in the loop and chat with friends, right from your inbox!
http://go.microsoft.com/?linkid=9671354
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev