How to get latitude and longitude of gps device with PHP? and not through javascript. Thank you.
A:
I do not think it is possible, all the commercial GPS modules shield the raw data (NMEI) from the user. Now, if you only want latitude and longitude data for a specific place, you do not need a GPS. You can use Google Maps for that, if you want to use PHP, check out the API's provided by ESRI (http://www.esri.com/), NAVTEQ I used them long back and they were pretty good. Now, if you want to use Lat and Long data on the field you might want to consider buying a GPS logger (if you want RAW NMEI data) it can tell you all kind of awesome things. If you just want Lat and Long info, your Garmin or Tom Tom should be good enough. Again, it all depends on what you want and how you want.
/srm
Sandeep More
2010-08-24 21:15:52