[GRASS-git] [OSGeo/grass] 52c148: v.perturb: If vector map is 3D, preserve the z coo...

Vaclav Petras noreply at github.com
Mon Nov 15 18:45:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 52c148b1c34fb399d8491ae6bfecd485b5685538
      https://github.com/OSGeo/grass/commit/52c148b1c34fb399d8491ae6bfecd485b5685538
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-11-15 (Mon, 15 Nov 2021)

  Changed paths:
    M vector/v.perturb/main.c

  Log Message:
  -----------
  v.perturb: If vector map is 3D, preserve the z coordinate (#1660)

* This checks if the input map is 3D and if yes, makes the output 3D too.
* The Z coordinate is not modified.
* This follows 2.5D design. Z is considered special, so not perturbed. However, Z is now not lost.
* A future change can add a flag to perturb also Z without a change of interface or behavior.




More information about the grass-commit mailing list