Compare all hotspots

  • HI,
    Trying to compare all hotspots to check if they have a not too close ath.
    If 2 are too close I remove 1 based on another param.
    Problem is hotspots ath is between -180 and 180, so should I use getlooktodistance(distance,hotspot[a].ath,0,hotspot[b].ath,0) ?
    Also what would be the best most efficient method to compare every hotspot to each other ?
    Here is the action I use now, but it's not working as wanted :


    thanx for your help !

  • Hi Jerome,

    maybe this is a good base to go on with?

    Hotspot s2 is removed because it is too close.
    s5 is red because of different style.

    https://www.virtualtuur.com/krpano/121/bar…th/1/index.html
    https://www.virtualtuur.com/krpano/121/bar…_ath/1/tour.xml

    Not sure but I think this brings you closer.
    Bit dirty though..

    EDITED..

    Hope it helps,
    Tuur *thumbsup*

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!