annotate schema/updates/1204/04.publish.sql @ 5030:737d7859dd86

Store fairway dimensions as MultiPolygon This avoids storing a single invalid geometry from the data source as multiple valid geometries with duplicate attribute sets. The previous behaviour was not correctly handled in import tracking, because only the ID of the first item in a set of multiple geometries generated from a single entry from the data source was tracked.
author Tom Gottfried <tom@intevation.de>
date Wed, 18 Mar 2020 18:42:30 +0100
parents 0b01fd83bc3b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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;