mach0 / qchainage

Chainage Plugin for QGIS
GNU General Public License v3.0
19 stars 18 forks source link

New Feature Request: Divide by field value #19

Open mbaliu opened 5 years ago

mbaliu commented 5 years ago

Hi,

It would be nice if the programm could use a field value as the number of parts to be divided.

mach0 commented 5 years ago

Hi and thanks for the request. As I cannot imagine a use case for that - could you describe a situation where this would be useful?

mbaliu commented 5 years ago

I have already worked around that, so I can compile my editions in the script and post here.

CASE: In a street network I had to distribute points along the street by the number of open establishments in there. So I had a table with the name of the street (and a street code) and the number of establishments. In a vector layer I had the street network. By this way I created a distribution of the establishments in the city (São Paulo, Brazil). It is usufull for some kinds of spatial analytics for urban economy.

PS: I had to modified the plugin to not create the first and the last point, so I would like to have some points inside the line, away from the vertices (this was important to not have overlaped points in the street crossing). This should be another git issue.