Commit 654c5667 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: add non regression tests on VectorDataTransform application

parent 76144c34
......@@ -139,9 +139,9 @@ OTB_TEST_APPLICATION(NAME apTuUtKmzExport
--legend ${INPUTDATA}/otb_big.png
--dem ${INPUTDATA}/DEM/srtm_directory)
#--- OSMDownloader ---
IF(OTB_DATA_USE_LARGEINPUT)
IF(OTB_DATA_USE_LARGEINPUT)
#--- OSMDownloader ---
OTB_TEST_APPLICATION(NAME apTvUtOSMDownloader
APP OSMDownloader
OPTIONS --support ${OTB_DATA_LARGEINPUT_ROOT}/DEMPSTER-SHAFER/ROI_QB_TOULOUSE.TIF
......@@ -151,6 +151,29 @@ OTB_TEST_APPLICATION(NAME apTvUtOSMDownloader
${OTBAPP_BASELINE_FILES}/otbOSMDownloaderOutput.shp
${TEMP}/apTvUtOSMDownloader.shp)
#--- VectorDataTransfomr ---
OTB_TEST_APPLICATION(NAME apTvUtVectorDataTransform_Rotation
APP VectorDataTransform
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/QUICKBIRD/TOULOUSE/000000128955_01_P001_MUL/02APR01105228-M1BS-000000128955_01_P001.TIF
--vd ${INPUTDATA}/ToulouseRoad-examples.shp
--out ${TEMP}/apTvUtVectorDataTransform_rotation.shp
--transform.ro 15
VALID --compare-ogr ${NOTOL}
${OTBAPP_BASELINE_FILES}/utTvVectorDataTransformFilter_Rotation.shp
${TEMP}/apTvUtVectorDataTransform_rotation.shp)
OTB_TEST_APPLICATION(NAME apTvUtVectorDataTransform_Translation_Rotation
APP VectorDataTransform
OPTIONS --in ${OTB_DATA_LARGEINPUT_ROOT}/QUICKBIRD/TOULOUSE/000000128955_01_P001_MUL/02APR01105228-M1BS-000000128955_01_P001.TIF
--vd ${INPUTDATA}/ToulouseRoad-examples.shp
--out ${TEMP}/apTvUtVectorDataTransform_Translation_rotation.shp
--transform.ro 15
--transform.tx 5
--transform.ty 6
VALID --compare-ogr ${NOTOL}
${OTBAPP_BASELINE_FILES}/utTvVectorDataTransformFilter_Translation_rotation.shp
${TEMP}/apTvUtVectorDataTransform_Translation_rotation.shp)
ENDIF(OTB_DATA_USE_LARGEINPUT)
#--- Concatenate VectorData ---
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment