English 中文(简体)
Google Earth KML with polygones with longitudes greater than 180deg?
原标题:

I use polygones in kml files for displaying a rocket s flightpath from ground into orbit in google earth kml files.

the problem is, that google earth can t handle longitued greater than 180deg, so when a rocket will circle more than ones around the globe the longitued values has to be recalculated. Is there a way in using longitudes like 720deg and google can translate this by itself? I would prefer this, because I don thave to change my programme and you can directly see the revolutions of the rocket around earth by its coordinates.

最佳回答

The KML definition indeed only allows arguments

  • between -180 and 180 for longitude
  • between -90 and 90 for latitude

see KML Reference - element "coordinates"

So I am afraid you will need to normalize your lon by introducing an angle function.

问题回答

As mentioned by MikeD you will need to normalize to fit in the specs. Here is a site from Chris Veness with spherical formulas for doing lots of calculations that otherwise boggle the mind.





相关问题
Determine if one coordinate is in radius of another

Let s say I have a Table of rows that contain coordinates. What would be the best way to pull only the rows of coordinates which are in the radius of another coordinate? To simplify my question, I m ...

address of location

how to get the address of location if i have the latitude longitude values of the location in iphone

Overcoming GPS Inaccuracy for short distance

I have a specific problem of accuracy of one GPS relative to another GPS over a distance of 30 - 50 metres apart. I suppose the radical change of thinking is that I dont need its location on the ...

热门标签