Commit 79718b03 authored by Jordi Inglada's avatar Jordi Inglada

WIP: adding raster output

parent 73e83509
......@@ -1039,3 +1039,22 @@ otb_test_application(NAME apTvClZonalStatisticsImgNoData
${TEMP}/apTvClVectorData_QB1_ter_stats_nodata.xml)
otb_test_application(NAME apTvClZonalStatisticsInVecOutRaster
APP ZonalStatistics
OPTIONS
-in ${INPUTDATA}/Classification/QB_1_ortho.tif
-inzone vector
-inzone.vector.in ${INPUTDATA}/Classification/VectorData_QB1_ter.shp
-inzone.vector.reproject 1
-out raster
-out.raster.filename ${TEMP}/apTvClZonalStats_QB1_ter_with_stats.tif )
otb_test_application(NAME apTvClZonalStatisticsInRasterOutRaster
APP ZonalStatistics
OPTIONS
-in ${INPUTDATA}/Classification/QB_1_ortho.tif
-inzone labelimage
-inzone.labelimage.in ${INPUTDATA}/Classification/VectorData_QB1_ter.tif
-inzone.labelimage.nodata -1
-out raster
-out.raster.filename ${TEMP}/apTvClZonalStats_QB1_ter_with_stats.tif )
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