Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 846 Bytes

README.mkd

File metadata and controls

20 lines (11 loc) · 846 Bytes

GIS Scripts

A place to keep scripts I've written to make various GIS & map-design tasks simpler and more efficient.

shadesrtm.sh

A demonstration of my hillshade creation process in script form. Makes use of gdaldem utilities from newer versions of GDAL.

shpmerge.sh

Uses ogr2ogr to merge multiple shapefiles into one.

tif2geo.sh

This script reads the geographic coordinates from one TIF file (using gdalinfo) and applies them to another TIF (using gdal_translate). Useful for restoring this data after making edits in a non-geo-aware program, such as GIMP or ImageMagick.

tms-prune.py

Searches a TMS tileset for files that fall outside of the world bounding box (which can get created by metatiling, bounding box errors, etc). It assumes a web-mercator projection (default for OpenStreetMap, Google Maps, MapBox tilesets).