GeoProjectGeometry - script and chart function
GeoProjectGeometry() is used to aggregate a geometry into an area and apply a projection.
Return data type: string
|type||Projection type used in transforming the geometry of the map. This can take one of two values: 'unit', (default), which results in a 1:1 projection, or 'mercator', which uses the web Mercator projection.|
|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.|
In a Load statement:GeoProjectGeometry('mercator',AreaPolygon) as ProjectGeometry
|The geometry loaded as AreaPolygon is transformed using the Mercator projection and stored as ProjectGeometry for use in visualizations.|