Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
avishay_levran
Contributor
Contributor

Qlik Cloud SHAPE file

Does Qlik Cloud support loading of SHAPE files ?

Labels (1)
4 Replies
Patric_Nordstrom
Employee
Employee

Sure, take a look at https://community.qlik.com/t5/Qlik-Sense-Documents/GeoOperations-Examples-Qlik-GeoAnalytics/ta-p/175...

Load * Extension GeoOperations.ScriptEval('
load() DATASOURCE cont GEOFILE type="shape", 
url="lib://DataFiles/continents.shpzip")';
Visual_Intelligence_Support
Partner - Contributor
Partner - Contributor

He was asking Qlik cloud, not Qlik Sense on prem. How can we even upload zip file to SaaS spaces?

JuMacedo
Partner - Contributor III
Partner - Contributor III

Hi! I was able to upload a shp file last week to Qlik Cloud, I followed the documentation using GeoOperations connector, exact the same way the example Patric sent:

Load * Extension GeoOperations.ScriptEval('
load() DATASOURCE shape GEOFILE type="shape", 
url="https://dl.dropbox.com/s/ipi6tazxwkbuzu6/continents.zip?dl=0"');

Just had to upload to dropbox before. 

KallePersson
Employee
Employee

@Visual_Intelligence_Support 

Shapefiles (zipped) can be uploaded via DataFiles in the Data Load Editor, though they have to be renamed so the file extension is ".shpzip", e.g. "foo.zip" => "foo.shpzip".

 

Screenshot 2024-01-16 at 13.30.06.png

Note that in order to see the geo files in the dialog you will need to change the filter to "Geographic files".
Also you can't select the geofiles through the select dialog at the moment, as the engine itself can't process them. We do have items in the backlog to improve how they are handled in the DLE / hub / catalog.

In order to use them in the script, you just refer to them with e.g. "lib://DataFiles/foo.shpzip" or "lib://space:DataFiles/foo.shpzip".