Complete Polygons
The operation “autoComplete” allows to generate new polygons resulting from closing polylines specified by the user, using the existing perimeters of polygons, also indicated by the user.
The following figure shows the creation of polygon D from polygons A, B, C and the polyline a.
Example of request:
and related response:
{"geometries": [{
"rings": [[
[416847,4595634],[415947,4595634],[415947,4595734],
[416847,4595734],[416847,4595634]]],
"spatialReference": {
"wkid": 25831,
"latestWkid": 25831
}
}]}
Service parameters:
Parameter | Description |
---|---|
f | Response format Valid values: html | json |
Cadena de polígons dels quals es vol computar la seva àrea i perímetre. La sintaxi d’aquest paràmetre ha de ser: | |
Array of polygons of which the area and perimeter are wanted to be calculated. The syntax of this parameter should be: | |
Reference system identifier used to describe polygons. | |
token | Required security key in order to perform this function which is generated by filling in the corresponding form |