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

Vaclav Petras noreply at github.com
Mon Nov 22 12:23:02 PST 2021


  Branch: refs/heads/releasebranch_8_0
  Home:   https://github.com/OSGeo/grass
  Commit: afd2e1281233a6c6fdefd023c488d6aad271910f
      https://github.com/OSGeo/grass/commit/afd2e1281233a6c6fdefd023c488d6aad271910f
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-11-22 (Mon, 22 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