[josm-dev] Unclosed ways
Mark Williams
mark.666 at blueyonder.co.uk
Sat Jul 12 19:20:51 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dirk Stöcker wrote:
> On Thu, 10 Jul 2008, Frederik Ramm wrote:
>
>>> I try to build my unclosed ways tester. Now it seems to run fairly
>>> good, but I'm not sure I catched all area types. Currently I have:
>> If I were you I'd write a simple script to parse a planet file and
>> dump the tags of every way where the last node equals the first.
>> Straighforward to write, doesn't even require memory (node id
>> equality is sufficient, node position not required), just a few hours
>> of cpu time. That will give you a very good idea of how people tag
>> areas; of yourse you'll have some circular roads, roundabouts etc. as
>> well but it should be obvious to the human being which are meant so
>> be areas.
>
> Well. Actually roundabouts are correct. I made an "unclosed way" checker
> and no area checker. And an roundabout should be closed too :-)
>
> I will see if I find time for that at weekend.
>
> Ciao
Quite a few roundabouts aren't closed.
Reason being, if it goes over one road then under another, you need
different way sections to get layering & bridge correct.
An example:
http://www.openstreetmap.org/?lat=51.49664&lon=0.27121&zoom=16&layers=0B0FFF
I don't think they need checking, I just don't like that assumption!
Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIePYDJfMmcSPNh94RApfTAJ9XFpkEE4y3gwKu2sQKYw8HePlZYACePNII
dtEAYPtV264bM2Yp8Oc5mU4=
=+i2Y
-----END PGP SIGNATURE-----
More information about the josm-dev
mailing list