Commit 035e2b5b authored by Julien Michel's avatar Julien Michel

TEST: Adding a test for attribute rasterization mode

parent d1fa2071
......@@ -13,7 +13,18 @@ OTB_TEST_APPLICATION(NAME apTvRsRasterizationLines
# Mapnik is not intended to rasterize big images (tile effects happen), GDAL should do the job
OTB_TEST_APPLICATION(NAME apTvRsRasterizationLinesAttributeMode
APP Rasterization
OPTIONS -in ${LARGEDATA}/VECTOR/MidiPyrenees/roads.shp
-im ${BASELINE}/apTvRsRasterizationLines.tif
-out ${TEMP}/apTvRsRasterizationLinesAttributeMode.tif uint32
-background 0
-mode attribute
-mode.attribute.field osm_id
VALID --compare-image ${NOTOL}
OTB_TEST_APPLICATION(NAME apTvRsRasterizationLinesStreaming
APP Rasterization
OPTIONS -in ${LARGEDATA}/VECTOR/MidiPyrenees/roads.shp
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