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

Update/Fork for Improved Street and Zip Code Matching #34

Open
mb16 opened this issue Apr 10, 2014 · 0 comments
Open

Update/Fork for Improved Street and Zip Code Matching #34

mb16 opened this issue Apr 10, 2014 · 0 comments

Comments

@mb16
Copy link

mb16 commented Apr 10, 2014

I recently forked this project to make some improvements in the zip code lookups and in street matching. For the latter I utilized the sqlite spellfix library which has much better spelling performance than the metaphones currently in the project. This permits successful matches where there are larger discrepancies in the spellings. I also modified the zip code search to look at all zip codes in the county of the original zip code, rather than just dropping the last two digits. This manages to search the most likely zip codes, and certainly those adjacent to the original zip code in that event that it was changed at some point in the past (this is more useful when working with old addresses). Also, I introduced some thresholds to induce further lookups if poor matches were returned. Please feel free to utilize this fork and contact me if there are errors, or if clarification is needed. The readme contains a longer description of the changes as well as instructions to compile the spellfix library and load the data.
https://github.com/mb16/geocoder

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

No branches or pull requests

1 participant