bcgov / bcgov/ols-geocoder

In addresses resource, add support for a locality proximity check

Open
#253 1 comment 0 reactions 0 assignees View on GitHub
enhancement geocoder geocoder parser low priority
Dominant language
Java
Stars
17
Forks
7
Avg merge
10h 2m
Merged PRs (30d)
15

Description

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.

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.