Spatial Relation
The “relation” operation allows to remotely determine the pairs of geometries from the two input arrays that participate in the relation specified by the user
Example of request:
and related response:
{"relations": [{
"geometry1Index": 0,
"geometry2Index": 0
}]}
Service Parameters:
Parameter | Descripción |
---|---|
f | Response format Valid values: html | json |
The first array of geometries of which the relation is wanted to be determined. The syntax of this parameter should be: | |
The second array of geometries of which the relation is wanted to be determined. The syntax of this parameter should be: | |
Reference system identifier related to geometries | |
relation | The spatial relationship to be tested between the two geometries. Valued values: esriGeometryRelationCross | esriGeometryRelationDisjoint | esriGeometryRelationIn | esriGeometryRelationInteriorIntersection | esriGeometryRelationIntersection | esriGeometryRelationLineCoincidence | esriGeometryRelationLineTouch | esriGeometryRelationOverlap | esriGeometryRelationPointTouch | esriGeometryRelationTouch | esriGeometryRelationWithin | esriGeometryRelationRelation |
relationParam | Array of texts expressed in ‘Shape Comparison Language’, that determines the tipy of relation to be tested when the geometric value ‘esriGeometryRelationRelation’ at the parameter ‘relation’. |
token | Required security key in order to perform this function which is generated by filling in the corresponding form. |