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.
It was an internal resource and it worked fine with QGA Plus. Thanks
I am trying to make use of the geographical data from https://kartkatalog.geonorge.no/metadata/statistiske-enheter-grunnkretser-wfs/cc7ded0b-7d34-4db6-8fd...
How would I get started using the WFS services listed on this site?
I have tried to draw inspiration from this post but I haven't found a way to do it
Thanks
Hi Patric,
I have tried these steps in a new qliksense install november 22 and i don't get any results.
my query is working as it should be. i have also tried adding to a static geodata layer with no results.
if i use the connector it works just fine..
LIB CONNECT TO 'VTPARCEL (clc_twells)';
/* Generated by GeoAnalytics for operation Load ---------------------- */
[Dataset1]:
SQL SELECT [Dataset1_Geometry], [OWNER2], [OWNER1] FROM Load(dataset='Dataset1')
DATASOURCE Dataset1 GEOFILE url='https://services1.arcgis.com/BkFxaEFNwHqX3tAw/ArcGIS/rest/services/FS_VCGI_VTPARCELS_WM_NOCACHE_v2/F...', keyField='', type='geojson', expectedGeomType='auto', encoding='', crs='EPSG:4326'
;
tag field [Dataset_Geometry] with '$geopolygon';
tag field [Dataset1_Geometry] with '$geopolygon';
/* End GeoAnalytics operation Load ----------------------------------- */
what am i missing???
T