Commit ef88cf28 authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

optimisation SQL

parent 225bda23
......@@ -146,14 +146,14 @@ BEGIN
-- etape 3 : on insere (ou re-insere) tous les noeuds crées (ou modifiés)
INSERT INTO rv_nodes
(
SELECT DISTINCT
SELECT
n.id AS id,
get_height(ST_X(nodes.geom),ST_Y(nodes.geom)) AS height,
NULL::bigint AS cc,
nodes.geom AS geom
FROM
(
SELECT
SELECT DISTINCT
actions.id AS id
FROM
actions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment