kaggle
This commit is contained in:
@@ -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 $$
|
||||
|
||||
Reference in New Issue
Block a user