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: 
julioarriaga
Creator II
Creator II

Is there a way to dynamically find a distance between two points (just like Google Earth)?

Hi,

As always, thank you for the help. In our company we use the Qlik Sense GeoAnaltics app to evaluate information about our new stores (we are a pharmaceutical company that sells franchises).

So, it would be very useful for us to be able to draw arbitrary distances in the maps (just like Google Earth) in order to know which locations could be used to create new stores (a minimum distance must be respected between locations).

Is this possible?

julioarriaga_0-1603243310930.png

Labels (2)
3 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi I dont think so it is available as a default feature. But you can do a simple calculation and find that.

Check this link 

https://stackoverflow.com/questions/27928/calculate-distance-between-two-latitude-longitude-points-h......

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Patric_Nordstrom
Employee
Employee

There's no distance tool in the map but you can use GeoOperations (QCS and QSEoK) to calculate distances in runtime:

=GeoOperations.ScriptEvalStr('SELECT Distance from Routes(originField="From", transportation="Bird", destField="Dest")','[10.2,50.8]' as From, '[11.2,54.8]' as Dest)
Steven_Haught
Creator III
Creator III

@julioarriaga 

You could also use a drive time to create circles or drive time polygons around your locations. You can set your mileage in the script for this to your defined needs. Glad to answer any questions about that.