Bug report #17118

reshape tool reset Z values when extending lines - only with some data providers

Added by Regis Haubourg about 7 years ago. Updated about 7 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Editing
Affected QGIS version:2.18.12 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:25017

Description

Hi a user raised an issue with reshape tool and LINESTRINZ using either shp or PostGIS in 2.18.12.

When extending a linestring with reshape tool, all z and m values are lost and reset to 0 when committing to the provider. Modifying the shape in the middle of the Linestring is not affected.

GPKG appears to work correctly, which is strange, I though maptools were provider independent.

Associated revisions

Revision cfec1250
Added by Paul Blottiere about 7 years ago

[bugfix] Fixes #17118 Reshape tool with z support

Revision 54040cb8
Added by Paul Blottiere about 7 years ago

Merge pull request #5349 from pblottiere/bugfix-reshape-tool

[bugfix] Fixes #17118 Reshape tool with z support

History

#1 Updated by Giovanni Manghi about 7 years ago

  • Crashes QGIS or corrupts data changed from No to Yes

#2 Updated by Giovanni Manghi about 7 years ago

  • Pull Request or Patch supplied changed from No to Yes

https://github.com/qgis/QGIS/pull/5349

by the way, was this a regression?

#3 Updated by Regis Haubourg about 7 years ago

by the way, was this a regression?

probably not. Nevertheless it corrupted data.

#4 Updated by Paul Blottiere about 7 years ago

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

Also available in: Atom PDF