You'll need QGIS to create your own coloring for the output.
Start by downloading the "Raw Calculated Index" image:
This image will not render on your computer like it does on our website as it's pixels are not the normal Red-Green-Blue (RGB) coloring. But that's fine, as it will make it easier to manipulate it into the colors you want.
Now open up QGIS and "Add Raster LAyer", you can do this either by dragging and dropping the image you downloaded onto the white canvas in QGIS or by clicking the checkered square icon on the far left:
Now you should be presented something like the following, the coloring will now match what you see in FarmLens:
To begin coloring, right click on the name of your image on the left hand side, under the "Layers Panel" and click Properties:
The Properties message box will appear and on the left hand side you'll want to click the "Style" tab. Towards the top you should see "Render type" with "Singleband Gray" selected, you'll want to click on that box and change it to "Singleband pseudocolor":
From here, you'll want to now select a color (1) from the list, we usually advise the "RdYlGn" color ramp as it provides easy to understand coloring. Leave the interpolation on "Linear" (2) if it's not already set. Next you'll want to select a "Mode" (3) at the bottom a quick description of the different types:
- Equal Interval - As the name suggests, this method will will create classes which are at the same size. If our data ranges from 0-100 and we want 10 classes, this method would create a class from 0-10, 10-20, 20-30 and so on - keeping each class the same size of 10 units.
- Quantile - This method will decide the classes such that number of values in each class are the same. If there are 100 values and we want 4 classes, quantile method will decide the classes such that each class will have 25 values.
- Continuous - This method will look at your min and max values (found towards the top) and will ramp the colors without any special calculation from the minimum to the maximum.
In this case we'll be selecting "Continuous", this will allow us to manipulate our Min/Max values. Finally click "Classify" (4) to fill the table (if it's not already filled) and click "Apply" (5) to render it on your image:
In my case, the test plots are now mostly green and the road is now red. This means that I probably want to increase the "Min" value towards the top of the style window so that I can get most of the color variation in the test plots, rather than wasting colors in the road. This requires a bit of guessing and checking, but the workflow is:
- Type a number into Min/Max (if you end up messing up you can also take a look at the options under "Load min/max values").
- Click "Apply"
- Look to see how it's changed
In the end I went with 0.35 and 0.50 for my Min/Max to get something that looks like the following:
Once you're happy with it, you'll then want to export your new image as a geotif.
Exporting the Rendered Geotiff
- Right click the layer in the left hand panel, in my case "Example", and click "Save As"
- At the top, make sure to check the button that says "Rendered image"
- Click "Browse..." that is under that to choose an output destination
- Click "OK" at the bottom
You should now have it output to where you specified.
Comments
0 comments
Please sign in to leave a comment.