[mapserver-users] TIFF/GeoTIFF and World Files
Chris Stuber
imap at chesapeake.net
Tue May 22 00:26:12 PDT 2001
MapServer Folks,
Back on the topic of raster images... In the past, I have manually created a
world file to go with my raster images. I ran across a dataset (actually it is
software) that generates GeoTIFF output. The GeoTIFF file contains
GeoKeyDirectories with the following keys/values defined for each image:
KeyDirVersion: 1, KeyMaj/MinRev: 1/2
NumKeyDirKeys: 12
GTModelTypeGeoKey: 2 (ModelTypeGeographic)
GTRasterTypeGeoKey: 1 (RasterPixelIsArea)
GeographicTypeGeoKey: (value always NAD83 or WGS_84 [virtually the same
datum])
GeogPrimeMeridianGeoKey: 8901 (PM_Greenwich)
GeogAngularUnitsGeoKey: 9102 (Degrees)
ProjectedCSTypeGeoKey: 32767 (UserDefinedVal)
ProjectionGeoKey: 32767 (UserDefinedVal)
ProjCoordTransGeoKey: 8 (currently always CT_LambertConfConic [could
change])
ProjStdParallelGeoKey: (value = Standard Parallel closest to equator)
ProjStdParallel2GeoKey: (value = Standard Parallel furtherest from equator)
ProjNatOriginLatGeoKey: (value = Mid Latitude)
ProjCenterLongGeoKey: (value = Central Meridian)
Now, my question is... to what degree does mapserver support GeoTIFF? Will
mapserver
read these GeoTIFF attributes? Do I still need to create a world file to match
the
image? By default, no ".tfw" is generated from this software..... If a
world file
*is* required, can it computed from the GeoTIFF Header information?? There
will be
quite a few images, and I can't image having to manually create world files for
each.
Thanks,
Chris Stuber (mapsurfer)
Silicon Mapping Solutions, Inc.
More information about the MapServer-users
mailing list