I’m trying to use GDAL polygonize to run a batch convert but I cannot for the life of my figure out a way to get it to read a text file as input that contains all of the commands. Do any of you know the correct command to run this conversion in one step so I don’t have to do it many times over?
Here’s an example of a single line of my input txt file:
gdal_polygonize X:Source-ImagerySatelliteWaterMaskCollection_52000ALLMOD44W_Water_2000_ML1920.tifMOD44W_Water_2000_ML1920.tif -f "ESRI Shapefile" X:Source-ImagerySatelliteWaterMaskCollection_52000ALLMOD44W_Water_2000_ML1920.tifMOD44W_Water_2000_ML1920.shp
The txt file contains 176 lines to convert.
Thanks in advance!
-Matt