qwat / QWAT

TEKSI Water module (project QWAT) - QGIS project
https://www.teksi.ch
GNU General Public License v2.0
58 stars 31 forks source link

Cannot add hydrants #51

Closed tudorbarascu closed 9 years ago

tudorbarascu commented 9 years ago
Could not commit changes to layer hydrantes

Errors: ERROR: 1 feature(s) not added.

  Provider errors:
      PostGIS error while adding features: ERROR:  new row for relation "node" violates check constraint "chk_node_altitude_obj_ref"
    DETAIL:  Failing row contains (1, null, null, null, 1102, 1123, null, 300.000, null, null, null, null, null, null, 01010000A0155500001F2808D5CC172141A0371ACBB5BC014100000000000000..., null, null).
3nids commented 9 years ago

are you editing hydrants using qwat_od.vw_element_hydrant or on the table directly? I might have forgot to change this in the project.

tudorbarascu commented 9 years ago

Using the table="qwat_od"."vw_element_hydrant" (geometry) You didn't forgot!