Skip to content

Commit 7406ed7

Browse files
committed
Merge remote-tracking branch 'origin/dev' into remove-core-ext-schema
2 parents 50d12f6 + 08fe31d commit 7406ed7

25 files changed

+75
-37
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,29 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- An empty Catalog is now allowed, removed the requirement that it must have a child or item link. ([#1115](https://github.com/radiantearth/stac-spec/issues/1115))
13+
14+
## [v1.0.0-rc.3] - 2021-04-29
15+
1016
### Added
1117

1218
- Summaries are allowed to specify JSON Schema in addition to ranges and sets of values. ([#1045](https://github.com/radiantearth/stac-spec/issues/1045))
1319
- Added `preview` relation type for interoperable thumbnails to best practices. ([#1090](https://github.com/radiantearth/stac-spec/issues/1090))
14-
- Recommendation to include both `root` and `parent` relation types when they point at the same file.
20+
- Recommendation to include both `root` and `parent` relation types when they point at the same file. ([#1098](https://github.com/radiantearth/stac-spec/issues/1098))
21+
- Overview section linking to various foundational standards. ([#1111](https://github.com/radiantearth/stac-spec/pull/1111))
1522

1623
### Changed
1724

1825
- The first extent in a Collection is always the overall extent, followed by more specific extents. ([#1064](https://github.com/radiantearth/stac-spec/issues/1064), [opengeospatial/ogcapi-features#520](https://github.com/opengeospatial/ogcapi-features/pull/520))
1926
- Updated examples for automatic collection creation from code and validation ([#1080](https://github.com/radiantearth/stac-spec/pull/1080))
2027
- Clarified that stac_extensions should also list extensions that are used in Collection summaries. ([#1077](https://github.com/radiantearth/stac-spec/issues/1077))
21-
- The Stats Object for Summaries has been renamed to Range Object (no functional change).
28+
- The Stats Object for Summaries has been renamed to Range Object (no functional change). ([#1093](https://github.com/radiantearth/stac-spec/pull/1093))
2229
- `changed`, `created` (common metadata) and temporal extents (collections): Timestamps must be always in UTC ([#1095](https://github.com/radiantearth/stac-spec/issues/1095))
2330
- Clarified that collection summaries do not require that all property fields are summarized. ([#1106](https://github.com/radiantearth/stac-spec/issues/1106))
2431
- Clarified that gsd should only be used on an asset to represent the sensor, not just different processing. ([#1105](https://github.com/radiantearth/stac-spec/pull/1105))
32+
- Clarified that leaving a field out is not equivalent to setting it as null. ([#1111](https://github.com/radiantearth/stac-spec/pull/1111))
2533

2634
### Fixed
2735

@@ -423,6 +431,7 @@ See the [milestone 0.4.0 in the issue tracker](https://github.com/radiantearth/s
423431
Thanks @hgs-msmith, @matthewhanson, @hgs-trutherford, @rouault, @joshfix, @alkamin, @hemphillda, @jeffnaus and @fredliporace for contributing to the spec directly, and to [everyone](https://github.com/opengeospatial/wfs3hackathon/blob/master/notes/introductions.md#participants) who participated in the [Ft Collins sprint](https://github.com/radiantearth/community-sprints/tree/master/03072018-ft-collins-co) and brought great ideas.
424432

425433
[Unreleased]: <https://github.com/radiantearth/stac-spec/compare/master...dev>
434+
[v1.0.0-rc.3]: <https://github.com/radiantearth/stac-spec/compare/v1.0.0-rc.2..v1.0.0-rc.3>
426435
[v1.0.0-rc.2]: <https://github.com/radiantearth/stac-spec/compare/v1.0.0-rc.1..v1.0.0-rc.2>
427436
[v1.0.0-rc.1]: <https://github.com/radiantearth/stac-spec/compare/v1.0.0-beta.2..v1.0.0-rc.1>
428437
[v1.0.0-beta.2]: <https://github.com/radiantearth/stac-spec/compare/v1.0.0-beta.1..v1.0.0-beta.2>

best-practices.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
- [Deploying STAC Browser](#deploying-stac-browser)
1010
- [Requester Pays](#requester-pays)
1111
- **[Item Best Practices](#item-practices)**
12-
- [Field and ID formatting](#field-and-id-formatting)
12+
- [Field and ID formatting](#item-ids)
13+
- [Searchable Identifiers](#searchable-identifiers)
1314
- [Field selection and Metadata Linking](#field-selection-and-metadata-linking)
1415
- [Datetime selection](#datetime-selection)
1516
- [Unlocated Items](#unlocated-items)
@@ -147,19 +148,22 @@ For data providers using STAC with requester pays buckets, there are two main re
147148

148149
## Item Practices
149150

150-
### Field and ID formatting
151+
### Item IDs
151152

152153
When defining one's STAC properties and fields there are many choices to make on how to name various aspects of one's
153154
data. One of the key properties is the ID. The specification is quite flexible on ID's, primarily so that existing
154155
providers can easily use their same ID when they translate their data into STAC - they just need to be sure it is globally
155-
unique, so may need a prefix. But the use of URI reserved characters such as `:` or `/` is discouraged since this will
156+
unique, so may need a prefix. But the use of URI or file path reserved characters such as `:` or `/` is discouraged since this will
156157
result in [percented encoded](https://tools.ietf.org/html/rfc3986#section-2) [STAC API](https://github.com/radiantearth/stac-api-spec)
157-
endpoints. This isn't a blocker, it just makes the ID's served through API's a bit less parsable.
158+
endpoints and it prevents the use of IDs as file names as recommended in the [catalog layout](#catalog-layout) best practices.
158159

159-
When defining unique fields for search, like constellation or platform, it is recommended that
160-
the value consist of only lowercase characters, numbers, `_`, and `-`. Examples include `sentinel-1a` (Sentinel-1),
161-
`landsat-8` (Landsat-8) and `envisat` (Envisat). This is to provide consistency for search across Collections, so that
162-
people can just search for 'landsat-8', instead of thinking through all the ways providers might have chosen to name it.
160+
### Searchable Identifiers
161+
162+
When coming up with values for fields that contain searchable identifiers of some sort, like `constellation` or `platform`,
163+
it is recommended that the identifiers consist of only lowercase characters, numbers, `_`, and `-`.
164+
Examples include `sentinel-1a` (Sentinel-1), `landsat-8` (Landsat-8) and `envisat` (Envisat).
165+
This is to provide consistency for search across Collections, so that people can just search for `landsat-8`,
166+
instead of thinking through all the ways providers might have chosen to name it.
163167

164168
### Field selection and Metadata Linking
165169

catalog-spec/catalog-spec.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ The following types are commonly used as `rel` types in the Link Object of a STA
9494
| child | URL to a child STAC entity (Catalog or Collection). |
9595
| item | URL to a STAC Item. |
9696

97-
**Note:** A link to at least one `item` or `child` (Catalog or Collection) is **REQUIRED**.
97+
**Note:** A link to at least one `item` or `child` (Catalog or Collection) is **RECOMMENDED**, but empty catalogs are
98+
allowed if there is an intent to populate it or its children were removed.
9899

99100
There are additional `rel` types in the [Using Relation Types](../best-practices.md#using-relation-types) best practice, but as
100101
they are more typically used in Collections, as Catalogs tend to just be used to structure STAC organization, so tend to just use

catalog-spec/json-schema/catalog-core.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://schemas.stacspec.org/v1.0.0-rc.2/catalog-spec/json-schema/catalog-core.json#",
3+
"$id": "https://schemas.stacspec.org/v1.0.0-rc.3/catalog-spec/json-schema/catalog-core.json#",
44
"title": "Common STAC Catalog + Collection Fields",
55
"description": "This object represents the common fields shared by Catalogs and Collections",
66
"allOf": [
@@ -22,7 +22,7 @@
2222
"stac_version": {
2323
"title": "STAC version",
2424
"type": "string",
25-
"const": "1.0.0-rc.2"
25+
"const": "1.0.0-rc.3"
2626
},
2727
"stac_extensions": {
2828
"title": "STAC extensions",

catalog-spec/json-schema/catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://schemas.stacspec.org/v1.0.0-rc.2/catalog-spec/json-schema/catalog.json#",
3+
"$id": "https://schemas.stacspec.org/v1.0.0-rc.3/catalog-spec/json-schema/catalog.json#",
44
"title": "STAC Catalog Specification",
55
"description": "This object represents Catalogs in a SpatioTemporal Asset Catalog.",
66
"allOf": [

collection-spec/json-schema/collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://schemas.stacspec.org/v1.0.0-rc.2/collection-spec/json-schema/collection.json#",
3+
"$id": "https://schemas.stacspec.org/v1.0.0-rc.3/collection-spec/json-schema/collection.json#",
44
"title": "STAC Collection Specification",
55
"description": "This object represents Collections in a SpatioTemporal Asset Catalog.",
66
"allOf": [

examples/catalog.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "examples",
33
"type": "Catalog",
4-
"stac_version": "1.0.0-rc.2",
4+
"stac_version": "1.0.0-rc.3",
55
"description": "This catalog is a simple demonstration of an example catalog that is used to organize a hierarchy of collections and their items.",
66
"links": [
77
{
@@ -35,7 +35,7 @@
3535
},
3636
{
3737
"rel": "self",
38-
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.0.0-rc.2/examples/catalog.json",
38+
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.0.0-rc.3/examples/catalog.json",
3939
"type": "application/json"
4040
}
4141
]

examples/collection-only/collection-with-schemas.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"stac_version": "1.0.0-rc.2",
2+
"stac_version": "1.0.0-rc.3",
33
"stac_extensions": [
44
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
55
"https://stac-extensions.github.io/sat/v1.0.0/schema.json",

examples/collection-only/collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Collection",
3-
"stac_version": "1.0.0-rc.2",
3+
"stac_version": "1.0.0-rc.3",
44
"stac_extensions": [
55
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
66
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",

examples/collection.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
"type": "Collection",
44
"stac_extensions": [
55
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
6+
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
67
"https://stac-extensions.github.io/view/v1.0.0/schema.json"
78
],
8-
"stac_version": "1.0.0-rc.2",
9+
"stac_version": "1.0.0-rc.3",
910
"description": "A simple collection demonstrating core catalog fields with links to a couple of items",
1011
"title": "Simple Example Collection",
1112
"providers": [
@@ -103,7 +104,7 @@
103104
},
104105
{
105106
"rel": "self",
106-
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.0.0-rc.2/examples/collection.json",
107+
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.0.0-rc.3/examples/collection.json",
107108
"type": "application/json"
108109
}
109110
]

0 commit comments

Comments
 (0)