[Gdal-dev] gdalwarp UTM->TM
Jun Wada
YuzuAA at loveboat.cx
Mon Oct 27 09:55:49 EST 2003
Hello:
I have one problem about gdalwarp "UTM->TM".
Please let me know.
I tried to "UTM->TM" by using gdalwarp.
It made a TM-Image file and I checked it by using gdalinfo.
"Corner Coordinate"is OK but "DATUM" is "unknown" and also "SPHEROID" is
"unnamed".
I don't know why ?
When I executed the gdalwarp, I specified Tokyo in "DATUM" and bessel in
"SPHEROID" but...
UTM Image Specification:
C:\Temp\Gdal\gdal119\gdal-1.1.9\apps>gdalinfo po_utm54_0-2.tif
Driver: GTiff/GeoTIFF
Size is 6033, 6120
Coordinate System is:
PROJCS["unnamed",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.2572235630016,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",141],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","32654"]]
Origin = (392317.935490,3784982.868520)
Pixel Size = (1.000000,-1.000000)
Metadata:
TIFFTAG_SOFTWARE=ERDAS IMAGINE
Corner Coordinates:
Upper Left ( 392317.935, 3784982.869) (139d49'52.43"E, 34d12'1.09"N)
Lower Left ( 392317.935, 3778862.869) (139d49'55.17"E, 34d 8'42.43"N)
Upper Right ( 398350.935, 3784982.869) (139d53'48.13"E, 34d12'3.27"N)
Lower Right ( 398350.935, 3778862.869) (139d53'50.71"E, 34d 8'44.61"N)
Center ( 395334.435, 3781922.869) (139d51'51.61"E, 34d10'22.87"N)
Band 1 Block=6033x8 Type=Byte, ColorInterp=Red
Band 2 Block=6033x8 Type=Byte, ColorInterp=Green
Band 3 Block=6033x8 Type=Byte, ColorInterp=Blue
gdalwarp command:
gdalwarptest -et 1.0 -rc -order 3 -t_srs "+proj=tmerc +zone=9 +ellps=bessel
+towgs84=-147.54,507.26,680.47,0,0,0 +k=0.9999 +units=m +to_meter=1.0
+lat_0=36
+lon_0=139.833333333 +datum=Tokyo" po_utm54_0-2.tif trans01.tif
C:\Temp\Gdal\gdal119\gdal-1.1.9\apps>gdalinfo trans01.tif
Driver: GTiff/GeoTIFF
Size is 6103, 6189
Coordinate System is:
PROJCS["unnamed",
GEOGCS["unnamed",
DATUM["unknown",
SPHEROID["unnamed",6377397.155,299.1528128000009]],
PRIMEM["Greenwich",0],
UNIT[,0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",36],
PARAMETER["central_meridian",139.833333333],
PARAMETER["scale_factor",0.9999],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (98.686063,-199929.911644)
Pixel Size = (1.000169,-1.000169)
Corner Coordinates:
Upper Left ( 98.686, -199929.912) (139d50'3.86"E, 34d11'51.09"N)
Lower Left ( 98.686, -206119.960) (139d50'3.85"E, 34d 8'30.15"N)
Upper Right ( 6202.720, -199929.912) (139d54'2.32"E, 34d11'51.02"N)
Lower Right ( 6202.720, -206119.960) (139d54'2.16"E, 34d 8'30.08"N)
Center ( 3150.703, -203024.936) (139d52'3.05"E, 34d10'10.60"N)
Band 1 Block=6103x1 Type=Byte, ColorInterp=Red
Band 2 Block=6103x1 Type=Byte, ColorInterp=Green
Band 3 Block=6103x1 Type=Byte, ColorInterp=Blue
Best regards,
More information about the Gdal-dev
mailing list