Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Apr 2, 2021 4:20:45 AM
Apr 21, 2017 4:55:05 AM
QGA can consume geodata from many different sources including Esri ArcGIS online, here's what's needed to show the data as a feature layer in QGA.
Start by figuring out the correct parameters. In this case the source is administrative boundaries (Buurt) of the Dutch city Zwolle.
Authentication in ArcGIS
Special note regarding Authentication in ArcGIS (Thanks to ssamuels for the solution)
The authentication when working with secured map services from ESRI can be solved by setting up a REST connection in the loadscript to retrieve a new access token from the REST API of ArcGIS Online. This is done by sending a GenerateToken request to the URL "https://www.arcgis.com/sharing/generateToken?parameters". The REST call must be a POST request over https and takes the following parameters:
username - Username of the user who wishes to get a token.
password - Password of user who wishes to get a token.
referer - The base URL of the web application that will invoke the services
expiration - The token expiration time in minutes (default value for this parameter is 60 minutes)
f - The response format. The value for this parameter must be "json".
The resulting access token is stored in the data model and can be used as a text variable to append to the location service url in the GeoAnalytics extension.
Hi Patric,
I can only select 'JSON, HTML, AMF or KMZ'. as query output. Does it work with one of these options?
Frank
Hi Frank,
Ok, QGA supports WFS with GeoJSON or GML.
Esri JSON is somewhat different and can't used as input to a dynamic layer.
However the connector can load Esri JSON with the "Load" operation using the connector.
The data is read every time the app is reloaded.
There is an "Load" example here:
Guides & Examples « bi.idevio.com
Thanks,
Patric
Hi Patric,
I use Qlikview (not Sense) and I tried the load operation, but I keep getting the following error, after I click on
These are the steps I take:
I click on connect, and i choose custom:
I enter the folowing URL (this one is public, so you can test it yourself)
https://mapservices.prorail.nl/arcgis/rest/services/Gebiedsindelingen_ProRail_005/MapServer/4/
I click on test connection and it gives an OK back:
Then I click on 'select data'
I have to repeat the previous steps:
It gives me an OK again, but when I click on 'OK', I keep getting the following error:
What am I doing worng. I am stuck at this point. 😞
In your other reply you use in the Sense example the following URL:
But where in the steps of creating the connection within Qlikview do I use this URL?
If I use after i Click on 'Connect' I get the following error:
Ok, first you connect, choose ga.qlikcloud.com (not custom, that's for connecting to an on-premise QGA server)
Then you do "Select Data"
!
And then the Load operation:
Check out the documentation for the connector here:
Qlik GeoAnalytics Connector « bi.idevio.com
See also the attached qlikview app which posted to the article.
Thanks,
Patric
Hi Patric,
Thanks for al your quick replies, I think we are getting there, but when I connect to 'http://ga.qlikcloud.com/' again I get an error: 😞
Any ideas?
Sorry, have to be https://ga.qlikcloud.com
Sorry, but https://ga.qlikcloud.com fails, with the same error message: Connection failed. Invalid URL.
we use https://ga.idevio.com, that one works for us!
@bps
Hi Patric ,
Can you please elaborate how to do this with other place like i want to achieve this for Margate
Town in England.
Where can i have location service url for Margate town. Let me know please.
I am having following column in my data from ESRI Database using rest connector.
"OBJECTID",
"Status",
"Creator",
"GlobalID",
"Shape__Area",
"Shape__Length",
"__FK_attributes"
Thanks