OpenSnowMap.org - blog

Aller au contenu | Aller au menu | Aller à la recherche

samedi 22 mars 2014

Ajouter une piste de ski de fond avec iD

Il existe plusieurs solutions pour rajouter des chemins dans Openstreetmap. Le dernier-né des éditeurs s'appelle 'iD'. id_logo.png Avant de commencer, peut-être avez-vous une trace .GPX de votre ballade en ski? Sinon, pas de problème: vous pourrez utilisez votre mémoire et une photo aérienne.

Dans tout les cas, connectez-vous ou créez un compte sur www.openstreetmap.org.

Si vous l'avez, prenez le temps d'envoyer votre fichier GPX au serveur à partir du lien 'Traces GPS' en haut de la page.

Ensuite, zoomez sur la carte vers l'endroit ou vous allez rajouter votre piste, puis utilisez le menu 'Modifier' en haut pour choisir 'iD'.

000_id-editor.png

Vous voici dans l'éditeur. Lorsque vous serez content de votre travail, utilisez le bouton 'Sauvegarder' pour le sauver dans OpenStreetMap.

001_id.png

N'ayez pas peur de faire une erreur :

  • tout le monde en fait
  • il y a un bouton annuler (fonctionne avant de sauvegarder)
  • et surtout, même si vous sauvegardez, un autre contributeur pourra la réparer, voir même annuler vos modifications si ce n'est pas réparable.

Si vous avez besoin d'un coup de main, n'hésitez pas à demander de l'aide:

Tracer la piste

Commençons par afficher une image aérienne ou notre trace GPS. Sélectionner par exemple les couches 'Openstreetmap GPS traces' et 'Bing Aerial Imagery'.

002_gpx-layer.png

Pour créer un chemin, rien de plus simple : prenez l'outil 'ligne', et repasser sur la trace GPS ou en suivant l'imagerie aérienne.
N'oubliez pas de connecter votre chemin aux chemins déjà existants !
Inutile de faire trop de points, et prenez garde de ne pas suivre toutes les errances de votre GPS : il arrive que celui-ci divague un peu autour de votre position.

003_trace.png Repassage d'une trace GPS

004_trace-imagery.png Tracé de mémoire sur l'imagerie aérienne

Cela ne vous semble pas très précis, mais c'est oublier qu'avec le temps d'autres pourront affiner le tracé grâce à leur propre traces gpx, comme ici :

gpxs.png

Modifier

Souvent, une piste emprunte un chemin existant qui est déjà présent. Inutile de repasser dessus.
Lorsque la piste quitte le chemin, cliquez simplement sur le point d'intersection, et choisissez l'outil 'ciseaux'. 0045_couper-small.png

N'ayez crainte, même coupé en deux le chemin reste connecté. Cela va seulement nous permettre de dire qu'une partie du chemin est aussi une piste de ski de fond, et l'autre seulement un chemin.

Les Tags

Bon, voici notre chemin tracé, mais comment fait-on pour renseigner une piste de ski de fond ?

C'est simple, sélectionner le chemin, et utilisez le bouton 'Ligne' en bas du menu à gauche. 005_tag.png

Ceci nous ouvre l'éditeur de tags, que vous pouvez renseigner comme ceci :

006_tag.png

Ou comme ça :

007_tag.png

Bon, les tags, qui permettent de décrire ce que vous venez de mapper, ça ne s'invente pas. Voici ce que vous devez savoir pour une piste de ski :

Le type de piste

piste:type = nordic pour le ski de fond

Pour les autres sports d'hiver, il existe aussi :

  • piste:type = downhill (ski de descente)
  • ... = hike (raquette ou à pied, selon le damage)
  • ... = skitour (peau de phoque)
  • ... = sled (luge)
  • ... = sleigh (traineau / ski-joring)
  • ... = snow_park
  • ... = playground (jardin d'enfant)

Plus d'info ici.

Le damage

  • piste:grooming = classic
  • ... = skating
  • ... = classic+skating (le plus courant en Europe centrale)
  • ... = scooter (juste un passage à la motoneige)
  • ... = backcountry (pas de damage mécanique, il faut faire la trace soi-même)
  • ... = mogul (bosses, pour le ski de descente)

La difficulté

piste:difficulty = novice, easy, intermediate, advanced, expert

Attention, ce tag n'est pas là pour renseigner sur la couleur de la piste, mais pour signaler une section plus ou moins ardue. Vous pouvez utiliser ces définitions :

  • Novice Piste plate, familiale, aucun effort requis (du genre pas à plus de 2km d'un chocolat chaud).
  • Easy Piste normale, sections en pente courtes.
  • Intermediate Pente importante, ou passage étroits en pente. Un peu de sueur nécessaire. N'utiliser que sur les sections concernées.
  • Advanced Pente importante, avec des passages étroit ou des virage serrés, pistes souvent glacées. N'utiliser que sur les sections concernées.
  • Expert Pente importante, avec des passage étroit ou des virage serrés, pistes souvent glacées. Terrain dangereux à proximité (falaise). N'utiliser que sur les sections concernées.

Et voilà ! D'ici demain, vous devriez voir votre piste apparaitre sur la carte OpenSnowMap.org.

Dans un autre post, je vous expliquerais comment renseigner la couleur des pistes et leur nom.

dimanche 9 mars 2014

They use Opensnowmap

I was requested by a few people to use opensnowmap.org tiles on their website.

Now you can find them on:

To do the same, it's easy: you just have to tell me so, and use a proper referrer and user-agent. Of course you need to acknowledge OpenStreetMap according to this page, and OpenSnowMap.org CC-BY-SA. This is important to tell me before, so that I can check if the server load is ok and warn you about any change.

This only concerns the tiles without hillshading and contour-lines: I'm afraid the load would be to big otherwise.

Of course, if you made any serious revenue thanks to those tiles, maybe you are kind enough to help me and share a part of the Opensnowmap server costs.

Offline tiles updated

The sqlites containing opensnowmap.org tiles up to zoom 16 have been updated from fresh data on 06.03.2014. They can be used on your mobile device or whatever.

Check here: http://opensnowmap.org/iframes/data.html or directly here http://www2.opensnowmap.org/data-download/

Yves

dimanche 23 février 2014

Resort mapping incentive

It's nice to have the largest ski map worldwide at hand with OpenstreetMap. Now with a few mapping efforts, some really useful services could arise from this data. Not only in putting more pistes on the map (there is still plenty to map !) but also in organizing them by ski resorts with site=piste relations.

Ski resorts pistes, and pistes length

Now on Opensnowmap, you get some usefull statistics on a particular ski resort.

Some resorts seems to be rather well mapped:
site-good.png


While for others ...
site-bad.png
There is no ski pistes, just two buildings there.

There is plenty of thing that are not yet mapped in OpenStreetMap. However, I hope these stats will give a good incentive to completely map ski resorts, why not by the operator ?

These stats are obtained by checking the members of site=piste relations.

How-to

A few controls have been recently added to complete the piste list view on Opensnowmap.

To obtain the list view, use one of these buttons to

  • list-22-hover.png list all pistes in the viewport


  • select-22-hover.png select a piste by clicking on the map


  • search-22-hover.png search a piste by name


On the list view, you can:

  • list-flat22.png List all pistes of a particular ski resort


  • profile-flat22.png View the elevation profile of a piste


  • info-flat22.png Get more info about the resort or piste, including a link to OSM browser


vendredi 21 février 2014

No ski mapper in Americas ?

Is there anybody mapping ski pistes any more in the USA? It's winter there too, but here are the piste edits for last month (red dots) :

monthly_no_us.png

Or do I have an issue with my script ?

Anyway, glad to see on the last Modis update that the sun is shinning again above scandinavia: If the satellites can get the snow cover, this means that they can see the ground in daylight.

dimanche 2 février 2014

Opensnowmap news

A few things happened since Christmas. The server had some issues when updating the pistes daily: the (small) disks were full. I took the opportunity to change the server and hosting. All is runnning normally now, and the new server is big enough to handle the relief and contour lines data on the same machine than ski pistes. This means that Opensnowmap now runs with two servers able to serve the same content from two distinct hosting companies. The second one is cheap and slow, but make a descent job as a fallback server.

But that's behind the scene, what's really new ? Here it is : 2899.png

* Single overlay

The pistes, Modis 8-days snow-cover, hillshading and contour lines are now rendered as a single layer: 3x less tiles to download for a map view. I am sure your browser will like it.

Piste-only layer is still available for third-party websites (be kind enough to ask me before using tiles).

* Search-results - Elevation profile

There is now a feedback on the map when you place the mouse pointer over a piste name in the search-result box.

screenshot-search-results.png On the pistes list, a small icon also allows you to get the elevation profile for a single way or single route. This will also show you the route on the map, with an arrow at the beginning to show the followed direction.

Future improvment will be made to improve the interaction between the map and the ski pistes list on the left.

* Sleigh pistes

Long time overdue, sleigh pistes are rendered violet with a sleigh icon. Actually this is not clear if piste:type=sleigh means dogs, horses or camels or whatever, so I choose a sleigh as an icon.

* Czech translation has been updated.

Other languages would benefit from your help, too !

dimanche 29 décembre 2013

Opensnowmap 2014 flavour

Opensnowmap.org has a brand new design for 2014.

After the mobile version were born three month ago, I figured out I could use part of what I learnt to improve the overall look of the main site. I was also suggested some useful improvements from the french mailing-list.

design-2014.png

This new skin should also behave better on ie7 (even though a more recent browser is heavily recommended).

The design was sketched with Inkscape before implementation begun, and the complete icon set too: this saved me a lot of time, and the result looks as intended (or even better).

Some tooltips have been added to the menu buttons, so they need your traduction. For the moment, they are in english by default when not translated in the language files (language files).

Let me know your feelings or bug reports in the comments, by email or in github. Yves

mercredi 11 décembre 2013

Making sense of openstreetmap ski data

Some Opensnowmap.org services now rely on a smarter pistes search API than previously. It's not replacing a Xapi or Overpass API, but is oriented toward a webservice that allows one to find what people usually calls a 'ski piste'.

On Opensnowmap, there is less redundant search results when searching a piste by its name. It's the same for pistes information and route description when you click on the map. Also, the search function is now a bit tolerant to typos.

A piste API ?

Well, it's a big word for a python CGI making requests to a slightly modified pgsnapshot database.

Simplify search results

What happens if you search for a piste named 'Pauvre Conche' in openstreetmap data? You have 4 alpine pistes results: two easy ways, and two intermediate one. The new API then check if these ways touch each other, and if they share the same tags. If it is the case, they are concatenated. These give only two 'pistes' the blue one and the red one for 'Pauvre conche'.

Also, some pistes are mapped as ways, other as relations. There is even some people that map the pistes as both way and relation, both with the same name. Now the list of result can be filtered to remove the ways if they belong to a relation. This means that the piste 'Le Vourbey' can be found as a single result, omitting the way 'Chemin de coupe le Vourbey' part of the relation 'Le Vourbey'. However, if you use the routing feature of Opensnowmap, then the results will emphasize the way tags, but still show you that the way belong to a relation.

This will hopefully gives a user what he or she is looking for: a ski piste, not ways or relations.

Typos

This is easy: Postgres provides the module pg_trgm that does a pretty decent job.

Performance

Some burden in filtering the results have also been moved from the client (your browser) to the server. Also, geometries are sent as encoded polylines instead of wkt to reduce bandwidth consumption. Nevertheless, some filtering process can be long, so the API restrains itself to process only 50 OSM elements (ways and relations, before filtering) per request to ensure a reasonable response time. So you won't be able to find all the piste named 'Loipe' on Opensnowmap.org website. If needed you can add &limit=false to the query.

Opensnowmap.org in Japanese

Thanks to a contributor, the website is now translated in japanese. Also, mapnik were not properly rendering piste names in japanese nor korean: it's now fixed.

To provide translation in your own language, or complete the existing translation, check these files on github, then translate from the en.json file.

dimanche 24 novembre 2013

Premier mapping de la saison

C'est parti ! Ma première sortie hier m'a permis d'ajuster La Mathiez Sarrazin, sur le massif de la Haute-Joux. Une premiére boucle assez tranquille que j'ai mappé 'novice', puis une deuxième un peu plus vallonée ou 'easy', le tout avec un bon damage suites aux premières neiges conséquentes. La relation mappée en vert est un peu spéciale avec des passages communs à l'aller et au retour.

mathiez.png

Ce domaine qui part de Vaux et va jusqu'à Cerniébaud est vraiment sympa, j'espère bien en compléter le mapping d'ici la fin de cet hiver. Et si quelqu'un complète avant moi, tant mieux !

samedi 9 novembre 2013

Opensnowmap improved rendering

The opensnowmap layer is getting ready for winter.

  • Gladed, mogul and lit pistes are now rendered with appropriate icons
  • Area pistes are now properly transparent for a better integration on top of topo layers
  • Overall look of the layer is improved thanks to a better aliasing and smoothing of the pistes

Time to update the mapkey too:

mapkey.png

Yves

mercredi 16 octobre 2013

Opensnowmap mobile version

Opensnowmap.org is now available in a mobile-friendly version.

mobile version

mobile_version.png The main navigation features have been integrated in this version.However, you won't find the elevation profile and micro-routing functions. First, because it's complicated, and then, because I did not find any example showing me this could make sense on a mobile screen.

The mobile version benefits from a 'my location' icon that will re-center the map on your location at a few second interval unless deactivated by the same icon. Hopefully, because I figured out that HTML5 geolocation implementation among browser and device seems a bit tricky unless you found the various settings allowing it. So, sorry in advance if you are welcomed by an alert popup: I hope this will help you to find whats wrong.

Technically, the server should redirect you on the proper version based on user-agent. You can then change to the desktop or mobile version from the menu. Your choice will be remembered in a cookie along with your langage preference (including Catalan users, thanks to Joan !).

This has been tested on various Android browsers, but I'm glad to receive feedback fom users on iOS,Windows phone or else.

Yves

lundi 30 septembre 2013

Opensnowmap.org news

A few improvements had been put online recently:

  • Routing controls: intermediate points are now draggable. Double-click to delete.
  • Permalink with marker: accessible from the menu, a permalink with marker let's you share a meeting point with your friends (example).
  • Resorts shown from zoom 5 (site=piste).
  • Relief layers on top of piste layer, to show the relief on pistes tagged as areas (Whistler.
  • Openlayer 2.13.1.
  • Replace Potlatch link with Id.
  • Minor interface changes.

Bug corrections:

  • HTML fix for ie8.
  • fix pistes ofsetter tool (example).

lundi 16 septembre 2013

Improved ski routing

pistes-pointer-on.png The routing function have been improved. Now the start and end points are the closest point on the closest piste. Sound logical, but it wasn't the case before.

This now means that you can take a lift at mid-slope, on Opensnowmap.org website, at least !

For those that did not knew the multi-modal (winter sports only) routing and pistes info capabilities of Opensnowmap.org, click on the the hand icon in the menu bar, zoom down to your favorite resort, and click on the pistes.

routing.png

Note: Routing on Opensnowmap.org still rely on Pyroute. I had a test recently with Pgrouting 2.0.0 RC1, but did not end up with something worth it yet. I did not gave up yet.

lundi 2 septembre 2013

Ski resorts: cool stuff with relation type=site

Relations type=site, site=piste are used to map a 'ski ressort' or 'skiing area'.

There are relations grouping all winter sport features that are member of a particular ressort. Their name is rendered at intermediate zoom on Opensnowmap.org.

Creating relations site=piste not only allows to render nice and meaningful names on the map at low zoom, but it also come in handy when your are looking for a piste. search-sites.png

Let's say you are looking for a piste named 'sapin' (pine-tree in french). Not surprisingly, you will end up with a lot of results. However, now Opensnowmap.org gives you the results with a link to the resort name as tagged in the site=piste relation in which the piste is a member.

Handy, isn't it ? Well, there is only a few relations like this right now. But the good news is that building these relations is just armchair mapping ;)

For this, I strongly suggest the use of JOSM on bigger ressorts. Use Opensnowmap.org tiles as a background and search for "piste:type"=* or aerialway=* , the rest is your local knowledge to add the proper name.

jeudi 27 juin 2013

Opensnowmap goes west !

Us and Canadian downhill pistes are now rendered with a local coloring scheme: green / blue / black diamond.

US-pistes.png

dimanche 23 juin 2013

Opensnowmap on Android

Thanks to Osmdroid, it's relatively easy to build a simple map application for Android, so here it is :

Opensnowmap app on google play

It offers simple online map browsing and piste / place search by name. I hope it is more convenient to browse ski trails than on your mobile browser, though I know that in the future I should provide a proper web-based mobile version of the site.

Be warned : this application is a paid-for one, and is mainly intended to support for server costs. It's hard to find a good way to call for support, but I found this solution both practical for donations and useful. So, if you like Opensnowmap, don't hesitate to give it a try.

App-screenshot

samedi 4 mai 2013

Contours lines suspended / courbes de niveaux hors service

The contour lines database is suspended till further notice for an upgrade (SRTM V4.1 from CGIAR, a bit of smoothing for ASTER data in northem areas).

Les courbes de niveaux seront à nouveau disponibles après une mise à jour (SRTM V4.1 grâce à CGIAR, les données ASTER seront également adoucies pour les régions nordiques).

Yves

samedi 27 avril 2013

Resort rendering update

I prepared the sets of icons to render the following activities if they are present among the members of a site=piste relation:

  • dowhnill
  • nordic
  • sled
  • ice-skate
  • jump
  • playground
  • skitour
  • snow_park
  • hike (snowshoes)

There is still a few placement issues, but it's overall looking good:

sites-02.png

Now that the snow is slowly melting, that's something you can map remotely.

How-to site=piste.

dimanche 14 avril 2013

OpenSnowMap.org Updates

First of all, thanks a lot to all bugs / feature request reporters !

The map:

  • Downhill pistes are now renderd as area (area=yes) see
  • Names on downhill pistes
  • Resorts are now renderd from zoom 8 see
  • The lifts icons are now the head up see
  • Fix sled and skating icons placement

Website:

  • Move blog to new address blog.opensnowmap.org
  • Refresh interactive mode button design
  • Lot of translation fixes
  • Remove forum. It's been hacked :(

Data:

- page 1 de 3