# Qlik GeoOperations connection

Qlik GeoOperations simplifies the GeoOperations scripting process by providing you with a connection to enter your parameters. Qlik GeoOperations then adds the formatted script to your load script.

Once you add a Qlik GeoOperations connection, you can then select data from it to perform operations. Aside from Load, each operation has two parts. The operation section configures the individual parameters for the operation you are performing. For example, selecting the field containing the geometrics you wish to simplify and the resolution to which you want to simplify. The dataset sections configures what dataset use to use with the operation. Some operations allow for using two datasets.

Operations return a table with fields that can be loaded in your load script. You can then select the fields you want from the table and add them to the load script. You can also modify the scripts generated by Qlik GeoOperations. For more information, see [Scripting with Qlik GeoOperations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/GeoOperations-scripting.htm).

Tip note

It is recommended to rename the table to avoid naming errors for multiple instances of the same operation.

If you are using multiple operations in your load script, it is recommended to rename the names of default fields created by Qlik GeoOperations. This will prevent unwanted table concatenations and loops in the load script.

## Creating a new connection

Qlik GeoOperations connections are added in Data load editor or from the Create page in the Analytics activity center.

Do the following:

1. In Data load editor or Script, click Data sources.

2. Click Create new connection.

3. Under Space, select the space where the connection will be located.

4. Select Qlik GeoOperations from the list of data connectors.

5. Optionally, add a new name for the connection.

6. Click Create.

Information note

You cannot create and manage connections to this connector in Data manager within an analytics application.

## Operations

Qlik GeoOperations offers the following operations:

* [Address to point lookup](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/AddressPointLookup.htm)

* [Binning](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Binning.htm)

* [Closest](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Closest.htm)

* [Cluster](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Cluster.htm)

* [Dissolve](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Dissolve.htm)

* [Intersects](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Intersects.htm)

* [IP lookup](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/IPLookup.htm)

* [Load](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Load.htm)

* [Point to address lookup](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/PointToAddressLookUp.htm)

* [Routes](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Routes.htm)

* [Simplify](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Simplify.htm)

* [Spatial index](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/SpatialIndex.htm)

* [Travel areas](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Travelareas.htm)

* [Within](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Within.htm)

Operations can be broadly grouped into the following types:

