[OSM-talk] wayclean: New tool to 'clean up' unordered ways

Nick Whitelegg Nick.Whitelegg at solent.ac.uk
Wed Jan 10 08:36:53 GMT 2007


>> Splitting branched ways is not handled as yet but I aim to do so.

>You might find the WKT() routine in osm2pgsql.c as a useful starting
>point for handling branched ways. In short, that code takes the initial
>list of segments for a way and computes a sequence of contiguous
>segments. Calling the routine again will then calculate another
>contiguous sequence. This can be repeated over and over until it returns
>nothing indicating that all segments have been used.


>Jon

Hello Jon,

OK thanks - I'll look at that.

Nick









More information about the talk mailing list