| 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 |