Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| obj_id | varchar | 16 | tww_app.generate_oid('tww_od'::text, 'measuring_point'::text) |
|
|
INTERLIS STANDARD OID (with Postfix/Präfix), see www.interlis.ch |
|||||||||||
| damming_device | int4 | 10 | √ | null |
|
|
|||||||||||
| identifier | text | 2147483647 | √ | null |
|
|
|||||||||||
| kind | text | 2147483647 | √ | null |
|
|
yyy_Art der Untersuchungsstelle ( Regenmessungen, Abflussmessungen, etc.) / Art der Untersuchungsstelle ( Regenmessungen, Abflussmessungen, etc.) / Genre de mesure (mesures de pluviométrie, mesures de débit, etc.) |
||||||||||
| purpose | int4 | 10 | √ | null |
|
|
Purpose of measurement / Zweck der Messung / Objet de la mesure |
||||||||||
| remark | text | 2147483647 | √ | null |
|
|
General remarks / Allgemeine Bemerkungen / Remarques générales |
||||||||||
| situation_geometry | geometry | 2147483647 | √ | null |
|
|
National position coordinates (East, North) / Landeskoordinate Ost/Nord / Coordonnées nationales Est/Nord |
||||||||||
| 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_reference_station | varchar | 16 | √ | null |
|
|
|||||||||||
| fk_operator | varchar | 16 | √ | null |
|
|
|||||||||||
| fk_waste_water_treatment_plant | varchar | 16 | √ | null |
|
|
|||||||||||
| fk_wastewater_structure | varchar | 16 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pkey_tww_od_measuring_point_obj_id | Primary key | Asc | obj_id |
| in_od_measuring_point_identifier | Must be unique | Asc/Asc | identifier + fk_dataowner |
| in_tww_measuring_point_situation_geometry | Performance | Asc | situation_geometry |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| mp_kind_length_max_50 | ((char_length(kind) <= 50)) |
| mp_remark_length_max_80 | ((char_length(remark) <= 80)) |
| mp_identifier_length_max_20 | ((char_length(identifier) <= 20)) |