[Places] Understanding the rationale behind the categories object #360
Replies: 6 comments 6 replies
-
|
Dear Marc Marc Prioleau (@mprioleau) : This question has been unanswered for some time I'm asking because the documentation on Overture Maps is still very poor. And if I understand the membership conditions (https://overturemaps.org/become-a-member/ ) correctly, 80(!) engineers should be working on the project (since the four steering committee members each contribute 20(!) FTE engineering headcounts to the project). |
Beta Was this translation helpful? Give feedback.
-
|
Hi Matthias Hersche (@ma77hiaz). I appreciate your thoughts on this issue. We have been exploring new taxonomies for places and other themes but we have yet to reach consensus. You might be interested in this proposal from Jonah Adkins (@jonahadkins): OvertureMaps/schema#227. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hey folks. Here's an update on our ongoing taxonomy work in places: https://docs.overturemaps.org/guides/places/taxonomy/ |
Beta Was this translation helpful? Give feedback.
-
|
So this is a breaking change which renders the open questions above above obsolete? |
Beta Was this translation helpful? Give feedback.
-
|
Stefan (@sfkeller) We intend to keep the original |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Category Feedback
After studying the categories object, I would like to understand the rationale behind its structure.
So there's the "primary" and "alternate" key.
For example: {'primary': 'pizza_restaurant', 'alternate': ['restaurant', 'italian_restaurant']}
As I understand it, "primary" always contains the most specific category and "alternate" contains the broader categories from the taxonomy, going from broad to more specific.
Let's take the duckdb query form the docs as an example:
If I want a query that includes all restaurants, it would have to look something like this:
Here, I have to search within "primary" and "alternate", to make sure I catch all the restaurants.
For me, it would make more sense, to just have the "categories" column be one array that includes all the categories in one array:
[pizza_restaurant', 'italian_restaurant', 'restaurant']
In this case, I could do the query like this:
And if I only want the primary category, I do this:
In this case, I could do the query like this:
Let me hear your thoughts!
Dependency with other categories, if any.
No response
Beta Was this translation helpful? Give feedback.
All reactions