﻿{"id":8338,"date":"2019-03-19T00:57:54","date_gmt":"2019-03-18T23:57:54","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=8338"},"modified":"2019-03-19T12:11:53","modified_gmt":"2019-03-19T11:11:53","slug":"how-to-use-landsat-images-free-with-qgis-2-8-for-ndvi","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-use-landsat-images-free-with-qgis-2-8-for-ndvi\/","title":{"rendered":"How to use Landsat Images ( Free ) with QGis 2.8 for NDVI"},"content":{"rendered":"\n<p>In the previous two articles, we have discussed ( <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/%3Fp%3D1000\">How\nto use Landsat images (free) with ArcGIS (ArcMap) for NDVI<\/a> , <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/%3Fp%3D1018\">How\nto use Landsat images (free) with ArcGIS Pro for NDVI<\/a> ) the calculation and\ndisplay of NDVI with ArcMap and ArcGis Pro. In this article we will\ndiscuss how to achieve this\noperation\nwith QGis. <br>\nTo\ndownload Landsat images from Earth Explorer, check out\nthis\narticle: <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/%3Fp%3D981\">How\nto use Landsat Images ( Free ) in<\/a> <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/%3Fp%3D981\">your GIS<\/a> . <\/p>\n\n\n\n<p>Here we will use the raster calculator to calculate the <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/%3Fp%3D981%23%C2%ADndvi#%C2%ADndvi\">NDVI<\/a>\n, then we will discuss how to create and use a specific colour\ngradient for this index. <br>\n&nbsp;\n\nIf you work with a Landsat 7 image,\nyou will load in QGis the bands 3 (red) and\n4 (infra-red). If you work\nwith a Landsat 8 image you will load the bands 4 (red)\nand 5 (infra-red). &nbsp;\n\n\n\n<\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"482\" data-attachment-id=\"8339\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-use-landsat-images-free-with-qgis-2-8-for-ndvi\/191-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/191.png?fit=630%2C482&amp;ssl=1\" data-orig-size=\"630,482\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"191\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/191.png?fit=630%2C482&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/191.png?resize=630%2C482&#038;ssl=1\" alt=\"\" class=\"wp-image-8339\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/191.png?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/191.png?resize=300%2C230&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nTo\nopen the raster calculator , click on the Raster-&gt; Raster Calculator menu &nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"578\" data-attachment-id=\"8340\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-use-landsat-images-free-with-qgis-2-8-for-ndvi\/192-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/192.png?fit=630%2C578&amp;ssl=1\" data-orig-size=\"630,578\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"192\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/192.png?fit=630%2C578&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/192.png?resize=630%2C578&#038;ssl=1\" alt=\"\" class=\"wp-image-8340\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/192.png?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/192.png?resize=300%2C275&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p>We will return the formula\n<\/p>\n\n\n\n<p><strong>NDVI = PIR &#8211; R \/ PIR + R<\/strong> <\/p>\n\n\n\n<p>Where <strong>PIR<\/strong> is\nthe near infrared band and <strong>R<\/strong> is the red band<\/p>\n\n\n\n<p>In our example:\n<br>\n(\u00ab\u00a0LE72020272014184ASN00_B4\n@ 1\u00a0\u00bb &#8211; \u00ab\u00a0LE72020272014184ASN00_B3 @ 1\u00a0\u00bb) &#8211;\n(\u00ab\u00a0LE72020272014184ASN00_B4 @ 1\u00a0\u00bb + \u00ab\u00a0LE72020272014184ASN00_B3 @\n1\u00a0\u00bb) \n\nThe result displays as : &nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"494\" data-attachment-id=\"8341\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-use-landsat-images-free-with-qgis-2-8-for-ndvi\/193-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/193.png?fit=630%2C494&amp;ssl=1\" data-orig-size=\"630,494\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"193\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/193.png?fit=630%2C494&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/193.png?resize=630%2C494&#038;ssl=1\" alt=\"\" class=\"wp-image-8341\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/193.png?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/193.png?resize=300%2C235&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nYou can work\ndirectly\nusing this result but it is\nadvisable\nto refer to a standard symbology .\nWe\nare used to represent NDVI in a complete scale from -1 to +1\n( here the result expands from -0.5 to +0.506),\nto represent the negative values, which do not correspond to vegetation , by a\ngradient of blue, and the positive values , which correspond to vegetation , by\na gradient from green to red passing through the yellow . \n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"116\" data-attachment-id=\"8342\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-use-landsat-images-free-with-qgis-2-8-for-ndvi\/194-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/194.png?fit=630%2C116&amp;ssl=1\" data-orig-size=\"630,116\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"194\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/194.png?fit=630%2C116&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/194.png?resize=630%2C116&#038;ssl=1\" alt=\"\" class=\"wp-image-8342\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/194.png?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/194.png?resize=300%2C55&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p>Only problem, this gradient\nis\nnot available in &nbsp; QGis\nas such. <\/p>\n\n\n\n<p>To create it , open notepad and type the following text:\n<br>\n<br>\n<strong>&lt;? xml version = \u00ab\u00a01.0\u00a0\u00bb encoding =\n\u00ab\u00a0UTF-8\u00a0\u00bb?&gt;<\/strong> <br>\n<strong>&lt;svg<\/strong> <strong>xmlns<\/strong> <strong>=\n\u00ab\u00a0http:\/\/www.w3.org\/2000\/svg\u00a0\u00bb version = \u00ab\u00a01.1\u00a0\u00bb width =\n\u00ab\u00a0300px\u00a0\u00bb height = \u00ab\u00a045px\u00a0\u00bb<\/strong> <strong>viewBox<\/strong> <strong>= \u00ab\u00a00 0\n300 45\u00a0\u00bb&gt;<\/strong> <br>\n<strong>&lt;g&gt;<\/strong> <br>\n<strong>&lt;<\/strong> <strong>defs<\/strong> <strong>&gt;<\/strong> <br>\n<strong>&lt;<\/strong> <strong>linearGradient<\/strong> <strong>id = \u00ab\u00a0NDVI\u00a0\u00bb<\/strong>\n<strong>gradientUnits<\/strong> <strong>= \u00ab\u00a0<\/strong> <strong>objectBoundingBox<\/strong> <strong>\u00ab\u00a0<\/strong> <strong>spreadMethod<\/strong>\n<strong>= \u00ab\u00a0pad\u00a0\u00bb x1 = \u00ab\u00a00%\u00a0\u00bb x2 = \u00ab\u00a0100%\u00a0\u00bb y1 =\n\u00ab\u00a00%\u00a0\u00bb y2 = \u00ab\u00a00%\u00a0\u00bb&gt;<\/strong> <br>\n<strong>&lt;stop offset = \u00ab\u00a00.00%\u00a0\u00bb stop-<\/strong> <strong>color<\/strong>\n<strong>= \u00ab\u00a0<\/strong> <strong>rgb<\/strong> <strong>(0,0,255)\u00a0\u00bb stop-opacity = \u00ab\u00a01.0000\u00a0\u00bb\n\/&gt;<\/strong> <br>\n<strong>&lt;stop offset = \u00ab\u00a049.90%\u00a0\u00bb stop-<\/strong> <strong>color<\/strong>\n<strong>= \u00ab\u00a0<\/strong> <strong>rgb<\/strong> <strong>(190,210,255)\u00a0\u00bb stop-opacity =\n\u00ab\u00a01.0000\u00a0\u00bb \/&gt;<\/strong> <br>\n<strong>&lt;stop offset = \u00ab\u00a050.00%\u00a0\u00bb stop-<\/strong> <strong>color<\/strong>\n<strong>= \u00ab\u00a0<\/strong> <strong>rgb<\/strong> <strong>(56,168,0)\u00a0\u00bb stop-opacity =\n\u00ab\u00a01.0000\u00a0\u00bb \/&gt;<\/strong> <br>\n<strong>&lt;stop offset = \u00ab\u00a066.60%\u00a0\u00bb stop-<\/strong> <strong>color<\/strong>\n<strong>= \u00ab\u00a0<\/strong> <strong>rgb<\/strong> <strong>(255,255,0)\u00a0\u00bb stop-opacity =\n\u00ab\u00a01.0000\u00a0\u00bb \/&gt;<\/strong> <br>\n<strong>&lt;stop offset = \u00ab\u00a0100.00%\u00a0\u00bb stop-<\/strong> <strong>color<\/strong>\n<strong>= \u00ab\u00a0<\/strong> <strong>rgb<\/strong> <strong>(255,0,0)\u00a0\u00bb stop-opacity = \u00ab\u00a01.0000\u00a0\u00bb\n\/&gt;<\/strong> <br>\n<strong>&lt;\/<\/strong> <strong>linearGradient<\/strong> <strong>&gt;<\/strong>\n<br>\n<strong>&lt;\/<\/strong> <strong>defs<\/strong> <strong>&gt;<\/strong> <br>\n<strong>&lt;<\/strong> <strong>rect<\/strong> <strong>fill = \u00ab\u00a0<\/strong> <strong>url<\/strong> <strong>(#NDVI)\u00a0\u00bb\nx = \u00ab\u00a04\u00a0\u00bb y = \u00ab\u00a04\u00a0\u00bb width = \u00ab\u00a0292\u00a0\u00bb height =\n\u00ab\u00a037\u00a0\u00bb stroke = \u00ab\u00a0black\u00a0\u00bb stroke-width = \u00ab\u00a01\u00a0\u00bb \/&gt;<\/strong>\n<br>\n<strong>&lt;\/ g&gt;<\/strong> <br>\n<strong>&lt;metadata&gt;<\/strong> <br>\n<strong>&lt;creator name = \u00ab\u00a0<\/strong> <strong>nasca<\/strong> <strong>\u00a0\u00bb\nversion = \u00ab\u00a01.0\u00a0\u00bb \/&gt;<\/strong> <br>\n<strong>&lt;created date = \u00ab\u00a0Mon Mar 23 22:38:20 2015\u00a0\u00bb\n\/&gt;<\/strong> <br>\n<strong>&lt;\/ metadata&gt;<\/strong> <br>\n<strong>&lt;\/ svg&gt;<\/strong> <br>\n<br>\nRegister\nthis\nfile\nwith the name <strong>NDVI.svg<\/strong> in the \\ <em>Program Files \\\nQGIS Wien \\ apps \\ qgis \\ resources \\<\/em> <em>cpt<\/em> <em>-City-qgis-min \\<\/em> <em>cb<\/em>\n<em>\\ div<\/em> <\/p>\n\n\n\n<p>Now we are going apply this gradient to the resulting raster of the NDVI calculation:  Double click on the legend of the raster to open the Properties window <br> In the Style tab , change the <em>rendering type<\/em> to \u00ab\u00a0Pseudo colour single band\u00a0\u00bb <br> Change the values from Min =-1 and from Max = 1. \u00a0\u00a0 <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"504\" data-attachment-id=\"8343\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-use-landsat-images-free-with-qgis-2-8-for-ndvi\/195-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/195.png?fit=630%2C504&amp;ssl=1\" data-orig-size=\"630,504\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"195\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/195.png?fit=630%2C504&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/195.png?resize=630%2C504&#038;ssl=1\" alt=\"\" class=\"wp-image-8343\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/195.png?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/195.png?resize=300%2C240&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p> In the drop down \u00a0list of colour palette, go to \u00a0the last line and click <em>New color palette<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"231\" height=\"214\" data-attachment-id=\"8344\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-use-landsat-images-free-with-qgis-2-8-for-ndvi\/196-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/196.png?fit=231%2C214&amp;ssl=1\" data-orig-size=\"231,214\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"196\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/196.png?fit=231%2C214&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/196.png?resize=231%2C214&#038;ssl=1\" alt=\"\" class=\"wp-image-8344\"\/><\/figure>\n\n\n\n<p>In the <em>Color<\/em> <em>Palette Type<\/em> , select\n<em>-City<\/em> <em>cpt<\/em> and\nclick\n<strong>OK<\/strong> \n\nThe palette cpt -City opens &nbsp;&nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"480\" data-attachment-id=\"8345\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-use-landsat-images-free-with-qgis-2-8-for-ndvi\/197-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/197.png?fit=630%2C480&amp;ssl=1\" data-orig-size=\"630,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"197\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/197.png?fit=630%2C480&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/197.png?resize=630%2C480&#038;ssl=1\" alt=\"\" class=\"wp-image-8345\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/197.png?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/197.png?resize=300%2C229&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p> Open <strong>\u00ab\u00a0Diverging\u00a0\u00bb<\/strong> item and select <strong>cb\/ div<\/strong> to find the ndvi palette that you have created . <br> Click on one of these, then click OK. Leave the default name and click OK <br> In <strong>Mode <\/strong>select <em>equal intervals<\/em> . <br> In <strong>Class<\/strong> select , for example , <em>20<\/em> . <br> Click the <strong>Sort<\/strong> button <br> You will see the scale to be applied to the raster. \u00a0\u00a0 <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"496\" data-attachment-id=\"8346\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-use-landsat-images-free-with-qgis-2-8-for-ndvi\/198-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/198.png?fit=630%2C496&amp;ssl=1\" data-orig-size=\"630,496\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"198\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/198.png?fit=630%2C496&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/198.png?resize=630%2C496&#038;ssl=1\" alt=\"\" class=\"wp-image-8346\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/198.png?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/198.png?resize=300%2C236&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nClick\n<strong>OK<\/strong> to close the properties layer window and see the final result :\n&nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"335\" data-attachment-id=\"8347\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/how-to-use-landsat-images-free-with-qgis-2-8-for-ndvi\/199-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/199.jpg?fit=630%2C335&amp;ssl=1\" data-orig-size=\"630,335\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"199\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/199.jpg?fit=630%2C335&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/199.jpg?resize=630%2C335&#038;ssl=1\" alt=\"\" class=\"wp-image-8347\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/199.jpg?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/03\/199.jpg?resize=300%2C160&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In the previous two articles, we have discussed ( How to use Landsat images (free) with ArcGIS (ArcMap) for NDVI , How to use Landsat images (free) with ArcGIS Pro for NDVI ) the calculation and&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"give_campaign_id":0,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1260],"tags":[],"class_list":["post-8338","post","type-post","status-publish","format-standard","hentry","category-non-classe-en"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-2au","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/8338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/comments?post=8338"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/8338\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=8338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=8338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=8338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}