Reshape
The ‘reshape’ operation allows to modify the geometry of a polyline or part of a polygon specified by the user, using a reference line also indicated by the user. The resulting geometry takes the form of the reference line where it intersects with the input geometry (polyline or polygon).
The following illustrations show the result of this operation.
Example of request:
and related response:
{
"geometryType": "esriGeometryPolygon",
"geometry": {"rings": [[
[418000,4584875],[417500,4584875],[417500,4584975],[418000,4584975],
[418000,4585000],[418500,4585000],[418187.5,4584875],[418000,4584875]
]]}
}
Service parameters
Parameter | Description |
---|---|
f | Response format Valid values: html | json |
Geometry to be modified. The syntax of this parameter should be: | |
Single polyline used for the reshaping. The syntax of this parameter should be: | |
Reference system identifier related to geometries | |
token | Required security key in order to perform this function which is generated by filling in the corresponding form. |