#!/bin/bash
#	$Id: reduce.sh 12115 2013-09-03 23:22:48Z fwobbe $
# Testing gmt gmtsimplify on GSHHS high Australia polygon.

ps=reduce.ps

gmt psxy GSHHS_h_Australia.txt -R112/154/-40/-10 -JM5.5i -P -Sc0.01c -Gred -K -B20 -BWSne -Xc > $ps
gmt gmtsimplify GSHHS_h_Australia.txt -T50k | gmt psxy -R -J -O -K -W0.25p,blue >> $ps
echo 112 -10 T = 50km | gmt pstext -R -J -O -K -Dj0.1i/0.1i -F+jTL+f18p >> $ps
gmt psxy GSHHS_h_Australia.txt -R -J -O -Sc0.01c -Gred -K -B20 -BWsne -Y4.7i >> $ps
gmt gmtsimplify GSHHS_h_Australia.txt -T100k | gmt psxy -R -J -O -K -W0.25p,blue >> $ps
echo 112 -10 T = 100km | gmt pstext -R -J -O -K -Dj0.1i/0.1i -F+jTL+f18p >> $ps
gmt psxy -R -J -O -T >> $ps
