OSGeo4W GDAL Polygonize Batch Convert?

المشرف العام

Administrator
طاقم الإدارة
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-Imagery\Satellite\WaterMask\Collection_5\2000\ALL\MOD44W_Water_2000_ML1920.tif\MOD44W_Water_2000_ML1920.tif -f "ESRI Shapefile" X:\Source-Imagery\Satellite\WaterMask\Collection_5\2000\ALL\MOD44W_Water_2000_ML1920.tif\MOD44W_Water_2000_ML1920.shp The txt file contains 176 lines to convert.

Thanks in advance! -Matt



أكثر...
 
أعلى