Skip to content
Permalink
Browse files

Hillshade: added note about artifacts

  • Loading branch information
elpaso committed Jul 16, 2018
1 parent 7e1ac53 commit 0ac35a6747c110fd2ac88cc7b1eb8d92e7c8ab4f
Showing with 44 additions and 34 deletions.
  1. +44 −34 src/ui/raster/qgshillshaderendererwidget.ui
@@ -14,6 +14,13 @@
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="0" colspan="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Z Factor</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
@@ -65,27 +72,6 @@
</item>
</layout>
</item>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Altitude</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Azimuth</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Z Factor</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QgsDoubleSpinBox" name="mLightAngle">
<property name="sizePolicy">
@@ -105,7 +91,24 @@
</property>
</widget>
</item>
<item row="5" column="0" colspan="3">
<item row="0" column="2">
<widget class="QgsRasterBandComboBox" name="mBandsCombo"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Multidirectional</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Altitude</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="3">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -118,16 +121,13 @@
</property>
</spacer>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<item row="4" column="2">
<widget class="QCheckBox" name="mMultiDirection">
<property name="text">
<string>Band</string>
<string/>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QgsRasterBandComboBox" name="mBandsCombo"/>
</item>
<item row="3" column="2">
<widget class="QgsDoubleSpinBox" name="mZFactor">
<property name="sizePolicy">
@@ -144,17 +144,27 @@
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QCheckBox" name="mMultiDirection">
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string/>
<string>Band</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<item row="2" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Multidirectional</string>
<string>Azimuth</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="3">
<widget class="QLabel" name="label_6">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;To avoid visual artifacts, set the zoomed in resampling to bilinear, and make sure the project's CRS matches that of your raster&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>

This comment has been minimized.

Copy link
@nirvn

nirvn Jul 16, 2018

Contributor

@nyalldawson , @elpaso , I was re-thinking this, is it better to say "make sure project's CRS matches that of the raster", or "make sure the raster's CRS matches that of the project"? :)

</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>

0 comments on commit 0ac35a6

Please sign in to comment.
You can’t perform that action at this time.