Jump to content

Marble/Sentinel2Bathymetry: Difference between revisions

From KDE Community Wiki
*>Tackat phab
*>Tackat phab
Line 7: Line 7:
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).
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.
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>

Revision as of 21:37, 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