...
- intersect - The geometries have at least one point in common
- contains - One geometry contains another
- disjoint - The geometries have no points in common
- crosses - The geometries do more than touch, they actually overlap edges
- touches - The geometries only touch edges and do not overlap in any way
- within - One geometry is completely within another (no touching edges)
Examples
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
<data:datadefinition id="dd_wards"> <datasourcedataconnection datasource="datasource.main" table="WARDS" prefix="DISTINCT"> <parameter name="name" column="WARD_NAME"/> <parameter name="code" column="WARD_CODE"/> </datasourcedataconnection> </data:datadefinition> <search:spatial id="property.byward"> <displayname>by Ward Boundary</displayname> <description>Locate a property or properties by ward</description> <entity>property</entity> <sourceentity>ward</sourceentity> <parameter id="ward"> <dataset>dd_wards</dataset> <label>Road Name</label> <controltype>listbox</controltype> <column>CODE</column> <valuecolumn>code</valuecolumn> <labelcolumn>name</labelcolumn> </parameter> </search:spatial> |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<search:spatial id="property.byward"> <displayname>by Ward Boundary</displayname> <description>Locate a property or properties by ward</description> <entity>property</entity> <sourceentity>ward</sourceentity> <parameter id="ward"> <dataset>dd_wards</dataset> <label>Road Name</label> <controltype>listbox</controltype> <column>CODE</column> <valuecolumn>code</valuecolumn> <labelcolumn>name</labelcolumn> </parameter> <options:options> <!-- version 1.4.105 of com.cohga.server.search.database and earlier --> <buffer:distance>-10</buffer:distance> <!-- version 1.5.105 of com.cohga.server.search.database and later --> <buffer>-10</buffer> <bufferUnits>m</bufferUnits> </options:options> </search:spatial> |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<search:spatial id="property.byward"> <displayname>by Ward Boundary</displayname> <description>Locate a property or properties by ward</description> <entity>property</entity> <sourceentity>ward</sourceentity> <parameter id="ward"> <dataset>dd_wards</dataset> <label>Road Name</label> <controltype>listbox</controltype> <column>CODE</column> <valuecolumn>code</valuecolumn> <labelcolumn>name</labelcolumn> </parameter> <options:options> <spatialOperation>within</spatialOperation> </options:options> </search:spatial> |