Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
philvarner committed Mar 3, 2021
1 parent 7f19f25 commit 06aaa30
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,13 @@ to be contained with a GeoJSON FeatureCollection:
One or more assets will contain references to the label data. These assets have these requirements:

- if the `label:type` is "vector", the labels must be a GeoJSON FeatureCollection.
- if the `label:type` is "raster", it is recommended to also have an asset of a GeoJSON FeatureCollection defining the extent.
- Asset Roles should be used to indicate which assets are the labels. It is recommended that all Assets referencing labels have the role `labels`. Other labels such as `labels-vector` (for vector labels), `labels-raster` (for raster labels), `labels-extent` (for the vector extent of raster labels), `labels-training` (for ML training data), and `labels-testing` (for ML testing data) may also be added to further indicate what specific assets reference.
- if the `label:type` is "raster", it is recommended to also have an asset of a GeoJSON FeatureCollection
defining the extent.
- Asset Roles should be used to indicate which assets are the labels. It is recommended that all Assets
referencing labels have the role `labels`. Other labels such as `labels-vector` (for vector labels),
`labels-raster` (for raster labels), `labels-extent` (for the vector extent of raster labels), `labels-training`
(for ML training data), and `labels-testing` (for ML testing data) may also be added to further indicate what
specific assets reference.
- if `label:tasks` is tile_classification, object_detection, or segmentation,
each feature should have one or more properties containing the label(s) for the
class (one of `label:classes`). the name of the property can be anything
Expand All @@ -141,9 +146,10 @@ One or more assets will contain references to the label data. These assets have
defining the value for regression. the name of the property can be anything
(use "label" if making from scratch), but needs to be specified in the `Item` with the `label:properties` field.

##### Asset names
#### Asset names

The Label Extension recommends assets be named with the keys "raster_labels" or "vector_labels". However, this is just a recommendation, and acutal name are entirely at the discretion of the implementer.
The Label Extension recommends assets be named with the keys "raster_labels" or "vector_labels". However,
this is just a recommendation, and the names are entirely at the discretion of the implementer.

#### Raster Label Notes

Expand Down

0 comments on commit 06aaa30

Please sign in to comment.