[GRASS-git] [OSGeo/grass] 92dfbd: libgis: add read/write functions for WKT and srid ...

Markus Metz noreply at github.com
Fri Feb 19 13:51:19 PST 2021


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: 92dfbd83d190a44630b459db126cf9edecc2734f
      https://github.com/OSGeo/grass/commit/92dfbd83d190a44630b459db126cf9edecc2734f
  Author: Markus Metz <33666869+metzm at users.noreply.github.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

  Changed paths:
    M general/g.proj/create.c
    M general/g.proj/input.c
    M general/g.proj/local_proto.h
    M general/g.proj/main.c
    M general/g.proj/output.c
    M include/defs/gis.h
    M include/gis.h
    M include/gprojects.h
    M lib/gis/get_projinfo.c
    M lib/gis/make_loc.c
    M lib/gis/proj3.c

  Log Message:
  -----------
  libgis: add read/write functions for WKT and srid (#976)

GRASS native projection information is reaching its limits in representing CRS's, while PROJ and GDAL have been substantially enhanced.Use WKT or authority code if possible to convert to different formats

+ libgis: read/write functions for WKT and spatial reference id as recognized by PROJ

+ g.proj: use WKT or authority code if possible


  Commit: 85cc6066c74455b8b4ad4757a041beaa50b16418
      https://github.com/OSGeo/grass/commit/85cc6066c74455b8b4ad4757a041beaa50b16418
  Author: Markus Metz <33666869+metzm at users.noreply.github.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

  Changed paths:
    M lib/gis/get_projinfo.c

  Log Message:
  -----------
  libgis: fix reading of WKT and SRID

The PROJ lib does not remove leading and trailing white spaces, so we have to do it.


  Commit: d1b80c8acbd37c30a4aafb0a042cd0ad1b3a749e
      https://github.com/OSGeo/grass/commit/d1b80c8acbd37c30a4aafb0a042cd0ad1b3a749e
  Author: Markus Metz <33666869+metzm at users.noreply.github.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

  Changed paths:
    M general/g.proj/input.c

  Log Message:
  -----------
  g.proj: fix segault issue #1163 (#1170)


  Commit: 6b8182eecc8aab6f1e9d6cbb65e16ab215df3f4b
      https://github.com/OSGeo/grass/commit/6b8182eecc8aab6f1e9d6cbb65e16ab215df3f4b
  Author: Markus Metz <33666869+metzm at users.noreply.github.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

  Changed paths:
    M general/g.proj/output.c

  Log Message:
  -----------
  g.proj

Initialize hSRS for WKT output.


  Commit: 2cf7e08b679327053f39d01060dd6a9e08e34f71
      https://github.com/OSGeo/grass/commit/2cf7e08b679327053f39d01060dd6a9e08e34f71
  Author: Markus Metz <33666869+metzm at users.noreply.github.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

  Changed paths:
    M general/g.proj/create.c
    M general/g.proj/input.c
    M general/g.proj/output.c
    M general/g.region/printwindow.c
    M gui/wxpython/core/render.py
    M include/defs/gis.h
    M include/gprojects.h
    M lib/gis/adj_cellhd.c
    M lib/gis/get_projinfo.c
    M lib/gis/make_loc.c
    M lib/proj/do_proj.c
    M lib/proj/get_proj.c
    M raster/r.external/proj.c
    M raster/r.in.gdal/main.c
    M raster/r.in.gdal/proj.c
    M raster/r.out.gdal/Makefile
    M raster/r.out.gdal/main.c
    M raster/r.proj/bordwalk.c
    M raster/r.proj/main.c
    M vector/v.external/proj.c
    M vector/v.in.ogr/proj.c
    M vector/v.out.ogr/Makefile
    M vector/v.out.ogr/main.c
    M vector/v.proj/main.c

  Log Message:
  -----------
  PROJ6+ / WKT2 support (#1240)

Co-authored-by: nilason <n_larsson at yahoo.com>

* adjust lib/gis, lib/proj, g.proj, r.proj, v.proj, r.in.gdal, r.external, r.out.gdal, v.in.ogr, v.external, v.out.ogr


Compare: https://github.com/OSGeo/grass/compare/31c1ec2fb2b5...2cf7e08b6793


More information about the grass-commit mailing list