bcgov / bcgov/ols-geocoder

Leading zero in input address causes error or low score

Open
#107 5 comments 0 reactions 1 assignee Claimed by @cmhodgson View on GitHub
api bug geocoder parser low priority ngram matching priority review needed
Dominant language
Java
Stars
17
Forks
7
Avg merge
10h 2m
Merged PRs (30d)
15

Description

When providing an address with a leading zero, the geocoder handles the address as follows:
- if the leading zero appears in a number that is a unit number (in an apartment building) the geocoder API does not return an address. The Address List editor returns a server error:
![Capture](https://user-images.githubusercontent.com/32557795/86032037-949d2080-b9eb-11ea-97dc-a55108a55bff.JPG)
- if the leading zero appears in a number that is the site number, the geocoder does not find the site
![Capture3](https://user-images.githubusercontent.com/32557795/86032331-083f2d80-b9ec-11ea-9413-4ed31c109a3c.JPG)

This issue was discovered while processing the HLTH low scores address file. There were 4 occurrences of addresses with a leading zero.

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.