Search code examples
google-mapsgpslatitude-longitudegoogle-earth

Plotting a trajectory over time (a movie) using Google Earth/Maps


I have a set of points starting from (0,0,0) charting a path taken by a vehicle in 3D with each point being the distance traveled in its respective dimension. I need to do 2 things

  1. Let (0,0,0) denote a latitude and longitude. How do I convert my set of points in 3D to it's equivalent in latitude and longitude?
  2. Plot it frame-by-frame (with a delay so it's usable for a video) on Google Maps/Earth/whatever

Any suggestions?

EDIT: Now the plotting is doable and the conversion isn't thanks to David


Solution

  • It'd be easy to use JavaScript to animate points moving on a Google Map in your browser. I'm not sure what kind of video you are trying to get, though.

    Google Maps even has an API method that will render a map with your path drawn over the map. You can see about this here at the bottom of the page.