Simplify geometry

The operation ‘simplify’ allows to modify the geometries specified by the user so that they stay topologically consistent.  It is a process that usually runs before any operation analysis.

See more information related to the simplification made.

Example of request:

http://galileo.icc.cat/arcgis/rest/services/Utilities/Geometry/GeometryServer/simplify?sr=25831&geometries={"geometryType":"esriGeometryPolygon","geometries":[{"rings":[[[418000,4584800],[418000,4585000],[418500,4585000],[418500,4585000],[418000,4584800]]]}]}&f=json&token=WgTR74xQdSvkHVECel6pSEijFKWafsP3g9DLA8WYg1sD3ycDBOx4g-Vj_i4xHhus

and related response:

{"geometries": [{"rings": [[
 [
  418500,
  4585000
 ],
 [
  418000,
  4584800
 ],
 [
  418000,
  4585000
 ],
 [
  418500,
  4585000
 ]
]]}]}

SErvice parameters

Parameter

Description

f

Response format

Valid values: html | json
Default value: html

geometries

Geometries to be simplified. The syntax of this parameter should be:

{
"geometryType" : ""
"geometries" : [ , ]
}

sr

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

Additional information