Skip to content

hanif/lat-lng.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lat-lng.py

Get latitude & longitude form a given location using Google Maps API.


Usage:

chmod a+x lat-lng

# getting help
./lat-lng --help
> usage: lat-lng [-h] -a ADDRESS
>
> Get latitude & longitude of given address/location.
>
> optional arguments:
>   -h, --help            show this help message and exit
>   -a ADDRESS, --address ADDRESS
>                         Address or location to be geolocated
./lat-lng --address "Bantul"
> (-7.8748176, 110.3255365)

./lat-lng --address "Jalan Ringroad Barat, Yogyakarta"
> (-7.782989300000001, 110.3311353)

# shortcut 
./lat-lng -a "Solo, Indonesia"
> (-7.566667, 110.816667)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published