Skip to main content
Question

The WFS reader always chooses the default srs


The WFS reader automatically chooses the default srs of a WFS layer. Is there any way to make it read the features in a different srs which is supplied by the WFS supplier (and so also listed as option in the WFS capabilities). Changing the coordinate system of the reader doesn't work. It will still request the features in the WFS default srs and then interpret it (wrongly) as the coordinate system set at reader level.

2 replies

chrisatsafe
Contributor
Forum|alt.badge.img+2
  • Contributor
  • July 10, 2020

Unfortunately it looks like this isn't an option yet but another user has requested for a CRS parameter. Perhaps you could upvote the idea and provide your use case on that idea to help our product ownership team get a better understanding of how this is impacting your project!

https://knowledge.safe.com/content/idea/40894/add-crs-parameter-for-wfs-reader.html


becchr
Influencer
Forum|alt.badge.img+25
  • Influencer
  • July 10, 2020

Hi @gkoster, not sure if this solution is working in all cases but helped me before: adding the epsg-code to your WFS-address might help you too?

so for example if your WFS address is 

http://mydomain.com/wfs?

make it

http://mydomain.com/wfs?srsName=epsg:xxxxxx

with xxxxx the srs you want, supported by the WFService ofcourse 

 

Hope this helps?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings