From 024f63731283c0026ad5b4dea4084bc48bbcc6f7 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 4 Sep 2019 15:46:13 +0200 Subject: Use in API and utilities WKT2_2019 instead of WKT2_2018 (fixes #1518) - C API: PJ_GUESSED_WKT2_2019 is added, PJ_GUESSED_WKT2_2018 aliased to it - C API: PJ_WKT2_2019[_SIMPLIFIED] is added, PJ_WKT2_2018[_SIMPLIFIED] alias to it - C++ API: similarly for WKTFormatter::Convention::WKT2_2019[_SIMPLIFIED] Those above changes should be fully backward API and ABI compatible. projinfo changes: - accept WKT2_2019 as value for -o switch. WKT2_2018 is still accepted (undocumented) - output now uses 'WKT2_2019 string:', so might break scripts that would rely on that. Other internal code references to WKT2_2018 changes to WKT2_2019, included in tests. --- test/cli/testprojinfo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/cli/testprojinfo') diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo index d8569a76..f070c999 100755 --- a/test/cli/testprojinfo +++ b/test/cli/testprojinfo @@ -42,8 +42,8 @@ echo "Testing projinfo -o WKT2_2015 EPSG:4326" >> ${OUT} $EXE -o WKT2_2015 EPSG:4326 >>${OUT} echo "" >>${OUT} -echo "Testing projinfo -o WKT2_2018 EPSG:4326" >> ${OUT} -$EXE -o WKT2_2018 EPSG:4326 >>${OUT} +echo "Testing projinfo -o WKT2_2019 EPSG:4326" >> ${OUT} +$EXE -o WKT2_2019 EPSG:4326 >>${OUT} echo "" >>${OUT} echo "Testing projinfo -o ALL EPSG:4326" >> ${OUT} -- cgit v1.2.3