Skip to main content
Solved

Multiple WFS readers in workbench still limit on max features


stefanh
Contributor
Forum|alt.badge.img+8

I want to extract information from a WFS service, but the WFS services has a limitations of 10.000 features.

The WFS service is: http://afnemers.ruimtelijkeplannen.nl/afnemers2012/services?SERVICE=WFS

The number of features is around 40.000: http://afnemers.ruimtelijkeplannen.nl/afnemers2012/services?REQUEST=GetFeature&SERVICE;=WFS&version;=2.0.0&typename;=Bestemmingsplangebied&resulttype;=hits

So I thought I could add multiple WFS readers to the workbench each with a different setting at the 'start feature' and 'max features to read' (see below)

Parameters reader 1:

Parameters reader 2

However when I run the workbench the request is still limited to 10.000 features; as you can see in the screenshot below.

Does anyone know how I can workaround this limitation?

Another option would be to perform an attribute or spatial selection on the WFS reader, because I only need a selection of the features. For instance only the features where the attribute 'datum' holds 2016. Does anyone know if (and how) does can be done?

Hope someone can help.

Thanks!

Stefan

Best answer by itay

You are still making one request hence the limit...

you can have a look here to get some inspiration....

http://impossibleaddress2find.blogspot.nl/2014/03/featching-all-bag-wfs-features.html

http://www.brentjensgeoict.nl/2014/01/29/haal-meer-data-en-geojson-uit-een-pdok-wfs/

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

4 replies

itay
Supporter
Forum|alt.badge.img+16
  • Supporter
  • Best Answer
  • July 28, 2016

stefanh
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • July 29, 2016

@itay: Thanks for your quick response.

I don't understand why it is one request?

Besides this, I don't really understand the workbench in the screenshot. I am not sure what to put at various transformer or what the tranformers do.

- What do I need to put in the 'parameterfetcher'?

- Which transformer is 'sponge_paging' and 'Geom'?

- What do I need to put in the transformer (HTTP Fetcher?) with title 'BAG_objects'

Hope you can help me a liltte further.

Thanks


itay
Supporter
Forum|alt.badge.img+16
  • Supporter
  • July 29, 2016

Sponce_paging referes to the responce paging explained in the second link, it is a custom transformer that is not available in the standard FME application. The same goes to the Geom transformer (custom transformers can be either green or light blue of color)

Basically a WFS reader posts a http call to the service, which then responds with the features (GML), you can do the same by using the HTTPCaller, only you will get the GML and have to reconstruct the features into objects (Geom custom transformer)

The workspace is an example on how you can send multiple requests to the service, this is explained in the both posts on the issue.


stefanh
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • August 4, 2016

Thanks for the elaboration! I understand it now.


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