Skip to content

Commit

Permalink
feat: add STAC created and updated dates TDE-1299 (#481)
Browse files Browse the repository at this point in the history
### Motivation

All the existing STAC did not have a [`created` or `updated`
datetimes](https://github.com/radiantearth/stac-spec/blob/master/commons/common-metadata.md#date-and-time).
This information is useful for any data consumer to easily know when the
latest version of the data has been published.

### Modifications

A `created` and `updated` date have been set for the Collections, Items
`properties` and visual Assets.
The Item STAC file checksums have also been added to all the
Collections.
This has been done using [an
algorithm](linz/topo-imagery#1177) that has been
run on all the published dataset in `s3://nz-imagery/`.
_This PR is one step of this change. There is also a file copy for the
STAC Items that needs to be done separately._

### Verification

Generated a report of the new STAC files using [a date checker
script](https://github.com/blacha/stac-spider/blob/main/src/operations/date.check.ts).
  • Loading branch information
paulfouquet authored Nov 28, 2024
1 parent da732a3 commit dc46627
Show file tree
Hide file tree
Showing 471 changed files with 2,579,802 additions and 468,518 deletions.
893 changes: 765 additions & 128 deletions stac/auckland/auckland-central_2023_0.06m/rgb/2193/collection.json

Large diffs are not rendered by default.

9,054 changes: 4,528 additions & 4,526 deletions stac/auckland/auckland-coast_2022-2023_0.05m/rgb/2193/collection.json

Large diffs are not rendered by default.

6,074 changes: 3,038 additions & 3,036 deletions stac/auckland/auckland-coast_2023_0.05m/rgb/2193/collection.json

Large diffs are not rendered by default.

32,254 changes: 27,646 additions & 4,608 deletions stac/auckland/auckland_2010-2011_0.125m/rgb/2193/collection.json

Large diffs are not rendered by default.

1,902 changes: 1,630 additions & 272 deletions stac/auckland/auckland_2010-2012_0.5m/rgb/2193/collection.json

Large diffs are not rendered by default.

3,295 changes: 2,824 additions & 471 deletions stac/auckland/auckland_2010_0.075m/rgb/2193/collection.json

Large diffs are not rendered by default.

1,300 changes: 1,114 additions & 186 deletions stac/auckland/auckland_2012_0.075m/rgb/2193/collection.json

Large diffs are not rendered by default.

33,850 changes: 29,014 additions & 4,836 deletions stac/auckland/auckland_2015-2016_0.075m/rgb/2193/collection.json

Large diffs are not rendered by default.

54,612 changes: 46,810 additions & 7,802 deletions stac/auckland/auckland_2017_0.075m/rgb/2193/collection.json

Large diffs are not rendered by default.

46,156 changes: 39,562 additions & 6,594 deletions stac/auckland/auckland_2020_0.075m/rgb/2193/collection.json

Large diffs are not rendered by default.

39,345 changes: 33,724 additions & 5,621 deletions stac/auckland/auckland_2022_0.075m/rgb/2193/collection.json

Large diffs are not rendered by default.

458 changes: 229 additions & 229 deletions stac/auckland/auckland_2024_0.25m/rgb/2193/collection.json

Large diffs are not rendered by default.

481 changes: 412 additions & 69 deletions stac/auckland/auckland_sn5600_1979_0.375m/rgb/2193/collection.json

Large diffs are not rendered by default.

1,307 changes: 1,120 additions & 187 deletions stac/auckland/auckland_sn9211_1992_0.4m/rgb/2193/collection.json

Large diffs are not rendered by default.

1,265 changes: 1,084 additions & 181 deletions stac/auckland/auckland_snc50347_2003-2004_0.75m/rgb/2193/collection.json

Large diffs are not rendered by default.

5,486 changes: 4,702 additions & 784 deletions stac/auckland/auckland_waikato_sn8772_1987-1988_0.375m/rgb/2193/collection.json

Large diffs are not rendered by default.

10,939 changes: 9,376 additions & 1,563 deletions stac/bay-of-plenty/bay-of-plenty_2010-2011_0.125m/rgb/2193/collection.json

Large diffs are not rendered by default.

23,525 changes: 20,164 additions & 3,361 deletions stac/bay-of-plenty/bay-of-plenty_2011-2012_0.25m/rgb/2193/collection.json

Large diffs are not rendered by default.

18,870 changes: 16,174 additions & 2,696 deletions stac/bay-of-plenty/bay-of-plenty_2014-2015_0.125m/rgb/2193/collection.json

Large diffs are not rendered by default.

7,131 changes: 6,112 additions & 1,019 deletions stac/bay-of-plenty/bay-of-plenty_2015-2016_0.125m/rgb/2193/collection.json

Large diffs are not rendered by default.

418 changes: 358 additions & 60 deletions stac/bay-of-plenty/bay-of-plenty_2015-2016_0.1m/rgb/2193/collection.json

Large diffs are not rendered by default.

18,359 changes: 15,736 additions & 2,623 deletions stac/bay-of-plenty/bay-of-plenty_2015-2017_0.25m/rgb/2193/collection.json

Large diffs are not rendered by default.

9,644 changes: 8,266 additions & 1,378 deletions stac/bay-of-plenty/bay-of-plenty_2016-2017_0.3m/rgb/2193/collection.json

Large diffs are not rendered by default.

15,881 changes: 13,612 additions & 2,269 deletions stac/bay-of-plenty/bay-of-plenty_2018-2019_0.1m/rgb/2193/collection.json

Large diffs are not rendered by default.

474 changes: 406 additions & 68 deletions stac/bay-of-plenty/bay-of-plenty_2019_0.3m/rgb/2193/collection.json

Large diffs are not rendered by default.

33,542 changes: 28,750 additions & 4,792 deletions stac/bay-of-plenty/bay-of-plenty_2020_0.1m/rgb/2193/collection.json

Large diffs are not rendered by default.

42,453 changes: 36,388 additions & 6,065 deletions stac/bay-of-plenty/bay-of-plenty_2021-2022_0.2m/rgb/2193/collection.json

Large diffs are not rendered by default.

31,813 changes: 27,268 additions & 4,545 deletions stac/bay-of-plenty/bay-of-plenty_2021_0.2m/rgb/2193/collection.json

Large diffs are not rendered by default.

2,608 changes: 2,235 additions & 373 deletions stac/bay-of-plenty/bay-of-plenty_2023-2024_0.2m/rgb/2193/collection.json

Large diffs are not rendered by default.

18,793 changes: 16,108 additions & 2,685 deletions stac/bay-of-plenty/bay-of-plenty_2023_0.1m/rgb/2193/collection.json

Large diffs are not rendered by default.

11,726 changes: 5,863 additions & 5,863 deletions stac/bay-of-plenty/bay-of-plenty_2024_0.2m/rgb/2193/collection.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,447 changes: 1,240 additions & 207 deletions stac/bay-of-plenty/bay-of-plenty_sn8540_1985-1986_0.375m/rgb/2193/collection.json

Large diffs are not rendered by default.

1,426 changes: 1,222 additions & 204 deletions stac/bay-of-plenty/bay-of-plenty_sn8626_1986_0.4m/rgb/2193/collection.json

Large diffs are not rendered by default.

6,585 changes: 5,644 additions & 941 deletions stac/bay-of-plenty/bay-of-plenty_sn8732_1987_0.15m/rgb/2193/collection.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,252 @@
"type": "application/json"
},
{ "rel": "self", "href": "./collection.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0101.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0102.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0304.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0305.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0401.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0402.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0403.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0404.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0405.json", "type": "application/json" },
{ "rel": "item", "href": "./BE41_10000_0301.json", "type": "application/json" },
{ "rel": "item", "href": "./BE41_10000_0302.json", "type": "application/json" },
{ "rel": "item", "href": "./BE41_10000_0303.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0104.json", "type": "application/json" },
{ "rel": "item", "href": "./BE41_10000_0304.json", "type": "application/json" },
{ "rel": "item", "href": "./BE41_10000_0401.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0103.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0101.json", "type": "application/json" },
{ "rel": "item", "href": "./BE41_10000_0402.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0202.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0404.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0303.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0203.json", "type": "application/json" },
{ "rel": "item", "href": "./BE41_10000_0403.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0105.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0201.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0204.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0302.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0301.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0304.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0203.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0402.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0403.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0204.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0303.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0302.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0205.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0202.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0405.json", "type": "application/json" },
{ "rel": "item", "href": "./BE39_10000_0305.json", "type": "application/json" },
{ "rel": "item", "href": "./BE40_10000_0201.json", "type": "application/json" },
{ "rel": "item", "href": "./BE41_10000_0404.json", "type": "application/json" }
{
"rel": "item",
"href": "./BE39_10000_0101.json",
"type": "application/json",
"file:checksum": "1220d50bc65fd473a1b7b98f4011d8a147f42eb8175ed7b736746034f9157573fd86"
},
{
"rel": "item",
"href": "./BE39_10000_0102.json",
"type": "application/json",
"file:checksum": "1220a37a485fa1062b568f093d0b2705062054060a2a52f6b4ddfc058e417737c6b7"
},
{
"rel": "item",
"href": "./BE40_10000_0304.json",
"type": "application/json",
"file:checksum": "1220e78e31bc0313f33125a4f542bd463be44427a36a797b662101df8585de3c6ba1"
},
{
"rel": "item",
"href": "./BE40_10000_0305.json",
"type": "application/json",
"file:checksum": "1220564793946f847d2e66244df7b14cb051f67cf8b85fe87c69083e90cc2e3e2bf2"
},
{
"rel": "item",
"href": "./BE40_10000_0401.json",
"type": "application/json",
"file:checksum": "122050243de9f3ed6a95ff377db6f5c1fe36f154ba2d0112a943b5d49e54165b2a80"
},
{
"rel": "item",
"href": "./BE40_10000_0402.json",
"type": "application/json",
"file:checksum": "1220556aa8de183726cd5cee9af410872e161e1914b91827b59b9f17c756f081ddf8"
},
{
"rel": "item",
"href": "./BE40_10000_0403.json",
"type": "application/json",
"file:checksum": "1220ec6358ccb168ce68b9fd36da7b16f7bde2810ffaa4cbf0e6f5f8441a7eae643b"
},
{
"rel": "item",
"href": "./BE40_10000_0404.json",
"type": "application/json",
"file:checksum": "1220da20e5584687a65b3f76e11eb1495ac2276ebcd95b9f1fb4d83d7f6c677a07ac"
},
{
"rel": "item",
"href": "./BE40_10000_0405.json",
"type": "application/json",
"file:checksum": "122094d8f9a3fd1c57b4c55db76a0ddb0cdd9470ea859a7f86f4e1271b995471fa82"
},
{
"rel": "item",
"href": "./BE41_10000_0301.json",
"type": "application/json",
"file:checksum": "12204c95ec7dd39694aa055ffd330461fdece70609ea32583e1af76ab482132f124a"
},
{
"rel": "item",
"href": "./BE41_10000_0302.json",
"type": "application/json",
"file:checksum": "122088281d7a52bbd8f46fdb0a921aac269b6993f0623d32c5597fc9a8885ee59b53"
},
{
"rel": "item",
"href": "./BE41_10000_0303.json",
"type": "application/json",
"file:checksum": "1220a9732f65ca055b0b0e028a6b11e1caaf8f1c6fb8565c4aeb3455e2090beac15c"
},
{
"rel": "item",
"href": "./BE39_10000_0104.json",
"type": "application/json",
"file:checksum": "12207a76ca07ea549a962693e6b853677091f7e0c296836344f3e268b4d822196558"
},
{
"rel": "item",
"href": "./BE41_10000_0304.json",
"type": "application/json",
"file:checksum": "1220f51d74b8677131c0a29aa4c1374496c6a68ff1d28dfe0b096d30458e855a53b1"
},
{
"rel": "item",
"href": "./BE41_10000_0401.json",
"type": "application/json",
"file:checksum": "12201d5b2defb3d607c986e6d48adb069397702b5af4de7d3804d5a90768d223d5cf"
},
{
"rel": "item",
"href": "./BE39_10000_0103.json",
"type": "application/json",
"file:checksum": "12206233798d7e81d89c96b32470e241935ba7f2fbca4816501080f911149fb60a3b"
},
{
"rel": "item",
"href": "./BE40_10000_0101.json",
"type": "application/json",
"file:checksum": "12200844cd84b3cd012d3f8ffa6c1c89e339e95ab02e7c9306ab773141ae2cc12d27"
},
{
"rel": "item",
"href": "./BE41_10000_0402.json",
"type": "application/json",
"file:checksum": "1220e03841a79df731cbf8d20b8c5198c99be9c401f0f620154749ef3073f5ee4eb5"
},
{
"rel": "item",
"href": "./BE39_10000_0202.json",
"type": "application/json",
"file:checksum": "122081cb88a6f57fe1a1f1b46fccf1a9a82d3d3da44320479f20cfbf473e8e853d81"
},
{
"rel": "item",
"href": "./BE39_10000_0404.json",
"type": "application/json",
"file:checksum": "12206d3155bb74f61cb0025197f1143469c4ece0ac4cd6cd64f313f778603ee6e4e0"
},
{
"rel": "item",
"href": "./BE39_10000_0303.json",
"type": "application/json",
"file:checksum": "1220324d411edf04ff90bdadd7680b70aa278b106a665b7b7ea2159d63a0df5cc39d"
},
{
"rel": "item",
"href": "./BE39_10000_0203.json",
"type": "application/json",
"file:checksum": "1220e1ba1a83795e60458433958519e4edb1c2d0c7c3734a3c84990ee4b5e04c839b"
},
{
"rel": "item",
"href": "./BE41_10000_0403.json",
"type": "application/json",
"file:checksum": "122080c421826ec625c00ef9282238dbe233590ec274a6c2b6196217b8a4289a2d0a"
},
{
"rel": "item",
"href": "./BE39_10000_0105.json",
"type": "application/json",
"file:checksum": "122068b2211e3c9255be5cf38a44415dc9cc38911c88311d48c76c16f94418030a43"
},
{
"rel": "item",
"href": "./BE39_10000_0201.json",
"type": "application/json",
"file:checksum": "122050d092b87d8dd17fe40c0a96702be3f960bab90f93edaea62954b7ba2111e0f9"
},
{
"rel": "item",
"href": "./BE39_10000_0204.json",
"type": "application/json",
"file:checksum": "1220d7a11853c6954590c25ee30923aef211b97b48b7a058516878a32a1952b3d1db"
},
{
"rel": "item",
"href": "./BE39_10000_0302.json",
"type": "application/json",
"file:checksum": "12205272dd9c4af2d7f633ce047759edc3917891893d9c07b0e69ccf6fb64d85d929"
},
{
"rel": "item",
"href": "./BE40_10000_0301.json",
"type": "application/json",
"file:checksum": "12203eeb58e72420a1efa91b7577b9221850b8228fefd794aa7a70a4b0ee8bd9db94"
},
{
"rel": "item",
"href": "./BE39_10000_0304.json",
"type": "application/json",
"file:checksum": "1220b67ebb5ef7b0c35e3f71259712f571a663089de8fe9012fc19448e4326f9ecdd"
},
{
"rel": "item",
"href": "./BE40_10000_0203.json",
"type": "application/json",
"file:checksum": "1220edd5d757ce35773c6fd03785466a4275136844c33104d1e3ed4bd5b4cd7c63cf"
},
{
"rel": "item",
"href": "./BE39_10000_0402.json",
"type": "application/json",
"file:checksum": "12204570091f05fbba5e21ed7dc52bcd39b38e5101e8045f1abad4c34ec12bd9300e"
},
{
"rel": "item",
"href": "./BE39_10000_0403.json",
"type": "application/json",
"file:checksum": "1220bd2240ddcab95c909f0230dfbebdfd3d60791e0e84e24b5eb08077358641c8d5"
},
{
"rel": "item",
"href": "./BE40_10000_0204.json",
"type": "application/json",
"file:checksum": "1220c683c43cf34a8d4159d5f3ca27394a92b18b30475c3b5e08a507fca20ca732a6"
},
{
"rel": "item",
"href": "./BE40_10000_0303.json",
"type": "application/json",
"file:checksum": "1220858805b795aa7f30982afcf64a720085b60a905d8a343b236c10d3ce7f8cbd38"
},
{
"rel": "item",
"href": "./BE40_10000_0302.json",
"type": "application/json",
"file:checksum": "12201666524a259271317440963f4e98973abdf15a874a96450191f3bc903cc7d0f4"
},
{
"rel": "item",
"href": "./BE39_10000_0205.json",
"type": "application/json",
"file:checksum": "122098da3b207c43d5c3493c3b33b1eb11ca8ce908a94097437fade6d74a5b8bc8bb"
},
{
"rel": "item",
"href": "./BE40_10000_0202.json",
"type": "application/json",
"file:checksum": "12204c1f699513661d1b28d9158af792476fec536098eb7d70dff386a1529833779d"
},
{
"rel": "item",
"href": "./BE39_10000_0405.json",
"type": "application/json",
"file:checksum": "12204d6d412c5904ae89232a0793f739d77799b459f46447c3acc8e10e6366d53da3"
},
{
"rel": "item",
"href": "./BE39_10000_0305.json",
"type": "application/json",
"file:checksum": "1220252b98cb5333994179509cd8033d5e4ea5a07fcdc0e5e6cde917aa5646e047f4"
},
{
"rel": "item",
"href": "./BE40_10000_0201.json",
"type": "application/json",
"file:checksum": "1220f0d2bc12d46b3771c6765dcdeb5aa062c06cda84bf59396888741f151617e81f"
},
{
"rel": "item",
"href": "./BE41_10000_0404.json",
"type": "application/json",
"file:checksum": "12206e5c0a93754f4b53f2edfd25f8c8cf078f71b9cebfa892d9f14a34c1d2f099b4"
}
],
"providers": [
{ "name": "New Zealand Aerial Mapping", "roles": ["producer"] },
Expand All @@ -64,5 +269,8 @@
"extent": {
"spatial": { "bbox": [[176.683288, -38.1291928, 177.4609627, -37.8612063]] },
"temporal": { "interval": [["2001-01-03T11:00:00Z", "2001-01-03T11:00:00Z"]] }
}
},
"created": "2023-09-11T02:25:24Z",
"updated": "2024-11-14T01:59:24Z",
"stac_extensions": ["https://stac-extensions.github.io/file/v2.0.0/schema.json"]
}
Loading

0 comments on commit dc46627

Please sign in to comment.