Hiking/openhikingmap
Welcome on the main page of openhikingmap, an online slippy map based on openstreetmap data (of course !) I (sletuffe) am working on, targetting hikers.
The first usable version was online around november 2008 and I'm continuously working on style upgrade, more coverage and bug fixing.
It is located at maps.refuges.info
Contents |
Status of the maps.refuges.info service (every one is welcome to change it to depict problems you have found)
- 2012-01-19 : db up to date and server running OK
Coverage
Due to server limitations, it only covers :
- Europe bbox : -27,31,50,72 (due to server restrictions)
- An area from 11°W to 28°E and from 35°N to 60°N for ASTER elevation data
What's in there
- sac_scale=* is used with 3 levels (nothing-t1-t2 or t3-t4 or t5-t6). smaller the dash are, harder it is !
- trail_visibility=* is used with 2 levels (below intermediate or over bad) (some sort of red and some sort of salmon )
- smoothness=* is used on tracks only. Support for use by unknown, car, off roads vehicle, off highway vehicles
- using highway=path path is rendered the same as footway in my styles
- boundary=protected_area is rendererd with a green border for protect_id 1 to 4
- Contours, hillshading and elevation color is now done based on ASTER data set
- WARNING Data elevation model from ASTER is approximative and often wrong in mountains by a hundred meters, do not use it to place summits and do not trust it too much !
- Support for some extra POI with ele=* : tourism=viewpoint, natural=peak, natural=spring, mountain_pass=*, amenity=drinking_water tourism=alpine_hut tourism=wilderness_hut tourism=information place=locality place=isolated_dwelling
- Support for a lot of landuse or natural surface
- Covering almost all europe from zoom 0 to zoom 18
- Map should, hopefully be almost up to date (last DB update is written down the page) and tiles are regenerated as needed, however expect frequent 24 hours late
- My improvement/suggestions/evolution page is Talk:Hiking/openhikingmap
Can it be used freely on another website/application ?
Usage policy
I have no problem with that. However, it is at your own risk, the service might stop any time, or I might ban abusing IP if there are too much requests. Please use the same terms of use as the main renderers as described here Tile usage policy
- Since 2011-07-26, due to increasing mass dowload applications targeting and hampering the openhikingmap server I had to take measures in order to give priority to "browsing users". The current enforced limit is that asking more than 600 not allready rendered tiles in a day will get you banned until next day. I am sad to take such measures which could well lead to collateral damage but unfortunetly I haven't a strong enough server to handle that CPU load. (It has nothing to do with network bandwidth so offering cache space/proxy thing won't help much in this case)
- Since 2011-11-01 When your day quota is exceeded, the serveur sends the following tile to inform you with a HTTP 403 error, so apps developpers can take advantage of this to avoid stroring a bad tile in the local cache (if any)
TMS url
The TMS URL is at : http://maps.refuges.info/tiles/renderer.py/hiking/%z/%x/%y.jpeg
Questions/Suggestions/bug reports
In the talk page please. (The talk page is in my watch list, and I'll receive an email telling me that you want to contact me, watch out that if you checked the "minor" flag in your wiki comment I won't receive anything )
Technical
base setup
The setup to reach this is by following
- Mapnik for the rendering
- Minutely Mapnik to have an up to date database
- Shaded relief maps using mapnik for contours and hillshading
- Based on Howto_real_time_rendering_with_mapnik_and_mod_python but with conditionnal caching system as it was impossible to manage for high traffic volum. This is strongly based on the idea of the OpenPisteMap system, but with different tools and a slight variation sletuffe 15:05, 7 August 2009 (UTC)
Custom
If you are searching for the styles I use, they are freely available here [1] (The password inside the xml is to be replaced by your own, don't worry for me, this password isn't usable for anything but a local postgres access)
Special tweaks
- As rendering of contour lines is long and not moving, they are kept on disk forever, and are on demand "merged" with the osm datas.
- OSM data layer are generated on demand if not in cache, so taking long in new visited areas
- OSM data old tiles from zoom 13 to zoom 18 are regenerated every time the database is updated in the area
- When a change in my styles occurs, everything is slooowly regenerated (1 month or more) so expect different tiles have different visuals
- The hill-shading-colored part is done with a custom C program created by Stéphane Brunner, its source code is available here : Hiking/openhikingmap/color-shade

