[GRASS-git] [OSGeo/grass] ea8f3e: build: Remove compatibility with GDAL 1 and <2.2 (...

Loïc Bartoletti noreply at github.com
Tue Dec 19 19:45:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: ea8f3eae3299d70be3e46f2d1beeb9a72635e525
      https://github.com/OSGeo/grass/commit/ea8f3eae3299d70be3e46f2d1beeb9a72635e525
  Author: Loïc Bartoletti <lbartoletti at users.noreply.github.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M db/drivers/ogr/describe.c
    M db/drivers/ogr/execute.c
    M db/drivers/ogr/fetch.c
    M include/grass/defs/gis.h
    M lib/vector/Vlib/field.c
    M raster/r.in.gdal/main.c
    M vector/v.external/list.c
    M vector/v.external/local_proto.h
    M vector/v.external/main.c
    M vector/v.external/proj.c
    M vector/v.in.ogr/geom.c
    M vector/v.in.ogr/global.h
    M vector/v.in.ogr/main.c
    M vector/v.in.ogr/proj.c
    M vector/v.out.ogr/attrb.c
    M vector/v.out.ogr/create.c
    M vector/v.out.ogr/list.c
    M vector/v.out.ogr/local_proto.h
    M vector/v.out.ogr/main.c

  Log Message:
  -----------
  build: Remove compatibility with GDAL 1 and <2.2 (#2995)

This basically remove "dead code" since most modern distribution/packaging have GDAL 3.

Version of GDAL no longer supported: 1 and <2.3. Remove compatibility macros and use GDAL functions directly.

Fixes #2645.




More information about the grass-commit mailing list