Marble/Sentinel2Bathymetry: Difference between revisions

From KDE Community Wiki
*>Tackat phab
*>Tackat phab
Line 11: Line 11:
qgis --snapshot coastline.png --width 16200 --height 8100 --project coastline.qgs
qgis --snapshot coastline.png --width 16200 --height 8100 --project coastline.qgs
</source>
</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.

Revision as of 21:51, 7 July 2016

Creating the Bathymetry

This page exists mostly for documentation purposes. For actually applying the bathymetry follow our general instructions here.

Creating the Mask

First download the 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.

qgis --snapshot coastline.png --width 16200 --height 8100 --project coastline.qgs

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.