Skip to content

Swath creation for existing rows #216

Open

Description

@Rahul-Tom

Hii @Gonzalo-Mier,
I have seen that the swath creation mainly used 3 objective funtion. But how can I create the swath for existing rows for fertlization or weeding?

Activity

  1. Gonzalo-Mier commented on Jan 25, 2026

    @Gonzalo-Mier
    Member

    Hi @Rahul-Tom,

    If you know already your swaths, you can create them like (code in python):

    import fields2cover as f2c
    swath1 = f2c.Swath(f2c.LineString(f2c.VectorPoint([f2c.Point(0, 0), f2c.Point(100, 0)])), 1.0);
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions