Mise à jour du futur tram à Lausanne

Bonjour à tous,

Je cherche un humble contributeur qui puisse m’aider à mettre à jour l’ensemble du tracé du futur tram de Lausanne. J’ai reçu le tracé final de la part des TL, mais je n’arrive pas à l’intégrer (certainement à cause de l’amplitude géographique du tracé). Le problème supplémentaire est qu’il y a déjà un tracé sur OSM mais que celui-ci n’est pas correctement géoréférencé.

Le tracé est disponible au format .geojson formellement géoréférencé dans le système WGS84.

D’avance merci pour votre aide.

Looking at Tramway de Lausanne — Wikipédia it seems that there’s one line now open. Is that line on purpose-built tracks, or runs on highways already existing in OpenStreetMap?

Or do you want to upload the route of the future expansion? This is a bit “against” the rules of OpenStreetMap, where we aim to only have data that is verifiable. In Bern we have the proposed tram line in OpenStreetMap, even though the project is still in the authorization phase: overpass turbo - Swiss edition, and this is in my opinion wrong, even with the “correct” lifecycle prefix.

Showing the proposed route (based on a geoJSON file you have) on top of an OpenStreetMap basemap is easily doable with uMap - Online map creator

PS: I moved your post to the Swiss category…

PS2: Looking at other proposed:railway=* in Switzerland (overpass turbo - Swiss edition), I see that there’s already a line proposed T1-line mapped in Lausanne: Way: ‪T1‬ (‪951231236‬) | OpenStreetMap

Oui, c’est juste. il y a déjà la ligne sur OpensStreet Map, mais elle n’est pas correctement représentée et les transport public souhaite corriger cela. J’ai donc la géométrie juste (uniquement la ligne qui va entrer en service) et je souhaiterai donc supprimer l’ancien tracé et ajouter le nouveau. Mais je ne suis pas un utilisateur averti de OSM et je ne maitrise pas ce genre de mise à jour de grande échelle. C’est pourquoi je cherche une personne capable de faire cette modification sur la base de mon fichier…

merci pour le transfert dans la bonne rubrique ;)

Do you have a written confirmation that you/we are allowed to upload the data to OpenStreetMap.org? Then it would be possible to replace what’s already there with better data.

Oui, j’ai reçu la lettre officielle aujourd’hui.

Great, can you post an anonymized version of the text here or somewhere else publicly accessible?

Oui bien sûr, voici la lettre officiel de la part des Transports Publics Lausannois:

2 Likes

Thanks for providing the geoJSON file in a private message :slight_smile:

I’ve made a first changeset and updated the eastern part of the line in Changeset: 183880663 | OpenStreetMap More changesets will follow, and an explanation of the process…

2 Likes

Nice one!
By the way, new traffic lights and pedestrian crossings have been installed with the new tram system; they are designed to accommodate both pedestrians and cyclists. Is there a way to report or add these updates on OpenStreetMap?

@Ravachol in this case I think we should wait until habi has done all the editing, so we don’t loose the information you would add.

It was “only” a second changeset to update the already present geometry of railway=tram around Lausanne with the geoJSON file provided by @Staub-RBU (axes_EPSG4326-WGS84_v2.geojson).

The whole process was quite fiddly, so I’d be happy if a another set of eyes can look over the result now on osm.org.

Here’s what I did:

  • I loaded the geoJSON provided by email in JOSM (with the OpenData plugin).
  • Immediately after loading, I simplified the geometry of the data (with a maximum error of 5 cm (!), which dropped +4000 nodes and removed all tags of the data (like EntityHandle=*, Layer=*, Linetype=Continuous, SubClasses=AcDbEntity:AcDbPolyline).
  • I then selectively downloaded the data in OSM with the query below
[out:xml][timeout:90][bbox:{{bbox}}];
(
  nwr["railway"="tram"];
);
(._;>;);
out meta;
  • Then it “only” remained to split the ways already in OSM at the neuralgic points, replace their geometry with the geoJSON data (also split at those points) and rejoin the ways after that. :)
  • Before really uploading the data I fixed the Validation errors that JOSM complained about.

Now Way: ‪T1‬ (‪1265864957‬) | OpenStreetMap and Way: ‪T1‬ (‪1265864958‬) | OpenStreetMap are showing nearly exactly the geometry of the provided geoJSON file (minus the simplification).

The geometry leading to Way: ‪Garage-atelier du tramway‬ (‪1154671796‬) | OpenStreetMap and in it has not been updated yet, only the parts on the street.

@Ravachol From your edit history you seem to be local. Regarding your question; if you can directly edit the data that’s the best way, otherwise add a Note on the relevant spots and “the community” will try to take care of it.

Thank you! I updated the road/crossing layouts to the post-construction status, aligning them to the updated tram trace. I updated some traffic lights and pedestrian crossings as well, but others still need to be added and not everything is fully installed/marked on the ground yet.

2 Likes

One day I’ll take my bike and journey along the tracks with my computer to make some updates :blush:

2 Likes