geocodertools

Functions to work with Geo coordinates, reverse geo coding and getting city names out of coordinates without internet


Keywords
geocoder, longitude, latitude
License
MIT
Install
pip install geocodertools==0.1.7

Documentation

Build Status Coverage Status Documentation Status Code Health

Installation

# pip install geocodertools
$ geocodertools --lng 8.40 --lat 49.3

Usage

Command line

$ geocodertools --lng 8.40 --lat 49.3
admin1 code: 08
admin2 code: 00
admin3 code: 07338
admin4 code: 07338007
alternatenames: 
asciiname: Dudenhofen
cc2: 
country code: DE
dem: 105
elevation: 
feature class: P
feature code: PPLA4
geonameid: 2934737
latitude: 49.31861
longitude: 8.38861
modification date: 2011-04-25
name: Dudenhofen
population: 5709
timezone: Europe/Berlin

Python

import geocodertools.reverse as geo
city = geo.get_city({'latitude': 8.2, 'longitude': 49.2})