Atlas

From OLPC
Revision as of 05:31, 26 March 2008 by Cjl (talk | contribs) (cat:geography)
Jump to navigation Jump to search

We are working to build an interactive lightweight atlas that is hackable, can make use of open layer data, and can link out from the leaf node to data relevant to that location.

First step: create a world map.

Content Bundle uploaded: File:Map.xol

Current goals

  • Build activity with world map with country names, capital names, and major cities, with internatinoalized labels.
  • Work with pm27 + wikiwix to make mapping of Wikipedia data possible on top of the basemap.

free available map data

  • The Wikimedia Commons 'Atlas' is a constellation of maps with tags and origin/date/location information. They don't all have clear geotags or projection information or perfectly accurate dates, there is overlap and missing gaps, and they don't have an interface for browsing.
  • OpenLayers and FeatureServer and TileCache are a useful toolchain for generating, rendering, and annotating maps, with strong support for open formats.

Generating a fast static map

TileCache/MapServer will generate a set of tiles for you -- pick what sort of background you want from available default layers; how many levels deep you want to go; and whether you want the tiles to continue to exist at lower resolution for depeer zooms. The default package is 7 levels deep, starting with one for the entire globe, and has sea-topo, land-cover, country- & county-border, city-dot, basic roads & features, and <language>-name layers.

An atlas of ~100MB should offer good resolution for every country in the world. At each layer of tiles, defined regions on the map can be mapped to a dataset of html, images, or text.

Notes on generating a dynamic map

First, install MapServer and related tools locally. MapServer 5 uses AGG rendering, which does a fine job of minimizing aliasing; it is still in Beta, but worth the extra effort to use by all accounts.

Next, find the layers you want to include in your tiles. Make sure they are all at the same resolution and format.

Define how to generate map tiles from data sources on a local or fast-connected server... test it out under a few standard use cases to make sure it is fast enough. Some rendering is done on the client, so check this under client load as well.

This article is a stub. You can help the OLPC project by expanding it.