-
Notifications
You must be signed in to change notification settings - Fork 2
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
add a language property #12
Comments
Charset for textfiles would be a (text) file attribute, but I don't think the language itself is really a "file" attribute so I think language could be a separate extension itself. This could simply be based on what OGC APIs define: http://docs.ogc.org/DRAFTS/20-004.html#collections-properties-table (i.e. a PS: I'm likely working on a "multilanguage" STAC API extension soon so there might be something coming out of that (although in an HTTP context usually you do it via headers): radiantearth/stac-api-spec#306 |
@m-mohr as far as I can see, the |
@p1d1d1 If we'd add "language" to the STAC common metadata it would be applicable to different contexts, comparable to "created" and updated" for example:
PS: I like the use of vector in STAC. Is there something we can look at? |
Ahahh, now I see! Then I'll open an issue on stac-spec
https://radiantearth.github.io/stac-browser/#/external/data.geo.admin.ch/api/stac/v0.9/. Most collections are about vector datasets |
I've also mentioned it here: radiantearth/stac-spec#1187 |
For some datasets in our catalog, we provide asset files in different languages. In our current implementation (e.g. https://radiantearth.github.io/stac-browser/#/external/data.geo.admin.ch/api/stac/v0.9/collections/ch.bav.haltestellen-oev/items/haltestellen-oev?.asset=asset-haltestellen-oev_2056_de.csv.zip) we are using an extension to provide the "lang" info at asset level.
By the way we think that the file extension would be the right place for that, something like "file:lang".
What do you think? Would you consider to add "lang" to the file extension?
The text was updated successfully, but these errors were encountered: