Skip to content

Commit ac5237f

Browse files
committed
Update test data to STAC 1.0.0-rc.4
Also remove/change tests in test_item that were dependent on an incorrect self link that was removed during migration
1 parent 3fc2a6a commit ac5237f

File tree

139 files changed

+18757
-18787
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+18757
-18787
lines changed

tests/data-files/catalogs/cbers-partial/CBERS4AWFI/collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Collection",
33
"id": "CBERS4AWFI",
4-
"stac_version": "1.0.0-rc.3",
4+
"stac_version": "1.0.0-rc.4",
55
"description": "CBERS4 AWFI camera catalog",
66
"links": [
77
{

tests/data-files/catalogs/cbers-partial/CBERS4MUX/collection.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Collection",
33
"id": "CBERS4MUX",
4-
"stac_version": "1.0.0-rc.3",
4+
"stac_version": "1.0.0-rc.4",
55
"description": "CBERS4 MUX camera catalog",
66
"links": [
77
{
@@ -16,8 +16,7 @@
1616
}
1717
],
1818
"stac_extensions": [
19-
"eo",
20-
"item-assets"
19+
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json"
2120
],
2221
"providers": [
2322
{

tests/data-files/catalogs/cbers-partial/CBERS4PAN10M/collection.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Collection",
33
"id": "CBERS4PAN10M",
4-
"stac_version": "1.0.0-rc.3",
4+
"stac_version": "1.0.0-rc.4",
55
"description": "CBERS4 PAN10M camera catalog",
66
"links": [
77
{
@@ -16,8 +16,7 @@
1616
}
1717
],
1818
"stac_extensions": [
19-
"eo",
20-
"item-assets"
19+
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json"
2120
],
2221
"providers": [
2322
{

tests/data-files/catalogs/cbers-partial/CBERS4PAN5M/collection.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Collection",
33
"id": "CBERS4PAN5M",
4-
"stac_version": "1.0.0-rc.3",
4+
"stac_version": "1.0.0-rc.4",
55
"description": "CBERS4 PAN5M camera catalog",
66
"links": [
77
{
@@ -16,8 +16,7 @@
1616
}
1717
],
1818
"stac_extensions": [
19-
"eo",
20-
"item-assets"
19+
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json"
2120
],
2221
"providers": [
2322
{

tests/data-files/catalogs/cbers-partial/catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Catalog",
33
"id": "CBERS4",
4-
"stac_version": "1.0.0-rc.3",
4+
"stac_version": "1.0.0-rc.4",
55
"description": "Catalogs of CBERS-4 mission's imagery on AWS",
66
"links": [
77
{

tests/data-files/catalogs/test-case-1/catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Catalog",
33
"id": "test",
4-
"stac_version": "1.0.0-rc.3",
4+
"stac_version": "1.0.0-rc.4",
55
"description": "test catalog",
66
"links": [
77
{
Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,70 @@
11
{
2-
"type": "Feature",
3-
"stac_version": "1.0.0-rc.3",
4-
"id": "area-1-1-imagery",
5-
"properties": {
6-
"datetime": "2019-10-04T18:55:37Z"
7-
},
8-
"geometry": {
9-
"type": "Polygon",
10-
"coordinates": [
11-
[
12-
[
13-
-2.5048828125,
14-
3.8916575492899987
15-
],
16-
[
17-
-1.9610595703125,
18-
3.8916575492899987
19-
],
20-
[
21-
-1.9610595703125,
22-
4.275202171119132
23-
],
24-
[
25-
-2.5048828125,
26-
4.275202171119132
27-
],
28-
[
29-
-2.5048828125,
30-
3.8916575492899987
31-
]
32-
]
2+
"type": "Feature",
3+
"stac_version": "1.0.0-rc.4",
4+
"id": "area-1-1-imagery",
5+
"properties": {
6+
"datetime": "2019-10-04T18:55:37Z"
7+
},
8+
"geometry": {
9+
"type": "Polygon",
10+
"coordinates": [
11+
[
12+
[
13+
-2.5048828125,
14+
3.8916575492899987
15+
],
16+
[
17+
-1.9610595703125,
18+
3.8916575492899987
19+
],
20+
[
21+
-1.9610595703125,
22+
4.275202171119132
23+
],
24+
[
25+
-2.5048828125,
26+
4.275202171119132
27+
],
28+
[
29+
-2.5048828125,
30+
3.8916575492899987
3331
]
32+
]
33+
]
34+
},
35+
"links": [
36+
{
37+
"rel": "collection",
38+
"href": "../collection.json",
39+
"type": "application/json"
40+
},
41+
{
42+
"rel": "root",
43+
"href": "../../../catalog.json",
44+
"type": "application/json"
3445
},
35-
"links": [
36-
{
37-
"rel": "collection",
38-
"href": "../collection.json",
39-
"type": "application/json"
40-
},
41-
{
42-
"rel": "root",
43-
"href": "../../../catalog.json",
44-
"type": "application/json"
45-
},
46-
{
47-
"rel": "parent",
48-
"href": "../collection.json",
49-
"type": "application/json"
50-
}
51-
],
52-
"assets": {
53-
"ortho": {
54-
"href": "http://example.com/area-1-1_ortho.tif",
55-
"type": "image/vnd.stac.geotiff"
56-
},
57-
"dsm": {
58-
"href": "http://example.com/area-1-1_dsm.tif",
59-
"type": "image/vnd.stac.geotiff"
60-
}
46+
{
47+
"rel": "parent",
48+
"href": "../collection.json",
49+
"type": "application/json"
50+
}
51+
],
52+
"assets": {
53+
"ortho": {
54+
"href": "http://example.com/area-1-1_ortho.tif",
55+
"type": "image/vnd.stac.geotiff"
6156
},
62-
"bbox": [
63-
-2.5048828125,
64-
3.8916575492899987,
65-
-1.9610595703125,
66-
3.8916575492899987
67-
],
68-
"stac_extensions": [],
69-
"collection": "area-1-1"
57+
"dsm": {
58+
"href": "http://example.com/area-1-1_dsm.tif",
59+
"type": "image/vnd.stac.geotiff"
60+
}
61+
},
62+
"bbox": [
63+
-2.5048828125,
64+
3.8916575492899987,
65+
-1.9610595703125,
66+
3.8916575492899987
67+
],
68+
"stac_extensions": [],
69+
"collection": "area-1-1"
7070
}
Lines changed: 84 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,93 @@
11
{
2-
"type": "Feature",
3-
"stac_version": "1.0.0-rc.3",
4-
"id": "area-1-1-labels",
5-
"properties": {
6-
"datetime": "2019-10-04T18:55:37Z",
7-
"label:description": "labels for area-1-1",
8-
"label:type": "vector",
9-
"label:properties": [
10-
"label"
2+
"type": "Feature",
3+
"stac_version": "1.0.0-rc.4",
4+
"id": "area-1-1-labels",
5+
"properties": {
6+
"datetime": "2019-10-04T18:55:37Z",
7+
"label:description": "labels for area-1-1",
8+
"label:type": "vector",
9+
"label:properties": [
10+
"label"
11+
],
12+
"label:classes": [
13+
{
14+
"name": "label",
15+
"classes": [
16+
"one",
17+
"two"
18+
]
19+
}
20+
],
21+
"label:tasks": [
22+
"classification"
23+
],
24+
"label:methods": [
25+
"manual"
26+
]
27+
},
28+
"geometry": {
29+
"type": "Polygon",
30+
"coordinates": [
31+
[
32+
[
33+
-2.5048828125,
34+
3.8916575492899987
35+
],
36+
[
37+
-1.9610595703125,
38+
3.8916575492899987
1139
],
12-
"label:classes": [
13-
{
14-
"name": "label",
15-
"classes": [
16-
"one",
17-
"two"
18-
]
19-
}
40+
[
41+
-1.9610595703125,
42+
4.275202171119132
2043
],
21-
"label:tasks": [
22-
"classification"
44+
[
45+
-2.5048828125,
46+
4.275202171119132
2347
],
24-
"label:methods": [
25-
"manual"
48+
[
49+
-2.5048828125,
50+
3.8916575492899987
2651
]
52+
]
53+
]
54+
},
55+
"links": [
56+
{
57+
"rel": "source",
58+
"href": "../area-1-1-imagery/area-1-1-imagery.json",
59+
"type": "application/json"
2760
},
28-
"geometry": {
29-
"type": "Polygon",
30-
"coordinates": [
31-
[
32-
[
33-
-2.5048828125,
34-
3.8916575492899987
35-
],
36-
[
37-
-1.9610595703125,
38-
3.8916575492899987
39-
],
40-
[
41-
-1.9610595703125,
42-
4.275202171119132
43-
],
44-
[
45-
-2.5048828125,
46-
4.275202171119132
47-
],
48-
[
49-
-2.5048828125,
50-
3.8916575492899987
51-
]
52-
]
53-
]
61+
{
62+
"rel": "collection",
63+
"href": "../collection.json",
64+
"type": "application/json"
5465
},
55-
"links": [
56-
{
57-
"rel": "source",
58-
"href": "../area-1-1-imagery/area-1-1-imagery.json",
59-
"type": "application/json"
60-
},
61-
{
62-
"rel": "collection",
63-
"href": "../collection.json",
64-
"type": "application/json"
65-
},
66-
{
67-
"rel": "root",
68-
"href": "../../../catalog.json",
69-
"type": "application/json"
70-
},
71-
{
72-
"rel": "parent",
73-
"href": "../collection.json",
74-
"type": "application/json"
75-
}
76-
],
77-
"assets": {
78-
"labels": {
79-
"href": "http://example.com/area-1-1-labels.geojson",
80-
"type": "application/geo+json"
81-
}
66+
{
67+
"rel": "root",
68+
"href": "../../../catalog.json",
69+
"type": "application/json"
8270
},
83-
"bbox": [
84-
-2.5048828125,
85-
3.8916575492899987,
86-
-1.9610595703125,
87-
3.8916575492899987
88-
],
89-
"stac_extensions": [
90-
"https://stac-extensions.github.io/label/v1.0.0/schema.json"
91-
],
92-
"collection": "area-1-1"
71+
{
72+
"rel": "parent",
73+
"href": "../collection.json",
74+
"type": "application/json"
75+
}
76+
],
77+
"assets": {
78+
"labels": {
79+
"href": "http://example.com/area-1-1-labels.geojson",
80+
"type": "application/geo+json"
81+
}
82+
},
83+
"bbox": [
84+
-2.5048828125,
85+
3.8916575492899987,
86+
-1.9610595703125,
87+
3.8916575492899987
88+
],
89+
"stac_extensions": [
90+
"https://stac-extensions.github.io/label/v1.0.0/schema.json"
91+
],
92+
"collection": "area-1-1"
9393
}

0 commit comments

Comments
 (0)