This is the bundle edges parameter page at QGIS 2.18. _kmeanssample is an edge data file with selected samples from running the cluster_line_kmeans tool. The unit of the projection (conic) is meter, so I set the step size to be very large.
This is the error I received when hitting the "Run"
The error message seems to mean that the algorithm wants the parameter values to be integers rather than floats. But I had made sure that initial_step_size, compatibility, cycles, and iterations are all integers. The tool window forces my number to be in the format of floats —— even if I typed in "1", the tool will "floated" it to "1.000000".
I compared carefully the numbers I have with the numbers you put in the blog post. I even tried the exact same numbers but still received the same error message. I also checked the python version in the QGIS console: it can run Python2 syntax perfectly (which is what your script is written in). I wonder if you have any clues that what may cause the issue.
This is the bundle edges parameter page at QGIS 2.18. _kmeanssample is an edge data file with selected samples from running the cluster_line_kmeans tool. The unit of the projection (conic) is meter, so I set the step size to be very large.
This is the error I received when hitting the "Run"
The error message seems to mean that the algorithm wants the parameter values to be integers rather than floats. But I had made sure that initial_step_size, compatibility, cycles, and iterations are all integers. The tool window forces my number to be in the format of floats —— even if I typed in "1", the tool will "floated" it to "1.000000".
I compared carefully the numbers I have with the numbers you put in the blog post. I even tried the exact same numbers but still received the same error message. I also checked the python version in the QGIS console: it can run Python2 syntax perfectly (which is what your script is written in). I wonder if you have any clues that what may cause the issue.
Thank you very much!