From e7cb0caa6882aa587fa42b5f2aed27cc12eaeb02 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sat, 11 Aug 2018 17:46:06 +0200 Subject: gie: add a require_grid keyword, and use if for DHDN_ETRS89.gie; aso fix DHDN_ETRS89 autoconf test --- test/gie/DHDN_ETRS89.gie | 3 +++ test/gie/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/gie/DHDN_ETRS89.gie b/test/gie/DHDN_ETRS89.gie index f536821b..a1471a74 100644 --- a/test/gie/DHDN_ETRS89.gie +++ b/test/gie/DHDN_ETRS89.gie @@ -6,6 +6,7 @@ operation proj=latlong datum=potsdam ellps=bessel DE_DHDN (BeTA, 2007) to ETRS89 using NTv2 grid. epsg:15948 ------------------------------------------------------------------------------- +require_grid BETA2007.gsb tolerance 1 mm accept 7.482506019176 53.498461143331 # ETRS89_Lat-Lon expect 7.483333333333 53.500000000000 # DE_DHDN_Lat-Lon @@ -85,6 +86,8 @@ operation proj=latlong DE_DHDN to ETRS89 using deprecated 7 parameter Helmert transform. The results agree at the 3 m level. ------------------------------------------------------------------------------- + +require_grid BETA2007.gsb tolerance 3 m accept 7.482506019176 53.498461143331 # ETRS89_Lat-Lon diff --git a/test/gie/Makefile.am b/test/gie/Makefile.am index 7b1dc376..102f5a12 100644 --- a/test/gie/Makefile.am +++ b/test/gie/Makefile.am @@ -37,7 +37,7 @@ more_builtins: more_builtins.gie unitconvert: unitconvert.gie PROJ_LIB=$(PROJ_LIB) $(GIEEXE) $< -DHDN_ETRS89: +DHDN_ETRS89: DHDN_ETRS89.gie PROJ_LIB=$(PROJ_LIB) $(GIEEXE) $< check-local: 4D-API-cs2cs-style GDA axisswap builtins deformation ellipsoid more_builtins unitconvert DHDN_ETRS89 -- cgit v1.2.3