Skip to content

Commit 1efa9fb

Browse files
Merge pull request #15 from stac-extensions/clarifications
some clarifications
2 parents 08c5b99 + 30d330b commit 1efa9fb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ An item can describe assets that are rasters of one or multiple bands with some
1313
and also specific to each of them (data type, unit, number of bits used, nodata).
1414
A raster is ofthen strongly linked with the the georeferencing transform and coordinate system definition
1515
of all bands (using the [projection extension](https://github.com/radiantearth/stac-spec/tree/master/extensions/projection)).
16-
In many applications, it is interesting to have some metadata about the raster in the asset (values statistics, value interpretation, transforms).
16+
In many applications, it is interesting to have some metadata about the rasters in the asset (values statistics, value interpretation, transforms).
1717

1818
- Examples:
1919
- [Planet Item example](examples/item-planet.json): Shows the basic usage of the extension in a STAC Item
@@ -35,16 +35,16 @@ to specify information about the raster projection, especially `proj:shape` to s
3535

3636
| Field Name | Type | Description |
3737
| ------------------ | --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
38-
| nodata | number | Pixel values used to identify pixels that are nodata in the assets . |
38+
| nodata | number | Pixel values used to identify pixels that are nodata in the band . |
3939
| 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. |
40-
| data_type | string | The data type of the band. One of the [data types as described above](#data-types). |
40+
| data_type | string | The data type of the pixels in the band. One of the [data types as described above](#data-types). |
4141
| 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 |
4242
| spatial_resolution | number | Average spatial resolution (in meters) of the pixels in the band. |
4343
| statistics | [Statistics Object](#statistics-object) | Statistics of all the pixels in the band |
4444
| unit | string | unit denomination of the pixel value |
4545
| scale | number | multiplicator factor of the pixel value to transform into the value (i.e. translate digital number to reflectance). |
4646
| offset | number | number to be added to the pixel value (after scaling) to transform into the value (i.e. translate digital number to reflectance). |
47-
| histogram | [Histogram Object](#histogram-object) | Histogram distribution information of the pixels values in the band |
47+
| histogram | [Histogram Object](#histogram-object) | Histogram distribution information of the pixels values in the band |
4848

4949
`scale` and `offset` defines parameters to compute another value. Next paragraphs describe some use cases.
5050

@@ -150,6 +150,7 @@ In the following value definition example, 185 meters must be substracted from t
150150
### Histogram Object
151151

152152
The histogram object provides with distribution of pixel values in the band. Those values are sampled in buckets.
153+
An histogram object is atomic and all fields are **REQUIRED**.
153154

154155
| Field Name | Type | Description |
155156
| ---------- | --------- | --------------------------------------------------------------------------- |

0 commit comments

Comments
 (0)