#!/bin/sh# Set common optionsPROJECTION=Q34/43.5/15c
REGION=24/44/39/48
FILENAME=Black_Sea_location_map.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-countries.zip
echo"...done\n"echo"Inflating archives"
unzip50m\*.zip
unzip110m\*.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_countries.shp
ogr2ogr-FGMT10m_maritime_borders.gmtne_10m_admin_0_boundary_lines_maritime_indicator.shp
echo"...done\n"echo"Creating maps"
GMTpsxy-m-J$PROJECTION-R$REGION--PAGE_COLOR=198/236/255--POLAR_CAP=none--PAPER_MEDIA=A4--BASEMAP_TYPE=plain--BASEMAP_AXES=NESW--FRAME_PEN=0.15p,black50m_land.gmt-K-G254/254/233>$FILENAME
GMTpsxy-m-J$PROJECTION-R$REGION50m_coastline.gmt-O-K-W0.535p,9/120/171>>$FILENAME
GMTpsxy-m-J$PROJECTION-R$REGION50m_borders.gmt-O-K-W100/100/100>>$FILENAME
EOF
GMTpsxy-m-J$PROJECTION-R$REGION10m_maritime_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
Licence
Es, šī darba autortiesību īpašnieks, publicēju to saskaņā ar šo licenci:
atsaucoties – Tev ir jānorāda autors, saite uz licenci un to, vai veiktas kādas izmaiņas. To var darīt jebkādā saprātīgā veidā, bet ne tādā, kas norādītu, ka licencētājs atbalsta tevi vai veidu, kā tu izmanto šo darbu.
nemainot licenci – Ja tu miksē, pārveido vai izmanto materiālu, tev savs devums jāpublicē ar to pašu vai saderīgu licenci kā oriģināls.
Šis fails satur papildu informāciju, kuru, visticamāk, ir pievienojis digitālais fotoaparāts vai skeneris, ar ko veidots fails. Ja šis fails pēc tam ir ticis modificēts, šie dati var neatbilst izmaiņām (var būt novecojuši).