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 and 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.

Note: Using 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() also performs a similar function to, GeoAggrGeometry() in that it aggregates a number of areas into one area. The difference being that individual boundary lines from the pre-aggregation data are displayed on the map if you use GeoReduceGeometry().

As GeoReduceGeometry() is an aggregating function, if you use it in the script a LOAD statement with a Group by clause is required.

GeoAggrGeometry - script and chart function

Loading your own map data

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?