bcgov / bcgov/ols-geocoder

locality qualifier in locality name is distorting match scores

Open
#233 4 comments 0 reactions 0 assignees View on GitHub
api geocoder geocoder parser high priority
Dominant language
Java
Stars
17
Forks
7
Avg merge
10h 2m
Merged PRs (30d)
15

Description

Johnson BC

scores the same as:

Johnson Bay Indian Arm, Indian Arm, BC

because

Johnson BC

is penalized for only making a partial match to:

Johnson BC near Indian Arm

when, in fact, it is a perfect match to:

Johnson BC

because:

near Indian Arm

is just a qualifier and not part of the official locality name.

![image.png](https://images.zenhubusercontent.com/57a52ca5e40e5714b16d039c/eeef56ad-bd63-4cf7-b694-f8ebae62973a)

Here's the geocoder query:

https://geocoder.api.gov.bc.ca/addresses.xhtml?locationDescriptor=parcelPoint&echo=true&brief=true&minScore=50&maxResults=5&autoComplete=true&matchPrecisionNot=&addressString=Johnson%20bc

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.