[mapserver-users] wms server - raster image quality
Mark Volz
MarkVolz at co.lyon.mn.us
Fri Jul 1 08:26:36 PDT 2011
Hello
I set up a WMS Server using Mapserver. The quality of the map is terrible. If anyone an example of a mapfile to serve imagery via wms it would be appreciated.
Thanks
MAP
NAME "MAP"
EXTENT 699283 4853930 736320 4904147
PROJECTION
"init=epsg:26914"
END #PROJECTION
OUTPUTFORMAT
NAME 'gd/jpeg'
#DRIVER GD/JPEG
IMAGEMODE RGB
#IMAGEMODE PC256
FORMATOPTION "TRANSPARENT=FALSE"
FORMATOPTION "QUALITY=90"
DRIVER "AGG/JPEG"
MIMETYPE "image/jpeg"
END #outputformat
MAXSIZE 10000 #limit size of wms
IMAGETYPE gd/jpeg
WEB
IMAGEPATH '/tmp/'
IMAGEURL '/tmp/'
METADATA
'wms_title' 'MAP'
'wms_onlineresource' 'http://localhost/cgi-bin/mapserv.exe?MAP=/ms4w/apps/PipestoneMOOSE/maps_pipestone/Raster/LocalRaster/FSA2010/LocalFSA2010.map'
'wms_srs' 'EPSG:26914'
END #metadata
END #web
###########################
LAYER
NAME 'FSA'
TYPE RASTER
DATA './ortho_1-1_1n_s_mn117_2010_1.sid'
METADATA
'wms_title' 'FSA'
END #metadata
STATUS DEFAULT
PROJECTION
"proj=utm"
"zone=14"
"ellps=GRS80"
"datum=NAD83"
"units=m"
"no_defs"
END #PROJECTION
PROCESSING "OVERSAMPLE_RATIO=1"
END #layer
END ## end Map
Mark Volz
GIS Specialist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110701/01d6bc7a/attachment.htm>
More information about the MapServer-users
mailing list