route
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
-- ************************************************************
|
||||
|
||||
Reference in New Issue
Block a user