Skip to main content
Solved

wfs limit attributes returned

  • September 2, 2019
  • 3 replies
  • 44 views

oliver.morris
Contributor
Forum|alt.badge.img+12

Hi, does anyone know a way to limit attributes returned from WFS. I just want to return back the unique id so I can cross check against a clone out the data.

This structure works in postman but I dont see a way for it to work in the fme reader. Does something need to be added to the xml filter?

 

http://example.com/geoserver/wfs?  service=wfs&  version=2.0.0&  request=GetFeature&  typeNames=namespace:featuretype&  featureID=feature&  propertyName=attribute1,attribute2

 

Many Thanks

 

Oliver

Best answer by itay

Hi @olivermorris,

You can just add the extra request parameters into the WFS reader.

Like so:

https://geodata.nationaalgeoregister.nl/bag/wfs?request=GetCapabilities&service=wfs&typeNames=bag:woonplaats&propertyName=identificatie

Hope this helps,

Itay

View original
Did this help you find an answer to your question?

3 replies

itay
Contributor
Forum|alt.badge.img+16
  • Contributor
  • Best Answer
  • September 2, 2019

Hi @olivermorris,

You can just add the extra request parameters into the WFS reader.

Like so:

https://geodata.nationaalgeoregister.nl/bag/wfs?request=GetCapabilities&service=wfs&typeNames=bag:woonplaats&propertyName=identificatie

Hope this helps,

Itay


oliver.morris
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • September 2, 2019

thanks @itay I will try with the reader, i was using the feature_reader and I dont think you have the same ability - it seems to override the URL.


itay
Contributor
Forum|alt.badge.img+16
  • Contributor
  • September 2, 2019
oliver.morris wrote:

thanks @itay I will try with the reader, i was using the feature_reader and I dont think you have the same ability - it seems to override the URL.

Works just fine with the FeatureReader:


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