knudby, According to http://gdal.org/formats_list.html and http://gdal.org/frmt_various.html#Envisat you cannot get the projection information but will be able to read GCPs with GDALDataset::GetGCPs().
On Mon, Feb 22, 2010 at 5:40 AM, knudby <[email protected]> wrote: > > Hi, I'm trying to read AATSR data in ESA's N1 format. Supposedly gdal can > do > this, but when I open my files I get no projection or geotransform > information. Is this a known issue, or am I doing something wrong. If I'm > doing something wrong, can someone give me a quick tip on how to get the > information out (Python please). > > A snippet of what I'm using now: > > import sys > import string > import os > from osgeo import osr > from osgeo import gdal > from osgeo import gdalnumeric > from osgeo.gdalconst import * > > source_image_file = "c:/aatsr/l1/aatsr_data.N1" > source_image = gdal.Open(source_image_file, GA_ReadOnly) > geotransform = source_image.GetGeoTransform() #Turns out empty! > projection_reference = source_image.GetProjectionRef() #Turns out empty! > projection = source_image.GetProjection() #Turns out > empty! > > -- > View this message in context: > http://n2.nabble.com/Reading-Envisat-AATSR-L1-data-N1-format-tp4609430p4609430.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. /tʃaɪθənjə/ /kʊmɑr/ +91-9848167848 17.241582N 80.142635E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
