Geographic Information Systems Asked by Apoorv Agarwal on April 5, 2021
For a given Google Earth URL
(for example https://earth.google.com/web/@33.83405747,-117.89835255,51.77456494a,140.84823168d,35y,0h,0t,0r)
I want to find the lat/lng coordinates of the corners of the screen, so that I can calculate any pixel location on the screen given the lat/lon. The screenshot of this Google Earth page would look like this:
For example in the above link the screen size is 1280 × 720. The coordinates 33.83405747,-117.89835255 would be the exact center, so the pixel coordinates would be (640,360). Now I want to calculate these coordinates for any given lat/lon(Of course, assuming they will lie on this field of view.)
The breakdown of a Google Earth URL would be this:
I’m assuming that I’ll keep heading, tilt and rotation always 0.
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP