View Single Post

  #10 (permalink)  
Old 05-11-2008
Eric Frost's Avatar
Eric Frost Eric Frost is offline
Administrator
Black Belt
 
Join Date: Jul 1992
Posts: 2,210
Blog Entries: 1
Re: Get new Lat & Lon from speed

Is it supposed to be a vehicle on the road network? Or a creature like a bird that could just fly anywhere?

What country or what part of the world are you working it? In the U.S., one degree of longitude is roughly equal to 50 miles or 80 km, and a degree of latitude is equal to 65 miles or 105 km.

It would be rough, but with some simple math and the Pythagorean theorem you could calculate how much to modify lat/lon each second for a particular speed and direction.

How far did you get with your code, what do you need help with specifically?

Eric
__________________
Order MapPoint 2006 | Read Programming MapPoint in .NET | Start Using the Pushpin Tool - Free Trial Download - click here.
Reply With Quote