Comments and answers for "How to convert GPS Lat-long co-ordinates into Unity co-ordinates?"
http://answers.unity.com/questions/1221517/how-to-convert-gps-lat-long-co-ordinates-into-unit.html
The latest comments and answers for the question "How to convert GPS Lat-long co-ordinates into Unity co-ordinates?"Comment by tanoshimi on tanoshimi's comment
http://answers.unity.com/comments/1221629/view.html
Latitude is an angle measured in degrees above or below the equator. North pole is +90 latitude, south pole is -90.
Longitude is an angle measured around the earth from the prime meridian. East extends positively, west negative, to +/- 180.
You can multiply by any arbitrary constant you want to apply a scaling.Wed, 27 Jul 2016 12:33:42 GMTtanoshimiComment by anildas on anildas's answer
http://answers.unity.com/comments/1221590/view.html
Thank you for the quick answer. It gives the basic idea of how to do it.
Regarding the equi-rectangular projection, if I multiply the latitude and longitude with a constant value (say 100) and use it as the unity co-ordinate for my user character, I can move my object with respect to the user's location right? Am I missing or misunderstanding something here?
Apologies if my understanding is wrong,Wed, 27 Jul 2016 10:26:28 GMTanildasAnswer by tanoshimi
http://answers.unity.com/answers/1221575/view.html
Lat/Long are spherical coordinates (well, elliptical, really), but I'm assuming your game world is flat. You therefore need to employ some form of projection.
The simplest is an equirectangular projection:
position.x = longitude
position.z = latitudeWed, 27 Jul 2016 09:56:05 GMTtanoshimi