It depends on how 'fuzzy' you want it.

If just want to know if exactly the same - its easy - just compare each
coordinate in turn (perhaps allowing 0.001 degree difference - to account
for floating-point errors)

But if want to allow some difference, you have to decide, exactly how much
difference you want to allow.

Do the routes just need to start and end at the same point? Can they go via
different routes? Should they be of similar length?

Do you want the same basic 'line' (just allowing the  points to be in
slightly different places)?

Could one line be a subset of the other? eg route one goes from A-B, route
two goes from A-B-C. So A-B is identical, but has extra bit B-C.



...before picking an alhorithm, you need to define exactly what you want to
measure.







On 9 September 2013 12:42, kamlesh prajapati <kamlesh6...@yahoo.in> wrote:

> I have two coordinate list in c# , please tell me what is the way to
> compate two list means two list route are same or not? please help me.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API V2" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-maps-api+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to