Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| obj_id | varchar | 16 | tdh_app.generate_oid('tdh_od'::text, 'structure'::text) |
|
|
INTERLIS STANDARD OID (with Postfix/Präfix), see www.interlis.ch |
|||||
| name_number | text | 2147483647 | √ | null |
|
|
/ z.B. Bauwerksname / par ex. nom de l’ouvrage |
||||
| geometry3d_geometry | geometry | 2147483647 | √ | null |
|
|
yyyy_geschlossener Linienzug, Stützpunkte in Landeskoordinaten / geschlossener Linienzug, Stützpunkte in Landeskoordinaten / polyligne fermée avec points d’appui en coordonnées nationales |
||||
| horizontal_positioning | int4 | 10 | √ | null |
|
|
|||||
| status | int4 | 10 | √ | null |
|
|
|||||
| network_area | text | 2147483647 | √ | null |
|
|
/ Ortsbezeichnung / désignation du lieu |
||||
| kind | int4 | 10 | √ | null |
|
|
|||||
| structure_sur_plus_cover | numeric | 4,1 | √ | null |
|
|
/ Mittlere Überdeckung / valeur moyenne de l’objet |
||||
| installation_year | int2 | 5 | √ | null |
|
|
|||||
| venting | int4 | 10 | √ | null |
|
|
|||||
| discharge_type | int4 | 10 | √ | null |
|
|
|||||
| grid_type | int4 | 10 | √ | null |
|
|
|||||
| drainage_pump | int4 | 10 | √ | null |
|
|
|||||
| power_connection | int4 | 10 | √ | null |
|
|
|||||
| measuring_system | int4 | 10 | √ | null |
|
|
|||||
| condition | int4 | 10 | √ | null |
|
|
|||||
| schema_indication | text | 2147483647 | √ | null |
|
|
|||||
| last_maintenance | timestamp | 29,6 | √ | null |
|
|
|||||
| documentation | text | 2147483647 | √ | null |
|
|
/ z.B. Dossiernummer / par ex. numéro de dossier |
||||
| mandate | text | 2147483647 | √ | null |
|
|
/ z.B. Auftragsnummer / par ex. numéro du mandat |
||||
| pps | text | 2147483647 | √ | null |
|
|
Power plant marking system no. / Kraftwerk Kennzeichnung System Nr. / n° du système d’identification des centrales |
||||
| remark | text | 2147483647 | √ | null |
|
|
General remarks |
||||
| upper_elevation | numeric | 7,3 | √ | null |
|
|
|||||
| depth | int2 | 5 | √ | null |
|
|
|||||
| bottom_level | numeric | 7,3 | √ | null |
|
|
|||||
| last_modification | timestamp | 29,6 | √ | now() |
|
|
Last modification / Letzte_Aenderung / Derniere_modification: INTERLIS_1_DATE |
||||
| fk_dataowner | varchar | 16 | √ | null |
|
|
Foreignkey to Metaattribute dataowner (as an organisation) - this is the person or body who is allowed to delete, change or maintain this object / Metaattribut Datenherr ist diejenige Person oder Stelle, die berechtigt ist, diesen Datensatz zu löschen, zu ändern bzw. zu verwalten / Maître des données gestionnaire de données, qui est la personne ou l’organisation autorisée pour gérer, modifier ou supprimer les données de cette table/classe |
||||
| fk_provider | varchar | 16 | √ | null |
|
|
Foreignkey to Metaattribute provider (as an organisation) - this is the person or body who delivered the data / Metaattribut Datenlieferant ist diejenige Person oder Stelle, die die Daten geliefert hat / FOURNISSEUR DES DONNEES Organisation qui crée l’enregistrement de ces données |
||||
| fk_owner | varchar | 16 | √ | null |
|
|
|||||
| fk_construction_company | varchar | 16 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pkey_tdh_od_structure_obj_id | Primary key | Asc | obj_id |
| in_od_structure_name_number | Must be unique | Asc/Asc | name_number + fk_dataowner |
| in_tdh_structure_geometry3d_geometry | Performance | Asc | geometry3d_geometry |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| st_network_area_length_max_40 | ((char_length(network_area) <= 40)) |
| st_mandate_length_max_40 | ((char_length(mandate) <= 40)) |
| st_name_number_length_max_40 | ((char_length(name_number) <= 40)) |
| st_documentation_length_max_40 | ((char_length(documentation) <= 40)) |
| st_schema_indication_length_max_40 | ((char_length(schema_indication) <= 40)) |
| st_remark_length_max_80 | ((char_length(remark) <= 80)) |
| st_pps_length_max_40 | ((char_length(pps) <= 40)) |