-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server WFS 1.1: honor srsName and axis order #45270
Server WFS 1.1: honor srsName and axis order #45270
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, but one could argue that if no SRSNAME is passed, we should use EPSG urns and their axis order rule, but that's probably another topic
Nice that Should QGIS Desktop request with |
it depends on what is advertized in the GetCapabilities response. I suspect it might be EPSG:4326, in which case QGIS desktop/client behaviour of requesting what is advertized is appropriate . |
Exactly: getcapabilities hasn't changed. |
Thanks, so to fix #45216 QGIS server needs to advertise Would it be an option that QGIS Server is advertising |
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed and has the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed and has the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed. This way, this is the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed. This way, this is the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed. This way, this is the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed. This way, this is the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed and has the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed and has the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed and has the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed and has the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed and has the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed and has the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed. This way, this is the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed. This way, this is the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed. This way, this is the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed. This way, this is the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of #45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed. This way, this is the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of #45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed. This way, this is the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of #45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed. This way, this is the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of #45270.
A WFS request such as `SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&SRSNAME=EPSG:4326` does not invert the axis and return the coordinates in the LON/LAT order. For example: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>2.358 48.865</gml:lowerCorner> <gml:upperCorner>2.37 48.876</gml:upperCorner> </gml:Envelope> However, the same request without a SRSNAME parameter inverts the axis and returns the the coordinates in the LAT/LON order: <gml:Envelope srsName="EPSG:4326"> <gml:lowerCorner>48.865 2.358</gml:lowerCorner> <gml:upperCorner>48.876 2.37</gml:upperCorner> </gml:Envelope> With this change, the axis is not inverted if the SRSNAME parameter is not passed and has the same behavior as `SRSNAME=EPSG:4326`. This is a follow-up of qgis#45270.
Fixes #45216