Densify
The “densify” operation allows to create new points between existing vertices in the geometry specified by the user.
Example of request:
and related response:
{
"geometryType": "esriGeometryPolyline",
"geometries": [
{"paths": [[[418000,4584800],[418500,4584800],
[418500,4585000],[418000,4585000],[418000,4584800]
]]}]
}
Service parameters
Parameter | Description |
---|---|
f | Response format Valid values: html | json |
Array of geometries to be densified . The syntax of this parameter should be: | |
Reference system identifier used to describe geometries. | |
maxSegmentLength | All line segments longer than this new magnitude for smaller segments. |
geodesic | A flag that has to be equal to “true”, when working on a geographic coordinate system. Valid values: : true | false Default value: false |
lengthUnit | Unity of distance used in the parameter “maxSegmentLength”. See the list of possible values |
token | Required security key in order to perform this function which is generated by filling in the corresponding form |