[OSM-talk] JOSM and scale

Iván Sánchez Ortega ivansanchez at escomposlinux.org
Wed Mar 26 22:07:30 GMT 2008


El Miércoles, 26 de Marzo de 2008, Lars Aronsson escribió:
> The optimal solution for computerized maps is to use Mercator on
> the local level and a picture of a rotating globe on the world
> map, just like Google Earth does.  But that's a lot harder to do
> on the web with today's technology (HTML, AJAX and a tile server).

It could be done with a bit of help from HTML5's <canvas> element. Gotta study 
how those javascript rotation matrices and temporary canvases work, tough...

Given that, the optimal solution would be local gnomonic projections, or UTM 
zones. If you use spherical mercator for rendering on a global basis, you'll 
hit a problem with the zoom levels.

In other words, roads rendered at z17 near the equator are a lot more cramped 
than z17 roads in, say, Finland.

-- 
----------------------------------
Iván Sánchez Ortega <ivansanchez at escomposlinux.org>

USERS ERROR. REPLACE USER AND PRESS ANY KEY. (Deep Blue. 1997)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080326/16aaadd1/attachment.pgp>


More information about the talk mailing list