You are right. It worked when I flipped x- and y- coordinates. We are using EPSG:4326, EPSG:32628 and EPSG:900913. How can I find out which is the order for each SRS? I have been looking at the GetCapabilities document but I didn't find anything relevant.
Thank you for your help.
Regards,
----- Original Message -----
From: Rahkonen Jukka
Sent: 01/26/11 01:35 PM
To: Robert Holland
Subject: Re: [Geoserver-users] getFeature: bug in WFS 1.1.0?
Hi,
Andrea will tell you next that WFS 1.1.0 standard flipped the meaning of x- and y-coordinates with a bunch of projections. Most probably you will get your features by using this bbox:
BBOX=3128376,591400,3131335,589703
But send anyhow the SRS code so that Andrea can tell you if that projections belongs to the group which awaits coordinates in order Northing-Easting.
-Jukka Rahkonen-
> -----Alkuperäinen viesti-----
> Lähettäjä: Andrea Aime [mailto:andrea.aime@anonymised.com]
> Lähetetty: 26. tammikuuta 2011 13:36
> Vastaanottaja: Robert Holland
> Kopio: Geoserver Users
> Aihe: Re: [Geoserver-users] getFeature: bug in WFS 1.1.0?
>
> On Wed, Jan 26, 2011 at 9:37 AM, Robert Holland
> <robert.holland@anonymised.com> wrote:
> >
> > Hi,
> >
> > I am using Geoserver 2.0.2. When I try to get some data of
> a bounding box by using WFS 1.1.0, it returns nothing.
> However, running the same request using the version 1.0.0 of
> WFS returns the expected data. Is it a bug?
> >
> >
> http://localhost/ogc/ows?TYPENAME=prod:irradiation&MAXFEATURES
> =100&OUTPUTFORMAT=csv&BBOX=591400,3128376,589703,3131335&REQUE
ST=GetFeature&VERSION=1.1.0&SERVICE=WFS
>
> Depends. Which SRS did you use for that layer?
>
> Cheers
> Andrea
>
>
> --
> Ing. Andrea Aime
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584962313
> fax: +39 0584962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -----------------------------------------------------
>
> --------------------------------------------------------------
> ----------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even
> better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
Robert,
it is not just a matter of the SRS, but also the service version (WFS 1.0 vs 1.1 as you have discovered) and how the SRS is specified. Please see the axis order notes:
http://docs.geoserver.org/latest/en/user/services/wfs/basics.html
Kind regards,
Ben.
On 27/01/11 07:15, Robert Holland wrote:
You are right. It worked when I flipped x- and y- coordinates. We are using EPSG:4326, EPSG:32628 and EPSG:900913. How can I find out which is the order for each SRS? I have been looking at the GetCapabilities document but I didn't find anything relevant.
Thank you for your help.
Regards,
----- Original Message -----
From: Rahkonen Jukka
Sent: 01/26/11 01:35 PM
To: Robert Holland
Subject: Re: [Geoserver-users] getFeature: bug in WFS 1.1.0?
Hi,
Andrea will tell you next that WFS 1.1.0 standard flipped the meaning of x- and y-coordinates with a bunch of projections. Most probably you will get your features by using this bbox:
BBOX=3128376,591400,3131335,589703
But send anyhow the SRS code so that Andrea can tell you if that projections belongs to the group which awaits coordinates in order Northing-Easting.
-Jukka Rahkonen-
-----Alkuperäinen viesti-----
Lähettäjä: Andrea Aime [mailto:andrea.aime@anonymised.com]
Lähetetty: 26. tammikuuta 2011 13:36
Vastaanottaja: Robert Holland
Kopio: Geoserver Users
Aihe: Re: [Geoserver-users] getFeature: bug in WFS 1.1.0?
On Wed, Jan 26, 2011 at 9:37 AM, Robert Holland
<robert.holland@anonymised.com> wrote:
Hi,
I am using Geoserver 2.0.2. When I try to get some data of
a bounding box by using WFS 1.1.0, it returns nothing.
However, running the same request using the version 1.0.0 of
WFS returns the expected data. Is it a bug?
http://localhost/ogc/ows?TYPENAME=prod:irradiation&MAXFEATURES
=100&OUTPUTFORMAT=csv&BBOX=591400,3128376,589703,3131335&REQUE
ST=GetFeature&VERSION=1.1.0&SERVICE=WFS
Depends. Which SRS did you use for that layer?
Cheers
Andrea
--
Ing. Andrea Aime
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584962313
fax: +39 0584962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-----------------------------------------------------
--------------------------------------------------------------
----------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even
better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre
Hi,
For example for EPSG:32628 see
http://www.epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::32628%20&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:32628
At the bottom of the report read Coordinate Axes. In this case the official order is Easting-Northing and as far as I understand WFS 1.0.0 and 1.1.0 should not have any different behavious. Compare with the most famous axes flipping projection
http://www.epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::4326%20&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:4326
900913, officially 3857 should not do any axes flipping either.
http://www.epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::3857&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:3857
-Jukka Rahkonen-
-----Alkuperäinen viesti-----
Lähettäjä: Robert Holland [mailto:robert.holland@anonymised.com]
Lähetetty: 27. tammikuuta 2011 1:16
Vastaanottaja: Rahkonen Jukka; andrea.aime@anonymised.com
Kopio: Geoserver Users
Aihe: Re: [Geoserver-users] getFeature: bug in WFS 1.1.0?
You are right. It worked when I flipped x- and y-
coordinates. We are using EPSG:4326, EPSG:32628 and
EPSG:900913. How can I find out which is the order for each
SRS? I have been looking at the GetCapabilities document but
I didn't find anything relevant.
Thank you for your help.
Regards,
> ----- Original Message -----
> From: Rahkonen Jukka
> Sent: 01/26/11 01:35 PM
> To: Robert Holland
> Subject: Re: [Geoserver-users] getFeature: bug in WFS 1.1.0?
>
> Hi,
>
> Andrea will tell you next that WFS 1.1.0 standard flipped
the meaning of x- and y-coordinates with a bunch of
projections. Most probably you will get your features by
using this bbox:
> BBOX=3128376,591400,3131335,589703
>
> But send anyhow the SRS code so that Andrea can tell you if
that projections belongs to the group which awaits
coordinates in order Northing-Easting.
>
> -Jukka Rahkonen-
>
> > -----Alkuperäinen viesti-----
> > Lähettäjä: Andrea Aime [mailto:andrea.aime@anonymised.com]
> > Lähetetty: 26. tammikuuta 2011 13:36
> > Vastaanottaja: Robert Holland
> > Kopio: Geoserver Users
> > Aihe: Re: [Geoserver-users] getFeature: bug in WFS 1.1.0?
> >
> > On Wed, Jan 26, 2011 at 9:37 AM, Robert Holland
> > <robert.holland@anonymised.com> wrote:
> > >
> > > Hi,
> > >
> > > I am using Geoserver 2.0.2. When I try to get some data of
> > a bounding box by using WFS 1.1.0, it returns nothing.
> > However, running the same request using the version 1.0.0 of
> > WFS returns the expected data. Is it a bug?
> > >
> > >
> > http://localhost/ogc/ows?TYPENAME=prod:irradiation&MAXFEATURES
> > =100&OUTPUTFORMAT=csv&BBOX=591400,3128376,589703,3131335&REQUE
> ST=GetFeature&VERSION=1.1.0&SERVICE=WFS
> >
> > Depends. Which SRS did you use for that layer?
> >
> > Cheers
> > Andrea
> >
> >
> > --
> > Ing. Andrea Aime
> > Technical Lead
> >
> > GeoSolutions S.A.S.
> > Via Poggio alle Viti 1187
> > 55054 Massarosa (LU)
> > Italy
> >
> > phone: +39 0584962313
> > fax: +39 0584962313
> >
> > http://www.geo-solutions.it
> > http://geo-solutions.blogspot.com/
> > http://www.linkedin.com/in/andreaaime
> > http://twitter.com/geowolf
> >
> > -----------------------------------------------------
> >
> > --------------------------------------------------------------
> > ----------------
> > Special Offer-- Download ArcSight Logger for FREE (a $49
USD value)!
> > Finally, a world-class log management solution at an even
> > better price-free!
> > Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> > February 28th, so secure your free ArcSight Logger TODAY!
> > http://p.sf.net/sfu/arcsight-sfd2d
> > _______________________________________________
> > Geoserver-users mailing list
> > Geoserver-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >
On Thu, Jan 27, 2011 at 8:46 AM, Rahkonen Jukka
<Jukka.Rahkonen@anonymised.com> wrote:
Hi,
For example for EPSG:32628 see
http://www.epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::32628%20&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:32628
At the bottom of the report read Coordinate Axes. In this case the official order is Easting-Northing and as far as I understand WFS 1.0.0 and 1.1.0 should not have any different behavious. Compare with the most famous axes flipping projection
Correct, only geographic projects suffer from axis flipping.
It is however quite common for people to just stick EPSG:4326 because
they know nothing about the actual
projection of the source data.
For that case we intend to add a EPSG:0 code that will just treat the
data as cartesian x/y.
Still not in, not funded by anyone so it's something I'll add as spare
time allows
Cheers
Andrea
--
Ing. Andrea Aime
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584962313
fax: +39 0584962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-----------------------------------------------------
andrea.aime wrote:
Correct, only geographic projects suffer from axis flipping.
Unfortunately this is not true, see for example. Well, it IS true if one takes your typo literally: only geographic projects do suffer and the real life just goes on. Anyhow, for example this Gauss-Krüger one should flip the axes.
http://www.epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::2393&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:2393
WFS 1.1.0 servers and clients (as well as WMS 1.3.0) should be aware of each and every projection and their official axis orders. It is frustrating but often 1.1.0 is not really needed and WFS 1.0.0 can serve all the needs. But INSPIRE mandates 1.1.0 and soon 2.0 when something supporting it exists.
-Jukka Rahkonen-
On Thu, Jan 27, 2011 at 4:21 AM, Rahkonen Jukka
<Jukka.Rahkonen@anonymised.com> wrote:
andrea.aime wrote:
Correct, only geographic projects suffer from axis flipping.
Unfortunately this is not true, see for example. Well, it IS true if one takes your typo literally: only geographic projects do suffer and the real life just goes on. Anyhow, for example this Gauss-Krüger one should flip the axes.
http://www.epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::2393&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:2393
But in this case I don't think the axis order changed between 1.0 and
1.1 the way 4326 did. So if you reverse the axes the result will be
the same regardless of WFS version.
Ian
--
Ian Turton