Bug report #17577
copy a 2D linestring to a LINESTRINGZ
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Paul Blottiere | ||
Category: | Digitising | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 25474 |
Description
creating a line in a 2D linestring geom and pasting it in a 3D linestring will crash QGIS.
This can be tested with a postgis table:
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), geometry_line geometry(LineString,21781), CONSTRAINT pipe_pkey PRIMARY KEY (id) ) WITH ( OIDS=FALSE ); COMMENT ON TABLE public.pipe IS 'Table for pipes.';
History
#1 Updated by Giovanni Manghi almost 7 years ago
- Crashes QGIS or corrupts data changed from No to Yes
#2 Updated by Regis Haubourg almost 7 years ago
- Subject changed from copy a 2D linestring to a LINESTRINGD to copy a 2D linestring to a LINESTRINGZ
#3 Updated by Regis Haubourg over 6 years ago
- Resolution set to fixed/implemented
- Status changed from Open to Closed
Seems fixed in QGIS3