Map layers can be edited and styled however you like within FarmQA. This includes customizing which attribute to color based on, selecting an appropriate color ramp, editing the associated attribute ranges, and selecting dates and growing seasons to associate to the layers. See the instructions below for more details on how this can be done.
- Log in to your FarmQA account from the web app.
- Click on a field containing the map layer you want to edit.
- See these instructions if you need more information on how to add map layers
- In the map slide out pane, click the Edit icon next to the layer name under the LAYERS header (pictured below). This will open the Edit layer image window.
- In the Edit layer image window, perform the following actions:
- Edit basic layer information: This includes things like the Name of the layer, and a Date/Growing season the layer belongs to.
- Show labels: Toggling this option will determine whether labels are displayed on your map layer or not. If toggled on, you will be given the option to select which attribute to use for labels.
- Style: This is where you can change the coloration/styling of the layer. There are three style options you can pick from:
- Single color: This allows you to pick a single solid color to fill the entire map layer with.
- Attribute: Use this option if you have an attribute in the file that explicitly defines a color. This would either be an attribute contain entries such as "red" or "green", or HTML color codes like #ff0000 or #00ff00. This may be the case for some zone files depending on where they were exported from.
- Custom: The custom option gives you the most flexibility in coloration. Follow these steps to setup your custom styling:
- Choose which attribute to color based on (Seeding rates in the example below).
- Next you choose your color ramp. Examples are single color shades, like green or red, or a red to green scale.
- Additionally, you can choose to invert the color scale. For example, if your data set makes more sense to run from green to red with low to high numbers respectively, you may want to set up that option.
- Finally you can choose to have FarmQA automatically set the range of values to include, or manually key in a range.
- Save the map layer and all users will see the changes you made.
Saving default styling templates
You can save any styling combination as the default settings for a layer type. This will automatically apply the styling options to any other layer imported to that layer category on any field. For example, if you choose a custom green-red color ramp with a 10-30k range for a category called "seeding layer", then any map layer you upload as a "seeding layer" will have that same styling applied automatically. See the steps below for more details
- After defining the styling of a layer, click the Save as default button.
- NOTE: this will only save as a default for the layer category for the file you are working with (seeding layer for example).
- NOTE: if a layer type has default styling, you can still set up custom settings for individual fields if you want to display those differently.
- If a layer has a default style setup, you will see a new Edit icon appear that allows you to change what the default settings are for the entire layer category (see below)
- NOTE: For a default style to be applied to a map layer, that map layer needs to have the same Attribute that is setup in the default style. In the picture below, the ZoneID attribute is used to color polygons in the map layer. Map layers uploaded in this template need to have the ZoneID attribute for this style to be applied to it. If your default styles are not being applied to map layers, make sure that that layer has the attribute you setup in your default style.