From e07d3e3f4ef260ecc16e6e84b514157251774e90 Mon Sep 17 00:00:00 2001 From: Alvaro Huarte Date: Thu, 3 Nov 2022 23:06:12 +0100 Subject: [PATCH] Remove unused imports --- geodataflow/pipeline/filters/RasterClip.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/geodataflow/pipeline/filters/RasterClip.py b/geodataflow/pipeline/filters/RasterClip.py index 5a34baf..d3cce4c 100644 --- a/geodataflow/pipeline/filters/RasterClip.py +++ b/geodataflow/pipeline/filters/RasterClip.py @@ -88,13 +88,10 @@ def run(self, data_store, processing_args): ] if clipping_geoms: - from shapely.wkt import loads as shapely_wkt_loads - from shapely.geometry import shape as shapely_shape from geodataflow.geoext.commonutils import GeometryUtils - schema_def = self.pipeline_args.schema_def - if self.srid: + schema_def = self.pipeline_args.schema_def source_crs = GeometryUtils.get_spatial_crs(self.srid) target_crs = GeometryUtils.get_spatial_crs(schema_def.srid) transform_fn = GeometryUtils.create_transform_function(source_crs, target_crs)