<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=692285911-19102010>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=692285911-19102010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=692285911-19102010>I would guess it is because you have the Google
projection on your list. Try to take is away and see if it works with the
two othet ones on the list. If yes, add</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=692285911-19102010>these lines to your projection file</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=692285911-19102010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=692285911-19102010># Google-projection<BR><900913> +proj=merc
+a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m <A
href="mailto:+nadgrids=@null">+nadgrids=@null</A> +no_defs
<></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><SPAN class=692285911-19102010><FONT color=#0000ff size=2
face=Arial>Otherwise you should be able to do it by following the document <A
href="http://mapserver.org/ogc/wms_server.html">http://mapserver.org/ogc/wms_server.html</A> </FONT></SPAN></DIV>
<DIV><SPAN class=692285911-19102010><FONT color=#0000ff size=2
face=Arial>Supported output projections for all layers are given under
MAP-WEB-METADATA, for example </FONT></SPAN></DIV>
<DIV><SPAN class=692285911-19102010><FONT color=#0000ff size=2
face=Arial>"wms_srs" "EPSG:3067 EPSG:2393 EPSG:4326
EPSG:900913"</FONT></SPAN></DIV>
<DIV><SPAN class=692285911-19102010><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=692285911-19102010><FONT color=#0000ff size=2 face=Arial>Layers
may have different SRS lists if they have an own "wms_srs" I
believe.</FONT></SPAN></DIV>
<DIV><SPAN class=692285911-19102010><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=692285911-19102010><FONT color=#0000ff size=2 face=Arial>-Jukka
Rahkonen-</FONT></SPAN></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=fi class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><FONT size=2><B> </B>rai 8<SPAN
class=692285911-19102010><FONT color=#0000ff face=Arial>
wrote </FONT></SPAN><BR></FONT></FONT></DIV>
<DIV></DIV>
<DIV>Hi!,</DIV>
<DIV><BR></DIV>
<DIV>I'm trying to define multiple output projections in a WMS server, but it
doesn't work, as doc says if you define "wms_srs" it's possible but mapserver
says that SRS "Invalid SRS given", I tried several ways and any works, also in
getCapabilities only show the projection section.</DIV>
<DIV><BR></DIV>
<DIV>any ideas? it's possible without mapscript?</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>My mapfile looks like:</DIV>
<DIV><BR></DIV>
<DIV>MAP</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>SHAPEPATH
"./images"</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>IMAGECOLOR
255 0 0</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>CONFIG<SPAN
style="WHITE-SPACE: pre" class=Apple-tab-span> </SPAN>"MS_ERRORFILE"
"/tmp/mapserver.log"</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN></DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>WEB</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>IMAGEPATH
"/tmp"</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>IMAGEURL "<A
href="http://localhost/tmp/">http://localhost/tmp/</A>"</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>METADATA</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>"wfs_title"
"Demo"</DIV>
<DIV><SPAN style="WHITE-SPACE: pre"
class=Apple-tab-span></SPAN>"wfs_onlineresource" "<A
href="http://localhost/cgi-bin/mapserv">http://localhost/cgi-bin/mapserv</A>?"</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>"wfs_srs"
"EPSG:32631 EPSG:900913
EPSG:4326"</DIV>
<DIV><SPAN style="WHITE-SPACE: pre"
class=Apple-tab-span></SPAN>"ows_schemas_location" <SPAN
style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>"<A
href="http://ogc.dmsolutions.ca">http://ogc.dmsolutions.ca</A>"</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>END</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>END</DIV>
<DIV> </DIV>
<DIV> <SPAN style="WHITE-SPACE: pre" class=Apple-tab-span>
</SPAN>PROJECTION</DIV>
<DIV><SPAN style="WHITE-SPACE: pre"
class=Apple-tab-span></SPAN>"init=epsg:4326"</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>END</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN></DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>LAYER</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>NAME
topo</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>DATA
cat.png</DIV>
<DIV> <SPAN style="WHITE-SPACE: pre" class=Apple-tab-span>
</SPAN>DEBUG 4</DIV>
<DIV> <SPAN style="WHITE-SPACE: pre" class=Apple-tab-span>
</SPAN></DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN><SPAN
style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>PROJECTION</DIV>
<DIV><SPAN style="WHITE-SPACE: pre"
class=Apple-tab-span></SPAN>"init=epsg:32631"</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>END</DIV>
<DIV><BR></DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>STATUS
ON</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>TYPE
RASTER</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>END</DIV>
<DIV>END</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>when I try to change the projection section with any of the three SRS it
works, I tried many combinations and any works. Also I tried with WFS and it
doesn't works.</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>thanks!</DIV></BLOCKQUOTE></BODY></HTML>