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

In addresses resource, add support for a locality proximity check #253

Open
mraross opened this issue Jun 29, 2021 · 1 comment
Open

In addresses resource, add support for a locality proximity check #253

mraross opened this issue Jun 29, 2021 · 1 comment

Comments

@mraross
Copy link

mraross commented Jun 29, 2021

In the physical address intake forms of many client-facing applications, localityName is entered in a separate field. Such an application could include both addressString and localityName in geocoder requests to allow the geocoder to do a reasonable proximity test before accepting a given match. Here's a proposal:

In addresses resource, add support for a locality proximity check.

If a localityName parameter is provided in addition to addressString, the geocoder will reject any matches that are beyond a certain distance from the named locality.

We could also add support for a localityRange parameter that specifies what the threshold distance is with a default of 60 km, which is what MCFD is currently using.

@cmhodgson
Copy link
Collaborator

This overlaps with the streetAddress concept #63 as the street address is the rest of the address besides the locality. Additionally here we are saying that we treat the locality as a "fluffier" matchable locality, not a hard exact locality - this might use the distance based locality mappings concept from #357 .

@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
Projects
None yet
Development

No branches or pull requests

4 participants