Improved ski ressorts rendering

OpenSnowMap.org renders ski ressorts at zoom 10,11 & 12. For this, it takes either site=piste relations or landuse=winter_sports polygons, and checks what type of pistes they contain (downhill, nordic, sled,etc…) in order to display small icons next to the ressort name.

Until now, these icons where pre-calculated images of all possible combinations.They were not so nice, and did not scale well with the big tiles used on the mobile site.So I built a very handy font file, called Ski.ttf, that looks like this:

This allows me to use Mapnik list-placement on TextSymbolizers to position the needed icons nicely.

It will takes some time for the tiles to re-render, so here what it looks like:

before / after comparison

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *