2009/12/11 Dirk-Lüder Kreie <osm-l...@deelkar.net>

> Anthony schrieb:
>
>> 2009/12/10 Dirk-Lüder Kreie <osm-l...@deelkar.net <mailto:
>> osm-l...@deelkar.net>>
>>
>>
>>    Anthony schrieb:
>>     > That does it, I'm making a way with name=Northern Hemisphere.  Or
>>    would
>>     > that be name=equator.  Doesn't work, does it?
>>
>>    No, you can't put in the equator as a *closed* way, since the API
>>    doesn't allow the way to wrap around on lon+-180°.
>>
>>
>> How does the API determine whether or not a way is closed?
>>
>
> The "first" node is simply referenced a second time at the "end".


I know that's the standard, but what does that have to do with the API?
Looking at http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.6,
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".

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.
>>
>
> Yes, your assumption was wrong, the software does no wrapping around at the
> 180° Meridian. (currently)
>

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?
_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to