[gdal-dev] How to retrieve map data from Envi file?
Chaitanya kumar CH
chaitanya.ch at gmail.com
Fri Jun 25 23:57:50 EDT 2010
Lionel,
Most the data you asked for can be obtained with various methods from the
GDALDataSet and GDALRasterBand objects. I'm not sure what you mean by units
type , but I'm sure it can be derived from them.
FYI, reference pixels are called GCPs (Ground Control Points) in GDAL. Datum
can be obtained from the projection definition. GetGeoTransform can be used
to get resolutions.
Refer to http://www.gdal.org/classGDALDataset.html and
http://gdal.org/classGDALRasterBand.html for detailed documentation.
On Sat, Jun 26, 2010 at 5:05 AM, LKeene <lkeene at caltech.edu> wrote:
>
> Hi folks, I'm a new GDAL developer with what I believe is a simple
> question:
>
> We're trying to use GDAL in our app to access Envi files. I'm able to get
> access to the file bands as well as some other information by using the
> GDALDataset and GDALRasterBand objects, but how can I access other
> properties of the data file such as the datum type, the XY resolutions and
> reference pixel coordinates, the units type, etc...i.e. the other
> information contained in the Envi header? Is there an object that
> encapsulates this information? Thanks in advance.
>
> -L
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/How-to-retrieve-map-data-from-Envi-file-tp5224075p5224075.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
--
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100626/c2902d3a/attachment-0001.html
More information about the gdal-dev
mailing list