From 188f86b50c87f4523aa51c8a19369b2b0801a636 Mon Sep 17 00:00:00 2001
From: Otmane Lahlou <otmane.lahlou@c-s.fr>
Date: Tue, 13 Dec 2011 15:58:25 +0100
Subject: [PATCH] ENH: use the right key for the elevation in the Kmz export
 test

---
 Testing/Applications/Utils/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Testing/Applications/Utils/CMakeLists.txt b/Testing/Applications/Utils/CMakeLists.txt
index cd72c50afd..da1879af95 100644
--- a/Testing/Applications/Utils/CMakeLists.txt
+++ b/Testing/Applications/Utils/CMakeLists.txt
@@ -146,7 +146,8 @@ OTB_TEST_APPLICATION(NAME apTvUtKmzExport
                              -out ${TEMP}/apTvUtKmzExport.kmz
                              -logo ${INPUTDATA}/cnes.png
                              -legend ${INPUTDATA}/otb_big.png
-                             -dem ${INPUTDATA}/DEM/srtm_directory)
+                             -elev dem
+                             -elev.dem.path ${INPUTDATA}/DEM/srtm_directory)
 
 
 IF(OTB_DATA_USE_LARGEINPUT)
-- 
GitLab