OvertureMaps / schema

Overture Maps Schema
http://docs.overturemaps.org/schema
140 stars 6 forks source link

Provide category headings for places #39

Open bjperson opened 1 year ago

bjperson commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.

jwass commented 11 months ago

Hi @bjperson, I'm not exactly sure if this is what you're looking for but I posted https://github.com/OvertureMaps/schema/issues/40#issuecomment-1774972538 how to find the complete list of categories including alternates with an attached csv.

bjperson commented 11 months ago

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.