I've got a polygon of agriculture field. I want to fill this polygon area with polylines in equal spaces between them (it supposed to represent the tree lines). those lines are not only for symbolic use, its should be for analysis.

Is there any way to convert this polygon into polyline like I described? I have tried to use the "polygons to line" tool but it gives me only the scope of the polygon and not the fill.

  • 2
    Is this just for display purposes or are you wanting to add attributes/do some analysis on the polylines? Nov 6, 2017 at 12:02
  • Welcome to GIS SE. As a new user, please take the Tour. In order to accomplish your stated goal, you'd need to construct lines of the desired separation and orientation, then clip them with your polygon. If you just want a linear fill symbol, you should edit the question to specify this.
    – Vince
    Nov 6, 2017 at 12:05

1 Answer 1


Suppose a field like this (orthophoto + field limit shapefile):

enter image description here

Calculate distance between trees (I take minimum 10 trees prior to calculate mean):

enter image description here

Create a vector grid with tree spacing in x and a big space in y (in this case, you could use tree spacing in y):

enter image description here

Rotate lines (if needed):

enter image description here

The result should be something like this:

enter image description here

The final step is to clip geometries... I used intersect tool:

enter image description here

And the final result:

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.