ייחוס – יש לתת ייחוס הולם, לתת קישור לרישיון, ולציין אם נעשו שינויים. אפשר לעשות את זה בכל צורה סבירה, אבל לא בשום צורה שמשתמע ממנה שמעניק הרישיון תומך בך או בשימוש שלך.
שיתוף זהה – אם תיצרו רמיקס, תשנו, או תבנו על החומר, חובה עליכם להפיץ את התרומות שלך לפי תנאי רישיון זהה או תואם למקור.
#!/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."