Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Apr 2, 2021 4:15:50 AM
May 12, 2017 2:45:59 AM
QGA can consume geodata from many different sources, here's what's needed to use a TMS a background map in QGA.
Sense Map chart
Start with specifying the source. In this case the source is a TMS from ArcGIS Online: World_Topo_Map.
Old QGA Map extensions
Start with specifying the source. In this case the source is a TMS from ArcGIS Online: World_Topo_Map.
See also the two attachments, example apps for Qlik Sense and QlikView.¨
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 Hassam,
if the map service has wmts format , you can try to put /tile/{z}/{y}/{x} into the url.
then it should be able to loaded the map from arcgis via geoanalytics to qlikview.
cheers,
Wallace
Hi Wallace,
Thanks for your response, "tile/{z}/{y}/{x}" is working in the above mentioned service by Hassam but it is not working on our client's provided ArcGIS service.
Any suggestion from your side?
Kind Regards,
Jahanzaib
Hi Jahanzaib,
can you please check if the ArcGis Map Service provided by your client get web map tile service(wmts). You should be able to check it on top left hand side on the arcgis map service webpage. Without this , logically I dont think you will be able to use tms in geoanalytics to consume the arcgis map service for tiled map service.
Thanks ,
Wallace
Wallace,
Thanks a lot for your prompt response. Can you please share a screenshot that where to check the service format?
Thanks,
Jahanzaib
something like as follows : it should be JSON|SOAP|WMTS
but this example doesnt have WMTS. so it will not be able to be consumed via TMS.
Thanks a lot for your help. Will share this with our client's GIS team.
Regards,
Jahanzaib
Dear Wallace,
Please check the attachments :
1- Single hard-coded tile successfully fetched (Single Tile Image Attached)
2- Unable to fetch dynamic tiles (Dynamic Tile Image Attached)\
3- ArcGIS Service we are using is WMTS (WMTS Image Attached)
Any suggestion?
Regards,
Jahanzaib
Hi ,
not sure if the issue is resolved ? some high-level suggestions, but not guaranteed :
1: If the map service is on premise server , pls ensure you are in the environment for fetching the map.
2: try different version of wmts
3: try to put it in arcgis rest service
Hi,
QGA don’t support WMTS, only WMS and TMS, but it might work anyway if the service is symmetrical as a TMS, ie
I don’t see all properties for the service, but what I can see is that the tile size is 512, not 256 as specified.
I would ask for the url if possible and/or all of the meta data for the service.
Thanks,
Patric
Hi Patric
We want to use a secured WMS Service as background Map.
The security toke we get is only valid for 5 minutes and only generated when we reload the App.
How do we solve this challange?
Thanks
Alex