[Script] WME Localisateur de PR

:united_kingdom: Hi everyone :waving_hand:

I’d like to introduce WME Localisateur de PR, a Waze Map Editor script designed to locate road reference points (PR) directly in WME.

:globe_with_meridians: Starting with version 1.1.0, the script becomes multi-country!

Currently supported:
:fr: France
:colombia: Colombia — BETA

Depending on the country, the script uses official road reference data and adapts its search engine to the local road referencing system.

It can be used to:
:triangular_flag: locate a specific PR/reference point on a road;
:motorway: locate an area between two reference points;
:world_map: display reference points directly on the WME map;
:bullseye: match results with the corresponding WME road geometry;
:straight_ruler: estimate intermediate reference points when no physical reference point exists;
:bar_chart: provide a reliability indicator for calculated locations.

France supports departmental roads, national roads, motorways and some intermunicipal roads, with PR display and segment selection tools.

Colombia (BETA) uses official INVÍAS / Red Vial data. Searches are based on the Código de vía and PR. When physical reference posts are missing, the script can use the official road geometry and surrounding references to estimate the requested position and project it onto the WME road network.

:speaking_head: The interface is available in English, French and Spanish, independently of the selected country.

The new multi-country architecture is designed to allow more countries to be added in the future, provided suitable road reference data is available.

Feedback from Colombian editors is particularly welcome during the BETA phase! :slightly_smiling_face:


:fr: Bonjour à tous :waving_hand:

Je vous présente WME Localisateur de PR, un script pour Waze Map Editor permettant de localiser les points repères routiers directement dans WME.

:globe_with_meridians: À partir de la version 1.1.0, le script devient multi-pays !

Pays actuellement disponibles :
:fr: France
:colombia: Colombie — BETA

Selon le pays, le script utilise les données routières officielles disponibles et adapte son moteur de recherche au système de référencement local.

Il permet notamment :
:triangular_flag: de rechercher un PR/point de référence précis sur un axe ;
:motorway: de rechercher une zone entre deux points de référence ;
:world_map: d’afficher les points repères directement sur la carte WME ;
:bullseye: de raccorder les résultats au tracé routier correspondant dans WME ;
:straight_ruler: d’estimer des PR intermédiaires lorsqu’aucun point physique n’existe ;
:bar_chart: d’indiquer le niveau de fiabilité des localisations calculées.

Pour la France, le script prend en charge les routes départementales, nationales, les autoroutes ainsi que certains axes intercommunaux, avec notamment l’affichage des PR et des outils de sélection des segments.

Pour la Colombie (BETA), le moteur utilise les données officielles INVÍAS / Red Vial. La recherche s’effectue à partir du Código de vía et du PR. Lorsque des postes de référence physiques sont absents, le script peut utiliser le tracé routier officiel et les références environnantes pour estimer la position recherchée puis la projeter sur le réseau WME.

:speaking_head: L’interface est disponible en français, anglais et espagnol, indépendamment du pays sélectionné.

La nouvelle architecture multi-pays est conçue pour permettre l’ajout progressif d’autres pays, dès lors que des données de référencement routier adaptées sont disponibles.

Les retours des éditeurs colombiens sont particulièrement bienvenus pendant cette phase BETA ! :slightly_smiling_face:


:colombia: ¡Hola a todos! :waving_hand:

WME Localisateur de PR evoluciona con la versión 1.1.0 y ahora dispone de una arquitectura multi-país.

Países actualmente disponibles:
:fr: Francia
:colombia: Colombia — BETA

Para Colombia, el script utiliza datos oficiales de INVÍAS / Red Vial y permite buscar una posición mediante el Código de vía y el PR.

Permite:
:triangular_flag: localizar un PR en WME;
:world_map: relacionar las referencias oficiales con la geometría de las carreteras de WME;
:straight_ruler: estimar PR intermedios cuando no existe un poste de referencia físico;
:motorway: utilizar el trazado oficial de Red Vial para seguir correctamente la carretera;
:bar_chart: mostrar un nivel de fiabilidad para las posiciones calculadas.

