This commit is contained in:
2025-09-14 17:46:21 +02:00
parent eeac8e72da
commit 8eaa75ba5f
7 changed files with 86 additions and 106 deletions

View File

@@ -5,7 +5,8 @@ create table point (
geom geometry(point, 4326) not null
);
create index idx_point_geom on point using gist (geom);
create index idx_point_geom
on point using gist (geom);
create table route (
id serial primary key,
@@ -15,7 +16,8 @@ create table route (
longueur double precision
);
create index idx_route_geom on route using gist (geom);
create index idx_route_geom
on route using gist (geom);
create or replace function maj_longueur()
returns trigger as $$