Skip to main content

Hi

 

I have a requirement to connect to the new Ordnance Survey (GB) WFS service in FME, their system responds with 100 records at one time, there doesn't appear to be an option in the reader to facilitate this paging implementation as in other products

 

Any help to be able to access this API would be greatly appreciated

Just tested on "Zoomstack_Contours" and works for me. I used a FeatureReader, choose WFS version 2.0.0 and set Start Index to 0.

 

Attached the workspace, don't forget to replace the dummy key with your own and you're good to go.

 

(Output Ports are now set to Single Output Port, but you can change this when you have updated the Dataset url with a valid key.)


Just tested on "Zoomstack_Contours" and works for me. I used a FeatureReader, choose WFS version 2.0.0 and set Start Index to 0.

 

Attached the workspace, don't forget to replace the dummy key with your own and you're good to go.

 

(Output Ports are now set to Single Output Port, but you can change this when you have updated the Dataset url with a valid key.)

Thanks, it worked perfectly.

I hadn't chosen WFS v2.0.0


Hi ​@nielsgerrits 

Is there a way to use the spatial filter on the bounding box reader? I can’t get this to work for me?

 

Thanks,

 


Generally speaking it is preferred to create a new topic for a new question.

When using a FeatureReader to read the WFS you are able to use the geometry of the initiating feature as spatial filter. Sample attached.

But if you want to use a XML Filter Expression, please visit https://olivers-expression-lab.gitbook.io/filter-expressions-in-fme which explains in detail how this works. Thanks again ​@oliver !

This works as XML filter:

<Filter>

    <BBOX>

        <PropertyName>Name>NAME</PropertyName>

        <Box%20srsName='EPSG:28992'>

            <coordinates>131088,523596 131588,524096</coordinates>

        </Box>

    </BBOX>

</Filter>

 


Reply