[OSM-talk] Map tag in Wikipedia

Lars Aronsson lars at aronsson.se
Wed Mar 11 02:03:21 GMT 2009


Ævar Arnfjörð Bjarmason wrote:

> > Now that is a special requirement!  Could you generate static HTML
> > that uses <table> and <div> to line up some static PNG tiles in a
> > static HTML page?  Would this also solve the problem for browsers
> > without JavaScript?
> 
> Right now you can get a static dump + image dump and produce a fully
> working copy of a Wikimedia wiki. If all the maps relied on map tiles
> hosted somewhere else that would break a lot of things for the static
> dump content wise.

I would have to learn more about how these static dumps are made.  
The Swedish Wikipedia (300,000 articles) contains no uploaded 
images.  It fetches all images from Wikimedia Commons that 
contains 4 million files.  Does a static dump of sv.wikipedia 
require a complete copy of Wikimedia Commons? Or can you get a 
separate dump of only the necessary images?  Could the same 
selection work for map tiles?  We really don't want a tile 
generator to "upload" every tile through a MediaWiki.  :-)

Since these static dumps were produced in June 2008, perhaps this 
system doesn't need to be our top priority.

It is also possible, if the live maps for a city is at z=12, the 
static dump could show maps at z=8 thus saving lots of space by 
omitting the tiles for deeper zoom levels.  After all, a static 
dump is already a compromise.


-- 
  Lars Aronsson (lars at aronsson.se)
  Aronsson Datateknik - http://aronsson.se




More information about the talk mailing list