[mapserver-users] Re: WMS/WFS Mapserver Projection Error

Lucho lucho1524 at gmail.com
Mon Sep 5 15:05:03 PDT 2011


Thanks, list...

As Jukka said, the problem was in the way of how the WFS 1.1.0 standard
works with the BBOX Envelope.

I've changed the order of the variables in which the coordinate values were
captured on my web client, using the order given by the GetFeature request
on WFS 1.0.0, and that's it!!! It works now.

Unfortunately, i do not know if there is any form of specify the version of
WFS service in the metadata of my mapfile.

Best wishes,

On 5 September 2011 05:37, Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi> wrote:

> **
> Hi,
>
> Your failing client is most probably sending WFS 1.1.0 version GetFeature
> request and therefore Mapserver is sending the coordinates in
> Latitude-Longitude order.  This is how the WFS 1.1.0 says it should
> be. According to the WFS 1.1.0 standard your client is doing it wrong. Lots
> of people have said that the WFS 1.1.0 standard is stupid.
> If your client supports WFS 1.0.0 use that and the map will look good.
> Have a try with your browser and you will see what I mean
>
>
> http://your_server/cgi-bin/mapserv?service=WFS&version=1.0.0&request=GetFeature&typeName=your_typename&maxFeatures=1&map=your_mapfile
>
> http://your_server/cgi-bin/mapserv?service=WFS&version=1.1.0&request=GetFeature&typeName=your_typename&maxFeatures=1&map=your_mapfile
>
> -Jukka Rahkonen-
>
> Lucho  wrote:
>
>
>
>  Hi List,
>
> I have a problem with some data when I'm publishing a WMS and then, publish
> the same data in a WFS service. Everithing is ok speaking about attending
> requests, but when I get the data with some clients, it seems that WFS has a
> total different projection.
>
> The image attached explain better the situation.
>
> In Quantum GIS the two services working well, but in other clients I have
> this problem. The data are in EPSG:4326
>
> Any ideas?
>
> Best regards,
>
> --
> LUIS FERNANDO ORTIZ REYES
> INGENIERO DE SISTEMAS
> UNIVERSIDAD DISTRITAL
>
>


-- 
LUIS FERNANDO ORTIZ REYES
INGENIERO DE SISTEMAS
UNIVERSIDAD DISTRITAL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110905/051df661/attachment.htm>


More information about the MapServer-users mailing list