2009/12/11 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>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2009/12/10 Dirk-Lüder Kreie <<a href="mailto:osm-list@deelkar.net" target="_blank">osm-list@deelkar.net</a> <mailto:<a href="mailto:osm-list@deelkar.net" target="_blank">osm-list@deelkar.net</a>>><div class="im">
<br>
<br>
    Anthony schrieb:<br>
     > That does it, I'm making a way with name=Northern Hemisphere.  Or<br>
    would<br>
     > that be name=equator.  Doesn't work, does it?<br>
<br>
    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>
<br>
<br>
How does the API determine whether or not a way is closed?  <br>
</div></blockquote>
<br>
The "first" node is simply referenced a second time at the "end".</blockquote><div><br>I know that's the standard, but what does that have to do with the API?  Looking at <a href="http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.6">http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.6</a> , I don't see anything about this.  As far as the API is concerned a way is a way is a way.  There are no "closed ways" and "open ways".<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

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>
</blockquote>
<br></div>
Yes, your assumption was wrong, the software does no wrapping around at the 180° Meridian. (currently)<br></blockquote><div><br>When you say "the" software, is there a particular program you're talking about, or are you just referring to all the editors/renderers you know of?<br>
</div></div>