Cuando existen grandes distancias entre postes de referencia, el motor puede utilizar las referencias disponibles y la geometría oficial de Red Vial para estimar la posición solicitada y proyectarla sobre la carretera correspondiente en WME.

:speaking_head: La interfaz está disponible en español, inglés y francés, independientemente del país seleccionado.

El soporte de Colombia todavía está en fase BETA, por lo que los comentarios y las pruebas de los editores colombianos serán muy útiles para seguir mejorándolo. :slightly_smiling_face:

La nueva arquitectura también permitirá añadir otros países en el futuro cuando existan datos adecuados de referencia vial.


WME Localisateur de PR

Hi, is it possible to search for PR for other countries?

Hi. Currently, the script only works with French PRs because it uses an official French database.
But technically, it would be possible to add other countries if there is a reliable source with the reference points/kilometer markers and their coordinates.
Colombia could be a good first country to explore this possibility.

This link shows the PRs in Colombia; it is the official website of the National Roads Institute (Invias). Postes de Referencia - PR. Can you check if the information required for database consolidation is available?

Hi,

Following your question about whether it was possible to search for PRs in other countries, I have worked on a major update to the WME Localisateur de PR script.

The script is now ready to work in multiple countries. You can select the country and the interface language independently. Currently, French, Spanish, and English are available.

And the good news is that Colombia is the first country added after France :colombia:. :slightly_smiling_face:

I have integrated official data from INVÍAS, mainly the Reference Posts and the Road Network. The search tool allows you to enter a Road code (for example 4005 or 6510) and a PR such as 65+500.

The system can locate existing PRs, but also estimate positions when physical posts are missing. In these cases, it uses the available official references and the Road Network geometry, and then projects the calculated position onto the corresponding road in WME.

For example, we already have this working:

4005 — PR 65+500

In this sector, there are no physical posts between 62+980 and 71+000. The script uses intermediate points from the Road Network to bracket the position, calculates 65+500, and projects it onto WME. In our test, we obtained a difference of only 29 m from the WME path, classified with high reliability.

We have also tested 6510 — PR 107+500, including the name change in WME between RN65-10 and RN65-11.

The results also show the references used, the calculation method, the distance to the WME path, and a high / medium / low reliability indicator.

All of this is still a BETA for Colombia. I need to test more roads, especially different types of codes and specific situations within the Colombian network.

If you’d like, once I have a version ready that is stable enough for external testing, it would be great if you could test it in Colombia and let me know about any cases where the location isn’t correct. Your knowledge of the network and how roads are named in WME would be especially useful.

Your question ended up opening the door to international support for the script! :grinning_face_with_smiling_eyes:

:united_kingdom: WME Localisateur de PR — v1.1.0 :rocket:

The script is now multi-country! :globe_with_meridians:
:fr: France — full support
:colombia: Colombia — BETA — new

Colombia support uses official INVÍAS / Red Vial data to locate and estimate PR positions directly in WME, with a reliability indicator.

The interface is now available in English, French and Spanish. More countries may be added in the future!


:fr: WME Localisateur de PR — v1.1.0 :rocket:

Le script devient multi-pays ! :globe_with_meridians:
:fr: France — support complet
:colombia: Colombie — BETA — nouveau

Le support colombien utilise les données officielles INVÍAS / Red Vial pour localiser et estimer les PR directement dans WME, avec un indicateur de fiabilité.

L’interface est maintenant disponible en français, anglais et espagnol. D’autres pays pourront être ajoutés par la suite !


:colombia: WME Localisateur de PR — v1.1.0 :rocket:

¡El script ahora es multi-país! :globe_with_meridians:
:fr: Francia — soporte completo
:colombia: Colombia — BETA — nuevo

El soporte para Colombia utiliza datos oficiales de INVÍAS / Red Vial para localizar y estimar PR directamente en WME, con un indicador de fiabilidad.

La interfaz está disponible en español, inglés y francés. ¡Más países podrán añadirse en el futuro!

I’m testing it out; so far the script is doing its job, “Reaching the PR”, thanks a lot for the contribution @xenon32