# 1st Filter

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**:

```xml
<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:

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

Select ***CadastralParcel*** as **\[Feature Types]**.

Delete **\[Max Features]** if set.

<figure><img src="https://60501452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFgBfA6ZqJjyopUS8Ss5Q%2Fuploads%2FPuEmNxG5BTwJ1ok9YxY4%2Fwfs_004.png?alt=media&#x26;token=bd49f5dc-f2b7-4c06-95db-efaafb58b90b" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://60501452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFgBfA6ZqJjyopUS8Ss5Q%2Fuploads%2FzCFVGdaqaCFQ1GoUVX4V%2Fexpression_editor_1.png?alt=media&#x26;token=4cba6910-999e-41c0-94c7-04126453dfc2" alt=""><figcaption></figcaption></figure>

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:

<figure><img src="https://60501452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFgBfA6ZqJjyopUS8Ss5Q%2Fuploads%2FatWDwI5sQniLD1Flrxyk%2Fwfs_005.png?alt=media&#x26;token=439bc55b-0977-4c59-a917-15ee2323f15e" alt=""><figcaption></figcaption></figure>

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!

<div align="left"><figure><img src="https://60501452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFgBfA6ZqJjyopUS8Ss5Q%2Fuploads%2FzYBApqv4HpFlxW4ltr5B%2Finterop01.png?alt=media&#x26;token=219b5356-37db-4a63-a53f-7f315b21b8d1" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://60501452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFgBfA6ZqJjyopUS8Ss5Q%2Fuploads%2FpSbainLASMwudn3OWsHq%2Finterop02.png?alt=media&#x26;token=b220e24a-aa20-4b30-8a67-18fd2754dc33" alt=""><figcaption></figcaption></figure></div>
