[OSM-talk] And the prize for the largest closed way goes to...

Dirk-Lüder Kreie osm-list at deelkar.net
Thu Dec 10 11:22:02 GMT 2009


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°.
The largest possible closed way would have 4 nodes at (lat,lon) 
(90,-180) (90,180) (-90,180) (-90-180).
On the sphere that would just be a line along the 180° Meridian, in our 
data model it's a rectangle around the world.

-- 
Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0901°N 8.7868°E





More information about the talk mailing list