Tag Info

New answers tagged


If you are interested in a scripted solution, try the gdal command nearblack. You can use the flag -white to retrieve data bounded by white space as well. You can polygonize the output to generate a non-rectangular footprint of the raster data. ##run nearblack shellcmds = "nearblack -white -o " + outpath + " " + inpath os.system(shellcmds) ##run ...

Top 50 recent answers are included