2009/12/10 Dirk-Lüder Kreie <span dir="ltr"><<a href="mailto:osm-list@deelkar.net">osm-list@deelkar.net</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Anthony schrieb:<br>
<div class="im">> That does it, I'm making a way with name=Northern Hemisphere.  Or would<br>
> that be name=equator.  Doesn't work, does it?<br>
<br>
</div>No, you can't put in the equator as a *closed* way, since the API<br>
doesn't allow the way to wrap around on lon+-180°.<br></blockquote><div><br>How does the API determine whether or not a way is closed?  I thought the API just spat out an ordered list of nodes without interpreting any connections between them.  Even the bounding box algorithms ignore ways.<br>
<br>Isn't it up to the software at the other end of the API to interpret a way which goes from -179 degrees to +179 degrees along the equator?  I assumed (I guess incorrectly), that most software would interpret that as the shortest possible line - a line with a length of 2 degrees, not a line with a length of 358 degrees.<br>
</div></div>