Mercurial > gemma
annotate schema/updates/1204/04.publish.sql @ 5559:ce9a9a1bf92f
Make invalid output of ISRSrange_area() less likely, next try
Since ST_MakeValid() might return a collection of lower-to-equal dimension
geometries, distill only the polygons from it. This should prevent
respective errors when trying to save the result to a column of type
MultiPolygon.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 02 Dec 2021 12:37:33 +0100 |
parents | 0b01fd83bc3b |
children |
rev | line source |
---|---|
4583
0b01fd83bc3b
Added views for sounding differences.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1 INSERT INTO sys_admin.published_services (name) |
0b01fd83bc3b
Added views for sounding differences.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2 VALUES ('waterway.sounding_results_areas_geoserver'::regclass) |
0b01fd83bc3b
Added views for sounding differences.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3 ON CONFLICT (name) DO NOTHING; |
0b01fd83bc3b
Added views for sounding differences.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
4 INSERT INTO sys_admin.published_services (name) |
0b01fd83bc3b
Added views for sounding differences.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
5 VALUES ('waterway.sounding_differences'::regclass) |
0b01fd83bc3b
Added views for sounding differences.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
6 ON CONFLICT (name) DO NOTHING; |