Ok <br><br>I test change the vector layer for a epsg:27572 code (my layers are in this SRS) ands i have the same problem<br>I think I couldn't make two reprojections of my layers in the server.(?)<br>Thnks for any other sugestion<br>
<br><br><div class="gmail_quote">2009/1/20 Arnd Wippermann <span dir="ltr"><<a href="mailto:arnd.wippermann@web.de">arnd.wippermann@web.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Hi,</font></span></div>
<div dir="ltr" align="left"><span></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">perhaps the projection EPSG:900913 is not defined in your
espg-file in the proj-directory for Mapserver</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Arnd Wippermann</font></span></div><br>
<div dir="ltr" align="left" lang="de">
<hr>
<font size="2" face="Tahoma"><b>Von:</b> <a href="mailto:users-bounces@openlayers.org" target="_blank">users-bounces@openlayers.org</a>
[mailto:<a href="mailto:users-bounces@openlayers.org" target="_blank">users-bounces@openlayers.org</a>] <b>Im Auftrag von </b>David Martinez
Morata<br><b>Gesendet:</b> Dienstag, 20. Januar 2009 20:28<br><b>An:</b> Brent
Pedersen<br><b>Cc:</b> users<br><b>Betreff:</b> Re: [OpenLayers-Users]
Projection problem<br></font><br></div><div><div></div><div class="Wj3C7c">
<div></div>I try this...
<div>But don't works</div>
<div><br></div>
<div>What ever i continue tomoroww</div>
<div>Thanks</div>
<div><br></div>
<div><br><br>
<div class="gmail_quote">2009/1/20 Brent Pedersen <span dir="ltr"><<a href="mailto:bpederse@gmail.com" target="_blank">bpederse@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">seems
you're requesting the layer in 900913, but that's not listed in<br>your
wms_srs list. what happens if you add 900913 to the list?<br>
<div>
<div></div>
<div><br><br>On Tue, Jan 20, 2009 at 8:30 AM, David Martinez
Morata<br><<a href="mailto:damarmo@gmail.com" target="_blank">damarmo@gmail.com</a>>
wrote:<br>> I try this but doesn't work.<br>><br>>
Thnks<br>><br>><br>> 2009/1/20 Christopher Schmidt <<a href="mailto:crschmidt@metacarta.com" target="_blank">crschmidt@metacarta.com</a>><br>>><br>>>
On Tue, Jan 20, 2009 at 05:15:10PM +0100, David Martinez Morata
wrote:<br>>> > All My layers are<br>>> >
"PROJECTION<br>>> >
"init=epsg:27572"<br>>> > END"<br>>> > definition in
the mapfile<br>>> ><br>>> > And the MAP object have the same
definition.<br>>> ><br>>> > It's for this I put the
value in var georoute definition<br>>> ><br>>> >
"reproject": true,<br>>> ><br>>> > in the var options for
Openlayers map I define this<br>>> ><br>>> > var
options = {numZoomLevels: 30,<br>>> > projection: new
OpenLayers.Projection("EPSG:900913"),<br>>> > displayProjection: new
OpenLayers.Projection("EPSG:4326"),<br>>> > units: "m",<br>>>
> maxResolution: 156543.0339,<br>>> > maxExtent: new
OpenLayers.Bounds(-20037508, -20037508, 20037508,<br>>> >
20037508.34)};<br>>><br>>> You're requesting the map tiles to be
in EPSG:900913. EPSG:900913 is not<br>>> an option in your wms_srs
metadata, so the MapServer can't serve tiles<br>>> inthat projection. If
you want to use that projection, add it to<br>>>
wms_srs.<br>>><br>>> Regards,<br>>> --<br>>>
Christopher Schmidt<br>>> MetaCarta<br>><br>><br>><br>>
--<br>> Martinez Morata David<br>> Thinking
GIS<br>><br></div></div>>
_______________________________________________<br>> Users mailing
list<br>> <a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br>> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
><br>><br></blockquote></div><br><br clear="all"><br>-- <br>Martinez Morata David<br>Thinking
GIS<br></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Martinez Morata David<br>Thinking GIS<br>