Merge branch 'geographical-units/force-make-valid-during-import' into 'master'

Fix: make geographical units valid during imports

See merge request Chill-Projet/chill-bundles!524
This commit is contained in:
Julien Fastré 2023-04-25 12:34:21 +00:00
commit a539febcfe

View File

@ -207,7 +207,7 @@ final class GeographicalUnitBaseImporter
(id, geom, unitname, layer_id, unitrefid) (id, geom, unitname, layer_id, unitrefid)
SELECT SELECT
nextval('chill_main_geographical_unit_id_seq'), nextval('chill_main_geographical_unit_id_seq'),
geom, st_makevalid(geom),
unitName, unitName,
layer.id, layer.id,
unitKey unitKey