# GeoInvProjectGeometry Script and chart function

GeoInvProjectGeometry() is used to aggregate a geometry into an area and apply the inverse of a projection.

Syntax:

GeoInvProjectGeometry(type, field\_name)

Return data type: string

Arguments:

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

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/GeospatialFunctions/GeoInvProjectGeometry.htm)

#### Example:

Scripting example

| Example | Result |
| --- | --- |
| In a `Load` statement:<br><br>`GeoInvProjectGeometry('mercator',AreaPolygon) as InvProjectGeometry` | The geometry loaded as AreaPolygon is transformed using the inverse transformation of the Mercator projection and stored as InvProjectGeometry for use in visualizations. |

[Loading your own map data](https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Visualizations/Map/load-map-data.htm)