Skip to content

Commit

Permalink
support vector cube in buffer_vector
Browse files Browse the repository at this point in the history
  • Loading branch information
jdries committed Mar 29, 2023
1 parent 4eb2b0d commit 1d98c88
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openeo_driver/ProcessGraphDeserializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,10 @@ def vector_buffer(args: Dict, env: EvalEnv) -> dict:
buffer_resolution = 3

# TODO #114 EP-3981 convert `geometry` to vector cube and move buffer logic to there
if isinstance(geometry, str):
if isinstance(geometry,DriverVectorCube):
geoms = geometry.get_geometries()
input_crs = geometry.get_crs()
elif isinstance(geometry, str):
_check_geometry_path_assumption(
path=geometry, process="vector_buffer", parameter="geometry"
)
Expand Down

0 comments on commit 1d98c88

Please sign in to comment.