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

Avoid processing info in item IDs #1189

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,15 @@ unique, so may need a prefix. But the use of URI or file path reserved character
result in [percented encoded](https://tools.ietf.org/html/rfc3986#section-2) [STAC API](https://github.com/radiantearth/stac-api-spec)
endpoints and it prevents the use of IDs as file names as recommended in the [catalog layout](#catalog-layout) best practices.

In general, we recommend that item IDs *not* include any kind of processing timestamp. If, for whatever reason, an
item needs to be reprocessed the new item would have a different ID. This might result in "duplicate" items: multiple
items with the same spatio-temporal footprint, which might not be desirable for end users.
TomAugspurger marked this conversation as resolved.
Show resolved Hide resolved

Instead, we recommend cataloging processing information with the [Processing extension](https://github.com/stac-extensions/processing)
and handling updates to existing items with the [Versioning extension](https://github.com/stac-extensions/version). With
these extensions the reprocessed item would have the same item ID, updated `processing` fields, and links between the old
and new items.

### Searchable Identifiers

When coming up with values for fields that contain searchable identifiers of some sort, like `constellation` or `platform`,
Expand Down