Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

extend the list of categories #217

Merged
merged 2 commits into from
Apr 23, 2021
Merged

extend the list of categories #217

merged 2 commits into from
Apr 23, 2021

Conversation

remi-dupre
Copy link
Contributor

@remi-dupre remi-dupre commented Mar 24, 2021

Extend the list of categories to match what the classifier can identify.

Some updates to karthoterian_docker (WIP) are required to cover all the POIs and categories, especially:

  • restaurant types, I think we can match on the cuisine tag prior to leisure in order to set class,subclass = restaurant,cuisine_type.
  • I removed diet-related categories since it would be quite annoying to add this information right now (I have a few ideas but they are all quite hacky)
  • we could match more subkeys for some tags : tourism, historic

Screenshot_2021-04-12_08-49-28

@remi-dupre remi-dupre marked this pull request as ready for review April 12, 2021 07:02
@remi-dupre remi-dupre changed the title WIP: extend the list of categories extend the list of categories Apr 12, 2021
idunn/utils/categories.yml Outdated Show resolved Hide resolved
idunn/utils/categories.yml Outdated Show resolved Hide resolved
idunn/utils/categories.yml Outdated Show resolved Hide resolved
idunn/utils/categories.yml Outdated Show resolved Hide resolved
idunn/utils/categories.yml Outdated Show resolved Hide resolved
idunn/utils/categories.yml Outdated Show resolved Hide resolved
idunn/utils/categories.yml Outdated Show resolved Hide resolved
idunn/utils/categories.yml Outdated Show resolved Hide resolved
idunn/utils/categories.yml Outdated Show resolved Hide resolved
idunn/utils/categories.yml Outdated Show resolved Hide resolved
raw_filters:
- "railway,station"
- "railway,halt"
pj_what: "gare"
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry for the oversight, I think that this pj_what should be removed here too. It was not present before.
Maybe false positives are returned by PJ for such a query.

Apart from that, everything looks good to me 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's fixed, sorry about this, my approach to this PR was absolutely messy and counter-productive ... I'm sorry about the time it must have taken to review and quite relieved it comes to an end :|

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants