Skip to content

Commit

Permalink
Further clarify What's Here configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
simonokeefe committed Nov 20, 2024
1 parent 303e3f3 commit a60053e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion admin-guide/qgis/configuring-linked-datasets.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,14 @@ However if you want to explicitly specify a filter, you can do so by using the f
parameter=filter=<Filter><Intersects><PropertyName>geometry</PropertyName>[$gml]</Intersects></Filter>
```

Alternatively you can also a custom spatial filter. In this example, we are applying a negative buffer to the parent geometry to exclude records that have only a slight (<1m) overlap:
Alternatively you can also specify a custom spatial filter. In this example, we are applying a negative buffer to the parent geometry to exclude records that have only a slight (<1m) overlap:

```
parameter=EXP_FILTER=intersects(@geometry [$comma] buffer(geom_from_wkt('[$wkt]') [$comma] -0.00001 ))
```

Note that the `[$comma]` is required in the place of a normal comma because QGIS considers a normal comma to be a keyword delimiter.

#### Non-Spatial Filter

If you are configuring a child dataset to use an id-based join, use the layer's Query Builder to construct and test a filter expression.
Expand Down
6 changes: 3 additions & 3 deletions admin-guide/qgis/configuring-whats-here-datasets.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ icon: location

Pozi's Info Panel displays a set of results called *"What's Here"* whenever the user clicks anywhere on the map (but not directly on any vector feature).

Any datasets that you configure as *What's Here* datasets will always appear in the Info Panel so that users will see information about a location without having to turn on specific layers.
Any datasets that you configure as *What's Here* datasets will always appear in the Info Panel (as long as any active profile includes them). Users will see results for What's Here datasets when they click on a location without having to turn on specific layers.

When a user clicks on the map or draws a line or polygon selection, Pozi creates a spatial *target* against which all What's Here datasets will be queried. If the user does a single click on the map, the target appears as a special icon. If the user uses the region or line selection tool, the target appears as a dashed line.

Expand All @@ -25,13 +25,13 @@ Use cases:

Any dataset that is enabled for *What's Here* is essentially a *child* dataset. Learn more about parent/child dataset interaction [here](./configuring-linked-datasets.md).

Instead of the layer's *parent* being a feature in another layer, the parent is a temporary feature called the *target* that is automatically created when the user clicks on the map (or uses the region or line selection tool).
Instead of the layer's *parent* being a feature in another layer, the parent is a temporary feature called the *target* that is created when the user clicks on the map (or uses the region or line selection tool).

!!!

## *What's Here* vs Standard Layers

*What's Here* datasets are configured separately from standard layers. When working with core datasets such as property, consider configuring both a What's Here and a standard version of the layer in your QGIS project to cover a range of use cases.
*What's Here* datasets can be configured separately from standard layers. When working with large datasets such as property, consider configuring both a What's Here and a standard version of the layer in your QGIS project to cover a range of use cases.

In this example, we'll use a property layer as the source for both a What's Here dataset and a standard layer. Configure the two layers with different names, following the naming convention suggested below.

Expand Down

0 comments on commit a60053e

Please sign in to comment.