Lionel,<br><br>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.<br><br>
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.<br>
<br>
Refer to <a href="http://www.gdal.org/classGDALDataset.html">http://www.gdal.org/classGDALDataset.html</a> and <a href="http://gdal.org/classGDALRasterBand.html">http://gdal.org/classGDALRasterBand.html</a> for detailed documentation.<br>
<br><div class="gmail_quote">On Sat, Jun 26, 2010 at 5:05 AM, LKeene <span dir="ltr"><<a href="mailto:lkeene@caltech.edu">lkeene@caltech.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi folks, I'm a new GDAL developer with what I believe is a simple question:<br>
<br>
We're trying to use GDAL in our app to access Envi files. I'm able to get<br>
access to the file bands as well as some other information by using the<br>
GDALDataset and GDALRasterBand objects, but how can I access other<br>
properties of the data file such as the datum type, the XY resolutions and<br>
reference pixel coordinates, the units type, etc...i.e. the other<br>
information contained in the Envi header? Is there an object that<br>
encapsulates this information? Thanks in advance.<br>
<br>
-L<br>
<font color="#888888">--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/How-to-retrieve-map-data-from-Envi-file-tp5224075p5224075.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/How-to-retrieve-map-data-from-Envi-file-tp5224075p5224075.html</a><br>
Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>