[GRASS-git] [OSGeo/grass] f9a30a: v.out.vtk: Output double data type instead of floa...

Vaclav Petras noreply at github.com
Tue Oct 4 20:22:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: f9a30a386c46ea1f281a14ad5b9570aa84a078a7
      https://github.com/OSGeo/grass/commit/f9a30a386c46ea1f281a14ad5b9570aa84a078a7
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M vector/v.out.vtk/main.c
    M vector/v.out.vtk/writeVTK.c

  Log Message:
  -----------
  v.out.vtk: Output double data type instead of float (#2562)

Geometric information in the VTK Polydata dataset output of the v.out.vtk function are now saved as datatype double instead of float which is more suitable considering the amount of digits in geographic coordinates.

The 'POINTS n dataType' line now uses double dataType (float, double, int and more is allowed).

Fixes #864.

Actual code change written by Brad ReDacted.

Co-authored-by: Brad ReDacted <brad.redacted at outlook.com>




More information about the grass-commit mailing list