[josm-dev] Unclosed ways

Dirk Stöcker openstreetmap at dstoecker.de
Thu Jul 10 09:43:04 BST 2008


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
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list