Join connected SEGMENTs into LINESTRINGS
Notgnoshi opened this issue · comments
Austin Gill commented
Input:
LINESTRING(0 0, 0 1)
LINESTRING(0 1, 0 2)
Output:
LINESTRING(0 0, 0 1, 0 2)
Use a heuristic to traverse graph, and emit traversals as LINESTRINGs. Maybe add to the traverse
tool? Or to geom2graph --graph2geom
The problem with geom2graph
is:
- It's C++
- It outputs two-point LINESTRINGs, even when they're adjacent (because it uses GEOS for this)
Related: #130