This article explains how to work with field boundaries and obstacles in PIX4Dfields.
IN THIS ARTICLE
Why do I need field boundaries and obstacles?
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
Why do I need field boundaries and obstacles?
Field boundaries serve the purpose of:
- Trimming layers and creating holes enables focused analysis of a specific area within a defined region.
By dividing and cropping the Orthomosaic and Indices with boundaries, users can concentrate their analysis on a targeted section, resulting in increased efficiency and precision in their work. - Delimitating the region of interest when downloading Satellite data, using Magic Tool or creating a Targeted Operation. Note that is mandatory to have a boundary to use any of these features.
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-hand side.
- 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. The area designated as a hole will be visually indicated as a solid pink shape on the map.
- Click the Add Sub Polygon icon when drawing 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
The trim function allows us to divide the Orthomosaic into smaller areas.
This is important when we need to only focus on a specific field. 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
obstaclesTo 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.