Fix f-string for OGR provider query bbox (#1069)

This commit is contained in:
Nick Forbes-Smith
2022-12-15 06:07:21 +11:00
committed by GitHub
parent 74509452f9
commit 694fa7a942
+1 -1
View File
@@ -324,7 +324,7 @@ class OGRProvider(BaseProvider):
minx, miny, maxx, maxy = [float(b) for b in bbox]
wkt = f"POLYGON (({minx} {miny},{minx} {maxy},{maxx} {maxy}," \
"{maxx} {miny},{minx} {miny}))"
f"{maxx} {miny},{minx} {miny}))"
polygon = self.ogr.CreateGeometryFromWkt(wkt)
if self.transform_in: