Marble/Sentinel2Bathymetry: Difference between revisions

From KDE TechBase
(Page moved to community wiki)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
= Creating the Bathymetry =
{{ Moved To Community }}
 
This page exists mostly for documentation purposes. For actually applying the bathymetry follow our general instructions here.
 
== Creating the Mask ==
 
First download the [http://data.openstreetmapdata.com/land-polygons-complete-4326.zip WGS land polygon shapefile]. Unzip the shape file. Then choose '''Layer->Add Layer->Add Vector Layer''' and load the shape file into QGIS. Right-Click the layer's square icon in the legend and click '''Properties'''. In the Style tab click the '''Simple Fill''' and the '''Fill''' combobox. Then choose the color "#000000" (black).
Then choose '''Project->Save As''' and save the project as coastline.qgs . Quit the QGIS application.
 
<source>
qgis --snapshot coastline.png --width 16200 --height 8100 --project coastline.qgs
</source>
 
Open the resulting coastline.png. Then choose the '''Crop tool''' and select the area starting at the top edge of the canvas and the left border where russia is cut off. Drag the selection area down to the bottom right corner of Antarctica. Then crop the image.
Now choose '''Image->Canvas Size''', reduce the height to half the width, drag the map upwards and press '''Resize'''.
Press '''File->Save''' to save the map.

Latest revision as of 04:56, 26 October 2016

This page is now on the community wiki.