Skip to main content

GeoReduceGeometry - script and chart function

GeoReduceGeometry() is used to reduce the number of vertices of a geometry, and to aggregate a number of areas into one area, but still displaying the boundary lines from the individual areas.

Syntax:  

GeoReduceGeometry(field_name [, value])

Return data type: string

Arguments:  

Argument Description
field_name A field or expression referring to a field containing the geometry to be represented. This could be either a point (or set of points) giving longitude or latitude, or an area.
value

The amount of reduction to apply to the geometry. The range is from 0 to 1, with 0 representing no reduction and 1 representing maximal reduction of vertices.

Information noteUsing a value of 0.9 or higher with a complex data set can reduce the number of vertices to a level where the visual representation is inaccurate.

GeoReduceGeometry() performs a similar function to, GeoAggrGeometry() in that it combines geospatial boundary data. The difference being that individual boundary lines from the pre-aggregation data are displayed on the map.

See: GeoAggrGeometry - script and chart function

See: Loading map data

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!