Skip to content

Commit

Permalink
Merge pull request #20 from stac-extensions/V1.1.0
Browse files Browse the repository at this point in the history
v1.1.0
  • Loading branch information
emmanuelmathot authored Jul 6, 2021
2 parents 77c160d + 8c5de10 commit e24ddb0
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 23 deletions.
14 changes: 3 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [v1.1.0]

### Added

- Allow "inf" and "nan" as valid nodata values [#18](https://github.com/stac-extensions/raster/issues/18)

### Changed

### Deprecated

### Removed

### Fixed

## [V1.0.0]
## [v1.0.0]

- Initial release

[Unreleased]: <https://github.com/stac-extensions/raster/compare/v1.0.0...HEAD>
[v1.1.0]: <https://github.com/stac-extensions/tree/v1.1.0>
[v1.0.0]: <https://github.com/stac-extensions/tree/v1.0.0>
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Raster Extension Specification

- **Title:** Raster
- **Identifier:** <https://stac-extensions.github.io/raster/v1.0.0/schema.json>
- **Identifier:** <https://stac-extensions.github.io/raster/v1.1.0/schema.json>
- **Field Name Prefix:** raster
- **Scope:** Item, Collection
- **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/extensions/README.md#extension-maturity):** Proposal
Expand Down Expand Up @@ -35,7 +35,7 @@ to specify information about the raster projection, especially `proj:shape` to s

| Field Name | Type | Description |
| ------------------ | --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| nodata | number | string | Pixel values used to identify pixels that are nodata in the band either by the pixel value as a number or `nan`, `inf` or `-inf`. |
| nodata | number | string | Pixel values used to identify pixels that are nodata in the band either by the pixel value as a number or `nan`, `inf` or `-inf`. |
| sampling | string | One of `area` or `point`. Indicates whether a pixel value should be assumed to represent a sampling over the region of the pixel or a point sample at the center of the pixel. |
| data_type | string | The data type of the pixels in the band. One of the [data types as described above](#data-types). |
| bits_per_sample | number | The actual number of bits used for this band. Normally only present when the number of bits is non-standard for the `datatype`, such as when a 1 bit TIFF is represented as byte |
Expand Down
4 changes: 2 additions & 2 deletions examples/item-planet.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
"https://stac-extensions.github.io/processing/v1.0.0/schema.json",
"https://stac-extensions.github.io/raster/v1.0.0/schema.json"
"https://stac-extensions.github.io/raster/v1.1.0/schema.json"
],
"stac_version": "1.0.0-rc.2",
"stac_version": "1.0.0",
"links": [],
"assets": {
"data": {
Expand Down
12 changes: 9 additions & 3 deletions examples/item-sentinel2.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"type": "Feature",
"stac_version": "1.0.0-rc.2",
"stac_version": "1.0.0",
"stac_extensions": [
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
"https://stac-extensions.github.io/view/v1.0.0/schema.json",
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
"https://stac-extensions.github.io/raster/v1.0.0/schema.json"
"https://stac-extensions.github.io/raster/v1.1.0/schema.json"
],
"id": "S2B_33SVB_20210221_0_L2A",
"bbox": [
Expand Down Expand Up @@ -734,5 +734,11 @@
]
}
},
"links": []
"links": [
{
"type": "application/json",
"rel": "collection",
"href": "sentinel-s2-l2a-cogs.json"
}
]
}
4 changes: 2 additions & 2 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/raster/v1.0.0/schema.json#",
"$id": "https://stac-extensions.github.io/raster/v1.1.0/schema.json#",
"title": "raster Extension",
"description": "STAC Raster Extension for STAC Items.",
"oneOf": [
Expand Down Expand Up @@ -69,7 +69,7 @@
"stac_extensions": {
"type": "array",
"contains": {
"const": "https://stac-extensions.github.io/raster/v1.0.0/schema.json"
"const": "https://stac-extensions.github.io/raster/v1.1.0/schema.json"
}
}
}
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.0.0",
"version": "1.1.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/raster/v1.0.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/raster/v1.0.0/schema.json=./json-schema/schema.json"
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/raster/v1.1.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/raster/v1.1.0/schema.json=./json-schema/schema.json"
},
"dependencies": {
"remark-cli": "^8.0.0",
Expand Down

0 comments on commit e24ddb0

Please sign in to comment.