Skip to content

Commit

Permalink
#136 Update output schema of read_vector
Browse files Browse the repository at this point in the history
Eventually, `read_vector` or its official replacement will return vector cubes, but for now, "geojson object" is a more honest description of the return type
  • Loading branch information
soxofaan committed Oct 5, 2022
1 parent df47bae commit 5ad0c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openeo_driver/ProcessGraphDeserializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,7 @@ def apply_process(process_id: str, args: dict, namespace: Union[str, None], env:
"pattern": "^[^\r\n\\:'\"]+$",
},
])
.returns("TODO", schema={"type": "object", "subtype": "vector-cube"})
.returns("GeoJSON-style feature collection", schema={"type": "object", "subtype": "geojson"})
)
def read_vector(args: Dict, env: EvalEnv) -> DelayedVector:
# TODO #114 EP-3981: deprecated in favor of load_uploaded_files/load_external? https://github.com/Open-EO/openeo-processes/issues/322
Expand Down

0 comments on commit 5ad0c5e

Please sign in to comment.