Skip to content

Instantly share code, notes, and snippets.

@cholmes
Last active November 14, 2018 20:11
Show Gist options
  • Save cholmes/d89faae16dbbc1f63948117ca1fee2dd to your computer and use it in GitHub Desktop.
Save cholmes/d89faae16dbbc1f63948117ca1fee2dd to your computer and use it in GitHub Desktop.
{
"id":"landsat-8-l1/landsat:wrs_path/175/landsat:wrs_row/23",
"title":"Landsat 8 L1: Path 175, Row 23",
"description":"Landsat 8 imagery radiometrically calibrated and orthorectified using ground points and Digital Elevation Model (DEM) data to correct relief displacement.",
"links":[
{"href":"https://stac.boundlessgeo.io/stac", "rel":"root"},
{"href":"https://stac.boundlessgeo.io/stac/landsat-8-l1/landsat:wrs_path/175/landsat:wrs_row/23", "rel":"self"},
{"href":"https://stac.boundlessgeo.io/stac/landsat-8-l1/landsat:wrs_path/175/landsat:wrs_row/23/items", "rel":"items"},
{"href":"https://stac.boundlessgeo.io/stac/landsat-8-l1/landsat:wrs_path/175/landsat:wrs_row", "rel":"parent"}
{"href":"https://stac.boundlessgeo.io/collections/landsat-8-l1/items/LC08_L1TP_175023_20180709_20180709_01_RT", "rel":"item"},
{"href":"https://stac.boundlessgeo.io/collections/landsat-8-l1/items/LC08_L1TP_175023_20180709_20180717_01_T1", "rel":"item"},
{"href":"https://stac.boundlessgeo.io/collections/landsat-8-l1/items/LC08_L1TP_175023_20180623_20180624_01_RT", "rel":"item"},
{"href":"https://stac.boundlessgeo.io/collections/landsat-8-l1/items/LC08_L1TP_175023_20180607_20180615_01_T1", "rel":"item"},
{"href":"https://stac.boundlessgeo.io/collections/landsat-8-l1/items/LC08_L1TP_175023_20180623_20180703_01_T1", "rel":"item"},
...
]
}
@cholmes
Copy link
Author

cholmes commented Nov 14, 2018

You would keep adding the 'item' links until every item in that path / row is linked to. I think for landsat 8 that would be a few hundred?

You could also have another catalog layer of 'year', and then each of those sub-catalogs would have under a hundred items.

Note also that I took away all the collection stuff. And ideally the title does explain the path and row - is generated dynamically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment