Bug report #17576
creating new curve string does not uses default Z value and crashes
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Paul Blottiere | ||
Category: | Digitising | ||
Affected QGIS version: | master | Regression?: | Yes |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 25473 |
Description
create a postgis table like this:
CREATE TABLE public.pipe ( id uuid NOT NULL, year_end smallint, remark text, geometry_linez geometry(LineStringZ,21781), geometry_curve geometry(MultiCurve,21781), geometry_curvez geometry(MultiCurveZ,21781), geometrycollection geometry(GeometryCollectionZ,21781), CONSTRAINT pipe_pkey PRIMARY KEY (id) ) WITH ( OIDS=FALSE );
open a layer using geometry_curvez geometry
Set default option Z value to anything
Creating a geometry with the curve tool will create nodes with NaN instead of default value.
Saving will crash
History
#1 Updated by Paul Blottiere over 6 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|45ca0eb52b4666da5f2572b01dd947996434e67e.
#2 Updated by Giovanni Manghi over 6 years ago
- Resolution set to fixed/implemented