I'm trying to identify crop row automatically (or as automated as possible). So far I can identify lines using supervised classification in QGIS (semiclassificationplugin) or Ecognition, I successfully extract the polygons but I can not turn the polygons into a single continuous line .

What I have: What i have

What I want: what i want

Today I saw this video https://www.youtube.com/watch?v=dwIDbXHS8nY. In the video, the software identifies the sugar cane and transforms into dots, then in a line connecting all the dots.

the way i want it

This software does what it's trying to do. I would like to know how this is done.


1 Answer 1


Have you tried the QGIS Plugin available from the following link: https://github.com/AndresHerrera/croprows_generator_pa_v2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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