Pgeocode Versions Save

Postal code geocoding and distance calculation

v0.4.0

1 year ago
  • The minimum supported Python version is updated to Python 3.8 #65

  • Fix error in latitude grouping when creating a unique postcode index. With this fix Nominatim(.., unique=True) correctly computes the average latitude for each postcode (if multiple localities share the same postcode), instead of taking the first latitude value. #62

  • The default folder to store downloaded data is changed to ~/.cache/pgeocode/. This default can still be changed by setting the PGEOCODE_DATA_DIR environment variable. #51

  • Implemented Nominatim.query_location to query place names with text search Fuzzy search is supported if an optional extra dependency thefuzz is installed. #59

  • Add more countries that are now supported by GeoNames including: AZ (Azerbaijan), CL (Chile), CY (Cyprus), EE (Estonia), FM (Federated States of Micronesia), HT (Haiti), KR (Republic of Korea), MW (Malawi), PE (Peru), PW (Palau), RS (Serbia), SG (Singapore) #66

v0.3.0

3 years ago
  • Add support for a fallback mechanism for data sources
  • Set the default fallback URL to https://symerio.github.io/postal-codes-data/ (only used when the main GeoNames server has availability issues).
  • Add support for data sources in .txt format (non zipped)
  • Document how to use custom data sources

v0.2.1

4 years ago

February 21, 2019

  • Fix Nominatim for AS, LT, VA countries.
  • Drop Python 2.7 support.
  • Allow custom download locations.

v0.2.0

4 years ago
  • Fix download URL.
  • Drop Python 2.7 support.

v0.1.1

5 years ago

November 8, 2018

  • Fix compatibility with pandas >=0.23