Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.6 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Version 0.6 #9

wants to merge 1 commit into from

Conversation

andrewkesper
Copy link
Collaborator

This new version brings numerous improvements and fixes issue #6.

Notable changes:

  • Addresses can now exist in more than one index
  • Addresses are indexed by the street number and individual words in the street name and suburb. (In previous versions addresses were only indexed by the street name)
  • New option abortPrevious intended for use with search-as-you-type interfaces. When enabled, any unresolved geocode promises will be rejected (by throwing a GeocodeAbortError). Pending HTTP requests that are no longer needed are aborted
  • Data comes from GNAF release 202208 (using the GDA2020 coordinate system)
  • Data gzipped to level 11 using the zopfli algorithm
  • More flexible phonetic matching, based on first letter of word and first two characters of the word's metaphone
  • Cache the results of the 100 most recent geocode requests
  • Promise.then replaced with async/await to avoid nested callbacks
  • startTime added to output, in case you need to verify the order of multiple geocode responses
  • group removed from output. It used to show which data file was used by the geocoder. In this version multiple data files are used. I think the information is mostly useless so I've opted to remove it instead of replacing it with an array

@andrewkesper andrewkesper requested a review from drzax December 21, 2022 04:13
@andrewkesper
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant