[OSM-talk] Way with only one single node

Stephan Knauss osm at stephans-server.de
Tue Mar 20 20:16:09 GMT 2012


On 20.03.2012 20:46, John F. Eldredge wrote:
> ThomasB<toba0211 at yahoo.de>  wrote:
>> I am wondering how a way with only one node can exist in the database.
>> I have
>> deleted it but how many still exist?
>> http://www.openstreetmap.org/browse/way/154820504/history
> Since it takes at least two points to define a line, a way with only one node would be zero units long, and effectively nonexistent.

The API has not problem with ways having only a single node. Also having 
the same node multiple times is no problem from the point of the API.

Some editors create these ways. The most prominent one is Potlatch. The 
Ticket is open since two years. xybot trys to correct some of the 
problems until a bugfix is made in potlatch.

https://trac.openstreetmap.org/ticket/2501

We had the topic a while ago on the german list:
http://lists.openstreetmap.org/pipermail/talk-de/2012-March/093681.html

A much longer while ago I had deleted all ways having no nodes at all. 
Not sure if more of them exist now.

Stephan



More information about the talk mailing list