Skip to content

Commit dc979e1

Browse files
landrybmdouchin
authored andcommitted
spatialite ne supporte pas les indexes spatiaux avec la syntaxe USING GIST()
corrige l'import dans spatialite
1 parent 35b1410 commit dc979e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cadastre/scripts/plugin/edigeo_formatage_donnees.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ AND ST_Intersects(ST_Centroid(s.geom), p.geom)
184184
;
185185
-- Suppression des indexes temporaires
186186
DROP INDEX ${PREFIXE}geo_batiment_annee_idx;
187-
DROP INDEX ${PREFIXE}geo_batiment_geom_idx;
188-
DROP INDEX ${PREFIXE}geo_parcelle_geom_idx;
187+
DROP INDEX IF EXISTS ${PREFIXE}geo_batiment_geom_idx;
188+
DROP INDEX IF EXISTS ${PREFIXE}geo_parcelle_geom_idx;
189189

190190
-- geo_zoncommuni
191191
INSERT INTO ${PREFIXE}geo_zoncommuni( annee, object_rid, tex, creat_date, update_dat, geom, lot)

0 commit comments

Comments
 (0)