Skip to content

Districts identified as street names but only for certain addresses #667

@janpasierb

Description

@janpasierb

Hi!

I was checking out libpostal, and saw something that could be improved.


My country is

GB


Here's how I'm using libpostal

We're parsing customer-provided addresses to be used by third parties


Here's what I did

We've provided the following address to libpostal: "38 meadow road, garforth, leeds, LS25 2EN"


Here's what I got

image (64)


Here's what I was expecting

I expected "Garforth" to be correctly identified as a district, instead it's being identified as part of the road name

What's strange is that it does work for other similarly-formatted addresses, e.g.: 24 Slade Lane, Levenshulme, Manchester, M13 0QE correctly identifies "Levenshulme" as a district in "Manchester".


For parsing issues, please answer "yes" or "no" to all that apply.

  • Does the input address exist in OpenStreetMap?
    Yes
  • Do all the toponyms exist in OSM (city, state, region names, etc.)?
    Yes
  • If the address uses a rare/uncommon format, does changing the order of the fields yield the correct result?
    N/A
  • If the address does not contain city, region, etc., does adding those fields to the input improve the result?
    N/A
  • If the address contains apartment/floor/sub-building information or uncommon formatting, does removing that help? Is there any minimum form of the address that gets the right parse?
    N/A

Here's what I think could be improved

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions