to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
#!/bin/sh# Set common optionsPROJECTION=E0.0/90.0/20.0c
REGION=-180/180/50/90
FILENAME=arctic_ocean.ps
# Get Natural Earth datafilesecho"Downloading datafiles from naturalearthdata.com"
wget-nv-nc\http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/physical/50m-coastline.zip\http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/physical/50m-land.zip\http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/cultural/50m-admin-0-boundary-lines.zip
echo"...done\n"echo"Inflating archives"
unzip50m\*.zip
echo"...done\n"echo"Converting shapefiles to GMT"
ogr2ogr-FGMT50m_land.gmt50m_land.shp
ogr2ogr-FGMT50m_coastline.gmt50m_coastline.shp
ogr2ogr-FGMT50m_borders.gmtne_50m_admin_0_boundary_lines_land.shp
echo"...done\n"echo"Creating maps"
GMTpsxy-m-J$PROJECTION-R$REGION-Bg15--POLAR_CAP=none--BASEMAP_TYPE=plain--BASEMAP_AXES=WeS50m_land.gmt-K-G254/254/233>$FILENAME
GMTpsxy-m-J$PROJECTION-R$REGION50m_coastline.gmt-O-K-W9/120/171>>$FILENAME
GMTpsxy-m-J$PROJECTION-R$REGION50m_borders.gmt-O-W100/100/100>>$FILENAMEecho"...done\n"echo"You can now open $FILENAME in Inkscape to clean up the file and save it as SVG. You should add an ocean coloured background and simplify the graticules using CTRL+L."
Captions
Add a one-line explanation of what this file represents