#!/bin/sh# Set common optionsPROJECTION=A-165.0/-10.0/180/19.998266666666666c
REGION=-320.2519138145009/-12.459450078533589/-5.473602099069988/26.40516525873812r
FILENAME=Pacific_Ocean_laea_location_map.ps
# Get Natural Earth datafilesecho"Downloading datafiles from naturalearthdata.com"
wget-nv-nc\http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/110m-coastline.zip\http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/110m-land.zip\http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/110m-admin-0-boundary-lines.zip
echo"...done\n"echo"Inflating archives"
unzip110m\*.zip
echo"...done\n"echo"Converting shapefiles to GMT"
ogr2ogr-FGMT110m_land.gmt110m_land.shp
ogr2ogr-FGMT110m_coastline.gmt110m_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--PAGE_COLOR=198/236/255--POLAR_CAP=none--PAPER_MEDIA=A3--BASEMAP_TYPE=plain--BASEMAP_AXES=NESW--FRAME_PEN=0.15p,black110m_land.gmt-K-G254/254/233>$FILENAME
GMTpsxy-m-J$PROJECTION-R$REGION110m_coastline.gmt-O-K-W0.535p,9/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."
gv$FILENAME
Licensering
Jeg, dette værks ophavsretsindehaver, publicerer hermed værket under den følgende licens:
at dele – at kopiere, distribuere og overføre værket
at remixe – at tilpasse værket
Under følgende vilkår:
kreditering – Du skal give passende kreditering, angive et link til licensen, og oplyse om der er foretaget ændringer. Du må gøre det på enhver fornuftig måde, men ikke på en måde der antyder at licensgiveren godkender dig eller din anvendelse.
deling på samme vilkår – Hvis du bearbejder, ændrer eller bygger videre på dette værk, skal du distribuere dine bidrag under den samme eller en kompatibel licens som originalen.
eget v\u00e6rk af uploader<\/a>"}},"text\/plain":{"da":{"P7482":"eget v\u00e6rk af uploader"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P7482 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">