Skip to content

Commit

Permalink
Merge pull request #744 from radiantearth/fix-landsat-example-static
Browse files Browse the repository at this point in the history
updated examples to not use items endpoint
  • Loading branch information
cholmes authored Feb 26, 2020
2 parents ec2216f + 2af60ea commit 9dd4645
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## Unreleased

### Fixed
- Fixed links in the Landsat example in the collection-spec.

## [v0.9.0-rc2] - 2020-02-12

### Added
Expand Down
8 changes: 4 additions & 4 deletions collection-spec/examples/landsat-collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,19 +138,19 @@
"links": [
{
"rel": "self",
"href": "https://example.com/stac/collections/landsat-8-l1"
"href": "https://landsat-stac.s3.amazonaws.com/landsat-8-l1/catalog.json"
},
{
"rel": "parent",
"href": "https://example.com/stac"
"href": "https://landsat-stac.s3.amazonaws.com/catalog.json"
},
{
"rel": "root",
"href": "https://example.com/stac"
"href": "https://landsat-stac.s3.amazonaws.com/catalog.json"
},
{
"rel": "child",
"href": "https://example.com/stac/collections/landsat-8-l1/items"
"href": "https://landsat-stac.s3.amazonaws.com/landsat-8-l1/paths/catalog.json"
}
]
}
6 changes: 3 additions & 3 deletions collection-spec/examples/landsat-item.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,15 @@
"links": [
{
"rel": "self",
"href": "https://<endpoint>/search?id=LC08_L1TP_107018_20181001_20181001_01_RT"
"href": "https://landsat-stac.s3.amazonaws.com/landsat-8-l1/107/018/2018-10-01/LC08_L1TP_107018_20181001_20181001_01_RT.json"
},
{
"rel": "parent",
"href": "https://<endpoint>/stac/collections/landsat-8-l1"
"href": "https://landsat-stac.s3.amazonaws.com/landsat-8-l1/107/018/catalog.json"
},
{
"rel": "root",
"href": "https://<endpoint>/stac"
"href": "https://landsat-stac.s3.amazonaws.com/catalog.json"
}
]
}

0 comments on commit 9dd4645

Please sign in to comment.