[GRASS-user] Merge parallel roads

Hendrik Hoeth hoeth at linta.de
Wed Jun 12 02:21:42 PDT 2013


Hi Markus, hi Hamish,

thanks for your comments and ideas. I had already tried the approach
v.to.rast -> r.grow -> r.thin -> r.to.vect before, and while it kind of
worked, junctions and splittings are problematic in the cleanup stage at
the end, and the size of the raster map is prohibitively large (I ended
up patching r.thin such that the tempfile is created on a tmpfs, in
order to speed things up).

I will look into your approaches during the next few days, and also give
skeletron another try.

BTW, is there a way to connect the end points of two lines that are
close together, but not any of the vertices along the lines? So
something like v.clean tool=snap, but only for the end points?

Cheers,

    Hendrik

-- 
If your dreams don't scare you, then you are not dreaming big enough.


More information about the grass-user mailing list