Skip to content

Commit

Permalink
v1.2.0 and fix epsg schema
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Jul 22, 2024
1 parent ee80854 commit 51d88bc
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 12 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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]: <https://github.com/stac-extensions/projection/compare/v1.1.0...HEAD>
[Unreleased]: <https://github.com/stac-extensions/projection/compare/v1.2.0...HEAD>
[v1.2.0]: <https://github.com/stac-extensions/projection/compare/v1.1.0...v1.2.0>
[v1.1.0]: <https://github.com/stac-extensions/projection/compare/v1.0.0...v1.1.0>
[v1.0.0]: <https://github.com/stac-extensions/projection/tree/v1.0.0>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Projection Extension Specification

- **Title:** Projection
- **Identifier:** <https://stac-extensions.github.io/projection/v1.1.0/schema.json>
- **Identifier:** <https://stac-extensions.github.io/projection/v1.2.0/schema.json>
- **Field Name Prefix:** proj
- **Scope:** Item, Collection
- **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/README.md#extension-maturity):** Stable
Expand Down
2 changes: 1 addition & 1 deletion examples/assets.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion examples/collection.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 2 additions & 1 deletion examples/item.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -47,6 +47,7 @@
"cool_sensor_v1"
],
"gsd": 0.66,
"proj:epsg": 32659,
"proj:code": "EPSG:32659",
"proj:shape": [
5558,
Expand Down
2 changes: 1 addition & 1 deletion examples/item_custom_proj.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions json-schema/schema.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down Expand Up @@ -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"
}
}
}
Expand All @@ -89,7 +89,7 @@
"deprecated": true,
"title":"EPSG code",
"type":[
"string",
"integer",
"null"
]
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 51d88bc

Please sign in to comment.