1st Filter

Let's brew our first filter coffee

Do you remember the cadastral parcel number "05430202600946______" I mentioned in introduction? Did you find out, where it is meanwhile?

No?

Ok, let's find it out together!

To do this, we will use the following Filter Expression:

<fes:Filter 
	xmlns:fes="http://www.opengis.net/fes/2.0"
	xmlns:cp="http://inspire.ec.europa.eu/schemas/cp/4.0">
	<fes:PropertyIsEqualTo>
		<fes:ValueReference>cp:nationalCadastralReference</fes:ValueReference>
		<fes:Literal>05430202600946______</fes:Literal>
	</fes:PropertyIsEqualTo>
</fes:Filter>

You recognize the key value pair and the operator?

Key
Value
Operator

cp:nationalCadastralReference

05430202600946______

PropertyIsEqualTo (i.e. "=")

Now open a new blank FME Workbench!

Insert a OGC WFS (Web Feature Service) Reader.

Open [Parameters ...] and paste the following URL:

https://www.wfs.nrw.de/geobasis/wfs_nw_inspire-flurstuecke_alkis?

Select CadastralParcel as [Feature Types].

Delete [Max Features] if set.

Now open the [XML Filter Expression] editor [...] and paste the XML from above.

Close the editor with [OK] and the [Parameters] and [Add Reader] windows also with [OK].

Now [Run Just This] (in Feature Caching mode).

Explore the one feature the WFS returns:

You know where we are?

Ok, that works!

But I'm really sorry to disappoint you!

We have to return to theory again.

Good to know #2

Do you also use ArcGIS Desktop, i.e. ArcMap and ArcCatalog?

If so, you can do the same in ArcGIS Desktop, if Interoperability Connections are installed.

It's because Interop Connections are FME!

Last updated