[gdal-dev] GDAL WMS Reader projection info blank

Baker, Anthony W Anthony.W.Baker at boeing.com
Wed Jul 24 13:06:01 PDT 2013


I am reading through a WMS for raster data using GDALOpen with a GDALWMS xml file.  The first pass of reading the file it picks up the projection information without an issue.  On a later pass of doing a GDALOpen during the same process the projection information is blank.  I think it may be some of the resource clean up that I am doing, although nothing similar happens for standalone raster files. 

I am not sure why this happens.  Can someone shed some light on this for me?

Thank you,

Anthony

Projection info from the first pass:
PROJCS["NAD83 / UTM zone 12N",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4269"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-111],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","26912"]]


More information about the gdal-dev mailing list