<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hello,</span></div><div><br></div><div>The output quality of my mapserver wms service is poor. This mapfile will eventually be used to project another wms server from one projection to another.</div><div><br></div><div>If anyone has an example mapfile that reprojects an air photo into another projection and then in turn serves the air photo into another projection I would appreciate it. Also I included part of my map file</div><div><br></div><div>MAP<br>...</div><div> PROJECTION<br> "init=epsg:26915" ##required<br> END<br> OUTPUTFORMAT<br> NAME 'agg/jpeg'<br> DRIVER AGG/JPEG<br> IMAGEMODE
RGB<br> FORMATOPTION "QUALITY=85"<br> END<br> MAXSIZE 10000 #limit size of wms<br> IMAGETYPE agg/jpeg<br> IMAGECOLOR 255 255 255<br> WEB<br> IMAGEPATH "/ms4w/tmp/ms_tmp/"<br> IMAGEURL "/ms_tmp/"<br> METADATA #should this be in our out of web?<br> 'ows_title' 'My WMS Server' <br> 'ows_onlineresource' 'http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/myapplication/maps/myMap.map' <br> 'ows_srs' 'EPSG:26915 EPSG:26914 EPSG:103748' <br> END #metadata<br> END
#web <br> LAYER<br> DEBUG ON<br> NAME 'MyWMSLayer'<br> TYPE RASTER<br> STATUS ON<br> CONNECTIONTYPE WMS<br> CONNECTION "http://geoint.lmic.state.mn.us/cgi-bin/wms"<br> METADATA<br> "wms_srs" "EPSG:26915"<br> "wms_name" "south11"<br> "wms_server_version" "1.1.1"<br> "wms_format" "image/jpeg"<br> END<br> END # LAYER<br>END # Map
File<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><span></span></div><div><span></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Mark Korver <mwkorver@gmail.com><br><b><span style="font-weight: bold;"></span></b></font>You need to upload your map file for anybody to be able to help on this.<br></div><br>> Hello,<br>><br>> I am using mapserver to consume a wms air photo service, and reproject the<br>> image so that it can be used with a program that requires a wms service in a<br>> different projection. Currently mapserver is working as both a wms client<br>> and wms server, except that the image quality is terrible. To
me it looks<br>> like it might be a 256 color image instead of 24 bit. For the output<br>> format, I am using aag/jpeg, and RGB image mode.<br>><br>> If anyone could help me figure out how to get a better quality image for my<br>> air photo wms client / server I would appreciate it.<br>><br>> Thanks<br>><br>> Mark Volz<br>><br>> _______________________________________________<br>> mapserver-users mailing list<br>> <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>> http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>><br><br><br> </div> </div> </div></body></html>