GeoTIFF: Add red rectangle at GeoTIFF selected.

This commit is contained in:
parouby committed 2025-11-17 15:01:59 +01:00
1 parent 624ae826eb
commit f8a41fce08
2 files changed
+53 -5

No files matched your search

+4 -4
View File
@@ -116,13 +116,13 @@ class GeoTIFF(SQLSubModel):
self.read_file(value)
elif key == "coordinates":
self.coordinates = value
elif key == "coordinates_bottom":
elif key == "coordinates_bottom" or key == "bottom":
self.coordinates["bottom"] = value
elif key == "coordinates_top":
elif key == "coordinates_top" or key == "top":
self.coordinates["top"] = value
elif key == "coordinates_left":
elif key == "coordinates_left" or key == "left":
self.coordinates["left"] = value
elif key == "coordinates_right":
elif key == "coordinates_right" or key == "right":
self.coordinates["right"] = value
self.modified()