Geoscience Reference
In-Depth Information
(a)
Flanders
Brussels
(b)
Brussels
(c)
Forest map
forest
no forest
0
25
50 km
Fig. 8.8
Image merging. a Forest map for Flanders, b Forest map for Brussels, c Merged forest
map
The next snippet uses the -init option to replace pixel values in an image.
Here we replace all pixels with value 30 to a value of 20. This can be performed
by initializing all values to 20 and then instruct gdal_merge.py to ignore all
values 30.
gdal_merge.py -n 30 -init 20 -pct -o brussels_no30.tif
brussels.tif
 
 
Search WWH ::




Custom Search