You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document explains the Template Extension to the [SpatioTemporal Asset Catalog](https://github.com/radiantearth/stac-spec) (STAC) specification.
11
-
This is the place to add a short introduction.
10
+
This document explains the eodash STAC Extension to the [SpatioTemporal Asset Catalog](https://github.com/radiantearth/stac-spec) (STAC) specification
11
+
The extension provides a set of properties to enrich STAC Collections and Items with metadata necessary for the [eodash](https://github.com/eodash/eodash) visualization client.
12
+
These properties enable advanced, interactive features including:
13
+
14
+
- Dynamically generated user-interface forms for data processing.
15
+
- Client-side rendering of charts and data visualizations.
16
+
- Support for custom map projections.
17
+
- Application of custom color legends, and dynamic user-configurable styling.
18
+
19
+
For more extensions and concepts not covered by this extension specification and needed by eodash, refer to **[eodash STAC Documentation](https://github.com/eodash/eodash/blob/main/docs/STAC.md)**.
12
20
13
21
- Examples:
14
22
-[Item example](examples/item.json): Shows the basic usage of the extension in a STAC Item
@@ -18,44 +26,89 @@ This is the place to add a short introduction.
18
26
19
27
## Fields
20
28
21
-
The fields in the table below can be used in these parts of STAC documents:
29
+
The fields below can be used in these parts of STAC documents:
22
30
23
31
-[ ] Catalogs
24
32
-[x] Collections
25
-
-[x] Item Properties (incl. Summaries in Collections)
26
-
-[x] Assets (for both Collections and Items, incl. Item Asset Definitions in Collections)
27
-
-[ ] Links
33
+
-[x] Items
34
+
-[x] Assets
35
+
-[x] Links
36
+
37
+
### **Collection Fields**
38
+
39
+
These fields can be applied to the top-level of a STAC Collection object.
40
+
41
+
| Field Name | Type | Description |
42
+
| :---- | :---- | :---- |
43
+
| eodash:mapProjection|[Projection Object](#projection-object)| Defines a custom map projection that the client can register and use for displaying data. This is essential for visualizing data in non-standard coordinate reference systems (e.g., polar stereographic). |
44
+
| eodash:jsonform| string | A URL pointing to a JSON Schema file. eodash uses this schema to dynamically generate a user interface form, allowing users to input parameters for data processing services. |
45
+
| eodash:vegadefinition| string | A URL pointing to a [Vega](https://vega.github.io/vega/) or [Vega-Lite](https://vega.github.io/vega-lite/) JSON definition. eodash uses this to render charts from data returned by a service. |
46
+
| eox:colorlegend|[Color Legend Object](#color-legend-object)| Defines a custom color legend for client-side styling of rendered data |
47
+
48
+
### **Item Fields**
49
+
50
+
These fields can be applied at the top level of STAC Items.
51
+
52
+
| Field Name | Type | Description |
53
+
| :---- | :---- | :---- |
54
+
| eodash:proj4\_def |[Projection Object](#projection-object)| Defines a custom Proj4 projection for the item data. |
55
+
56
+
### **Link Fields**
57
+
58
+
These fields can be applied to STAC Links (in Collections, Items, or Catalogs).
59
+
60
+
| Field Name | Type | Description |
61
+
| :---- | :---- | :---- |
62
+
| eodash:proj4\_def |[Projection Object](#projection-object)| Defines a custom Proj4 projection for the linked resource. Commonly used in WMS links to specify the coordinate reference system. |
63
+
| eox:flatstyle| string \| object | A URL pointing to a JSON object that extends [OpenLayers Flat Styles](https://openlayers.org/en/latest/apidoc/module-ol_style_flat.html), or the style object itself. Used for dynamic styling of web map links (WMS, WMTS, XYZ) and service links. |
64
+
65
+
### **Asset Fields**
66
+
67
+
These fields can be applied to STAC Assets (in Collections or Items).
68
+
69
+
| Field Name | Type | Description |
70
+
| :---- | :---- | :---- |
71
+
| eodash:proj4\_def |[Projection Object](#projection-object)| Defines a custom Proj4 projection for the asset data. |
72
+
| eox:flatstyle| string \| object | A URL pointing to a style JSON object or the style object itself for dynamic asset styling. |
73
+
74
+
**Note**: For data assets, styling is typically provided through links with `rel: "style"` rather than directly on the asset.
75
+
The style link's `href` points to an OpenLayers Flat Style definition, and `asset:keys` specifies which assets the style applies to.
-**[Projection Extension](https://github.com/stac-extensions/projection)**: For standard EPSG coordinate reference systems using `proj:epsg`
108
+
-**[Web Map Links Extension](https://github.com/stac-extensions/web-map-links)**: For map service links (WMS, WMTS, XYZ) with additional properties like `endpoint`, `method`, and `wmts:layer`
109
+
-**[Render Extension](https://github.com/stac-extensions/render)**: For visualization and styling metadata
| fancy-rel-type | This link points to a fancy resource. |
111
+
For additional metadata properties used by eodash (such as `locations`, service configuration, and observation point handling), see the [eodash STAC documentation](https://github.com/eodash/eodash/blob/main/docs/STAC.md).
0 commit comments