Bug report #17574

Z default value is not honoured correctly for curved strings

Added by Regis Haubourg over 6 years ago. Updated about 6 years ago.

Status:Closed
Priority:Normal
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:No Copied to github as #:25471

Description

Default z value for newly created geometries is set to zero when they should use default setting.
tested on qgis master d147064

can be tested using a postgis table like, with geometry_curvez field :

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
);

Associated revisions

Revision 7a698f23
Added by Paul Blottiere about 6 years ago

Fixes #17574 Add Z support in AddCircularString map tools

History

#1 Updated by Paul Blottiere about 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#2 Updated by Giovanni Manghi about 6 years ago

  • Resolution set to fixed/implemented

#3 Updated by Jürgen Fischer about 6 years ago

  • Description updated (diff)

Also available in: Atom PDF