Qlik GeoOperations Shapefile analytics connection
Qlik GeoOperations Shapefile analytic connections are added in Data load editor or from the hub.
Once you create a connection, you can load shape files (ZIP files containing SHP and DBF for ESRI format) through the connection. The script is then added to your load script.
Creating a new connection
Do the following:
In Data load editor, click Data sources.
Click Create new connection and select Qlik GeoOperations Shapefile from the list.
Optionally, add a new name for the connection.
Select and loading data through a Qlik GeoOperations Shapefile connection
When loading from shape files, only a single geometric type can be loaded at a time. If there are multiple types in the file, you must select which geometry to load.
Do the following:
Under Data connections, click on your Qlik GeoOperations Shapefile connection.
Under URL, enter the location of the GeoJSON file.
Only URLs with HTTPS or LIB protocols are allowed.
You can use files from the data sources in the app's space using the following syntax: lib://DataFiles/<file name>. For example, lib://DataFiles/SalesGeographies.geojson.
You can also specify a space storing the files using the following syntax: lib://<space name>:DataFiles/<file name>. For example, lib://EuropeSales:DataFiles/SalesGeographies.geojson.
You can also specify a file from a Web Storage Provider Connector using the following syntax: lib://<Web Storage Provider>/<file name>. For example, lib://Dropbox/SalesGeographies.geojson.
Under Key field, select the field that contains identities for each geometry.
If you select Autogenerate, a key field will be generated.
If you select Specify, enter the field name.
Under Character encoding, select the character encoding used in the GeoJSON file.
If you select Auto, the connection attempts to automatically detect the encoding.
If you select Specify, enter the encoding.
Optionally, under Expected geometry type, select the type of geometry to load.
If you select Auto, the connection attempts to automatically detect the geometry type. If you file contains multiple geometry types ,you must select the geometry type you want to load.
Under Coordinate reference system, select the CRS of the data to load.
The data is projected from the selected CRS to WGS84 (EPSG:4326) before being loaded into the app.
If you select Auto, the connection attempts to automatically detect the CRS from the file. If no CRS is found in the file, then EPSG:4326 (WGS84) is used.Information note
Setting a CRS value overrides the information in the file and should only be done for files lacking such information or where it is known that the information is wrong. Files with data with several CRSs are not supported.
Under Tables, select the tables to load.
Under Fields select the fields from the tables to load.
Click Insert script.