Hi,
if you had to create a widget witch could query a layer (selected with a combo like in the searchWidget) and return the entities in spatial relation (intersect, contains ...) with a second layer (selected by combo too) and show results on the map with attributes like the searchWidget.
Example with Louisville sample services : Searching the parcels witch contains a Police station.
Is there an existing widget ?
If not, what would be the easiest way ?
- Select entities on the two layer, then intersect with a geometry service
- Select Geometries of the second layer, then query the first layer with a spatial relationship
- Create a Geoprocessing service witch take the two layers and the Spatial relationship as parameters
- other idea
Erwan