bcgov / bcgov/ols-geocoder

Improve handling of poor address matches at the civicNumber, block, and street matchPrecision levels

Open
#255 3 comments 0 reactions 1 assignee Assigned to @cmhodgson View on GitHub
estimate needed geocoder geocoder parser
Dominant language
Java
Stars
17
Forks
7
Avg merge
10h 2m
Merged PRs (30d)
15

Description

Match score range is really three ranges, one for each of civic, street, and locality match precision as follows:

Match confidence|CivicNumber matchPrecision|Street matchPrecision|Locality matchPrecision
|--|--|--|--|
High|90-100|72-78|58-68
Medium|80-89|69-71|48-57
Low|0-79|0-68|0-47
Low confidence penalty|32|10|0

matchPrecisions site, block, and unit can all be considered equivalent to civicNumber for this analysis.
A low confidence match is given an extra penalty so that a high confidence locality match will be ranked higher.
**Low confidence penalty** = **matchPrecisionScore** - **locality.matchPrecisionScore**

Here are the match scores for _6207 Centre St Salmo BC_ adjusted using the low confidence penalty:

Address|Score|After low confidence penalty|Match Precision|
|--|--|--|--|
Cemetery Rd, Salmo, BC|72|72|Street
Salmo St, Kimberley, BC|64|54|Street
6207 Salmon Valley Rd, Salmon Valley, BC|74|42|Block
6207 Centre Rd, Niskonlith Lake, BC|58|26|Block
6207 Central Rd, Hornby Island, BC|56|24|Block

Without the low confidence penalty, _6207 Salmon Valley Rd, Salmon Valley_ is the best match.
With the low confidence penalty, _Cemetery Rd, Salmo_ becomes the best match and the only match in the correct locality.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.