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

Handling the word 'block' in addressString #356

Open
BK01 opened this issue May 8, 2023 · 1 comment
Open

Handling the word 'block' in addressString #356

BK01 opened this issue May 8, 2023 · 1 comment
Labels
enhancement New feature or request geocoder
Milestone

Comments

@BK01
Copy link
Contributor

BK01 commented May 8, 2023

Issue:
Including the word 'Block' in an address (to report road accidents) is resulting in incorrect results. Specifically, the word 'Block' is being interpretted as a street name, and the actual street name is interpretted as locality garbage.

Example:
The following addressString provides a correct location based on the address range of that highway segment.

800 Trans-Canada Highway, West Vancouver, BC

The following addressStrings provide a location in a different locality.

800 Block Trans-Canada Highway, West Vancouver, BC
800 Blk Trans-Canada Highway, West Vancouver, BC

Task:
Is it possible to enhance the BC Address Geocoder to handle this use case without impacting other aspects of the parser?

@BK01 BK01 added enhancement New feature or request geocoder labels May 8, 2023
@cmhodgson
Copy link
Collaborator

If the word "block" is something we wish to give special treatment we can totally do this, I think with causing only minor impact in cases where the word block or a word that could be misspelled as block is actually the street name (Brock St is one example provided by the results to the above queries). Possible a very minor 1 point penalty (or we had previously discussed fractions of a point, or some level of penalty that didn't show as a penalty but pushed things down in the sort order) would help to limit the impact.

@BK01 BK01 added this to the Geocoder 4.4 milestone May 26, 2023
@BK01 BK01 modified the milestones: Geocoder 4.4, Geocoder 4.6 Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request geocoder
Projects
None yet
Development

No branches or pull requests

2 participants