Skip to content

Commit 590e392

Browse files
Update version numbers to v1.1.0 and update projection extension in examples (#1303)
* Update version numbers, incl. projection extension * Small corrections * Update to beta.1 * npm run check -> npm test * Fix outdated examples * Fix validation, upgrade CI * Guess a release date --------- Co-authored-by: Emmanuel Mathot <emmanuel.mathot@gmail.com>
1 parent 53fa030 commit 590e392

32 files changed

+1162
-539
lines changed

.circleci/config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jobs:
33
test_examples_node:
44
working_directory: ~/stac
55
docker:
6-
- image: cimg/node:18.18.0
6+
- image: cimg/node:lts
77
steps:
88
- checkout
99
- run:
@@ -27,7 +27,7 @@ jobs:
2727
test_docs:
2828
working_directory: ~/stac
2929
docker:
30-
- image: cimg/node:18.18.0
30+
- image: cimg/node:lts
3131
steps:
3232
- checkout
3333
- run:
@@ -39,7 +39,7 @@ jobs:
3939
publish_schemas:
4040
working_directory: ~/stac
4141
docker:
42-
- image: cimg/node:18.18.0
42+
- image: cimg/node:lts
4343
steps:
4444
- checkout
4545
- run:

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
<!--lint disable maximum-line-length-->
22
# Changelog
3+
34
All notable changes to this project will be documented in this file.
45

56
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
67
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
78

89
## [Unreleased]
910

11+
## [v1.1.0-beta.1] - 2024-08-08
12+
1013
### Added
1114

1215
- `bands` is a new field in common metadata to replace `eo:bands` and `raster:bands` ([#1213](https://github.com/radiantearth/stac-spec/discussions/1213))
@@ -499,6 +502,7 @@ See the [milestone 0.4.0 in the issue tracker](https://github.com/radiantearth/s
499502
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.
500503

501504
[Unreleased]: <https://github.com/radiantearth/stac-spec/compare/master...dev>
505+
[v1.1.0-beta.1]: <https://github.com/radiantearth/stac-spec/compare/v1.0.0..v1.1.0-beta.1>
502506
[v1.0.0]: <https://github.com/radiantearth/stac-spec/compare/v1.0.0-rc.4..v1.0.0>
503507
[v1.0.0-rc.4]: <https://github.com/radiantearth/stac-spec/compare/v1.0.0-rc.3..v1.0.0-rc.4>
504508
[v1.0.0-rc.3]: <https://github.com/radiantearth/stac-spec/compare/v1.0.0-rc.2..v1.0.0-rc.3>

CITATION.cff

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ preferred-citation:
88
type: standard
99
title: "SpatioTemporal Asset Catalog (STAC) specification"
1010
abstract: "Making geospatial assets openly searchable and crawlable."
11-
version: 1.0.0
12-
year: 2021
13-
date-released: 2021-05-21
11+
version: 1.1.0-beta.1
12+
year: 2024
13+
date-released: 2024-08-08
1414
license: Apache-2.0
1515
url: https://stacspec.org
1616
repository: https://github.com/radiantearth/stac-spec

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ you to change the base in GitHub's PR creation page.
3333
select breaking changes, but after 1.0 this will change)
3434

3535
All pull requests should submit clean markdown, which is checked by the continuous integration
36-
system. Please use `npm run check` locally, as described in the [next section](#check-files),
36+
system. Please use `npm test` locally, as described in the [next section](#check-files),
3737
to ensure that the checks on the pull request succeed. If it does not then you can look at the
38-
mistakes online, which are the same as running `npm run check` locally would surface.
38+
mistakes online, which are the same as running `npm test` locally would surface.
3939

4040
All pull requests that modify or create JSON schema files or examples should use
4141
[JSON formatter](https://jsonformatter.org/) to keep files consistent across the repo.
@@ -59,7 +59,7 @@ npm install
5959
Then to do the check for markdown and examples you run:
6060

6161
```bash
62-
npm run check
62+
npm test
6363
```
6464

6565
This will spit out the same texts that you see online, and you can then go and fix your markdown or examples.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ with additional web service endpoints and object attributes.
4848
## Current version and branches
4949

5050
The [master branch](https://github.com/radiantearth/stac-spec/tree/master) is the 'stable'
51-
version of the spec. It is currently version **1.0.0** of the specification. The STAC specification
51+
version of the spec. It is currently version **1.1.0-beta.1** of the specification. The STAC specification
5252
follows [Semantic Versioning](https://semver.org/), so any breaking change will require the spec to
5353
go to 2.0.0.
5454

STAC-UML.drawio

+619-1
Large diffs are not rendered by default.

STAC-UML.pdf

-4.52 KB
Binary file not shown.

best-practices.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ providing them at the Asset level can prove to be very useful for using the data
290290
extension](https://github.com/stac-extensions/raster) for that use case.
291291
- `bands` (e.g. in combination with the [EO extension](https://github.com/stac-extensions/eo/)):
292292
Provide spectral band information, and order of bands, within an individual asset.
293-
- `proj:epsg`/`proj:wkt2`/`proj:projjson` ([projection extension](https://github.com/stac-extensions/projection/)):
293+
- `proj:code`/`proj:wkt2`/`proj:projjson` ([projection extension](https://github.com/stac-extensions/projection/)):
294294
Specify different projection for some assets. If the projection is different
295295
for all assets it should probably not be provided as an Item property. If most assets are one projection, and there is
296296
a single reprojected version (such as a Web Mercator preview image), it is sensible to specify the main projection in the

catalog-spec/json-schema/catalog.json

+2-2
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/catalog-spec/json-schema/catalog.json",
3+
"$id": "https://schemas.stacspec.org/v1.1.0-beta.1/catalog-spec/json-schema/catalog.json",
44
"title": "STAC Catalog Specification",
55
"description": "This object represents Catalogs in a SpatioTemporal Asset Catalog.",
66
"allOf": [
@@ -27,7 +27,7 @@
2727
"stac_version": {
2828
"title": "STAC version",
2929
"type": "string",
30-
"const": "1.0.0"
30+
"const": "1.1.0-beta.1"
3131
},
3232
"stac_extensions": {
3333
"title": "STAC extensions",

collection-spec/collection-spec.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Oftentimes it is possible to model data and assets with either a Collection or a
162162
Items as much as is feasible, as they designed for assets. Using Collection-level assets should only be used if there is not another
163163
option.
164164

165-
#### Item Asset Defintion
165+
#### Item Asset Definition
166166

167167
This serves two purposes:
168168

@@ -371,6 +371,6 @@ A STAC Collection is a JSON file ([RFC 8259](https://tools.ietf.org/html/rfc8259
371371
STAC Collections which don't link to any Item are called **standalone Collections**.
372372
To describe them with more fields than the Collection fields has to offer,
373373
it is allowed to re-use the metadata fields defined by extensions for Items in the `summaries` field.
374-
This makes much sense for fields such as `platform` or `proj:epsg`, which are often the same for a whole Collection,
374+
This makes much sense for fields such as `platform` or `proj:code`, which are often the same for a whole Collection,
375375
but doesn't make much sense for `eo:cloud_cover`, which usually varies heavily across a Collection.
376376
The data provider is free to decide, which fields are reasonable to be used.

collection-spec/json-schema/collection.json

+2-2
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/collection-spec/json-schema/collection.json",
3+
"$id": "https://schemas.stacspec.org/v1.1.0-beta.1/collection-spec/json-schema/collection.json",
44
"title": "STAC Collection Specification",
55
"description": "This object represents Collections in a SpatioTemporal Asset Catalog.",
66
"allOf": [
@@ -30,7 +30,7 @@
3030
"stac_version": {
3131
"title": "STAC version",
3232
"type": "string",
33-
"const": "1.0.0"
33+
"const": "1.1.0-beta.1"
3434
},
3535
"stac_extensions": {
3636
"title": "STAC extensions",

examples/catalog.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "examples",
33
"type": "Catalog",
44
"title": "Example Catalog",
5-
"stac_version": "1.0.0",
5+
"stac_version": "1.1.0-beta.1",
66
"description": "This catalog is a simple demonstration of an example catalog that is used to organize a hierarchy of collections and their items.",
77
"links": [
88
{
@@ -36,7 +36,7 @@
3636
},
3737
{
3838
"rel": "self",
39-
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.0.0/examples/catalog.json",
39+
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.1.0-beta.1/examples/catalog.json",
4040
"type": "application/json"
4141
}
4242
]

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"stac_version": "1.0.0",
2+
"stac_version": "1.1.0-beta.1",
33
"stac_extensions": [
44
"https://stac-extensions.github.io/eo/v2.0.0-beta.1/schema.json",
55
"https://stac-extensions.github.io/sat/v1.0.0/schema.json",

examples/collection-only/collection.json

+63-63
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"type": "Collection",
3-
"stac_version": "1.0.0",
3+
"stac_version": "1.1.0-beta.1",
44
"stac_extensions": [
55
"https://stac-extensions.github.io/eo/v2.0.0-beta.1/schema.json",
6-
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
6+
"https://stac-extensions.github.io/projection/v2.0.0/schema.json",
77
"https://stac-extensions.github.io/view/v1.0.0/schema.json"
88
],
99
"id": "sentinel-2",
@@ -87,67 +87,67 @@
8787
30,
8888
60
8989
],
90-
"proj:epsg": [
91-
32601,
92-
32602,
93-
32603,
94-
32604,
95-
32605,
96-
32606,
97-
32607,
98-
32608,
99-
32609,
100-
32610,
101-
32611,
102-
32612,
103-
32613,
104-
32614,
105-
32615,
106-
32616,
107-
32617,
108-
32618,
109-
32619,
110-
32620,
111-
32621,
112-
32622,
113-
32623,
114-
32624,
115-
32625,
116-
32626,
117-
32627,
118-
32628,
119-
32629,
120-
32630,
121-
32631,
122-
32632,
123-
32633,
124-
32634,
125-
32635,
126-
32636,
127-
32637,
128-
32638,
129-
32639,
130-
32640,
131-
32641,
132-
32642,
133-
32643,
134-
32644,
135-
32645,
136-
32646,
137-
32647,
138-
32648,
139-
32649,
140-
32650,
141-
32651,
142-
32652,
143-
32653,
144-
32654,
145-
32655,
146-
32656,
147-
32657,
148-
32658,
149-
32659,
150-
32660
90+
"proj:code": [
91+
"EPSG:32601",
92+
"EPSG:32602",
93+
"EPSG:32603",
94+
"EPSG:32604",
95+
"EPSG:32605",
96+
"EPSG:32606",
97+
"EPSG:32607",
98+
"EPSG:32608",
99+
"EPSG:32609",
100+
"EPSG:32610",
101+
"EPSG:32611",
102+
"EPSG:32612",
103+
"EPSG:32613",
104+
"EPSG:32614",
105+
"EPSG:32615",
106+
"EPSG:32616",
107+
"EPSG:32617",
108+
"EPSG:32618",
109+
"EPSG:32619",
110+
"EPSG:32620",
111+
"EPSG:32621",
112+
"EPSG:32622",
113+
"EPSG:32623",
114+
"EPSG:32624",
115+
"EPSG:32625",
116+
"EPSG:32626",
117+
"EPSG:32627",
118+
"EPSG:32628",
119+
"EPSG:32629",
120+
"EPSG:32630",
121+
"EPSG:32631",
122+
"EPSG:32632",
123+
"EPSG:32633",
124+
"EPSG:32634",
125+
"EPSG:32635",
126+
"EPSG:32636",
127+
"EPSG:32637",
128+
"EPSG:32638",
129+
"EPSG:32639",
130+
"EPSG:32640",
131+
"EPSG:32641",
132+
"EPSG:32642",
133+
"EPSG:32643",
134+
"EPSG:32644",
135+
"EPSG:32645",
136+
"EPSG:32646",
137+
"EPSG:32647",
138+
"EPSG:32648",
139+
"EPSG:32649",
140+
"EPSG:32650",
141+
"EPSG:32651",
142+
"EPSG:32652",
143+
"EPSG:32653",
144+
"EPSG:32654",
145+
"EPSG:32655",
146+
"EPSG:32656",
147+
"EPSG:32657",
148+
"EPSG:32658",
149+
"EPSG:32659",
150+
"EPSG:32660"
151151
],
152152
"bands": [
153153
{

examples/collection.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"type": "Collection",
44
"stac_extensions": [
55
"https://stac-extensions.github.io/eo/v2.0.0-beta.1/schema.json",
6-
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
6+
"https://stac-extensions.github.io/projection/v2.0.0/schema.json",
77
"https://stac-extensions.github.io/view/v1.0.0/schema.json"
88
],
9-
"stac_version": "1.0.0",
9+
"stac_version": "1.1.0-beta.1",
1010
"description": "A simple collection demonstrating core catalog fields with links to a couple of items",
1111
"title": "Simple Example Collection",
1212
"keywords": [
@@ -66,8 +66,8 @@
6666
"minimum": 1.2,
6767
"maximum": 1.2
6868
},
69-
"proj:epsg": [
70-
32659
69+
"proj:cpde": [
70+
"EPSG:32659"
7171
],
7272
"view:sun_elevation": {
7373
"minimum": 54.9,
@@ -109,7 +109,7 @@
109109
},
110110
{
111111
"rel": "self",
112-
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.0.0/examples/collection.json",
112+
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.1.0-beta.1/examples/collection.json",
113113
"type": "application/json"
114114
}
115115
]

0 commit comments

Comments
 (0)