From 12ff60a06f32b57f7b8c461b573c7730f913687c Mon Sep 17 00:00:00 2001 From: Adam Scarberry <46494851+adamscarberry@users.noreply.github.com> Date: Sun, 3 Mar 2024 19:32:56 -0500 Subject: [PATCH] add migration to fix watershed extents (#462) --- sql/common/V2.35.0__fix_SPN_Alameda_watershed.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sql/common/V2.35.0__fix_SPN_Alameda_watershed.sql diff --git a/sql/common/V2.35.0__fix_SPN_Alameda_watershed.sql b/sql/common/V2.35.0__fix_SPN_Alameda_watershed.sql new file mode 100644 index 00000000..12cc0603 --- /dev/null +++ b/sql/common/V2.35.0__fix_SPN_Alameda_watershed.sql @@ -0,0 +1,4 @@ +-- xmin,ymax (top left), xmax ymax (top right), xmax ymin (bottom right), xmin ymin (bottom left), xmin ymax (top left again) +UPDATE watershed + SET geometry = ST_GeomFromText('POLYGON ((-2267700 1961500, -2192100 1961500, -2192100 1869000, -2267700 1869000, -2267700 1961500))',5070) +WHERE id = '965e523a-08b4-4567-8b9f-4ac8882fb0e1'; \ No newline at end of file