[OpenStreetMap] #1612: allow map call spanning 180th meridian
OpenStreetMap
trac at noreply.openstreetmap.org
Sat Dec 22 19:23:10 GMT 2012
#1612: allow map call spanning 180th meridian
---------------------+-------------------------
Reporter: robx | Owner: rails-dev@…
Type: defect | Status: new
Priority: minor | Milestone: Wishlist
Component: api | Version:
Resolution: | Keywords:
---------------------+-------------------------
Comment (by woodpeck):
It is not too difficult to modify the API to return data for bboxes that
cross the dateline (I made a start here https://github.com/woodpeck
/openstreetmap-website/tree/bbox-cross-dateline but this doesn't cover
cgimap or AMF). Having clients handle this does mean that *all* clients
have to implement it and it also means less efficient querying.
But I guess this is much more than just a "can the API handle this"
question. I suspect that if you created a way that went from (179.99,0) to
(-179.99,0), most clients (editors as well as renderers) would draw a
40,075 km line along the equator. And why exactly would this be wrong?
Perhaps it isn't the worst thing that creating such ways is currently very
difficult ;)
--
Ticket URL: <https://trac.openstreetmap.org/ticket/1612#comment:11>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the rails-dev
mailing list