Thread: Snap to a Road
View Single Post

  #12 (permalink)  
Old 07-19-2006
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

Quote:
Originally Posted by Srinivas Loka
When reverse geocoding, if a point is not on a road, I keep increasing the altitude until it falls onto a road(I limit the max altitude to 15). Your technique looks interesting. Is it more efficient or better than increasing the altitude ? Because if so, I can give it a try(I need to convert your code to C#). Thanks
It is more efficient that increasing the altitude, however it is slow, specially if you have a rather large circle and wants to check many points. I have used this technique in NT services that does not have human interface, so no problem if program is busy for sime seconds.

If you need it in C# I can copy/past the code also, have it somewhere...
Reply With Quote