Closed pinakographos closed 4 months ago
It's a little weirder than I thought. These poking-out hachures are multilinestring:
That single feature pokes out of the raster, while part of it remains inside. Likely quite related to #6. A long hachure starts well within the raster, eventually jumps out of it, and then when the contour clips it, you get part of it inside the raster and part outside. So, solution 2 for #6 is looking better. I thought it was the other way around last night.
There are hundreds of lines going out of bounds. Not by more than
jump_distance
, though, I don't think.These should be cut off because they're causing the contour line (in green, drawn along the boundary) to be unnecessarily divided into hundreds of segments, which is probably having a modest performance impact.
hachure_generator
checks for several reasons to stop a hachure line, but, with one exception (the zigzag check), it doesn't clean up the garbage left behind.