-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #412 from radiantearth/dev
Dev to master for 0.6.2
- Loading branch information
Showing
40 changed files
with
1,586 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Checksum Extension Specification (`checksum`) | ||
|
||
**Extension [Maturity Classification](../README.md#extension-maturity): Proposal** | ||
|
||
Provides a way to specify MD5, SHA1, SHA2 and SHA3 file checksums for assets and links in STAC Items, STAC Catalogs and STAC Collections. | ||
|
||
- [Example](example-sentinel1.json) | ||
- [JSON Schema](schema.json) | ||
|
||
## `Link Object` and `Asset Object` fields | ||
|
||
| Field Name | Type | Description | | ||
| ------------- | ------ | ------------------------------------------------------------ | | ||
| checksum:md5 | string | [MD5 message-digest algorithm](https://en.wikipedia.org/wiki/MD5) 128-bit checksum for the corresponding file, encoded as hexadecimal string. | | ||
| checksum:sha1 | string | [SHA-1 (Secure Hash Algorithm 1)](https://en.wikipedia.org/wiki/SHA-1) 160-bit checksum for the corresponding file, encoded as hexadecimal string. | | ||
| checksum:sha2 | string | [SHA-2 (Secure Hash Algorithm 2)](https://en.wikipedia.org/wiki/SHA-2) checksum for the corresponding file with varying sizes of 224, 256, 384 or 512 bits, encoded as hexadecimal string. | | ||
| checksum:sha3 | string | [SHA-3 (Secure Hash Algorithm 3)](https://en.wikipedia.org/wiki/SHA-3) checksum for the corresponding file with varying bit sizes, encoded as hexadecimal string. | | ||
|
||
### Examples | ||
|
||
Checksum for a text file with file content `test`. | ||
|
||
| Field Name | Example | | ||
| ------------------------ | ------------------------------------------------------------ | | ||
| checksum:md5 | `098f6bcd4621d373cade4e832627b4f6` | | ||
| checksum:sha1 | `a94a8fe5ccb19ba61c4c0873d391e987982fbbd3` | | ||
| checksum:sha2 (256 bits) | `9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08` | | ||
| checksum:sha3 (256 bits) | `36f028580bb02cc8272a9a020f4200e346e276ae664e45ee80745574e2f5ab80` | | ||
|
||
## Implementations | ||
|
||
None yet, still in proposal stage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"id": "S1A_EW_GRDM_1SSH_20181103T235855_20181103T235955_024430_02AD5D_5616", | ||
"type": "Feature", | ||
"bbox": [-70.275032,-64.72924,-65.087479,-51.105831], | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[-67.071648,-64.72924], | ||
[-65.087479,-56.674374], | ||
[-68.033211,-51.105831], | ||
[-70.275032,-59.805672], | ||
[-67.071648,-64.72924] | ||
] | ||
] | ||
}, | ||
"properties": { | ||
"datetime": "2018-11-03T23:58:55Z" | ||
}, | ||
"assets": { | ||
"noises": { | ||
"href": "./annotation/calibration/noise-s1a-ew-grd-hh-20181103t235855-20181103t235955-024430-02ad5d-001.xml", | ||
"title": "Calibration Schema", | ||
"type": "text/xml", | ||
"checksum:md5": "a30d1711e81a4b11ef67b28744321659" | ||
}, | ||
"calibrations": { | ||
"href": "./annotation/calibration/calibration-s1a-ew-grd-hh-20181103t235855-20181103t235955-024430-02ad5d-001.xml", | ||
"title": "Noise Schema", | ||
"type": "text/xml", | ||
"checksum:md5": "4fc5351af67db0b8f1746efe421a05e4" | ||
}, | ||
"products": { | ||
"href": "./annotation/s1a-ew-grd-hh-20181103t235855-20181103t235955-024430-02ad5d-001.xml", | ||
"title": "Product Schema", | ||
"type": "text/xml", | ||
"checksum:md5": "7a7f2588a85362b9beea2a12d4514d45" | ||
}, | ||
"measurement": { | ||
"href": "./measurement/s1a-ew-grd-hh-20181103t235855-20181103t235955-024430-02ad5d-001.tiff", | ||
"title": "Measurements", | ||
"type": "image/tiff", | ||
"sar:bands": [ | ||
0 | ||
], | ||
"checksum:md5": "163700a8a6501eccd00b6d3b44ddaed0" | ||
}, | ||
"thumbnail": { | ||
"href": "./preview/quick-look.png", | ||
"title": "Thumbnail", | ||
"type": "image/png" | ||
} | ||
}, | ||
"links": [ | ||
{ | ||
"rel": "self", | ||
"href": "https://example.com/collections/sentinel-1/items/S1A_EW_GRDM_1SSH_20181103T235855_20181103T235955_024430_02AD5D_5616" | ||
}, | ||
{ | ||
"rel": "parent", | ||
"href": "https://example.com/collections/sentinel-1", | ||
"checksum:sha1": "6D97123FD2C02DEC9A1B6D3B13136DBE600CF966" | ||
}, | ||
{ | ||
"rel": "root", | ||
"href": "https://example.com/collections", | ||
"checksum:sha1": "FA4B9D69FDDDC7C1BE7BED9440621400B383B43F" | ||
} | ||
] | ||
} |
Oops, something went wrong.