coordinates wms different in 1.3.0 and 1.1.1

5 messages Options
Embed this post
Permalink
Berlo, L.A.H.M. (Leon) van

coordinates wms different in 1.3.0 and 1.1.1

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi guys (and girls of course),
 
I've got an issue with my app.
I'm running a WMS (and WFS) service on http://www.imwe.nl/data?
The problem i have is that i get different numbers for the bounding box in a WMS getFeature request for version 1.3.0 and 1.1.1.

Notice the maxx="305000.0" for 1.3.0 and the maxx="619000.0" in version 1.1.1.
As you can see the x and y have been switched (also for the minx and miny).
I can not find any way to configurate this in the configuration xml files.
How does this happen?
 
Kind regards,
Léon
 
This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Rahkonen Jukka

Re: coordinates wms different in 1.3.0 and 1.1.1

Reply Threaded More More options
Print post
Permalink
Hi,

It is only because OGC changed the axis order between WMS 1.1.1 and 1.3.0 versions.  Same thing between WFS 1.0.0 and 1.1.0.


-Jukka Rahkonen-

Berlo, L.A.H.M. wrote:

Hi guys (and girls of course),
 
I've got an issue with my app.
I'm running a WMS (and WFS) service on http://www.imwe.nl/data <http://www.imwe.nl/data> ?
The problem i have is that i get different numbers for the bounding box in a WMS getFeature request for version 1.3.0 and 1.1.1.
Have a look for yourself at http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.3.0&service=WMS <http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.3.0&service=WMS>    and http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.1.1&service=WMS <http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.1.1&service=WMS>

Notice the maxx="305000.0" for 1.3.0 and the maxx="619000.0" in version 1.1.1.
As you can see the x and y have been switched (also for the minx and miny).
I can not find any way to configurate this in the configuration xml files.
How does this happen?
 
Kind regards,
Léon
 
This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Andreas Schmitz

Re: coordinates wms different in 1.3.0 and 1.1.1

Reply Threaded More More options
Print post
Permalink
In reply to this post by Berlo, L.A.H.M. (Leon) van
Berlo, L.A.H.M. (Leon) van wrote:

Hi,

> I've got an issue with my app.
> I'm running a WMS (and WFS) service on http://www.imwe.nl/data <http://www.imwe.nl/data> ?
> The problem i have is that i get different numbers for the bounding box in a WMS getFeature request for version 1.3.0 and 1.1.1.
> Have a look for yourself at http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.3.0&service=WMS <http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.3.0&service=WMS>    and http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.1.1&service=WMS <http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.1.1&service=WMS>
>
> Notice the maxx="305000.0" for 1.3.0 and the maxx="619000.0" in version 1.1.1.
> As you can see the x and y have been switched (also for the minx and miny).
> I can not find any way to configurate this in the configuration xml files.
> How does this happen?

I think you're using an old version of deegree 2. What happens is that
deegree thinks (as Jukka explained already) that it must switch axes for
this particular coordinate system. It fails to notice that EPSG:28992 is
actually a metric coordinate system whose axes are not switched. In
newer deegree 2 versions this should not happen any more.

So, what version are you using?

Best regards, Andreas
--
l a t / l o n  GmbH
Aennchenstrasse 19           53177 Bonn, Germany
phone ++49 +228 18496-0      fax ++49 +228 1849629
http://www.lat-lon.de        http://www.deegree.org


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users

signature.asc (204 bytes) Download Attachment
Berlo, L.A.H.M. (Leon) van

Re: coordinates wms different in 1.3.0 and 1.1.1

Reply Threaded More More options
Print post
Permalink

I'm using version 2.2.
I noticed that the switch isn't only on 28992, but also on the standard
latlon coordinates.
I checked twice... It's realy 2.2 I'm using.


 

-----Original Message-----
From: Andreas Schmitz [mailto:[hidden email]]
Sent: maandag 5 oktober 2009 9:50
To: [hidden email]
Subject: Re: [deegree-users] coordinates wms different in 1.3.0 and
1.1.1

Berlo, L.A.H.M. (Leon) van wrote:

Hi,

> I've got an issue with my app.
> I'm running a WMS (and WFS) service on http://www.imwe.nl/data
<http://www.imwe.nl/data> ?
> The problem i have is that i get different numbers for the bounding
box in a WMS getFeature request for version 1.3.0 and 1.1.1.
> Have a look for yourself at
http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.3.0&service=WM
S
<http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.3.0&service=W
MS>    and
http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.1.1&service=WM
S
<http://www.imwe.nl/data?REQUEST=GetCapabilities&version=1.1.1&service=W
MS>
>
> Notice the maxx="305000.0" for 1.3.0 and the maxx="619000.0" in
version 1.1.1.
> As you can see the x and y have been switched (also for the minx and
miny).
> I can not find any way to configurate this in the configuration xml
files.
> How does this happen?

I think you're using an old version of deegree 2. What happens is that
deegree thinks (as Jukka explained already) that it must switch axes for
this particular coordinate system. It fails to notice that EPSG:28992 is
actually a metric coordinate system whose axes are not switched. In
newer deegree 2 versions this should not happen any more.

So, what version are you using?

Best regards, Andreas
--
l a t / l o n  GmbH
Aennchenstrasse 19           53177 Bonn, Germany
phone ++49 +228 18496-0      fax ++49 +228 1849629
http://www.lat-lon.de        http://www.deegree.org
This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users
Andreas Schmitz

Re: coordinates wms different in 1.3.0 and 1.1.1

Reply Threaded More More options
Print post
Permalink
Berlo, L.A.H.M. (Leon) van wrote:

Hi,

> I'm using version 2.2.
> I noticed that the switch isn't only on 28992, but also on the standard
> latlon coordinates.
> I checked twice... It's realy 2.2 I'm using.

yes, then you should try to use a recent nightly build from
http://download.deegree.org/deegree2_nightly/deegree2.jar .

Best regards, Andreas
--
l a t / l o n  GmbH
Aennchenstrasse 19           53177 Bonn, Germany
phone ++49 +228 18496-0      fax ++49 +228 1849629
http://www.lat-lon.de        http://www.deegree.org


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
deegree-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-users

signature.asc (204 bytes) Download Attachment