diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b58f86..ae71098 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [v1.2.0] - 2024-07-22 + ### Added - The new field `proj:code` was introduced as a more general way to describe projection codes for various authorities, not just EPSG. @@ -40,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Initial independent release, see [previous history](https://github.com/radiantearth/stac-spec/commits/v1.0.0-rc.2/extensions/projection) -[Unreleased]: +[Unreleased]: +[v1.2.0]: [v1.1.0]: [v1.0.0]: diff --git a/README.md b/README.md index 3fa7694..f22d26f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Projection Extension Specification - **Title:** Projection -- **Identifier:** +- **Identifier:** - **Field Name Prefix:** proj - **Scope:** Item, Collection - **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/README.md#extension-maturity):** Stable diff --git a/examples/assets.json b/examples/assets.json index 48a0986..8258ce0 100644 --- a/examples/assets.json +++ b/examples/assets.json @@ -1,7 +1,7 @@ { "stac_version": "1.0.0", "stac_extensions": [ - "https://stac-extensions.github.io/projection/v1.1.0/schema.json" + "https://stac-extensions.github.io/projection/v1.2.0/schema.json" ], "type": "Feature", "id": "20201211_223832_CS2_A", diff --git a/examples/collection.json b/examples/collection.json index de1ea85..a0f4330 100644 --- a/examples/collection.json +++ b/examples/collection.json @@ -1,7 +1,7 @@ { "stac_version": "1.0.0", "stac_extensions": [ - "https://stac-extensions.github.io/projection/v1.1.0/schema.json", + "https://stac-extensions.github.io/projection/v1.2.0/schema.json", "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" ], "type": "Collection", diff --git a/examples/item.json b/examples/item.json index 0d31eb8..6f52506 100644 --- a/examples/item.json +++ b/examples/item.json @@ -1,7 +1,7 @@ { "stac_version": "1.0.0", "stac_extensions": [ - "https://stac-extensions.github.io/projection/v1.1.0/schema.json" + "https://stac-extensions.github.io/projection/v1.2.0/schema.json" ], "type": "Feature", "id": "20201211_223832_CS2", @@ -47,6 +47,7 @@ "cool_sensor_v1" ], "gsd": 0.66, + "proj:epsg": 32659, "proj:code": "EPSG:32659", "proj:shape": [ 5558, diff --git a/examples/item_custom_proj.json b/examples/item_custom_proj.json index f5bb829..d8c0b28 100644 --- a/examples/item_custom_proj.json +++ b/examples/item_custom_proj.json @@ -1,7 +1,7 @@ { "stac_version": "1.0.0", "stac_extensions": [ - "https://stac-extensions.github.io/projection/v1.1.0/schema.json" + "https://stac-extensions.github.io/projection/v1.2.0/schema.json" ], "type": "Feature", "id": "20201211_223832_CS2", diff --git a/json-schema/schema.json b/json-schema/schema.json index 2d3df76..f9c97f9 100644 --- a/json-schema/schema.json +++ b/json-schema/schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://stac-extensions.github.io/projection/v1.1.0/schema.json", + "$id": "https://stac-extensions.github.io/projection/v1.2.0/schema.json", "title": "Projection Extension", "description": "STAC Projection Extension for STAC Items.", "$comment": "This schema succeeds if the proj: fields are not used at all, please keep this in mind.", @@ -77,7 +77,7 @@ "stac_extensions": { "type": "array", "contains": { - "const": "https://stac-extensions.github.io/projection/v1.1.0/schema.json" + "const": "https://stac-extensions.github.io/projection/v1.2.0/schema.json" } } } @@ -89,7 +89,7 @@ "deprecated": true, "title":"EPSG code", "type":[ - "string", + "integer", "null" ] }, diff --git a/package.json b/package.json index aaa2e51..3acd14b 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "stac-extensions", - "version": "1.1.0", + "version": "1.2.0", "scripts": { "test": "npm run check-markdown && npm run check-examples", "check-markdown": "remark . -f -r .github/remark.yaml", - "check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/projection/v1.1.0/schema.json=./json-schema/schema.json", - "format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/projection/v1.1.0/schema.json=./json-schema/schema.json" + "check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/projection/v1.2.0/schema.json=./json-schema/schema.json", + "format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/projection/v1.2.0/schema.json=./json-schema/schema.json" }, "dependencies": { "remark-cli": "^8.0.0",