bcgov / ols-geocoder

Physical Address Geocoder
Apache License 2.0
10 stars 6 forks source link

In \addresses requests, treat occupant name as a site name #120

Open mraross opened 4 years ago

mraross commented 4 years ago

Occupants that appear in addresses requests, as indicated by the double star delimiter, aren't handled correctly when the occupant address is non-civic.

Occupants with civic addresses are handled correctly. For example, if you enter:

      Integrity Floors Ltd ** 8428 Venture Way, Surrey, BC

you get back:

      8428 Venture Way, Surrey, BC

with matchPrecision=civicNumber and score=100

However, if you enter:

     Gitanyow Economic Development Corp ** Gitwangak, BC

you get:

     BC Harbours Board Rwy, Surrey, BC 

instead of:

     Gitwangak, BC 

with matchPrecision=locality and score=68

cmhodgson commented 3 years ago

I'm not entirely sure what is going on, this is going to take a little time to sort out.

alixcote commented 1 year ago

Other sample use cases for testing: NCAP example: Point Atkinson (Coast Guard) West Vancouver, BC Doncaster Elementary 1525 Rowan St, Saanich, BC

Get good results when using the occupants end points. Work around right now is to use the occupants endpoint. Future allow addresses endpoint to enter sites or occupants as well (via the api)

BK01 commented 1 month ago

Additional testing planned using Sept 2024 occupant data.