Schema
Owner
morellet
Tablespace
(default)
Descriptions
Table contenant les localisations et l assolement lorsque présent et les distances aux routes et batis
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
pos_id |
integer |
|
|
|
|||
|
cpos_id |
integer |
|
|
|
|
|
|
|
|
par_os |
varchar(30) |
|
|
|
|
|
|
|
par_grd_cat |
varchar(30) |
|
|
|
|
|
|
|
par_annee |
integer |
|
|
|
|
|
|
|
the_geom |
public.geometry |
|
|
|
|
|
|
|
distance_route |
numeric |
|
|
|
|
|
|
|
distance_bati |
numeric |
|
|
|
|
|
|
|
distance_bois |
numeric |
|
|
|
|
|
|
|
distance_haies |
numeric |
|
|
|
|
|
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
cpos_id |
cpos_id |
Cascade |
No Action |
|
Immediate |
|
Check Constraints
Name | Condition | Description |
---|---|---|
st_ndims(the_geom) = 2 |
|
|
(geometrytype(the_geom) = 'POINT'::text) OR (the_geom IS NULL) |
|
|
st_srid(the_geom) = 2154 |
|
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
pos_id |
|
|||
gist |
|
the_geom |
|
|
|
Triggers
There are no triggers for table t_attributs_all
Rules
There are no rules for table t_attributs_all
Policies
There are no policies for table t_attributs_all
Referenced
There are no tables referenced by table t_attributs_all
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
941796 |
Pages |
15435 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE "analyse".t_attributs_all (
pos_id INTEGER NOT NULL,
cpos_id INTEGER,
par_os VARCHAR(30),
par_grd_cat VARCHAR(30),
par_annee INTEGER,
the_geom public.geometry,
distance_route NUMERIC,
distance_bati NUMERIC,
distance_bois NUMERIC,
distance_haies NUMERIC,
CONSTRAINT attributs_all_pkey PRIMARY KEY(pos_id),
CONSTRAINT enforce_dims_the_geom CHECK (st_ndims(the_geom) = 2),
CONSTRAINT enforce_geotype_the_geom CHECK ((geometrytype(the_geom) = 'POINT'::text) OR (the_geom IS NULL)),
CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 2154),
CONSTRAINT c_fk_cpos_pos FOREIGN KEY (cpos_id)
REFERENCES public.t_campagne_pos_cpos(cpos_id)
ON DELETE CASCADE
ON UPDATE NO ACTION
NOT DEFERRABLE
)
WITH (oids = false);
COMMENT ON TABLE "analyse".t_attributs_all
IS 'Table contenant les localisations et l assolement lorsque présent et les distances aux routes et batis';
CREATE INDEX t_attributs_all_geom_gist ON "analyse".t_attributs_all
USING gist (the_geom public.gist_geometry_ops_2d);
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |