Skip to main content
Solved

Integration of WFS 3.0 (OGC API) Reader with query in FeatureReader fails

  • March 1, 2023
  • 2 replies
  • 125 views

oliver
Contributor
Forum|alt.badge.img+6

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

 

Best answer by oliver

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

kailinatsafe
Safer
Forum|alt.badge.img+23

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.


oliver
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • Best Answer
  • March 2, 2023

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