#!/bin/bash

# this script needs the file developers.coords (from
# http://www.de.debian.org/devel/developers.coords) in the same
# directory and the packages "gmt" and "gmt-coast-low" installed

# x-Axis start/end y-Axis start/end
REGION="-R-175/185/-60/75"

# Mercator-projection, scaled to 18.5 cm
PROJECTION="-JM18.5c"

# (a)nnotation and (g)rid for x/y-Axis
GRID='-Ba60g10/a20g10'

VERBOSE="-V"

OUTPUT=developers.ps

# draw the basic features of the map together with a title
psbasemap $REGION $PROJECTION $GRID:."Debian Developers": -K $VERBOSE > $OUTPUT

# add coastline
pscoast $REGION $PROJECTION $GRID -W -O -K $VERBOSE >> $OUTPUT

# draw the coordinates
# -G red/green/blue is color of symbol
# -Sc is the symbol circle, scaled to .1cm
# -: swaps latitude and longitude
psxy $REGION $PROJECTION -O -G255/0/0 -Sc.1c -: developers.coords >> $OUTPUT