lines_center raise an error if a line has a length of 0
JeremyGelb opened this issue · 1 comments
JeremyGelb commented
When a line has a length of 0, the function lines_center raise an error. It would be better to just use the coordinates of its single vertex. A simple way to avoid the problem actually is to separate the spatiallinesdataframe and to create the points with the function coordinates for the lines with a 0 length. It will be fixed in the next version.
JeremyGelb commented
This bug is corrected in the dev version now