How to install and use plot layout generator for Plot Stand Count
Install process requires an internet connection
In order to do Plot Stand Count you need to have a contract with Sentera. If you do not have a contract for this please contact support.
Installation Instructions
Install QGIS (https://qgis.org/en/site/index.html)
Download the latest "Long term release"
Download and unzip Plot Layout Generator found in the folder with this guide
Make sure that the unzipped folder is on your C drive
Open OSgeo shell as "Admin"
Go to "C:\Program Files\QGIS"
Right click OSGeo4W.bat and select "Run as Administrator"
Click "Yes"
In Plot Layout Generator folder:
When installing the python libraries QGIS cannot be open during the process as it locks access to the QGIS python folder.
Hold shift key and right-click "setup.bat" file and select "Copy as Path"
Paste path in osgeo shell and hit enter

d. This will install the necessary python packages. The batch file will change permissions on the QGIS program files folders and then install the python packages. This will take several minutes and may pause and continue as it installs multiple packages, wait for the entire installation process to complete.
e. Close the OSGeo4W window
Open QGIS
On the top bar click "Plugins -> Manage and Install"
Click "Install from ZIP"
Browse to the Plot Layout Generator folder and select the "plot_layout_generator.zip" file
Press "Install Plugin" button
Click on the "Installed" tab and check the Plot Layout Generator if it is not checked
Close the plugin window
The Plot layout Generator is available to open from the toolbar

Press the icon to launch the Plot Layout Generator.

Instructions on how to use
Open QGIS
Drag a mosaic into QGIS to set the QGIS project coordinate system or set the project coordinate system by clicking on the EPSG code in the bottom right corner of QGIS.

Open the "Plot Layout Generator" in QGIS

If plots are evenly spaced, choose "1 Point" option and continue with step 4. If plots are not evenly spaced choose "4 Points" option and skip to step 7. Evenly spaced rows may be hard to notice right away. If 1-point option does not fit the number of rows per plot, switch to 4-point option.
Note: The 4-point option will be optimal when gaps between plots are not at a perfect 90 degree angle or plots are staggered.
Select Origin Corner:
Origin corner is the corner that the origin of the plot layout will start from in cardinal directions. If the origin corner is southwest, the plots will generate north and east.
Select Planting Direction:
Planting direction is determines by the orientation of the crop rows. Planting direction only affects the plot ID numbering, planting direction will not affect the polygons
North-South
East-West
Select Origin Point (1 Point):
Place origin on the corner of the first plot. The point should be between the first row of the plot and the next row outside of the plot if there are buffer rows.

Set Corner Points (4 Point)
With the 4-point option, points will be placed in the center of the plot.
Origin Point: First plot
Row Point: Last plot in the direction of the crop rows
Range Point: Last plot in the opposite direction of thhe crop rows
Opposite Point: Corner opposite of the Origin point

Set Jog/Step(4-point)(Staggered plots)
For staggered plots, the 4-point option can set an offset in plots.
Step: Number or rows to stagger, will set offset for every x rows.
Jog: Offset distance
Start: Row to start offset


Set Trail Name.
trial_id attribute will be set for all plots using this string.
Set Plot Counts as needed.
Set Plot Sizes as needed.
Set Crop rows/plot. This will add the num_rows attribute required for Sentera processing.
Set rotation if obviously needed, otherwise edit rotation after first generation.
(1-Point Only) Set alley distances if needed, this will add a gap in whichever direction between the plots.
Add Attribute Data:
Additional attribute data can be added from a CSV file
Drag a CSV file into QGIS
CSV file must contain plot_id values matching Sentera plot ID format (Range*1000 + Row, e.g., "1001 = range 1, row 1" "1011 = range 1, row 11"). Additional attributes will be added to the associated plots.
Check "Add Attribute Data"
Select attribute data layer
Click "Generate Plots"
Review generated Plots, if plots do not align well, change sizes and rotation until acceptable fit. In cases where plots are not evenly planted it may be necessary to use the QGIS move tool to fix plots.

Click "Save Plots".
Plots output file can be saved as a shapefile or geojson.
Additionally, an xml file will be saved with the settings used to generate the plot layout. Settings files can be imported for easy reprocessing.
Export/Import:
Export PLG Settings will create an xml file containing all the selected options in the tool.
Import PLG Settings allows the individual to load settings from an xml file. After importing the settings click Generate plots to reproduce the previously created plot layout.
Importing plot into FA Desktop
Once done with everything go into FieldAgent Desktop.
Click on the field that you want to do the plot stand count.
Then click on "Document View" tab on the top left.

Click on "Add File" button.
Add the shapefile or geojson of the plot that you generated.
Ordering Plot Stand Count
Click into field that you want to order plot stand count
Select the Survey
Click on beaker icon
top middle.Click on Plot on the on the left pane and then click on the type dropdown and select stand count. Then select Stand Count and click on submit button.

Last updated
