php - How to determine if Latitude is North or South, or Longitude West or East from decimal coordinate? -


lets have position : 32.709237, 51.627789 need know if latitude w or e , longitude n or s .

latitude positive in north , negative in south.
similarly, longitude positive in east , negative in west.

if(value<0) //value negative 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -