[Xastir] Difficulty loading Geotif

Curt, WE7U archer at eskimo.com
Fri Mar 26 14:09:32 EST 2004


On Thu, 25 Mar 2004, Brian D Heaton wrote:

> 	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)

The code was written originally only to handle the USGS DRG maps.
It probably needs to be gone through and re-done to handle more
generic formats.



> -- "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)


Here's the listgeo output for o48123h1.tif so that you can compare
the two:

Geotiff_Information:
   Version: 1
   Key_Revision: 0.2
   Tagged_Information:
      ModelTiepointTag (2,3):
         0                0                0
         489672.772       5428102.43       0
      ModelPixelScaleTag (1,3):
         2.4384           2.4384           0
      End_Of_Tags.
   Keyed_Information:
      GTModelTypeGeoKey (Short,1): ModelTypeProjected
      GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
      ProjectedCSTypeGeoKey (Short,1): PCS_NAD27_UTM_zone_10N
      PCSCitationGeoKey (Ascii,25): "UTM Zone 10 N with NAD27"
      End_Of_Keys.
   End_Of_Geotiff.

PCS = 26710 (NAD27 / UTM zone 10N)
Projection = 16010 (UTM zone 10N)
Projection Method: CT_TransverseMercator
   ProjNatOriginLatGeoKey: 0.000000 (  0d 0' 0.00"N)
   ProjNatOriginLongGeoKey: -123.000000 (123d 0' 0.00"W)
   ProjScaleAtNatOriginGeoKey: 0.999600
   ProjFalseEastingGeoKey: 500000.000000 m
   ProjFalseNorthingGeoKey: 0.000000 m
GCS: 4267/NAD27
Datum: 6267/North American Datum 1927
Ellipsoid: 7008/Clarke 1866 (6378206.40,6356583.80)
Prime Meridian: 8901/Greenwich (0.000000/  0d 0' 0.00"E)
Projection Linear Units: 9001/metre (1.000000m)

Corner Coordinates:
Upper Left    ( 489672.772,5428102.434)  (123d 8'28.36"W, 49d 0'27.72"N)
Lower Left    ( 489672.772,5411694.441)  (123d 8'26.86"W, 48d51'36.36"N)
Upper Right   ( 501937.924,5428102.434)  (122d58'24.61"W, 49d 0'28.02"N)
Lower Right   ( 501937.924,5411694.441)  (122d58'24.89"W, 48d51'36.66"N)
Center        ( 495805.348,5419898.437)  (123d 3'26.18"W, 48d56' 2.30"N)


--
Curt, WE7U			    archer at eskimo dot com
Arlington, WA, USA		http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list