diff --git a/fmtm_splitter/splitter.py b/fmtm_splitter/splitter.py index e73f5dd..77f60cc 100755 --- a/fmtm_splitter/splitter.py +++ b/fmtm_splitter/splitter.py @@ -256,6 +256,7 @@ def splitBySQL( # noqa: N802 "tags,geom FROM ways_line WHERE " f"ST_CONTAINS(ST_GeomFromGeoJson('{aoi_geom}'), geom)" ) + # FIXME params is redundant if using f-string, update temp_session.execute(view, params={"aoi_geom": aoi_geom}) # Run on db (required) temp_session.commit()