Marble/Sentinel2Bathymetry: Difference between revisions
Tackat phab (talk | contribs) |
Tackat phab (talk | contribs) |
||
Line 13: | Line 13: | ||
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. | 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'''. | Now choose '''Image->Canvas Size''', reduce the height to half the width, drag the map upwards and press '''Resize'''. Choose | ||
'''Filters->Distorts->Value Propagate''' | |||
and select '''More black''' and choose 0, 255, 1.0 as values in the Propagate section. Now perform the same Value Propagation a second time again. You might now want to save the file using the filename coastline_outlined.png by selecting File->Export As... . | |||
Select '''Filters->Blur->Gaussian Blur''', use a '''Blur Radius''' of 5 pixels and save the resulting file using the file name coastline_mask.png . | |||
Press '''File->Save''' to save the map. | Press '''File->Save''' to save the map. |
Revision as of 22:16, 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. Then crop the image. Now choose Image->Canvas Size, reduce the height to half the width, drag the map upwards and press Resize. Choose
Filters->Distorts->Value Propagate
and select More black and choose 0, 255, 1.0 as values in the Propagate section. Now perform the same Value Propagation a second time again. You might now want to save the file using the filename coastline_outlined.png by selecting File->Export As... . Select Filters->Blur->Gaussian Blur, use a Blur Radius of 5 pixels and save the resulting file using the file name coastline_mask.png .
Press File->Save to save the map.