Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove "art" as a steet suffix/type #116

Merged
merged 3 commits into from
Aug 2, 2020
Merged

remove "art" as a steet suffix/type #116

merged 3 commits into from
Aug 2, 2020

Conversation

blackmad
Copy link
Contributor

This breaks queries like "XXX Museum of Art" where "of art" is seen as
[alpha] [street_suffix]. I really have never heard this abbreviation in
my life, and it's not in the openstreetmap guide to abbreviations:
https://wiki.openstreetmap.org/wiki/Name_finder:Abbreviations#English

The USPS doesn't even think "artery" is a valid english street
name/type: https://pe.usps.com/text/pub28/28apc_002.htm

and browsing through OSM I couldn't find any streets named "X Artery" https://www.openstreetmap.org/search?query=artery#map=17/44.92351/-93.41022

This breaks queries like "XXX Museum of Art" where "of art" is seen as
[alpha] [street_suffix]. I really have never heard this abbreviation in
my life, and it's not in the openstreetmap guide to abbreviations:
https://wiki.openstreetmap.org/wiki/Name_finder:Abbreviations#English

The USPS doesn't even think "artery" is a valid english street
name/type: https://pe.usps.com/text/pub28/28apc_002.htm

and browsing through OSM I couldn't find any streets named "X Artery" https://www.openstreetmap.org/search?query=artery#map=17/44.92351/-93.41022
@blackmad blackmad requested review from missinglink and Joxit July 30, 2020 19:58
@orangejulius
Copy link
Member

👍, never heard of art as an abbreviation either.

Copy link
Member

@Joxit Joxit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should not edit libpostal dictionaries.
Exceptions are stored here : https://github.com/pelias/parser/blob/master/resources/pelias/dictionaries/libpostal/en/

To remove art, add !art in street_types.txt

@Joxit
Copy link
Member

Joxit commented Jul 30, 2020

All the occurrences of Artery as suffix in OSM with highway=*, so 👍 to remove art safely 😄

osm_id name
9505098 Southern Artery
9504530 Southern Artery
591701501 Southern Artery
9506404 Southern Artery
92532432 Southern Artery
620363195 Southern Artery
620363197 Southern Artery
591701535 Southern Artery
591691922 Southern Artery
9504992 Southern Artery
591691920 Southern Artery
591701536 Southern Artery
708333957 The Artery

Copy link
Member

@Joxit Joxit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Joxit Joxit merged commit 697145d into pelias:master Aug 2, 2020
orangejulius added a commit to pelias/api that referenced this pull request Aug 12, 2020
Improvements include:
- Better support for Romanian language: pelias/parser#114
- Remove some minor cases of incorrect venue classification in addresses: pelias/parser#115
- Remove "art" as street type: pelias/parser#116
orangejulius added a commit to pelias/api that referenced this pull request Aug 25, 2020
Improvements include:
- Better support for Romanian language: pelias/parser#114
- Remove some minor cases of incorrect venue classification in addresses: pelias/parser#115
- Remove "art" as street type: pelias/parser#116
orangejulius added a commit to pelias/api that referenced this pull request Oct 14, 2020
Improvements include:
- Better support for Romanian language: pelias/parser#114
- Remove some minor cases of incorrect venue classification in addresses: pelias/parser#115
- Remove "art" as street type: pelias/parser#116
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants