proximityToAttribute
Version
1.4
Parameters
| Parameter | Type | Description |
|---|---|---|
| svc | string | GIS service name. |
| layer | string | GIS layer, i.e., object that function is testing proximity to. |
| numDistance | integer | Distance of parcel, associated with the current record, to the object that you identify with the layer parameter. |
| distanceType | string | Unit for distance measurement. |
| attributeName | string | Attribute name. |
| attributeValue | string | Attribute value. |
Returns
Returns true if the record has a GIS object in numDistance proximity that contains an attribute called attributeName with the value attributeValue.
Example
proximityToAttribute("flagstaff","Parcels","50", "feet","BOOK","107") ^ DoStuff...