[Mapserver-users] Mr. SID to GeoTIFF
Ed McNierney
ed at topozone.com
Tue Jul 13 09:53:50 PDT 2004
It sounds like you're using the "native" TIFF support rather than GDAL's
more comprehensive support. Run "mapserv -v" at the command line and
make sure you have GDAL input support and do NOT have TIFF input
support.
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com
-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of
bean at vt.edu
Sent: Tuesday, July 13, 2004 11:36 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Mr. SID to GeoTIFF
I have aerial imagery in Mr. SID format and I use a LizardTech utility
to convert the sid image to a geo tiff. I can view the resulting tiff
in an image viewer, however, when I load it in MapServer (via PHP), I
get the following error:
[MapServer Error]: drawTIFF(): Only colormapped and grayscale images are
supported.
More info:
- The tiff is color.
- The utility offers the following options:
-h or -?
show short usage message
-help
show detailed usage message
-v or -version
show version information
-quiet
don't show informational messages
-log STRING
write output to log file
-progress STRING
progress meter style: none | default | timer
-i or -input STRING
[required]
input file
-o or -output STRING
[required]
output file
-watermarkFile STRING
watermark file
-watermarkPosition STRING
position of watermark: CENTER, CENTER_LEFT, CENTER_RIGHT, UPPER_LEFT,
UPPER_CE NTER, UPPER_RIGHT, LOWER_LEFT, LOWER_CENTER, LOWER_RIGHT
(default)
-drmin or -dynRangeMin UNSIGNED-INT
minimum dynamic range
-drmax or -dynRangeMax UNSIGNED-INT
maximum dynamic range
-drauto or -autoDynRange
automatic dynamic range adjustment
-wf or -worldFile
generate world file
-sh or -stripHeight UNSIGNED-INT
strip height
-ulxy FLOAT0 FLOAT1
upper-left of scene (x,y)
-lrxy FLOAT0 FLOAT1
lower-right of scene (x,y)
-cxy FLOAT0 FLOAT1
center of scene (x,y)
-wh FLOAT0 FLOAT1
size of scene (width,height)
-s or -scale SIGNED-INT
scale of scene
-coord or -coordspace STRING
coordinate space of scene: geo | image | resrel
-jpg or -jpeg
output is JPEG
-tif or -tiff
output is TIFF
-tifg or -geotiff
output is GeoTIFF
-bmp
output is BMP
-bip
output is BIP
-raw
output is RAW (same as BIP)
-pwd or -password STRING
password to decode image
- I used the following command with the conversion utility:
mrsiddecode -i do_s03_9540_00.sid -o do_s03_9540_00.tif -tifg
Thanks for any help.
-Abe
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list