Skip to content

Commit

Permalink
fix: tidy historical imagery examples TDE-338 (#222)
Browse files Browse the repository at this point in the history
* fix: tidy historical imagery examples

* fix: stac_extensions ordering in historical imagery collection
  • Loading branch information
amfage authored Mar 30, 2022
1 parent aebe081 commit 55e6de6
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 80 deletions.
78 changes: 37 additions & 41 deletions extensions/historical-imagery/examples/collection.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,39 @@
{
"type": "Collection",
"id": "01FJ0SE46TT5TGBHBVX64TMEPA",
"stac_version": "1.0.0",
"description": "Survey 399 of the Crown Aerial Film Archive",
"links": [
{
"rel": "root",
"href": "./collection.json",
"type": "application/json",
"title": "NEW ZEALAND (MAINLAND)"
},
{
"rel": "item",
"href": "./item.json",
"type": "application/json",
"title": "NEW ZEALAND (MAINLAND)"
}
],
"stac_extensions": [
"https://stac.linz.govt.nz/_STAC_VERSION_/historical-imagery/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/linz/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/quality/schema.json",
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
"https://stac-extensions.github.io/file/v2.0.0/schema.json",
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
"https://stac-extensions.github.io/version/v1.0.0/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/aerial-photo/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/camera/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/film/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/historical-imagery/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/linz/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/quality/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/scanning/schema.json"
],
"id": "01FJ0SE46TT5TGBHBVX64TMEPA",
"title": "399",
"description": "Survey 399 of the Crown Aerial Film Archive",
"license": "CC-BY-4.0",
"extent": {
"spatial": {
"bbox": [[170.54524, -45.80237, 170.56431, -45.81345]]
},
"temporal": {
"interval": [["1947-03-28T12:00:00Z", "1952-04-22T12:00:00Z"]]
}
},
"version": "1",
"linz:security_classification": "unclassified",
"linz:lifecycle": "completed",
"linz:history": "LINZ and its predecessors, Lands & Survey and Department of Survey and Land Information (DOSLI), commissioned aerial photography for the Crown between 1936 and 2008.\nOne of the predominant uses of the aerial photography at the time was the photogrammetric mapping of New Zealand, initially at 1inch to 1mile followed by the NZMS 260 and Topo50 map series at 1:50,000.\nThese photographs were scanned through the Crown Aerial Film Archive scanning project.",
"linz:lifecycle": "completed",
"quality:description": "The spatial extents provided are only an approximate coverage for the ungeoreferenced aerial photographs.",
"linz:providers": [
{
Expand All @@ -53,6 +58,16 @@
"maximum": "2021-12-09T00:04:09Z"
}
},
"title": "NEW ZEALAND (MAINLAND)",
"extent": {
"spatial": {
"bbox": [[170.54524, -45.80237, 170.56431, -45.81345]]
},
"temporal": {
"interval": [["1947-03-28T12:00:00Z", "1952-04-22T12:00:00Z"]]
}
},
"license": "CC-BY-4.0",
"providers": [
{
"name": "NZ Aerial Mapping",
Expand All @@ -66,11 +81,13 @@
"url": "https://www.linz.govt.nz/about-linz/what-were-doing/projects/crown-aerial-film-archive-historical-imagery-scanning-project"
}
],
"version": "1",
"summaries": {
"mission": ["399"],
"platform": ["Fixed-wing Aircraft"],
"instruments": ["EAGLE IV"],
"mission": ["399"],
"film:id": ["464", "465", "466", "470", "476", "486", "577", "579", "580", "728", "731", "732"],
"film:physical_condition": ["Film scratched", "NOT 10/03/1949", "NOT 16/04/1947"],
"film:physical_size": ["18cm x 23cm"],
"aerial-photo:run": [
"E",
"F",
Expand Down Expand Up @@ -107,16 +124,7 @@
"Static",
"Top of frame fogged, No instrument panel"
],
"film:id": ["464", "465", "466", "470", "476", "486", "577", "579", "580", "728", "731", "732"],
"film:physical_condition": ["Film scratched", "NOT 10/03/1949", "NOT 16/04/1947"],
"film:physical_size": ["18cm x 23cm"],
"scan:is_original": [true, false],
"eo:bands": [
{
"name": "gray",
"common_name": "pan"
}
],
"scan:scanned": {
"minimum": "2018-06-30T12:00:00Z",
"maximum": "2019-12-31T11:00:00Z"
Expand Down Expand Up @@ -146,17 +154,5 @@
"minimum": 1,
"maximum": 184
}
},
"links": [
{
"rel": "root",
"href": "./collection.json",
"type": "application/json"
},
{
"rel": "item",
"href": "./item.json",
"type": "application/json"
}
]
}
}
86 changes: 47 additions & 39 deletions extensions/historical-imagery/examples/item.json
Original file line number Diff line number Diff line change
@@ -1,80 +1,88 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_extensions": [
"https://stac.linz.govt.nz/_STAC_VERSION_/historical-imagery/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/linz/schema.json",
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
"https://stac-extensions.github.io/file/v2.0.0/schema.json",
"https://stac-extensions.github.io/version/v1.0.0/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/aerial-photo/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/camera/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/film/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/scanning/schema.json"
],
"id": "215354",
"bbox": [170.54524, -45.80237, 170.56431, -45.81345],
"geometry": {
"type": "Polygon",
"coordinates": [
[
[170.54524, -45.80237],
[170.56476, -45.80277],
[170.56431, -45.81345],
[170.54479, -45.81305],
[170.54524, -45.80237]
]
]
},
"properties": {
"datetime": "1949-03-09T12:00:00Z",
"version": "1",
"mission": "399",
"platform": "Fixed-wing Aircraft",
"instruments": ["EAGLE IV"],
"mission": "399",
"proj:epsg": 4167,
"proj:centroid": { "lat": -45.8284, "lon": 170.4842 },
"aerial-photo:run": "H",
"aerial-photo:altitude": 11000,
"aerial-photo:scale": 6600,
"aerial-photo:sequence_number": 39,
"aerial-photo:anomalies": "Cloud, Chemical stain",
"aerial-photo:altitude": 11000,
"aerial-photo:scale": 6600,
"camera:sequence_number": 58064,
"camera:nominal_focal_length": 508,
"film:id": "579",
"film:negative_sequence": 34,
"film:physical_condition": "Film scratched",
"film:physical_size": "18cm x 23cm",
"proj:centroid": { "lat": -45.8284, "lon": 170.4842 },
"proj:epsg": 4167,
"scan:is_original": true,
"scan:scanned": "2018-09-30T11:00:00Z",
"version": "1"
"datetime": "1949-03-09T12:00:00Z"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[170.54524, -45.80237],
[170.56476, -45.80277],
[170.56431, -45.81345],
[170.54479, -45.81305],
[170.54524, -45.80237]
]
]
},
"links": [
{
"rel": "collection",
"rel": "root",
"href": "./collection.json",
"type": "application/json"
"type": "application/json",
"title": "NEW ZEALAND (MAINLAND)"
},
{
"rel": "item",
"href": "./item.json",
"type": "application/json"
"rel": "parent",
"href": "./collection.json",
"type": "application/json",
"title": "NEW ZEALAND (MAINLAND)"
},
{
"rel": "collection",
"href": "./collection.json",
"type": "application/json",
"title": "NEW ZEALAND (MAINLAND)"
}
],
"assets": {
"visual": {
"href": "./215354.tiff",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"file:checksum": "1220b7deb18ad9dc6f3f94df60c26dd235a019946b8b6b7d1a36f100a8f9f1889130",
"eo:bands": [
{
"name": "gray",
"common_name": "pan"
}
],
"created": "2021-12-09T00:04:09Z",
"updated": "2021-12-09T00:04:09Z"
"updated": "2021-12-09T00:04:09Z",
"file:checksum": "1220b7deb18ad9dc6f3f94df60c26dd235a019946b8b6b7d1a36f100a8f9f1889130"
}
},
"bbox": [170.54524, -45.80237, 170.56431, -45.81345],
"stac_extensions": [
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
"https://stac-extensions.github.io/file/v2.0.0/schema.json",
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
"https://stac-extensions.github.io/version/v1.0.0/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/aerial-photo/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/camera/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/film/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/historical-imagery/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/linz/schema.json",
"https://stac.linz.govt.nz/_STAC_VERSION_/scanning/schema.json"
],
"collection": "01FJ0SE46TT5TGBHBVX64TMEPA"
}

0 comments on commit 55e6de6

Please sign in to comment.