[GRASS-git] [OSGeo/grass] 66b4ea: WIP PROJ6 support (#118)

Markus Metz noreply at github.com
Tue Oct 29 00:53:40 PDT 2019


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: 66b4ea2c0e6c4962b8abb2f1fa7b4551dfbe9d7f
      https://github.com/OSGeo/grass/commit/66b4ea2c0e6c4962b8abb2f1fa7b4551dfbe9d7f
  Author: Markus Metz <33666869+metzm at users.noreply.github.com>
  Date:   2019-10-29 (Tue, 29 Oct 2019)

  Changed paths:
    M lib/proj/do_proj.c
    M lib/proj/get_proj.c

  Log Message:
  -----------
  WIP PROJ6 support (#118)

PROJ6 support

- Convert lowercase epsg to uppercase EPSG
- Axis order of a CRS is no longer always easting, northing, it can also be northing, easting, e.g. EPSG:4326. If source and target CRS are available, axis order is adjusted using proj_normalize_for_visualization() to easting, northing if needed.
- Previously, GRASS did conversions of degress to/from radians and meters from/to map units. Now PROJ6+ might do these conversions itself, or not. GRASS is now doing the conversions only if needed.
- In PROJ6+, there can be several different operations to transform coordinates from one CRS to another CRS. If more than one operation is available, information is provided about these different operations. The current region is used by PROJ to select an appropriate operation.




More information about the grass-commit mailing list