WMS and reprojection

vincent.dacol vincent.dacol at LAPOSTE.NET
Wed May 25 05:40:03 EDT 2005


Hi everybody,

I'm a student and I'm disovering the world of Mapserver and
interoperabillity.

I'm trying to use 2 WMS services in different projections, and
one client to display two layer from that server.

But the reprojection didn't work in the client. The 2 layer
obtain with the 2 WMS server aren't display in the same
projection.

The projection of my WMS server 1 is "init=epsg:27571"
The projection of my WMS server 2 is "init=epsg:27582"

This two server can serv :
"wms_srs"      "EPSG:27582 EPSG:27571"

The projection I want to display with the client is
"init=epsg:27582"

When I use the 2 layers in local, there is no supperposition
problem, the picture obtain was fine, the reprojection work.

But with the WMS client, the first layer is in it's own
projection, and the second too. So the 2 layer arn't
supperposed, it seem there is no reprojection.

Is-it a reprojection probleme?

My opignon is that a single mapfile with multiple connections
to different WMS server must only connect to server who are in
the same projection.

Maybe I'm wrong, I really new to Mapserver, but I have spend a
lot of time one this probleme, and the only solution I have
find the solve it is to use the same output projection in the
client and in the WMS server.

But this solution isn't very logical for me. I want to connect
to a server who use is own projection, and can serve data in
other predefined EPSG projection. So a WMS client use a WMS
layer has a local layer, with is own projection output, and is
abble to reproject the data obtain in the WMS layer.


Thanks for the help (I really need it).

Vincent

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)





More information about the mapserver-users mailing list