Top

geodata.Example module

Example program for Geodata gazeteer.

Module variables

var features

Classes

class Example

Example program for Geodata gazeteer.
0. pip3 install geodata 1. Create folder in home directory: example/cache
2. Download gb.txt from geonames.org and place in example/cache. (This just has Great Britain data)
3. Run example.py

Ancestors (in MRO)

Static methods

def __init__(

self)

Initialize self. See help(type(self)) for accurate signature.

def lookup_place(

self, location_name)

Instance variables

var geodata