Field boundaries and obstacles - PIX4Dfields

Follow

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.

 Previous  |  Next 
 
Note: Try PIX4Dfields now! Register for a free 15 days trial, and download our Example datasets to learn how easy it is to draw and import field boundaries and obstacles in PIX4Dfields.

Import field boundaries and obstacles

Different file formats can be imported into PIX4Dfields like Shapefiles, KML, GeoJSON and more.

  1. Click Boundaries on the left sidebar above the layer list to enter the boundaries mode.
  2. To import a field boundary, click Import shape on the Boundaries menu on the right.

    2023-06-07_20-37-13.png

    Boundaries menu.

  3. Select whether to import the shape as a Boundary or Obstacle.
  4. To read the name of each boundary/obstacle, the column should be called "name".
  5. Navigate to the folder containing the file and select it.
  6. Click Open.
  7. 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.
  8. 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.

  1. To draw a field boundary or obstacle, click the Draw boundary icon in the left corner of the map.

    DrawBoundaries.png

    Draw field boundaries.

  2. Select Boundary or Obstacle
  3. Left-click to start drawing.
  4. When drawing and the third vertex is created, a toolbox appears:

    boundaryDrawing.png

    Toolbox icons when drawing a Boundary.

    drawingostacle.png

    Toolbox icons when drawing an Obstacle.

  5. Click the Add holes icon when creating a boundary to take out any unwanted objects inside your field boundaries.
  6. Draw the hole inside the Boundary and click the Checkmark.
  7. Click the Add Sub Polygon icon when drawing both boundaries and obstacles to create a sub polygon.
  8. Name your newly created file.
  9. 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:

  1. Select the boundary/obstacle you want to duplicate/convert in the list on the Boundaries menu and click the Copy icon.
  2. Choose Duplicate, Convert to Obstacle or annotation:
  3. 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:

  1. 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.
  2. The Trim layers   menu opens.  Select the layers you want to trim and click Trim to do so.
 
Note: The layers that have been trimmed still remain as original.  All the layers have a trash bin icon next to them which you can use to permanently delete a layer.

Edit field boundaries and obstacles

To edit them:

  1. Double-click the boundary/obstacle you want to edit in the list on the right board.  Or click the edit icon.

    edit.png

    Editing icon.

  2. Click the edit geometry button in the opened edit dialogue.
  3. Drag the white dots to modify the field boundary.
  4. Click the "plus" sign to create more corners (dots) and vertices.
  5. 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.
  6. Click the check mark to accept the edited boundary’s geometry or click the X to cancel and leave the boundary unchanged.
  7. 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.

 

Was this article helpful?
6 out of 9 found this helpful

Article feedback (for troubleshooting, post here instead)

8 comments

  • Michal Maly

    Hi,

    how can I create/import/draw/trim boundaries of the specific area/field in Pix4D Mapper?

    Thank you!

  • Avatar
    Momtanu (Pix4D)

    Hi Michal,

    Boundaries in fields are regions in mapper. You can draw/import regions (https://support.pix4d.com/hc/en-us/articles/204769419-How-to-create-a-Region-with-the-Index-Calculator) and get the index map for that region only.

    If you want DSM, ortho, index (all the outputs) for a certain area, you have to draw a processing area (https://support.pix4d.com/hc/en-us/articles/202560179)

  • Michal Maly

    Hi Momtanu,

    thank you for your promt reply, however, the second link does not work, can you confirm please?

  • Avatar
    Momtanu (Pix4D)

    Hi Michal, my bad, here is the working link:

    https://support.pix4d.com/hc/en-us/articles/202560179

  • Felipe Barney

    Hi,
    I need to process several areas within one batch. I work in sugarcane and the lots have an average of 15 hectares and are subdivided by internal roads into sublots which I can define using the boundary tools. My goal is to generate the indices (NDVI) of these sublots all together eliminating the internal roads. Is it possible to define serveal limits (sublots) within the same lot an generate the indices at same time if i need to process them one by one?

    Edited by Felipe Barney
  • Fernanda Bosmediano

    Hey Felipe, 

    We replied to your ticket. Thanks for contacting us. At the moment this can be a workflow to follow: You can draw all the field boundaries. Then, you trim the orthomosaic with each boundary, and then generate and NDVI of each trimmed orthomosaic. I would recommend this workflow because you will get accurate results in that way. For now, it is not possible to hide the field boundaries, but I am passing this request to my team. Trial plot projects are in our roadmap, so we fully appreciate your feedback and feature requests in this regard. You can add any Pix4Dfields feature request here

    Cheers, 

  • Michael Rin

    Hey there,

    is it possible to import field boundaries as shapefile into Pix4Dcapture? Thanks!

    Kind regards

    Michael Rin

  • Kapil (Pix4D)

    Hi Michael, 

    You can't import the shapefile into the Pix4Dcapture app. You can only import .kml/.kmz files to the android version of Pix4Dcapture. For more information, visit (Android) Import .kml/.kmz file.

Article is closed for comments.