Skip to main content

FME 2021.2.3.0 (20220131 - Build 21812 - WIN64)

 

I want to query an OGC API feature service by an attribute, to be precise, by a list of attributes.

In my case, I‘m trying to query the cadastral parcel service of North Rhine-Westphalia by cadastral parcel numbers: https://ogc-api.nrw.de/lika

 

OGC API - Features (WFS 3.0) Reader:

Defining the parcel number as static parameter value works fine.

grafikInjecting the parcel number as published parameter works as well.

grafikBut the 2 ways above are static.

 

I have a list of cadastral parcel numbers to be processed.

Normally the FeatureReader transformer is the method of choice to inject attributes into a reader.

But this time, it fails!

Obviously the FeatureReader doesn’t compose the query the right way and sends a bulk request to the service: https://ogc-api.nrw.de/lika/v1/collections/nutzung_flurstueck/items?f=json&offset=80

What’s going wrong?

 

Best regards

Oliver

 

Hello @oliver​, thanks for sharing the workspace! Hmm... It doesn't look like limiting the number of features to read in b21812 helps either (comparing results to other versions, it looks like its returning different features entirely). On a more positive note, this issue seems to be resolved in the latest official build (2022.2.3), as well as FME 2023 beta! Would you be able to upgrade your FME Desktop? Happy to help, Kailin.


Thanks @kailinatsafe​ !

I can confirm, that 2022.2.3 works as expected!

The request is now composed the right way, i.e. one request per incoming parcel number. 

Downloaded URL 'https://ogc-api.nrw.de/lika/v1/collections/nutzung_flurstueck/items?f=json&flstkennz=05439400700075______'

Great! 😁 

 

Kind regards

Oliver


Reply