Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Riccardo
Partner - Creator III
Partner - Creator III

Geo Operation Travel Area inside a runtime chart

Hello,

Is there any demo apps of Geo Operation TravelArea used on a runtime chart?

 

For Example, I have these points In load script:

 

 

MyPoints:
LOAD * inline
"id;point
1;[-80.204,25.791]
2;[-81.381,28.538]"
(delimiter is ';');

 

 

 

In load script, for back-end script, I could use:

 

 

MyTravelAreas: Load * Extension GeoOperations.ScriptEval( 'SELECT id, TravelArea from TravelAreas(costValue="10", costUnit="Minutes")', MyPoints);

 

 

 

Can I use the same code on a Dimension of Map Area Layer, for a realtime selection point? (like input box)

 

Thanks

Riccardo

Riccardo Schillaci
BI Analyst
Datawarehouse & Business Intelligence
1 Solution

Accepted Solutions
Riccardo
Partner - Creator III
Partner - Creator III
Author

I found the solution myself:

In the area layer, position field:

 

=GeoOperations.ScriptEvalStr('Select TravelArea from TravelAreas(costValue="10", costUnit="minutes", transportation="car")', point)

 

Here is the example in the travelarea section: https://help.qlik.com/en-US/geoanalytics/Subsystems/GeoOperationsService/Content/connector/connector...

 

Riccardo Schillaci
BI Analyst
Datawarehouse & Business Intelligence

View solution in original post

1 Reply
Riccardo
Partner - Creator III
Partner - Creator III
Author

I found the solution myself:

In the area layer, position field:

 

=GeoOperations.ScriptEvalStr('Select TravelArea from TravelAreas(costValue="10", costUnit="minutes", transportation="car")', point)

 

Here is the example in the travelarea section: https://help.qlik.com/en-US/geoanalytics/Subsystems/GeoOperationsService/Content/connector/connector...

 

Riccardo Schillaci
BI Analyst
Datawarehouse & Business Intelligence