Add support for PROJ.5 new API
commitc54b6e9386b7fda2e6732be133a7e63cf99ca394
authorrouault <rouault@f0d54148-0727-0410-94bb-9a71ac55c965>
Wed, 21 Mar 2018 14:13:45 +0000 (21 14:13 +0000)
committerrouault <rouault@f0d54148-0727-0410-94bb-9a71ac55c965>
Wed, 21 Mar 2018 14:13:45 +0000 (21 14:13 +0000)
treee06a12cd73a2baa55421b6fe553d6d42f2a7c068
parent75602428ec592c67f9cc4d1e79b0e94dc6b81c2c
Add support for PROJ.5 new API

- Adds a new --with-proj configure flag that is an alias to the deprecated --with-static-proj4
- Adds a --with-proj5-api switch that can be explicitly set to no to still force use of the proj_api.h (at some point that switch will be removed)

Requires proj 5.0.1 or later to make autotest suite pass.

git-svn-id: http://svn.osgeo.org/gdal/trunk@41878 f0d54148-0727-0410-94bb-9a71ac55c965
autotest/osr/osr_ct_proj.py
gdal/GDALmake.opt.in
gdal/alg/gdalapplyverticalshiftgrid.cpp
gdal/configure
gdal/configure.ac
gdal/frmts/wmts/wmtsdataset.cpp
gdal/nmake.opt
gdal/ogr/ogrct.cpp