This article explains how to work with field boundaries and obstacles in PIX4Dfields.
Field boundaries are used to trim and add holes to layers, this allows us to only analyze a layer within a defined region. Obstacles are needed when creating Targeted Operation maps that will be used by spraying drones.
IN THIS ARTICLE
Import field boundaries and obstacles
Draw field boundaries and obstacles
Copy/convert field boundaries and obstacles
Save Magic Tool detections to boundaries and obstacles
Trim layers with field boundaries
Edit field boundaries and obstacles
Delete field boundaries and obstacles
Visibility of field boundaries and obstacles
Import field boundaries and obstacles
Different file formats can be imported into PIX4Dfields like Shapefiles, KML, GeoJSON and more.
- Click Boundaries on the left sidebar above the layer list to enter the boundaries mode.
- To import a field boundary, click Import shape on the Boundaries menu on the right.
- Select whether to import the shape as a Boundary or Obstacle.
- To read the name of each boundary/obstacle, the column should be called "name".
- Navigate to the folder containing the file and select it.
- Click Open.
- To trim a layer with your boundary: Click Use to trim in the open edit dialogue of the boundary on the map or click trim on the selected boundary list item on the right board.
- In the TRIM LAYERS menu select the layers you want to trim and click Trim to do so.
Draw field boundaries and obstacles
Click the Boundaries layer on the left board above the layer list to enter the boundaries mode.
- To draw a field boundary or obstacle, click the Draw boundary icon in the left corner of the map.
- Select Boundary or Obstacle.
- Left-click to start drawing.
- When drawing and the third vertex is created, a toolbox appears:
- Click the Add holes icon when creating a boundary to take out any unwanted objects inside your field boundaries.
- Draw the hole inside the Boundary and click the Checkmark.
- Click the Add Sub Polygon icon when drawing both boundaries and obstacles to create a sub polygon.
- Name your newly created file.
- To trim: You can use the boundary immediately to trim directly from the edit dialogue. Just click Use to trim (the boundary will be saved automatically) and you enter the Trim layers mode.
OR
If you want to trim later, save manually and then select the boundary in the list on the right board and click the Trim button to enter the Trim layers mode.
Save Magic Tool detections as boundaries and obstacles
In the final step of the Magic tool, it's possible to convert the detections to Boundaries or Obstacles:
Copy/convert field boundaries and obstacles
To copy or convert:
- Select the boundary/obstacle you want to duplicate/convert in the list on the Boundaries menu and click the Copy icon.
- Choose Duplicate, Convert to Obstacle or annotation:
- A new field boundary is duplicated and appears automatically in edit mode. The original file you duplicated from stays untouched.
Trim layers with field boundaries
To trim layers with an imported file or custom-drawn field boundary:
- Double-click the boundary you want to use to trim in the boundary list on the right board. The edit dialogue opens. Then click the Use to trim button OR Select the layer you want to use to trim in the boundary list and click the Trim button.
- The Trim layers menu opens. Select the layers you want to trim and click Trim to do so.
Edit field boundaries and obstacles
To edit them:
- Double-click the boundary/obstacle you want to edit in the list on the right board. Or click the edit icon.
Editing icon.
- Click the edit geometry button in the opened edit dialogue.
- Drag the white dots to modify the field boundary.
- Click the "plus" sign to create more corners (dots) and vertices.
- To remove a vertex, drag the dot of the vertex that you would like to delete on top of any other dot. Wait until a red halo appears around the selected vertex, then release the mouse button.
- Click the check mark to accept the edited boundary’s geometry or click the X to cancel and leave the boundary unchanged.
- Save the edited boundary with the Save button.
Delete field boundaries and obstacles
To delete field boundaries/obstacles:
Click the trash bin icon of the file you want to delete from the list on the right board. Or double-click the file and click the trash bin in the opened edit dialog of the boundary/obstacle you want to delete.
Visibility of field boundaries and obstacles
Even when the boundary/obstacle layer is not selected, you can still turn the boundary visibility on and off. To do so, click the eye icon on the boundary layer item on the left sidebar.