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

Markus Metz noreply at github.com
Tue Oct 29 00:50:52 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: b32d8be38d123eba6bcc2c33f8b13e40a836a79a
      https://github.com/OSGeo/grass/commit/b32d8be38d123eba6bcc2c33f8b13e40a836a79a
  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