Provides a means of displaying attribute information spatially related to the currently selected entities.
This action operates similarly to the Spatial Identify tool, but rather than using geometry that the user creates by hand it uses the geometry of the currently selected entities.
ID
com.cohga.html.client.map.selectionIdentify
weave.selectionIdentify
Note: there is also a selectionIdentify2
version of this tool that fetches data from the server in batches, 4 entities at a time, which can start returning data to the user quicker that this original version. This version fetches all the data at once which can take a long time to display anything to the user.
Sub-tags
Name | Type | Cardinality | Default | Description | i18n Resource | ||
---|---|---|---|---|---|---|---|
label | String | 0..1 |
| Label to display in as button text | |||
entity | entity | 0..n | Optional list of entities to refine/sort the entity list | ||||
|
|
|
| ||||
windowTitle | String | 0..1 | Selection Identify | The title of the popup window | weave.selectionIdentify.window.title | ||
windowWidth | Integer | 0..1 | 800 | The width of the popup window | |||
windowHeight | Integer | 0..1 | 500 | The height of the popup window | |||
useVisibleEntities | Boolean | 0..1 | false | Use just the entities that are visible (based on ToC) | |||
tooltip\title | String | 0..1 | Selection Identify | The title for the tooltip | weave.selectionIdentify.tooltip.title | ||
tooltip\text | String | 0..1 | Identify features that intersect the current selection | The text for the tooltip | weave.selectionIdentify.tooltip.text | ||
bufferDistance | Number | 0..1 | 0 | Distance to buffer around selection before doing intersection operation | |||
bufferUnits | String | 0..1 | m | Units for the bufferDistance value | |||
bufferCrs | String | 0..1 | CRS of map | Coordinate reference system to use when performing the buffer generation | |||
spatialOperation | String | 0..1 | intersect | What type of spatial operation should be used INTERSECT, OVERLAPS, CONTAINS or WITHIN | |||
includeActive | Boolean | 0..1 | false | Should the source entity type also be returned in the results? | |||
ignoreScale | Boolean | 0..1 | false | Should the current scale be ignored when determining which entities to check? | |||
entityListWidth | Integer | 0..1 | 200 | The initial width of the entity list. Only available from 2.5.28. | |||
entityListWidthMin | Integer | 0..1 | 175 | The minimum width of the entity list. Only available from 2.5.28. | |||
entityListWidthMax | Integer | 0..1 | 400 | The maximum width of the entity list. Only available from 2.5.28. | |||
include | List of entities that the tool should be enabled for. Only available from 2.6.4 | ||||||
exclude | List of entities that the tool should not be enable for. Only available from 2.6.4 |
Notes:
Only one of include
or exclude
should be used, and they can be specified in multiple ways:
- As a comma separated value - quick and easy when specifying entities by hand.
<include>property,reserve</include>
<exclude>lga,suburb</exclude>
- As individual entries - useful when setting based on user attributes
<include>property</include><include>reserve</include>
<exclude>lga</exclude><exclude>suburb</exclude>
- As a sub-list - useful when using a snippet
<include><entity>property</entity><entity>reserve</entity></include>
<exclude><entity>lga</entity><entity>suburb</entity></exclude
Entity
Name | TypeRequired | Cardinaltiy | Description |
---|---|---|---|
id | stringyes | 1..1 | The unique entity id for this entity |
minScale | numberno | 0.1 | Min zoom scale for this entity to be reported for |
maxScale | numberno | 0..1 | Max zoom scale for this entity to be reported for |
isDefault | booleanno | 0..1 | Set this entity as the default (alternative to |
data | string | 0..n | A list of the data definition that should be available for the entity |
Info |
---|
See Common grid panel configuration options for other grid related options. |
Code Block | ||||
---|---|---|---|---|
| ||||
<item action="weave.selectionIdentify" useVisibleEntities="true" ignoreScale="true">
<!-- disable the tools if lga or suburbs is the active entity -->
<exclude>
<entity>lga</entity>
<entity>suburbs</entity>
</exclude>
<!--
the above could also be specified as
<exclude>lga,suburb</exclude>
-->
<!-- which entities should be interrogate -->
<entities>
<entity id="property" maxScale="12000">
<data>property_details</data>
<data>property_spatial</data>
<data>property_owners</data>
</entity>
<entity>roads</entity>
<entity>suburbs</entity>
<entity>council_buildings</entity>
</entities>
</item> |