Skip to content

Commit

Permalink
Improved and stricter schema
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Aug 1, 2024
1 parent edc3386 commit a32463a
Show file tree
Hide file tree
Showing 4 changed files with 285 additions and 181 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Clarified how the coverages `eo:cloud_cover` and `eo:snow_cover` should be computed
- Improved and stricter schema

## [v1.1.0] - 2023-02-10

Expand Down
30 changes: 15 additions & 15 deletions examples/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,6 @@
}
]
},
"links": [
{
"rel": "root",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
},
{
"rel": "item",
"href": "./item.json",
"type": "application/geo+json",
"title": "20201211_223832_CS2"
}
],
"item_assets": {
"analytic": {
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
Expand Down Expand Up @@ -162,5 +148,19 @@
}
]
}
}
},
"links": [
{
"rel": "root",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
},
{
"rel": "item",
"href": "./item.json",
"type": "application/geo+json",
"title": "20201211_223832_CS2"
}
]
}
44 changes: 22 additions & 22 deletions examples/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
],
"type": "Feature",
"id": "20201211_223832_CS2",
"collection": "eo-collection",
"bbox": [
172.91173669923782,
1.3438851951615003,
Expand Down Expand Up @@ -50,27 +51,6 @@
"eo:cloud_cover": 1.2,
"eo:snow_cover": 0
},
"collection": "eo-collection",
"links": [
{
"rel": "root",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
},
{
"rel": "parent",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
},
{
"rel": "collection",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
}
],
"assets": {
"analytic": {
"href": "https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2_analytic.tif",
Expand Down Expand Up @@ -147,5 +127,25 @@
}
]
}
}
},
"links": [
{
"rel": "root",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
},
{
"rel": "parent",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
},
{
"rel": "collection",
"href": "./collection.json",
"type": "application/json",
"title": "Simple Example Collection"
}
]
}
Loading

0 comments on commit a32463a

Please sign in to comment.