[Xastir] Difficulty loading Geotif
Brian D Heaton
bdheaton at c4i2.com
Thu Mar 25 21:30:44 EST 2004
All,
I'm having trouble loading some DOI-10M maps from NIMA. I've attached
the debug output and listgeo output below so I can get some other
eyeballs on it while I dig around in the code. (Before anyone goes high
and right - these are the published freely downloaded DOI-10Ms from the
geoengine.nima.mil site)
I'm running Xastir from CVS (updated earlier this evening) with
libgeotiff-1.2.1, proj-4.4.7, tiff-v3.6.1, and ImageMagick-5.5.7.15.
I've opened the file with both the gimp and via "display test1.tif"
with no problems. I'm open to suggestions. If anyone would like the
file to look at I can zip it up and mail it out. Its a few megs though.
THX/BDH
XASTIR debugging output.....
---------------------------------------------
Load maps start
Load maps Open map file
Found mapname: TESTING/test1.tif
Load maps -TESTING/test1.tif
draw_map: Searching for map driver
draw_map: Found map driver: tif: 3
draw_map: /usr/local/share/xastir/maps/TESTING/test1.tif
/usr/local/share/xastir/maps/TESTING/test1.tif
/usr/local/share/xastir/maps/TESTING/test1.fgd
/usr/local/share/xastir/maps/metadata/test1.fgd
Couldn't open '.fgd' file, assuming no map collar to chop
/usr/local/share/xastir/maps/TESTING/test1.tif
XTIFFOpen
GTIFNew
GTIFDirectoryInfo
GTIFGetDefn
GCS: 4326/WGS 84
Datum: 6326/World Geodetic System 1984
Ellipsoid: 7030/WGS 84 (6378137.00,6356752.31)
Prime Meridian: 8901/Greenwich (0.000000/ 0d 0' 0.00"E)
Corner Coordinates:
Upper Left ( 43.000, 35.000)
Lower Right ( 44.000, 35.000)
Lower Right ( 43.000, 34.500)
Lower Right ( 44.000, 34.500)
Datum: 6326/World Geodetic System 1984
***** Skipping Datum Conversion
Width: 8406
Height: 5562
Photometric: 3
Rows Per Strip: 1
Bits Per Sample: 8
Samples Per Pixel: 1
Planar Config: 1
Loading geoTIFF map: /usr/local/share/xastir/maps/TESTING/test1.tif
NW neat-line corner = 43.000000 35.000000
Problem in translating
NE neat-line corner = 44.000000 35.000000
Problem in translating
SW neat-line corner = 43.000000 34.500000
Problem in translating
SE neat-line corner = 44.000000 34.500000
Problem in translating
Crop points (pixels):
Top: 3 Bottom: 5561 Left: 3 Right: 8405
Initial Bytes Per Row: 8406
xastir_left_x_increment: 0.000000 80280000 80280000 0.000000 3
3 5561 3
xastir_left_y_increment: 30000.000000 19980000 19800000 1.000000
-3 3 5561 3
xastir_right_x_increment: 0.000000 80640000 80640000 0.000000 -3
-3 5561 3
xastir_right_y_increment: 30000.000000 19980000 19800000 1.000000
-3 3 5561 3
Left x increments: 0.000000 0.000000
Left y increments: 30000.000000 1.000000
Right x increments: 0.000000 0.000000
Right y increments: 30000.000000 1.000000
xastir_top_y_increment: 0.000000 19800000 19800000 0.000000 3 3
8405 3
xastir_bottom_y_increment: 0.000000 19980000 19980000 0.000000
-3 -3 8405 3
PixelScale: 0.000119 0.000090 0.000000
Size: x 262144, y 262144
SkipRows: 556
5563 rows read in
Load maps stop
---------------------------------------------------
-- "listgeo" output on test1.tif ---
-----------------------------------------------------
Geotiff_Information:
Version: 1
Key_Revision: 1.0
Tagged_Information:
ModelTiepointTag (2,3):
0 0 0
43 35 0
ModelPixelScaleTag (1,3):
0.0001189768 8.99118864e-05 0
End_Of_Tags.
Keyed_Information:
GTModelTypeGeoKey (Short,1): ModelTypeGeographic
GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
GTCitationGeoKey (Ascii,17): "MUSE Raster File"
GeographicTypeGeoKey (Short,1): GCS_WGS_84
GeogLinearUnitsGeoKey (Short,1): Linear_Meter
GeogAngularUnitsGeoKey (Short,1): Angular_Degree
End_Of_Keys.
End_Of_Geotiff.
GCS: 4326/WGS 84
Datum: 6326/World Geodetic System 1984
Ellipsoid: 7030/WGS 84 (6378137.00,6356752.31)
Prime Meridian: 8901/Greenwich (0.000000/ 0d 0' 0.00"E)
Corner Coordinates:
Upper Left ( 43d 0' 0.00"E, 35d 0' 0.00"N)
Lower Left ( 43d 0' 0.00"E, 34d29'59.68"N)
Upper Right ( 44d 0' 0.43"E, 35d 0' 0.00"N)
Lower Right ( 44d 0' 0.43"E, 34d29'59.68"N)
Center ( 43d30' 0.21"E, 34d44'59.84"N)
More information about the Xastir
mailing list