OpenPisteMap
From OpenStreetMap
OpenPisteMap (http://openpistemap.org) shows a map of skiing/snowboarding pistes, from our WikiProject Piste Maps data.
This page documents the current status and future ideas.
Contents |
Source Code
Available with SubVersion: http://public.subversion.nexusuk.org/projects/openpistemap/
To Do List
- Mapnik styles:
- Get lift symbols to render the right way up and near the middle of the lift way. (see below)
- Lifts:
- aerialway=pylon
- aerialway=station
- piste:lift=magic_carpet
- railway=incline
- Pistes:
- piste:type=nordic (may share the same way as a footway)
- piste:type=sleigh
- piste:type=sled
- All piste:type=* tags for areas
- man_made=piste:halfpipe
- piste:difficulty=expert
- piste:difficulty=freeride
- natural=cliff - to show rocky crags where you can't ski (without some x-treme jumping)
- ref=number piste numbers on the piste
- Amenities:
- Automatic updates from OSM database.
- Work out a big list of bounding boxes for the areas with ski resorts in them (to import contours data for appropriate areas).
- Fix up OpenLayers XHTML compatibility
- Fix osm2pgsql so it doesn't use crazy amounts of RAM (and can load diffs) - looks like the -s option might help, but it's broken ATM.
- Log file writing for tiles.php (log tilecache misses/hits)
Rendering lift symbols
Symbols are currently rendered using LinePatternSymboliser. This renders the symbol at the start of the way (and at configured intervals thereafter) and orientated with the way (i.e. if the way is drawn from right to left the symbol will be rendered upside down).
A possible answer is to fake nodes in the middle of the way. PostGIS might be able to provide the midpoint of a LINESTRING, in which case it could be implemented as another layer in Mapnik with a nifty SELECT statement.
Care must be taken to avoid colliding with the text name of the lift.
News
- The new data set from March 26th has now been imported. Things may go a bit slow since the tile cache has been purged. Steve Hill 09:18, 27 March 2008 (UTC)

