GPS coordinates on mobile phones

拈花ヽ惹草 提交于 2019-12-11 02:27:48

问题


Can GPS on a phone, such as iPhone or Android determine your Z coordinates ?

I know it certainly has to be able to determine X and Y, well longitude, latitude that is, but what about the Z coordinates ? Can it determine your height, and can I obtain height relative to ground ?


回答1:


Height, as measured by a gps, is relative to the WGS84 ellipsoid. The WGS84 is representative of the field where the gravity is the same, the geoid. Not quite the same as the ground.




回答2:


You can determine altitude with iPhone using CoreLocation http://developer.apple.com/iphone/library/documentation/CoreLocation/Reference/CLLocation_Class/CLLocation/CLLocation.html




回答3:


Android surely can ... have a look at the features of e.g. MyTracks which include even evaluation profiles.

Altitude, however, is usually measured in "above sealevel", which means, that you could determine the distance from the ground by substracting the ground evaluation from your actual evaluation: ev(ground) - alt = distance(fromGround).



来源:https://stackoverflow.com/questions/3272958/gps-coordinates-on-mobile-phones

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!