

- Move Document
- Delete Document and Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Setting up a WMS as a background map in Qlik GeoAnalytics
Aug 1, 2022 9:23:05 AM
Apr 21, 2017 8:58:02 AM
Sense Map chart
Example adding a WMS background
1. Add in Content Security Policy (Qlik SaaS)
Origin: nowcoast.noaa.gov Directive : connect-src and img-src
2. Add Map chart
3. Add background layer WMS
url: https://nowcoast.noaa.gov/arcgis/services/nowcoast/radar_meteo_imagery_nexrad_time/MapServer/WMSServ...
version:1.3.0
crs: EPSG:3857, transparent, png, layer: Image
Note, use CRS 3857 if the base map has the Mercator projection (default).
Pick CRS 4326 if the base map has the Adaptive projection.
Link to documentation and example.
(QGA Extension map, old kept for reference)
Start by figure out the correct parameters. In this case the source is a WMS with data from the Dutch city Zaanstad.
Note, the urls below has chnaged and not working anymore, principles still applies)
- Easiest way to pick up the WMS source and at the same time verify that it works is through a demo page,
for example http://geo.zaanstad.nl/mapproxy/demo/?srs=EPSG%3A28992&format=image%2Fpng&wms_layer=Zaanstad - Select CRS (coordinate system), 4326 for use together with the default adaptive basemap or 3857 with the defualt basemap. Right click on the map image and "Open image in new tab..." . Copy the image url:
http://geo.zaanstad.nl/mapproxy/service?LAYERS=Zaanstad&FORMAT=image%2Fpng&SRS=EPSG%3A28992&EXCEPTIO... - Remove the following parameters (these are filled in by the map) : BBOX, WIDTH, HEIGHT, VERSION, SRS.
That produces the url to use: http://geo.zaanstad.nl/mapproxy/service?LAYERS=Zaanstad&FORMAT=image%2Fpng&EXCEPTIONS=application%2F... - Fill in CRS and VERSION (in my example EPSG:3857 and 1.1.1 check the WMS url for the version).
Pro tip, "Load via Server" is practical to use if the the WMS doesn't allow CORS.
Pro tip 2, run Sense in the browser (http://localhost:4848/hub/my/work) and use the dev console (F12), good to spot errors from the WMS server.


- Move Comment
- Delete Comment
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Pro tip, how to figure out the wms url:

- Move Comment
- Delete Comment
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Is there any instruction to set up exactly right WMS format URL from ArcGis version 10.4 above that can be consumed in Geoanalytics geolayer without any issues ? thanks


- Move Comment
- Delete Comment
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Wallace,
In coming releases we hope to make it easier to connect to other sources.
As of now the tutorial above is the best guide.
Thanks,
Patric

- Move Comment
- Delete Comment
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Patric
We want to use REST API which requires a token in the Header authentication.
Is this possible to setup in Qlik Geo Analytics. I see only the URL.
Thanks
Alex


- Move Comment
- Delete Comment
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Sorry, not today, header tokens are not supported. Thanks, Patric

- Move Comment
- Delete Comment
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
The approach works very well using the Layer object and the WMS Service URL. How can the GeoAnalytics Map object be set to use another base map? An URL that works as WMS Service URL does not work in the Map Object as "GeoAnalytics Server URL (needs reload)" as the Map Object expects a GeoAnalytics service. What is the recommended approach?


- Move Comment
- Delete Comment
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi,
The geodata layer is the way to set another basemap.
If the geodata layer is covering then the basemap can be set to "empty".
Use "empty meters" or "empty degrees" to work get QGA to work with arbitrary coordinate systems.
Thanks,
Patric

- Move Comment
- Delete Comment
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Patric,
I'm trying to use this WMS as a geodata layer with GeoAnalytics maps: https://geodata.nationaalgeoregister.nl/wijkenbuurten2018/wms?LAYERS=cbs_wijken_2018&STYLES=&FORMAT=...
After removing the unnecessary parameters for the geodata layer this remains: https://geodata.nationaalgeoregister.nl/wijkenbuurten2018/wms?LAYERS=cbs_wijken_2018&STYLES=&FORMAT=...
The result is a empty white box plotted on the map as a geodata layer. There are no errors in the developers console.
I'm using google chrome.
Do you have any idea what is going wrong here?
Regards,
Simon


- Move Comment
- Delete Comment
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi,
I can see that you are using CRS EPSG:4326 -> set the background map to default adaptive or empty degrees.
Or set the WMS to 3857 if it should allow that.
Thanks,
Patric

- Move Comment
- Delete Comment
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content