comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » intersection of two tracks(lat,lon)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: intersection of two tracks(lat,lon) [message #75232 is a reply to message #75069] Mon, 21 February 2011 06:05 Go to previous message
guillermo.castilla.ca is currently offline  guillermo.castilla.ca
Messages: 27
Registered: September 2008
Junior Member
> Am 17.02.2011 09:22, schrieb Kai Muehlbauer:
>
> Actually I do (as Guillermo suggested) check the heights of the two
> tracks at intersection point. This is sufficiently fast and suits fine.
Then why make it complicated by going for the brute force solution??
The latter would only make sense if your tracks consisted of GPS
waypoints measured say every millisecond. Otherwise the fact that two
waypoints from different tracks are close (i.e., a local minimum in
the distance array) is no guarantee that the tracks actually intersect
(they could run in parallel and be a narrowing in that section).
Conversely, if the tracks are measured at different time lags, or if
the objects have very different speed, an intersection does not need
to translate into a local minimum in the distance array (the waypoints
could be far away from the intersection). So the fact that you are
still considering the other solution makes me curious, what in earth
are you tracking??

Cheers

Guillermo
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Efficient comparison of array location in two lists
Next Topic: Re: Efficient comparison of array location in two lists

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:34:40 PDT 2025

Total time taken to generate the page: 0.87849 seconds