[Xastir] USGS DRG maps again
Curt Mills, WE7U
hacker at tc.fluke.com
Wed May 7 17:18:42 EDT 2003
On Wed, 7 May 2003, J. Lance Cotton wrote:
> According to the 'listgeo' program that is included with the libgeotiff
> package, a sample of my geotiff map is like:
>
> jlc7944 at www:~/src/libgeotiff-1.1.4/bin> ./listgeo
> /usr/local/xastir/maps/filled/usgs_drg/o30096d3.tif
> Geotiff_Information:
> Version: 1
> Key_Revision: 0.2
> Tagged_Information:
> ModelTiepointTag (2,3):
> 0 0 0
> 751164.128 3378008.64 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_14N
> PCSCitationGeoKey (Ascii,25): "UTM Zone 14 N with NAD27"
> End_Of_Keys.
> End_Of_Geotiff.
>
> PCS = 26714 (NAD27 / UTM zone 14N)
> Projection = 16014 (UTM zone 14N)
> Projection Method: CT_TransverseMercator
> ProjNatOriginLatGeoKey: 0.000000 ( 0d-2147483648' 0.00"N)
> ProjNatOriginLongGeoKey: 0.000000 ( 0d 0' 0.00"E)
> ProjScaleAtNatOriginGeoKey: 597859448.000000
> ProjFalseEastingGeoKey: 0.000000 m
> ProjFalseNorthingGeoKey: 0.000000 m
> GCS: 4267/NAD27
> Datum: 6267/North American Datum 1927
> Ellipsoid: 7008/Clarke 1866 (nan,-214748365.00)
> Prime Meridian: 8901/Greenwich (0.000000/ 0d 0' 0.00"E)
> Projection Linear Units: 9001/metre (1.000000m)
>
> Corner Coordinates:
> Upper Left ( 751164.128,3378008.642)
> Lower Left ( 751164.128,3361386.070)
> Upper Right ( 765084.954,3378008.642)
> Lower Right ( 765084.954,3361386.070)
> Center ( 758124.541,3369697.356)
>
> Those coordinates look like UTM things. Am I right? I don't know for sure.
>
> > Are all of your geoTIFF maps messed up, including ones that used to
> > work, or is it just newer maps that don't work right?
>
> All of my geoTIFF maps are like this, all of them have worked in that past.
> Since you say geoTIFFs work fine on your system, this yet may be unique to me.
Or your particular library versions.
Here is the output from one of my maps that is working just fine.
Looks a bit different here and there from yours, but I'm not sure
yet there's a problem here. Just more data:
> listgeo o48123h1.tif
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 Mills, WE7U hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto: A tax on people who are bad at math!"
"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