[Xastir] "The National Map" maps?
Josh Keller
jeepin95 at comcast.net
Sat Jul 31 23:44:00 EDT 2004
Has anyone ever tried to download maps from "The National Map" viewer
http://nationalmap.usgs.gov/nmjump.html and use them in Xastir? I've
downloaded some maps from here in geotiff format but I don't seem to be able
to load them in Xastir. When I try to load the map I get the following
message on the console.
*** geoTIFF file /usr/local/share/xastir/maps/90042090/90042090.TIF is not
in the proper format.
*** Please reformat it and try again.
I didn't know what to do so I tried resaving the file with GIMP then
inserting the geodata by using geotifcp and the data I exported before
saving with GIMP, but it still does the same thing. Any ideas what I need to
do? I've pasted the results of listgeo and tiffinfo below in case that
helps.
Thanks,
Josh
Listgeo gives the following..
[root at localhost 90042090]# listgeo 90042090.TIF
Geotiff_Information:
Version: 1
Key_Revision: 1.0
Tagged_Information:
ModelTiepointTag (2,3):
0 0 0
530980.2 5033364 0
ModelPixelScaleTag (1,3):
0.3 0.3 0
End_Of_Tags.
Keyed_Information:
GTModelTypeGeoKey (Short,1): ModelTypeProjected
GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
GTCitationGeoKey (Ascii,233): "IMAGINE GeoTIFF Support\nCopyright 1991
- 2001 by ERDAS, Inc. All
Rights Reserved\n@(#)$RCSfile: egtf.c $ $Revision: 1.9.2.4 $ $Date:
2002/01/24 16:43:13Z $\nProjection
Name = NAD_1983_UTM_Zone_10N\nUnits = meters\nGeoTIFF Units = meters"
ProjectedCSTypeGeoKey (Short,1): PCS_NAD83_UTM_zone_10N
PCSCitationGeoKey (Ascii,203): "IMAGINE GeoTIFF Support\nCopyright
1991 - 2001 by ERDAS, Inc. All
Rights Reserved\n@(#)$RCSfile: egtf.c $ $Revision: 1.9.2.4 $ $Date:
2002/01/24 16:43:13Z $\nUTM Zone
10N\nEllipsoid = GRS 1980\nDatum = NAD83"
ProjLinearUnitsGeoKey (Short,1): Linear_Meter
End_Of_Keys.
End_Of_Geotiff.
PCS = 26910 (NAD83 / 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: 4269/NAD83
Datum: 6269/North American Datum 1983
Ellipsoid: 7019/GRS 1980 (6378137.00,6356752.31)
Prime Meridian: 8901/Greenwich (0.000000/ 0d 0' 0.00"E)
Projection Linear Units: 9001/metre (1.000000m)
Corner Coordinates:
Upper Left ( 530980.200, 5033364.000) (122d36'13.65"W, 45d27'11.21"N)
Lower Left ( 530980.200, 5033055.300) (122d36'13.72"W, 45d27' 1.21"N)
Upper Right ( 531348.000, 5033364.000) (122d35'56.72"W, 45d27'11.15"N)
Lower Right ( 531348.000, 5033055.300) (122d35'56.79"W, 45d27' 1.15"N)
Center ( 531164.100, 5033209.650) (122d36' 5.22"W, 45d27' 6.18"N)
[root at localhost 90042090]#
And tiffinfo gives the following..
TIFFReadDirectory: Warning, 90042090.TIF: unknown field with tag 33550
(0x830e) encountered.
TIFFReadDirectory: Warning, 90042090.TIF: unknown field with tag 33922
(0x8482) encountered.
TIFFReadDirectory: Warning, 90042090.TIF: unknown field with tag 34735
(0x87af) encountered.
TIFFReadDirectory: Warning, 90042090.TIF: unknown field with tag 34737
(0x87b1) encountered.
TIFF Directory at offset 0x39bfde
Image Width: 1226 Image Length: 1029
Resolution: 1, 1 (unitless)
Bits/Sample: 8
Sample Format: unsigned integer
Compression Scheme: None
Photometric Interpretation: RGB color
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 3
Rows/Strip: 6
Planar Configuration: single image plane
Software: IMAGINE TIFF Support
Copyright 1991 - 1999 by ERDAS, Inc. All Rights Reserved
@(#)$RCSfile: etif.c $ $Revision: 1.9.1.2 $ $Date: 2001/12/05 00:33:12Z $
Tag 33550: 0.300000,0.300000,0.000000
Tag 33922:
0.000000,0.000000,0.000000,530980.200000,5033364.000000,0.000000
Tag 34735:
1,1,0,6,1024,0,1,1,1025,0,1,1,1026,-30799,233,203,3072,0,1,26910,3073,-30799
,203,0,3076,0,1,9001
Tag 34737: IMAGINE GeoTIFF Support
Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved
@(#)$RCSfile: egtf.c $ $Revision: 1.9.2.4 $ $Date: 2002/01/24 16:43:13Z $
UTM Zone 10N
Ellipsoid = GRS 1980
Datum = NAD83|IMAGINE GeoTIFF Support
Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved
@(#)$RCSfile: egtf.c $ $Revision: 1.9.2.4 $ $Date: 2002/01/24 16:43:13Z $
Projection Name = NAD_1983_UTM_Zone_10N
Units = meters
GeoTIFF Units = meters|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://xastir.org/pipermail/xastir/attachments/20040731/e5f72380/attachment.html>
More information about the Xastir
mailing list