From 84442385386eeb76284496f68365d2dd4e2f72e9 Mon Sep 17 00:00:00 2001 From: Richard Tia Date: Tue, 26 Sep 2023 10:43:08 -0700 Subject: [PATCH] fix: update return type --- extensions/functions_geometry.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/extensions/functions_geometry.yaml b/extensions/functions_geometry.yaml index 745d2a530..ea5f1e7fa 100644 --- a/extensions/functions_geometry.yaml +++ b/extensions/functions_geometry.yaml @@ -12,26 +12,26 @@ scalar_functions: a negative `buffer_radius` will always return an emtpy geometry. impls: - args: - - value: geometry - name: geom - - value: fp64 - name: buffer_radius - return: geometry + - name: geom + value: u!geometry + - name: buffer_radius + value: fp64 + return: u!geometry - name: "centroid" description: > Return a point which is the geometric center of mass of the input geometry. impls: - args: - - value: geometry - name: geom - return: geometry + - name: geom + value: u!geometry + return: u!geometry - name: "minimum_bounding_circle" description: > Return the smallest circle polygon that contains the input geometry. impls: - args: - - value: geometry - name: geom - return: geometry + - name: geom + value: u!geometry + return: u!geometry