How do I geocode offline in python?
I am working on some spatial data on a computer and since the data is confidential there is no internet connection for this computer. So how can I use python to generate geocoding offline?
For example, given the input: White House, Pennsylvania Avenue Northwest, Washington DC
The output should be: 38.897797, -77.036530
source to share
The term "geocoding" means converting a proper street address such as "123 Main St, San Diego, CA 92101" to a lat / lon location. On the other hand, your example refers to what is commonly referred to as a "point of interest (POI)" resolution, where a point of interest is listed by name rather than address.
There are options for offline geocoding, including YAddress (warning for ads: I'm working for a company that makes it).
The options for offline POI resolution are discussed at https://stackoverflow.com/questions/1875255/open-source-poi-database
source to share