Skip to content

Distance Based Locality Mappings #357

@BK01

Description

@BK01

Issue:
When a client submits an addressString that contains an incorrect locality that is not a known alias, a penalty of 35 is taken from the score with a fault of LOCALITY.notMatched. Additional faults may be included depending on the provided addressString. Although the resulting fullAddress and coordinates may be correct, the low score leads the client to reject the result.

Potential Cause
Submitted address is a mailing address, not a physical address. The geographic extent of a mailing address locality can go beyond the physical boundary of a locality to overlap with other localities.

Example:
Physical address: 10055 Hewitt Rd, Takysie Lake, BC
Mailing address: 10055 Hewitt Rd, Burns Lake, BC V0J 1E4
Proximity: The boundaries of Burns Lake and Takysie Lake are approximately 20km apart and not adjacent (3x boundaries away)

Task:
Supplement the current locality mappings with additional distance based locality mappings. Proposal below to be adjusted as needed.

The new aliases can catch some of the non-adjacent cases and return a higher score which would be less likely to be rejected by the client. The Geocoder response would include the fault LOCALITY.isAlias with a penalty value based on the confidence level.

Sources of Locality Mappings:
Current State:

  • DRA locality boundaries
  • BCGNIS points (filtered by FCODE)
  • Custom additions by the Geocoder team

Proposed addition:

  • Distance based
Distance level Distance Confidence
1 0 km - 30 km 70%
2 30 km - 50 km 60%
3 50 km - 70 km 50%

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions