GeoProject - script and chart function

GeoProject() is used in scripts and chart expressions to apply a projection to a geometry.

Syntax:  

GeoProject(type, field_name)

Return data type: string

Arguments:  

Argument Description
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.
Tip: Do not use the Group by clause in the data load editor with this and other non-aggregating geospatial functions, because this will cause an error on load.

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?