This commit is contained in:
2025-09-06 08:11:37 +02:00
parent a5ccc59922
commit 1dd6df1a98
3 changed files with 111 additions and 106 deletions

View File

@@ -1,8 +1,8 @@
create table point (
id serial primary key,
nom text not null,
id serial primary key,
nom text not null,
altitude double precision,
geom geometry(point, 4326) not null
geom geometry(point, 4326) not null
);
create index idx_point_geom on point using gist (geom);
@@ -41,9 +41,9 @@ create table route_cout (
);
create table zone (
id serial primary key,
id serial primary key,
nom text,
geom geometry(polygon, 4326) -- on choisit srid 4326 (wgs84)
geom geometry(polygon, 4326) -- on choisit srid 4326 (wgs84)
);
-- ************************************************************