Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
RuiSalgueiro
Partner - Contributor II
Partner - Contributor II

Is it possible to make GeoAnalytics use proprietary maps from a company

Hello

I have a issue that is as follows:

Is it possible to use a company's proprietary maps in GeoAnalytics so that QlikSense shows them and are compliant with said company standards? They want to use these (https://gisco-services.ec.europa.eu/maps/demo/). They have proper authorization. Can be used as the GeoAnalytics map settings as shown in this link (https://help.qlik.com/en-US/geoanalytics/Subsystems/GeoPropertiesS/Content/qliksense/qliksense-imap_...)? Or how do we integrate the maps with GeoAnalytics?

Best Regards

Rui

Labels (2)
1 Solution

Accepted Solutions
Patric_Nordstrom
Employee
Employee

Yes, use the background layer to embed any WMS or TMS layer. I recommend using the native Sense map chart going forward. The map background is sent directly to the user browser, so any authentication is done there.

It's easiest to use the CRS EPSG3857 (coordinate reference system web mercator)

In this specific case the TMS needed some parameter tuning. For example, the Satellite3857 layer:

TMS URL ='http://gisco-services.ec.europa.eu/maps/tms/1.0.0/Satellite3857/EPSG3857/${z}/${x}/${-y-1}.png'

Tile size 256
Tile width 20037508
Tile height 20037508
Origin X -20037508
Origin Y -20037508

Patric_Nordstrom_0-1626208085919.png

For the WMS, use server URL: https://gisco-services.ec.europa.eu/maps/service

Patric_Nordstrom_1-1626208184274.png

 

 

Thanks,

Patric

View solution in original post

6 Replies
Patric_Nordstrom
Employee
Employee

Yes, use the background layer to embed any WMS or TMS layer. I recommend using the native Sense map chart going forward. The map background is sent directly to the user browser, so any authentication is done there.

It's easiest to use the CRS EPSG3857 (coordinate reference system web mercator)

In this specific case the TMS needed some parameter tuning. For example, the Satellite3857 layer:

TMS URL ='http://gisco-services.ec.europa.eu/maps/tms/1.0.0/Satellite3857/EPSG3857/${z}/${x}/${-y-1}.png'

Tile size 256
Tile width 20037508
Tile height 20037508
Origin X -20037508
Origin Y -20037508

Patric_Nordstrom_0-1626208085919.png

For the WMS, use server URL: https://gisco-services.ec.europa.eu/maps/service

Patric_Nordstrom_1-1626208184274.png

 

 

Thanks,

Patric

RuiSalgueiro
Partner - Contributor II
Partner - Contributor II
Author

Thank you Patric

I'll ask to make tests and come back to you.

 

Best Regards

Rui

egma
Contributor II
Contributor II

Hi Patrick,

Thanks for your solution. I followed your solution applied it and I have the background repeats many times. I use the following TMS service: 'https://europa.eu/webtools/maps/tiles/positron/0/0/0'. You can see the parameters I'm using in the image below. Would you know How to fix that?

Best,

Carlos

TMS GISCO background 2.png

 

 

 

Patric_Nordstrom
Employee
Employee

Please follow the settings, especially URL and the origin Y, I would guess for your service:

TMS URL ='http://gisco-services.ec.europa.eu/maps/tms/1.0.0/positron/EPSG3857/${z}/${x}/${-y-1}.png '

Tile size 256
Tile width 20037508
Tile height 20037508
Origin X -20037508
Origin Y -20037508

Thanks,

Patric

egma
Contributor II
Contributor II

Hi @Patric_Nordstrom ,

Thanks to you I'm making progress. I used your parameters (see attachment). I realized that I should use a bigger zoom for my map. I'm traying with zoom=2:

for instance, 'https://gisco-services.ec.europa.eu/maps/tiles/OSMPositronComposite/EPSG3857/2/2/1.png'

I made some tests and I think that if I want to display the whole world at a specific zoom (z=2 in this example) I need to put together all the tiles corresponding to the zoom I'm using. So, if I'm right, how can I call different TMS background tiles in qlik sense for the same map?

If my analysis is correct, for z=2 I'd need qlik requests the tiles:

and put them together on the same map chart.

Thanks,

Carlos

PS. I used this link for guidance: https://www.maptiler.com/google-maps-coordinates-tile-bounds-projection/

TMS maps.png

egma
Contributor II
Contributor II

Hi @Patric_Nordstrom ,

I solved the issue in the meantime. The solution was straightforward indeed. I describe it here as my contribution to the community:

For the integration of EU maps (GISCO) as custom background using the TMS service. We should:

1. add a background layer

2. in background layer > Format select TMS

3. in URL use (depending on the wanted background the URL can change. Here I'm using the positron background):

'https://europa.eu/webtools/maps/tiles/positron_background/{z}/{x}/{y}'

4. set advanced parameters to 'auto'

egma_0-1629971682736.png

That's it 😉

Thanks for your help @Patric_Nordstrom 👍

Carlos