bcgov / bcgov/ols-geocoder

Intersection of two roads that don't meet incorrectly returns an intersection of a road with itself

Open
#157 1 comment 0 reactions 1 assignee Claimed by @cmhodgson View on GitHub
api bug medium priority priority review needed silver snapshot
Dominant language
Java
Stars
17
Forks
7
Avg merge
10h 2m
Merged PRs (30d)
15

Description

Hwy 1 and No 1 Rd, Abbotsford don't meet yet, when you enter the following intersection address:

trans-canada hwy and no 1 rd abbotsford bc

Geocoder 4.1 Silver returns the following match:

Trans-Canada Hwy and Trans-Canada Hwy, Abbotsford, BC

with a score of 96 and matchPrecision of INTERSECTION. This is the result on the ortho:

![image](https://user-images.githubusercontent.com/11318574/100926856-e6653d80-3498-11eb-9081-9ae55d8f60e7.png)

and here's the match details:

![image](https://user-images.githubusercontent.com/11318574/100926923-fd0b9480-3498-11eb-91ef-5913068b3ab7.png)

So it looks like the best match is the intersection of two segments with the same road name. If the road name is the same, this intersection should not be considered a match candidate by the geocoder.

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.