[OSM-dev] ways with 'spurs'

Artem Pavlenko artem at pavlenko.uklinux.net
Sun Feb 25 22:44:51 GMT 2007


Baz,

> I've come across some ways that go:
>
>    A -> B -> C -> B -> D
>
> Shouldn't they be done as:
>
>    A -> B -> D, with a separate way B -> C?
>
> On a more general note, is there any ongoing work to clean up the 'raw'
> database so there are no zero length segments, looping/branching segments.
> I know I've seen it mentioned a few times. If we can't rely on a clean
> starting point I can see loads of duplicate developments for handling these
> kind of cases....

Latest osm2pgsql outputs 'clean' geometries ( as in 'Simple Features for 
SQL'). Well, appart from way 4229618 (I'm looking into this)

Still, it would be nice to validate data at the entry point, too.

Cheers,
Artem




More information about the dev mailing list