3

I have made a connection to this WFS layer through the QGIS data source manager:

QGIS Data source manager

The layer takes a very long time to load, but when it does it appears flipped and rotated:

WFS SSSI Layer flipped/rotated incorrectly

I think this has something to do with coordinate reversal, maybe the order in which QGIS is expecting the X and Y fields?

Can anyone suggest a way for me to correct this for a WFS layer? I'm fairly comfortable with the PyQGIS API.

2
  • 1
    So what kind of information/parameters/URL etc. exactly did you enter?
    – Babel
    Aug 23, 2022 at 10:03
  • 2
    Check the flip axis order box on the connection page, or use a different version of wfs standard
    – Ian Turton
    Aug 23, 2022 at 10:05

1 Answer 1

5

Ian Turton commented with the answer (thank you). I also found it in this previous question.

I edited the WFS connection and checked the "Invert axis orientation" box. It should be noted that this caused the layer to flag for "repair data source" until I saved the project, closed and re-opened it. I've also notified the data provider that it is returning with incorrect axis order for this CRS (OSGB36 / British National Grid).

Check invert axis orientation box

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.