https://issues.qgis.org/https://issues.qgis.org/favicon.ico2015-10-03T22:29:00ZQGIS Issue TrackingQGIS Application - Bug report #12010: Can edit Z geom but fail to create ithttps://issues.qgis.org/issues/12010?journal_id=640532015-10-03T22:29:00ZTudor Bărăscutudorbarascu@yahoo.com
<ul></ul><p>I also encountered this problem in the latest master (2.11).<br />As QGIS editing tools don't created (currently) 3D features, one solution would be to have triggers that take the 2d line created by QGIS and transform it into a 3d line by reading another attribute column(s) that have z data values.<br />However, the default way of creating geometry columns in a Postgis database is using type modifier since postgis 2.0.<br />This gets in the way of the triggers as the geometry constraints are checked before any trigger is run.<br />But if the geometry column is created using the old check constraints behavior, see <a class="external" href="http://postgis.net/docs/AddGeometryColumn.html">http://postgis.net/docs/AddGeometryColumn.html</a>, like this..<br /><pre>SELECT AddGeometryColumn ('schema_name','table_name','geometry_column',SRID,'LINESTRING',3, false);</pre><br />and if you have a trigger that forces the geometry in 3d (<pre>NEW.geometry := ST_Force3D(NEW.geometry);</pre> then it will work.</p>
<p>All the best</p> QGIS Application - Bug report #12010: Can edit Z geom but fail to create ithttps://issues.qgis.org/issues/12010?journal_id=640542015-10-03T22:30:04ZTudor Bărăscutudorbarascu@yahoo.com
<ul><li><strong>Target version</strong> set to <i>Future Release - Nice to have</i></li></ul> QGIS Application - Bug report #12010: Can edit Z geom but fail to create ithttps://issues.qgis.org/issues/12010?journal_id=640552015-10-04T00:37:16ZJürgen Fischerjef@norbit.de
<ul><li><strong>Assignee</strong> deleted (<del><i>Jürgen Fischer</i></del>)</li><li><strong>Category</strong> changed from <i>Data Provider/PostGIS</i> to <i>Vectors</i></li></ul> QGIS Application - Bug report #12010: Can edit Z geom but fail to create ithttps://issues.qgis.org/issues/12010?journal_id=640562015-10-04T00:37:48ZJürgen Fischerjef@norbit.de
<ul><li><strong>Category</strong> changed from <i>Vectors</i> to <i>Digitising</i></li></ul> QGIS Application - Bug report #12010: Can edit Z geom but fail to create ithttps://issues.qgis.org/issues/12010?journal_id=675862016-01-24T02:53:24ZTudor Bărăscutudorbarascu@yahoo.com
<ul></ul><p>See <a class="external" href="https://github.com/qgis/QGIS/pull/2703">https://github.com/qgis/QGIS/pull/2703</a></p> QGIS Application - Bug report #12010: Can edit Z geom but fail to create ithttps://issues.qgis.org/issues/12010?journal_id=782532017-04-30T23:07:47ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Regression?</strong> set to <i>No</i></li><li><strong>Easy fix?</strong> set to <i>No</i></li></ul> QGIS Application - Bug report #12010: Can edit Z geom but fail to create ithttps://issues.qgis.org/issues/12010?journal_id=1021182019-03-09T14:12:25ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> set to <i>end of life</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>End of life notice: QGIS 2.18 LTR</p>
<p>Source:<br /><a class="external" href="http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/">http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/</a></p>