* [Aggregating operations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/GeoOperations-QlikGeoOperations.htm#Aggregat)

* [Geometric operations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/GeoOperations-QlikGeoOperations.htm#Geometri)

* [Look up operations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/GeoOperations-QlikGeoOperations.htm#Look)

* [Loading operations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/GeoOperations-QlikGeoOperations.htm#Loading)

* [Route-based operations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/GeoOperations-QlikGeoOperations.htm#Route-ba)

### Aggregating operations

Qlik GeoOperations includes operations to aggregate your geodata.

#### Binning

Binning groups points that are within a specified threshold distance. It is a clustering method that creates hexagonal or rectangular bins.

Example of Binning

Example of Binning

Example of BinningBinning ![A map divided up into color-coded hexagonal bins.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/GeoAnalytics/ui_geo-binning.png)

[Binning](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Binning.htm)

#### Cluster

Cluster groups points that are within a specified threshold distance. This is useful for datasets containing a large number of points.

Example of Cluster

Example of Cluster

Example of ClusterCluster ![A map displaying various points, with grouped points condensed into a single, larger point that displays the total number of points it contains.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/GeoAnalytics/ui_geo-cluster.png)

[Cluster](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Cluster.htm)

### Geometric operations

Qlik GeoOperations includes a number of different geometric calculation operations.

#### Closest

Closest finds the closest objects in a dataset that are closer than a specific distance from every object in another dataset. This operation uses and calculates either direct distances or distances along roads.

Example of Closest

Example of Closest

Example of ClosestClosest ![A map displaying the closest objects to a set of other objects.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/GeoAnalytics/ui_geo-closest.png)

[Closest](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Closest.htm)

#### Intersects

Intersects finds intersecting objects in two datasets. It also calculates how much selected areas intersect.

Example of Intersects

Example of Intersects

Example of IntersectsIntersects ![A map displaying the intersections of states in two different areas.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/GeoAnalytics/ui_geo-intersect.png)

[Intersects](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Intersects.htm)

#### Dissolve

Dissolve creates custom areas, for example: Region A = Zip 1, 2, 5. Region B = Zip 3, 4, 6.

Example of Dissolve

Example of Dissolve

Example of DissolveDissolve ![A map displaying various states dissolved into simplified areas.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/GeoAnalytics/ui_geo-dissolve.png)

[Dissolve](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Dissolve.htm)

#### Simplify

Simplify generalizes geometries so that they look better and are faster to use in more zoomed out scales. Most external geometries loaded in an application should be simplified before use.

Example of Simplify

Example of Simplify

Example of SimplifySimplify ![A map of states, simplified to load faster and look better.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/GeoAnalytics/ui_geo-simplify.png)

[Simplify](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Simplify.htm)

#### Spatial index

Spatial index generates a spatial index for a dataset for use with the Auto select visible feature in map charts. Field selections are updated based on the data displayed in map charts.

Example of Spatial index

Example of Spatial index

Example of Spatial indexSpatial index ![](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/GeoAnalytics/ui_geo-spatialindex.png)

[Spatial index](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/SpatialIndex.htm)

#### Within

Within creates relations between all entities in a table that are within areas specified in another table.

Example of Within

Example of Within

Example of WithinWithin ![A map displaying points that are within a set of specified areas.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/GeoAnalytics/ui_geo-within.png)

[Within](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/Within.htm)

### Look up operations

Qlik GeoOperations offers operations for looking up addresses or locations.

#### Address to point lookup

Address to point lookup returns the point of an address (forward geocoding). Address to point lookup requires a separate Qlik Geocoding license. For more information, see [Qlik Geocoding](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoCoding/Qlik-GeoCoding.htm).

[Address to point lookup](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/AddressPointLookup.htm)

#### IP lookup

If you have IP addresses in your data, IP lookup can add them as geographic locations.

[IP lookup](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/IPLookup.htm)

#### Point to address lookup

Point to address lookup returns the address close to a point (reverse geocoding). Point to address lookup requires a separate Qlik Geocoding license. For more information, see [Qlik Geocoding](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoCoding/Qlik-GeoCoding.htm).

[Point to address lookup](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/Operations/PointToAddressLookUp.htm)

### Loading operations

Qlik GeoOperations offers a loading operation for loading data sources not natively supported in Qlik Cloud into your applications.

#### Load

Load loads data from all supported data sources (for example, ESRI shapefiles or GeoJSON).

Qlik GeoOperations analytics sources includes two connections specifically for performing a Load operation with GeoJSON and shapesfiles:

* [Qlik GeoOperations GeoJSON connection](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/GeoOperationsGeoJSON.htm)

* [Qlik GeoOperations Shapefile analytics connection](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Global_Common/GeoOperationsFunctions/GeoOperationsShapefile.htm)

### Route-based operations

Qlik GeoOperations has several operations to calculate routes from your data.

#### Closest

Closest finds the closest objects in a dataset that are closer than a specific distance from every object in another dataset. This operation uses and calculates either direct distances or distances along roads.

Example of Closest

Example of Closest

Example of ClosestClosest ![A map displaying the closest objects to a set of other objects.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/GeoAnalytics/ui_geo-closest.png)

#### Routes

Routes returns routes and distances between origin points and destination points in a dataset.

Example of Routes

Example of Routes

Example of RoutesRoutes ![A map displaying routes between points.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/GeoAnalytics/ui_geo-routes.png)

#### Travel areas

Travel areas returns the areas reachable from origins in a dataset within a specific time or distance. Defaults to travel along roads, but direct distances can also be used.

Example of Travel areas

Example of Travel areas

Example of Travel areasTravel areas ![A map displaying reachable areas from two points.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/GeoAnalytics/ui_geo-travelareasfrompoints.png)

Related learning:

* [How do I add route information to a Qlik Sense map that shows the fastest or shortest distance between points?](https://help.qlik.com/lnk/How_route_Qlik_Sense_map)

## Learn more

* [How do I add route information to a Qlik Sense map that shows the fastest or shortest distance between points?](https://help.qlik.com/lnk/How_route_Qlik_Sense_map)