From 8050e14522b7fe582d9d9953f13006641ac31945 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@orfeo-toolbox.org>
Date: Wed, 20 Jun 2012 17:14:09 +0200
Subject: [PATCH] TEST: Adding a test for input dataset with two layers and two
 different srs

---
 Testing/Applications/Rasterization/CMakeLists.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Testing/Applications/Rasterization/CMakeLists.txt b/Testing/Applications/Rasterization/CMakeLists.txt
index 1e0c1a5ad1..d4890143df 100644
--- a/Testing/Applications/Rasterization/CMakeLists.txt
+++ b/Testing/Applications/Rasterization/CMakeLists.txt
@@ -59,3 +59,15 @@ OTB_TEST_APPLICATION(NAME apTvRsRasterizationPolygons
                      VALID   --compare-image ${NOTOL}
                               ${BASELINE}/apTvRsRasterizationPolygons.tif
                 	      ${TEMP}/apTvRsRasterizationPolygons.tif)
+
+OTB_TEST_APPLICATION(NAME apTvRsRasterizationPolygons2LayersWith2SRS
+                     APP  Rasterization
+                     OPTIONS -in  ${INPUTDATA}/ToulouseRoad-examples_2layers_2srs.sqlite
+                             -spx 1.
+                             -spy -1.
+                             -out ${TEMP}/apTvRsRasterizationPolygons2LayersWith2SRS.tif uint8
+                             -background 255
+                             -mode.binary.foreground 0
+                     VALID   --compare-image ${NOTOL}
+                              ${BASELINE}/apTvRsRasterizationPolygons2LayersWith2SRS.tif
+                	      ${TEMP}/apTvRsRasterizationPolygons2LayersWith2SRS.tif)
-- 
GitLab