Skip to content

Commit

Permalink
algorithm catalog: OGC records (type Feature) require a "geometry" pr…
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Nov 18, 2024
1 parent 3a23c34 commit cd199d3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions algorithm_catalog/bap_composite.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"conformsTo": [
"http://www.opengis.net/spec/ogcapi-records-1/1.0/req/record-core"
],
"geometry": null,
"properties": {
"created": "2024-10-09T00:00:00Z",
"updated": "2024-10-09T00:00:00Z",
Expand Down
1 change: 1 addition & 0 deletions algorithm_catalog/eurac_pv_farm_detection.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"conformsTo": [
"http://www.opengis.net/spec/ogcapi-records-1/1.0/req/record-core"
],
"geometry": null,
"properties": {
"created": "2024-10-16T00:00:00Z",
"updated": "2024-10-16T00:00:00Z",
Expand Down
1 change: 1 addition & 0 deletions algorithm_catalog/max_ndvi_composite.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"conformsTo": [
"http://www.opengis.net/spec/ogcapi-records-1/1.0/req/record-core"
],
"geometry": null,
"properties": {
"created": "2024-09-06T00:00:00Z",
"updated": "2024-09-06T00:00:00Z",
Expand Down
1 change: 1 addition & 0 deletions algorithm_catalog/sentinel1_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"conformsTo": [
"http://www.opengis.net/spec/ogcapi-records-1/1.0/req/record-core"
],
"geometry": null,
"properties": {
"created": "2024-10-03T00:00:00Z",
"updated": "2024-10-03T00:00:00Z",
Expand Down
1 change: 1 addition & 0 deletions algorithm_catalog/worldcereal_inference.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"conformsTo": [
"http://www.opengis.net/spec/ogcapi-records-1/1.0/req/record-core"
],
"geometry": null,
"properties": {
"created": "2024-05-17T00:00:00Z",
"updated": "2024-05-17T00:00:00Z",
Expand Down
2 changes: 2 additions & 0 deletions qa/unittests/tests/test_algorithm_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def test_lint_algorithm_catalog_json_file(path):
in data["conformsTo"]
)

assert "geometry" in data

assert data["properties"]["type"] == "apex_algorithm"

assert "openeo-process" in {k["rel"] for k in data["links"]}
Expand Down

0 comments on commit cd199d3

Please sign in to comment.