Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
frankpacker_AoD
Contributor II
Contributor II

GeoOperations shapefile loading issue

Hi All,

Trying to load a Shapefile into Qlik with GeoOperations  and hitting an error:

The following error occurred:
Connector reply error: grpc::StatusCode::INVALID_ARGUMENT: 'GEOOPS-402: Failed to create dataset covenants: Could not parse dataset WKT CRS. Please set manually.'
 
I can't find anything much in the documentation to help with this error.
 
The operation I'm executing is just the most basic load:
 

Shape:
Load * Extension GeoOperations.ScriptEval('
load() DATASOURCE covenants GEOFILE type="shape",
url="https://dl.dropbox.com/s/pbllxss2u0cyvq8/QEII_OSCovenants_20210930.zip")';

The shapefile being loaded is accessible via the link. I've also attached the shapefile to this post.

Can anyone assist or point me in the direction of the documentation that'll help?

 

Thanks!

Labels (1)
  • SaaS

1 Solution

Accepted Solutions
Patric_Nordstrom
Employee
Employee

from the QEII_OSCovenants_20210930.prj file it looks like the reference system is NZGD_2000_New_Zealand_Transverse_Mercator,  https://spatialreference.org/ref/epsg/nzgd2000-new-zealand-transverse-mercator-2000/

Try adding  the crs like this 

Load * Extension GeoOperations.ScriptEval('
load() DATASOURCE covenants GEOFILE type="shape", crs="EPSG:2193",
url="https://dl.dropbox.com/s/pbllxss2u0cyvq8/QEII_OSCovenants_20210930.zip")';

View solution in original post

4 Replies
frankpacker_AoD
Contributor II
Contributor II
Author

Bit of a bump.

@Patric_Nordstrom apologies for the direct tag, but this stuff appears to be your area of expertise. Perhaps you can point me in the right direction?

Patric_Nordstrom
Employee
Employee

from the QEII_OSCovenants_20210930.prj file it looks like the reference system is NZGD_2000_New_Zealand_Transverse_Mercator,  https://spatialreference.org/ref/epsg/nzgd2000-new-zealand-transverse-mercator-2000/

Try adding  the crs like this 

Load * Extension GeoOperations.ScriptEval('
load() DATASOURCE covenants GEOFILE type="shape", crs="EPSG:2193",
url="https://dl.dropbox.com/s/pbllxss2u0cyvq8/QEII_OSCovenants_20210930.zip")';

frankpacker_AoD
Contributor II
Contributor II
Author

Spectacular. Thank you!

Rolando_Montero
Partner - Creator
Partner - Creator

Hello everyone!

I was trying to load a shape file that I use on a CM environment, into Qlik Sense SaaS. However, I have the file on OneDrive. I did something similar to Dropbox, but it did not work well. Can anyone help me with this? 

 

Thanks!