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

Support field mapping in STAC #603

Open
mhogeweg opened this issue Feb 16, 2025 · 0 comments
Open

Support field mapping in STAC #603

mhogeweg opened this issue Feb 16, 2025 · 0 comments

Comments

@mhogeweg
Copy link
Member

in STAC support field mapping from field names used in STAC items (e.g. eo:cloudcover) to index-specific field names (e.g. eo_cloudcover_f = float) to make use of the index aggregations. simple BNF-style definition:

      field_mapping ::= stac_field_name=index_field_name
      stac_field_name=index_field_name ::= name + [_txt | _s | _b | _i | _l | _f | _d | _dt | _cat ]
      _txt ::= free text field
      _s ::= keyword field
      _b ::= boolean field
      _i ::= integer field
      _l ::= long field
      _f ::= float field
      _d ::= double field
      _dt ::= date field: e.g. 2025-01-16T11:35:56.732Z
      _cat ::= hierarchical category field: e.g. continent > country > state/province > county/municipality > city > neighborhood ...          
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant