Creating Plot Boundaries and Grids: This section will cover how to create plot boundaries for a more detailed analysis in research fields; additionally, how to create grids boundaries for farming fields utilizing the QGIS software. This software can be downloaded from here.
There are more programs available that help to generate plot boundaries and additional products for digital agriculture. For example, FIELDimageR and Plot Phenix.

Creating Plot Boundaries

Import Orthomosaic to QGIS

  1. Drag and drop the file into QGIS.

    Create Plots

    1. Click “Vector” > “Research Tools” > “Create Grid…”
    2. Grid type: Rectangle (polygon).
    3. Grid extent: Click “(…)” > “Calculate from Layer > “Select orthomosaic” > “OK.”

      Specify Plot Size

      1. Example (1m x 10m):
      2. Horizontal spacing: 1
      3. Vertical spacing: 10
      4. Leave the rest of the fields as default.
        If your orthomosaic has been georeferenced, you should not need to select the Grid CRS. If it has not, please select it now.
      5. Click “Run in Background.”
      6. After the process is finished, click “Close.”

      Delete Unnecessary Plots

      1. Make sure the new plot layer is selected.
      2. Click on the pencil to toggle the editing mode.
      3. Click “Select Features by Area or Single Click” (yellow square with a cursor on the top bar).
      4. Select all plots, leaving only the first one unselected.
      5. Press the Backspace button on your keyboard or click on the red trash can
        button to remove the selected plots. You should be left with only the first plot.
        You can use the Identify Features tool to see the values for each plot. The first plot will have a value of 1 as its ID.
      6. Make sure the first plot is selected using the “Select Features by Area or
        Single Click” tool.
      7. Use the “Copy and Move Feature” tool. You can find it under “Edit” >
        “Edit Geometry.”
      8. Copy and paste the plots as needed.
        You might want to manually edit the “ID” for each new plot created. This
        unique ID can be used later to combine the plot layout information with each plot. You can edit them manually in the attribute table > Toggle the editing mode.
      9. After the process is finished, click “Save” to save the edits.
      10. Click on the pencil to toggle the editing mode.

      Save Generated Plots

      1. Right-click on the “Grid” layer > “Export” > “Save Feature As…”
      2. Format: ESRI Shapefile
      3. File name: “(…)” > Go to the desired folder > “Specify Filename”
        > Click “‘Save.”
      4. Leave the rest of the fields as default.
      5. Click “OK.”
      6. After the process is finished, you can now close QGIS.
      7. If prompted, click “YES” > On the second prompt, click “Discard.”

       

      Creating Grids Boundaries

      Import Orthomosaic to QGIS

      1. Drag and drop the file into QGIS.

        Create Grids

        1. Click “Vector” > “Research Tools” > “Create Grid…”
        2. Grid type: Rectangle (polygon).
        3. Grid extent: Click “(…)” > “Calculate from Layer > “Select orthomosaic” > “OK.”

          Specify Grid Size

          1. Example (10m x 10m):
          2. Horizontal spacing: 10
          3. Vertical spacing: 10
          4. Leave the rest of the fields as default.
            If your orthomosaic has been georeferenced, you should not need to select the Grid CRS. If it has not, please select it now.
          5. Click “Run in Background.”
          6. After the process is finished, click “Close.”

          Calculate Grid Values

          1. Open Processing Toolbox.
            Make sure you have imported into QGIS the grid shapefile or plot
            boundary created previously.
          2. Search for “Zonal statistics” > Double-click on the tool.
          3. On the Parameters tab:
          4. Raster layer: Select orthomosaic
          5. Statistics to calculate “(…)” > Select only “Mean” > “OK”
          6. Click “Run.”
          7. After the process is finished, click “Close.”

          Delete Unnecessary Plots

          1. Right-click on the “Grid” layer > “Open Attribute Table.”
          2. Click on the pencil to toggle the editing mode.
          3. Click on the “_mean” column to order from low to high.
          4. From the left side of the table, on the first column, click on “1” to
            highlight the row.
          5. Scroll down until you find the first value in the “_mean” column
            with value > 0.
          6. Holding the “Shift” key, select all rows that need to be deleted.
          7. Click on the red trashcan to delete the selected features.
          8. After the process is finished, click “Save” to save the edits.
          9. Click on the pencil to toggle the editing mode.
          10. Close the attribute table.

          Save Generated Grids

          1. Right-click on the “Grid” layer > “Export” > “Save Feature As…”
          2. Format: ESRI Shapefile
          3. File name: “(…)” > Go to the desired folder > “Specify Filename”
            > Click “‘Save.”
          4. Leave the rest of the fields as default.
          5. Click “OK.”
          6. After the process is finished, you can now close QGIS.
          7. If prompted, click “YES” > On the second prompt, click “Discard.”