Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
didierodayo
Partner - Creator III
Partner - Creator III

How to build routes between From and To locations

Hello,

I have put together this sample holiday data which consists of hotel and all the places to visit. I have also attached a qvf with a simple bubble map.

I need helpt to determine (in a KPI and on the map)

- the distance to each place to visit from the hotel as a line on the map and a KPI

- the distance between locations so I can see the closest place to visit when am at another particular location

- Total distance

I appreciate any assistance on this.

Thanks

16 Replies
Patric_Nordstrom
Employee
Employee

Thanks! The link on the page above points to the home of the examples: 

https://community.qlik.com/t5/Qlik-GeoAnalytics-Documents/Qlik-Sense-Examples-Qlik-GeoAnalytics/ta-p...

Thanks,

Patric

Karen_Gumerov
Contributor III
Contributor III

Hi@Patric_Nordstrom,

Is there any way to modify routes on the fly, for example, if I need to switch between the fastest route and the shortest route? It seems that Qlik is able to display only preloaded geodata. Or should I load both types of routes (fastest/shortest) and then apply filters? Along with route type it might also be useful to select transportation type (car/plane/walk). Are these features supported?

Thanks.

Patric_Nordstrom
Employee
Employee

@Karen_Gumerov GeoAnlaytics connector operations are performed at load time so either:

The new service GeoOperations is based on SSE and can perform certain operations in runtime. GeoOperations is currently only available for QCS and QSEoK. 

https://help.qlik.com/en-US/geoanalytics/Content/Qlik_GeoAnalytics/GeoOperationsFunctions/GeoOperati...

Thanks,

Patric

Karen_Gumerov
Contributor III
Contributor III

@Patric_Nordstromthanks for the information.

I tried the sample app in QSE, but the ODAG button is displayed as invalid visualization. Do I need any additional extensions or whatever?

ODAG.png

 

Patric_Nordstrom
Employee
Employee

Hi, yes you need to recreate the odag link when copying to a new environment.

And odag needs to be enabled.

Read more aobut odag here:

https://help.qlik.com/en-US/sense/latest/Subsystems/Hub/Content/Sense_Hub/DataSource/Manage-big-data...

Thanks,

Patric

Karen_Gumerov
Contributor III
Contributor III

@Patric_Nordstromis there any way to find out the possible criteria values of GeoAnalytics location service?
For example, in Routing Danish Cities app the routes are built using the following parameters: criteria='fastest', transportation='car'. Just by chance I guessed, that criteria could also be 'shortest' and it really worked. But I have no idea what are the other (if exist) options for transportation type. I tried different stuff like 'walk', 'plane', 'train', but none worked.

This page https://help.qlik.com/en-US/geoanalytics/Content/Qlik_GeoAnalytics/GeoAnalytics-Sense/Location-Servi... doesn't mention such parameters at all. It is more about addresses and administrative divisions.

Thanks.

Patric_Nordstrom
Employee
Employee

The "Routes" operation is documented under the QGA Connector section:

https://help.qlik.com/en-US/geoanalytics/Subsystems/GeoConnector/Content/connector/connector-geoanal...

Thanks,

Patric