I have a GeoJSON with two layers. One with lines and one with nodes. I'd like to dissolve it (or at least the layer with the nodes) to one single line, by averaging the positions.
I've looked at Turf.js and Mapshaper, but couldn't find out how to do that.
The data looks like that:
and I would like to get something like the red line: