[gdal-dev] Re: GetProjectionRef() difference 1.8 vs 1.7.2
cobalto
scott.a.merritt at navy.mil
Mon Feb 14 15:40:36 EST 2011
I'm hesitant to post the entire gdalinfo dump, but below are the changed
sections for nitf_im:0:myfile.nitf between v1.7.2 and v1.8.0 of gdalinfo
(Win64 w/ kakadu). Does this help? It seems like the info I'm after is now
in the GCP Projection rather than the coordinate system. Does this provide
any additional insight?
v1.7.2:
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AUTHORITY["EPSG","4326"]]
GeoTransform =
-110.3506276351247, 5.274359713657748e-006, -4.110233165192119e-009
31.74208561181177, 4.650427374265933e-008, -4.603461145144028e-006
Metadata:
<SNIP>
NITF_PJUST=R
<SNIP>
Corner Coordinates:
Upper Left (-110.3506276, 31.7420856) (110d21'2.26"W, 31d44'31.51"N)
Lower Left (-110.3507665, 31.5865255) (110d21'2.76"W, 31d35'11.49"N)
Upper Right (-110.1615946, 31.7437523) (110d 9'41.74"W, 31d44'37.51"N)
Lower Right (-110.1617335, 31.5881922) (110d 9'42.24"W, 31d35'17.49"N)
Center (-110.2561806, 31.6651389) (110d15'22.25"W, 31d39'54.50"N)
v1.8.0:
Coordinate System is `'
GCP Projection =
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AUTHORITY["EPSG","4326"]]
GCP[ 0]: Id=UpperLeft, Info=
(0.5,0.5) -> (-110.350555555556,31.7422222222222,0)
GCP[ 1]: Id=UpperRight, Info=
(35839.5,0.5) -> (-110.161666666667,31.7436111111111,0)
GCP[ 2]: Id=LowerRight, Info=
(35839.5,33791.5) -> (-110.161666666667,31.5883333333333,0)
GCP[ 3]: Id=LowerLeft, Info=
(0.5,33791.5) -> (-110.350833333333,31.5863888888889,0)
Metadata:
<SNIP>
NITF_PJUST=R
NITF_ICORDS=G
NITF_IGEOLO=314432N1102102W314437N1100942W313518N1100942W313511N1102103W
<SNIP>
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0,33792.0)
Upper Right (35840.0, 0.0)
Lower Right (35840.0,33792.0)
Center (17920.0,16896.0)
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GetProjectionRef-difference-1-8-vs-1-7-2-tp6024512p6025100.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list