Skip to content

Instantly share code, notes, and snippets.

@wboykinm
Created December 21, 2013 04:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wboykinm/8065354 to your computer and use it in GitHub Desktop.
Save wboykinm/8065354 to your computer and use it in GitHub Desktop.
GDAL batch conversion of vector format data to raster at 0.1 degrees resolution
for i in *.shp;
do gdal_rasterize -a *_spcs -tr 0.1 0.1 -l $i $i.shp $i1;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment