Skip to main content

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

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/


@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


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.


Thanks for the elaboration! I understand it now.


Reply