From c410aee3ace10c6830138eba179dc3e3e96c608d Mon Sep 17 00:00:00 2001
From: Jonathan Guinet <jonathan.guinet@c-s.fr>
Date: Tue, 3 Jul 2012 18:22:57 +0200
Subject: [PATCH] TEST: Baseline for StreamingSegmentation OGR in WGS84.

---
 Testing/Code/Segmentation/CMakeLists.txt | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/Testing/Code/Segmentation/CMakeLists.txt b/Testing/Code/Segmentation/CMakeLists.txt
index 212e1644a3..52221107d6 100644
--- a/Testing/Code/Segmentation/CMakeLists.txt
+++ b/Testing/Code/Segmentation/CMakeLists.txt
@@ -91,6 +91,26 @@ ADD_TEST(obTvStreamingImageToOGRLayerSegmentationFilter ${SEGMENTATION_TESTS1}
      0.2 #Simplification tolerance
      )
 
+ADD_TEST(obTvStreamingImageToOGRLayerSegmentationFilterQBOrthoWGS84shp ${SEGMENTATION_TESTS1}
+     --compare-ogr  ${EPSILON_8}
+     ${BASELINE_FILES}/obTvStreamingVectorizedSegmentationOutputQBOrthoWGS84.shp
+     ${TEMP}/obTvStreamingVectorizedSegmentationOutputQBOrthoWGS84.shp
+     otbStreamingImageToOGRLayerSegmentationFilter
+     ${INPUTDATA}/QB_Toulouse_Ortho_PAN_WGS84.tif
+     ${INPUTDATA}/QB_Toulouse_Ortho_PAN_Mask_WGS84.tif
+     ${TEMP}/obTvStreamingVectorizedSegmentationOutputQBOrthoWGS84.shp
+     NewLayer
+     100
+     5
+     15.
+     100
+     1 #filter small object
+     200 #minimum size of object
+     0 #Simplify Flag
+     0.2 #Simplification tolerance
+     )
+
+
 ADD_TEST(obTvStreamingImageToOGRLayerSegmentationFilterHalfSpacing ${SEGMENTATION_TESTS1}
      --compare-ogr  ${EPSILON_8}
      ${BASELINE_FILES}/obTvStreamingVectorizedSegmentationHalfSpacingOutput.sqlite
-- 
GitLab