I need to create a buffer around a point, witch has to be 1.3x bigger than the length of a given line.

I want to automate this process with graphical modeler or pyqgis. So the program should automatically read the line's length and create a buffer around this specific point.


This one process is going to repeat hundreds of times. I will try to explain here all the steps that must be followed when the software runs the process only once:

1) The user must manually create a line and a point ( different shapefines and different tables). The line has the attribute length on its table.

2) The program should read the length of the line (created on step one) and create a buffer (with the radius 1.3x bigger then the line lenght) around the point (also created on step one).

So, these 2 steps consist one process. For each process, the user will create a new point and a new line. The line is only there to work like a rule. And the point is there to give the position for the buffer.

closed as unclear what you're asking by Ian Turton Apr 7 at 18:24

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • you mean the diameter of the buffer must be 1.3x the length of your line ? What do u want to automate - will u have many different cases to handle ? – snaileater Apr 7 at 14:20
  • The radious must be 1.3x the lenght of the line. I want to automate the creation of the buffer. I want the user to just create a point and a line , than the program must read the lenght of the line and create a buffer around this point. It's going to have hundreds of different cases. – caio villaca Apr 7 at 14:26
  • 1
    how does the line relate to the point? – Ian Turton Apr 7 at 14:30
  • yeah but where are your data ? do u have a 'point' layer ? where is your line located ? in another table ? will it be always the same line ? give more details ! maybe there is an easier way than modeler or pyqgis ... – snaileater Apr 7 at 14:31
  • 1
    Can you please edit your question and add all the information you gave in the comments and everything else we need to know. This makes it easier to give an answer to your question. – MrXsquared Apr 7 at 15:03