Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy a 2D linestring to a LINESTRINGZ #25474

Closed
qgib opened this issue Nov 28, 2017 · 3 comments
Closed

copy a 2D linestring to a LINESTRINGZ #25474

qgib opened this issue Nov 28, 2017 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Digitizing Related to feature digitizing map tools or functionality High Priority

Comments

@qgib
Copy link
Contributor

qgib commented Nov 28, 2017

Author Name: Regis Haubourg (@haubourg)
Original Redmine Issue: 17577
Affected QGIS version: master
Redmine category:digitising
Assignee: Paul Blottiere


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.';

@qgib
Copy link
Contributor Author

qgib commented Nov 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • crashes_corrupts_data was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Jan 8, 2018

Author Name: Regis Haubourg (@haubourg)


  • subject was changed from copy a 2D linestring to a LINESTRINGD to copy a 2D linestring to a LINESTRINGZ

@qgib
Copy link
Contributor Author

qgib commented Feb 24, 2018

Author Name: Regis Haubourg (@haubourg)


Seems fixed in QGIS3


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Feb 24, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Digitizing Related to feature digitizing map tools or functionality Crash/Data Corruption labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Digitizing Related to feature digitizing map tools or functionality High Priority
Projects
None yet
Development

No branches or pull requests

1 participant