bash shell scripts for batch geoprocessing spatial data using OGR2OGR
- clip-extent-project.sh
- clip-raster-to-shp.sh
- clip-to-polygon.sh
- geojson-to-shp.sh
- get-extent.sh
- gpx-to-shp.sh
- grep-find-replace.sh
- merge.sh
- project-google.sh
- project-mercator.sh
- project-wgs84.sh
- rename-files-gis-friendly.sh
- separate-roads-by-type.sh
- separate-roads-by-type-skeletron.sh
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This script will export all .geojson files in a directory to .shp files in a specified subdirectory
.geojson
cd
to the directory of .geojson
files you want to convert
./$SCRIPTHOME/geojson-to-shp.sh
Writes new files to a data
subdirectory.
This does xyz for abc.
.shp
./get-extent.sh $DIR/$FILE
-84.391994 33.758135 -84.376599 33.754353
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This does xyz for abc.
.abc
./xxx_yyy.sh $ARGS
test
This converts all shapefiles in a directory $DIR1
into geoJSON files in $DIR2
. If $DIR1
is not specified, the script looks in the present working directory. If $DIR2
is not specificied, the script will place the new geoJSON files in a new subdirectory called geojson
.
.shp
./shp-to-geojson.sh $DIR1 $DIR2
converting file: /data/bike_lanes.shp...