Skip to main content

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

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


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.


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