Skip to content

Releases: symerio/pgeocode

Version 0.4.0

13 Dec 23:38
@rth rth
Compare
Choose a tag to compare
  • 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

Version 0.3.0

23 Oct 22:19
@rth rth
Compare
Choose a tag to compare
  • 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

Version 0.2.1

21 Feb 12:25
@rth rth
Compare
Choose a tag to compare

February 21, 2019

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

Version 0.2.0

28 Dec 10:07
@rth rth
Compare
Choose a tag to compare
  • Fix download URL.
  • Drop Python 2.7 support.

Version 0.1.1

08 Nov 21:51
@rth rth
Compare
Choose a tag to compare

November 8, 2018

  • Fix compatibility with pandas >=0.23