-
Notifications
You must be signed in to change notification settings - Fork 215
Projection is almost ECEF but on a pure sphere not an ellipsoid in usual GIS systems? #36
Comments
What I mean it's that you shouldn't use projections like WGS84. Just calculate latitudes and longitudes directly from XYZ, assume that the Google earth is a perfect sphere. |
The formula is: R = sqrt (x^2+y^2+z^2) |
Thanks Lex Song, Assuming Radius of Earth is exactly: 6,371 km (6371000 meters) The full formulae would then be : Quick Google Sheets calculator based on the above here: Cheers, ian |
Well, it's way more complicated than that. I'm not sure about how Google did choose their height reference. I can't even get a good estimation from the low-resolution mesh of the whole globe. In some places, I think the sea level may even have several Kms differences. The height is not as useful as latitude and longitude here. |
Yep, I also haven't find been able to find much detail on how Google chose there spatial references. EDITED
|
They use |
Are these edits refering to line 212 to line 214 of dump_obj.js? Or also line 262 to 264 of dump_obj.js? |
It looks like that the mesh is on an ECEF coordinate system, but on a pure sphere not an ellipsoid in usual GIS systems.
Originally posted by @LexSong in #4 (comment)
Greetings LexSong
Following your insight into the use of ECEF projection I tried firing-up BlueMarble Geographic Calculator and started experimenting. My workflow is to:
Tried on two areas in the UK and the Bahamas.
So far area extent and Longitude positions of the results looks okay
HOWEVER Latitude in both test cases is about 20 km off in a Northerly direction.
So...really great if you could please explain a little bit more what you mean when you say the exact ECEF projection used is "a pure sphere not an ellipsoid in usual GIS systems."?
And any suggestion on
how to handle that??
Thanks!
Ian
Example showing projection error for the Bahama test:
The text was updated successfully, but these errors were encountered: