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

creating new curve string does not uses default Z value and crashes #25473

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

creating new curve string does not uses default Z value and crashes #25473

qgib opened this issue Nov 28, 2017 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality High Priority Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Nov 28, 2017

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


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

@qgib
Copy link
Contributor Author

qgib commented Feb 18, 2018

Author Name: Paul Blottiere (Paul Blottiere)


Applied in changeset 45ca0eb.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Feb 18, 2018
@qgib
Copy link
Contributor Author

qgib commented Feb 22, 2018

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented

@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 Regression Something which used to work, but doesn't anymore 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! Digitizing Related to feature digitizing map tools or functionality High Priority Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant