Skip to main content

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

Project description

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})

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geocodertools-0.1.7.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

geocodertools-0.1.7-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page