2009/12/10 Dirk-Lüder Kreie <[email protected]> > 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? 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. 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.
_______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

