Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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)
Any third party map server are connected using the geodata or the backgound layer using either TMS or WMS.
To setup a 3rd party TMS as default, check this post:
https://community.qlik.com/t5/Qlik-GeoAnalytics-Documents/Native-mapchart-settings/ta-p/1563181
Thanks,
Patric
Hello @Patric_Nordstrom ,
thank you for the explanation , I created this link :
and I put it as server URL for data layer, but I could not see it .
did I something wrong?
Thank you in advance.
Regards
The mapchart has a WMS wizard, that's the easiest way to add a WMS.
The start URL is ok, but it needs to be pruned, pls follow the steps 1-4 above ^^
Thanks,
Patric
hello @Patric_Nordstrom , I removed the extra parameters :
in properties ( Geodata layer)I changed EPSG to 4326
I put version 1.1.1( which was in linke before)
But still I could not see the map.
I have to notice that I am using qlikview 11.
Do you have any Idea about problem?
Thanks ,
Matsa
Hi @Patric_Nordstrom ,
Finally thanks to your note, we successful to use WMS( not with the link you mentioned )
Now we have another question,about base map when we are using WMS.
Generally we have 3 different types of empty as base map:
1)empty (WGS-84)
2)empty(undefined meters)
3)empty (Mercator)
we thought we have to use 3(empty(mercator)) with CRS--> EPSG:3857 , but it does not work always and we need to change base map to 2.but even with 2 it does not work always.In fact we could not understand the reason of this behaviour( it works sometimes and it does not work other time)
I appreciate your help on this matter.
Regards,
Matisa
All layers needs to have the same CRS (also the CRS of the WMS), the layers are not reprojected in the client.
Empty WGS-84: EPSG:4326 unprojected
Empty (undefined meters) any meter based CRS
Empty(Mercator): EPSG 3587
Default: EPSG 3587
Adaptive: EPSG 3587
Thanks @Patric_Nordstrom for the explanation .
We recognized , we could not see some layers because they are behind of our background( we put one background map with TMS)
We solve our problem in this way:
Regards,
Matsa
I am trying to add the following wms link to my geodata layer:
I am not getting the layer on the map. I have set the version to 1.1.1 and CRS to EPSG: 3857 as I am using the default map base.
Do I have something else wrong? The WMS link creates the layer in the regular Qlik map so, so it should be working?
Have you tried with 'Empty(Mercator)' instead of Default Map?
Would you please share the error message which you see on top left of the map?
Regards,
Matsa
The 'Empty(Mercator)' populates nothing at all.
The error message states, "Geodata Layer: Failed to Load WMS image"