[Openstreetmap-dev] Line Segments without Streets are Streets?

Immanuel Scholz immanuel.scholz at gmx.de
Wed Nov 30 20:20:25 GMT 2005


Hi,

> Imi, I think the answer has to be that either case is acceptable. If I am
> out mapping an area that I do not personally know then I cannot lay down
> anything other than the nodes and line segments between them. Anything
> beyond that requires additional information about the location being mapped,
> which I probably will not have at all or at least not till a later time.

True, but not an answer to my problem (or at least I feel
misunderstood).


Let me ask it another way by explaining my current problem:

I like to code the creation of streets without the need to create line
segments for every node the street belong to. The user should just draw
a line between several nodes in a row and get a full street created.

Now, if the user draw such a street only from one node to another, I
could either:
- only create a line segment without a street
- create a line segment, then create a street containing only this line
segment

So to decide what's better, I ask, what the intention of "line segment"
in the database is. Some month ago, I was sure, that this intention is
only to serve as pieces of tracks, but since 0.2 and the users starting
to give line segments the name of real world streets, I ask whether my
idea of "line segment" is right.

Currently the applet draws line segments like streets (to me they look
like I would expect a street to look like ;). Maybe this is because the
server does not understand the concept of tracks yet.

I can, of course, code in a way that assume that every line segment is a
track by itself (means as example: draw it like a street), but I don't
want to do this if the applet will change as soon as the server
understands tracks and then assume single line segments without tracks
attached to be no streets but something unfinished thing..

Ciao, Imi.






More information about the dev mailing list