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

Provide category headings for places #39

Open
bjperson opened this issue Aug 6, 2023 · 4 comments
Open

Provide category headings for places #39

bjperson opened this issue Aug 6, 2023 · 4 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@bjperson
Copy link

bjperson commented Aug 6, 2023

Variable names speak for themselves in most cases, but it would still be useful.

A proposal for a simple, usable format : categories.json.txt

@RobSoetewey-TomTom
Copy link
Contributor

Hi,

We're not completely understanding the issue you're bringing. Can you clarify?
There's a Places Category property in the model here: https://github.com/OvertureMaps/schema/blob/main/schema/places/place.yaml#L23-L36

Here are the categories used in overture: https://github.com/OvertureMaps/schema/blob/main/task-force-docs/places/overture_categories.csv

@bjperson
Copy link
Author

Hi

Right now i’m using :

category = category.replace("_", " ")

category = category[0].upper() + category[1:]

To get the categories names.

It would be nice to have them directly in github. The icing on the cake would be to have translations as well.

@RobSoetewey-TomTom RobSoetewey-TomTom added the help wanted Extra attention is needed label Oct 30, 2023
@jwass
Copy link
Collaborator

jwass commented Oct 30, 2023

Hi @bjperson, I'm not exactly sure if this is what you're looking for but I posted #40 (comment) how to find the complete list of categories including alternates with an attached csv.

@bjperson
Copy link
Author

Hi there,

I was just thinking of something like an "assets" directory in the repository that would contain mappings between category IDs and their human-readable names.

That's the first need I had to display them to my users.

I've almost finished translating it into French, so I can put it somewhere :-)

It could take the form of a "fr.json" file in the format suggested in my first post.

But I don't know whether it should go in the "data" repository or the "schema" repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants