stac-extensions / label

Items that relate labeled AOIs with source imagery.
Apache License 2.0
9 stars 3 forks source link

Updates to allow multiple label types in one item #11

Open kbgg opened 2 years ago

kbgg commented 2 years ago

This PR comes out of the label extension discussion which occurred on April 22, 2022. The initial suggestion coming out of that discussion was that we would make the properties for the label extension apply at the asset level instead of the item level. After thinking this through I'm not sure that's the best solution. The solution proposed here would instead change the label:type property to label:types and would accept an array of enums allowing both raster and vector labels to be present as assets within this one item. This would make the upgrade from older versions to this version a trivial process.

This PR also adds a mention of the classification extension which should be used to provide the mapping of raster pixel values to human-readable class names.