[mapserver-users] GetCoverage and palette Geotiffs
Alexander Petkov
greenkov at gmail.com
Mon Oct 27 11:15:27 PDT 2008
Would it be possible to preserve the original data in an image (number
of bands, and Type, and color interp) in the result of a GetCoverage
request? For example, I serve Paletted Geotiffs through mapserver:
Driver: GTiff/GeoTIFF
Files: /data/da/da122705.tif
Size is 4587, 2889
Coordinate System is:
LOCAL_CS["unnamed",
UNIT["unknown",1]]
Origin = (-2050000.000000000000000,752000.000000000000000)
Pixel Size = (1000.000000000000000,-1000.000000000000000)
Metadata:
AREA_OR_POINT=Point
TIFFTAG_SOFTWARE=Arc/Info
TIFFTAG_XRESOLUTION=0.001
TIFFTAG_YRESOLUTION=0.001
TIFFTAG_RESOLUTIONUNIT=1 (unitless)
Image Structure Metadata:
COMPRESSION=PACKBITS
INTERLEAVE=BAND
Corner Coordinates:
Upper Left (-2050000.000, 752000.000)
Lower Left (-2050000.000,-2137000.000)
Upper Right ( 2537000.000, 752000.000)
Lower Right ( 2537000.000,-2137000.000)
Center ( 243500.000, -692500.000)
Band 1 Block=4587x2 Type=Byte, ColorInterp=Palette
The GetCoverage request, however, returns an RGB Geotiff.
I found a ticket created regarding this enhancement from some time ago:
https://trac.osgeo.org/mapserver/ticket/1671
Any hopes of being able to preserve the orig data after a GetCoverage request?
Thanks in advance,
Alex
More information about the MapServer-users
mailing list