WME Closures Toolkit

Chiusure ricorrenti avanzate con gestione della coda — ispirato a WME Advanced Closures & waze.tech-informatique.fr

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
drslump34
Installazioni giornaliere
2
Installazioni totali
78
Valutazione
0 0 0
Versione
0.87.01
Creato il
03/06/2026
Aggiornato il
20/07/2026
Dimensione
738 KB
Licenza
MIT
Applica a

🚧 WME Closures Toolkit

A powerful Tampermonkey userscript for Waze Map Editor that streamlines the creation of recurring road closures with a queue, trace visualization, and advanced search.

Inspired by WME Advanced Closures and waze.tech-informatique.fr.

⚙️ Configurer tab

  • Date range with start/end time and optional extra days
  • Weekday chips: presets (All, Mon–Thu, Mon–Fri, Sat–Sun, None) + individual selection
  • Repeat mode: generate N occurrences every X days / hours / minutes
  • Public holiday filter (3 modes, auto-detected by country):
    • Except public holidays — removes occurrences falling on public holidays
    • Public holidays only — keeps only occurrences on public holidays
    • + Public holidays — adds public holidays on top of selected weekdays (union)
  • Emoji picker 📌 inline in the description field
  • Direction (both ways / A→B / B→A), node closures, ignore traffic
  • Associated MTE selector (with refresh button)
  • Occurrence preview with count

🔀 Turns tab

  • Close turns, not only segments — same recurrence engine, same holidays, same queue, same MTE
  • Select one segment, then an extremity (node A / B); an extremity with no closable turn is struck through
  • Each turn shows its arrow, destination street, angle in degrees and status — a junction often offers two turns into the same street
  • "Send to Configure": dates and recurrence are set exactly as for a segment

🏷️ Source (partner)

  • Attribute a closure to a partner, exactly as WME's native form does
  • Requires partner status on your account (granted by Waze, not by this script) — otherwise the field disables itself and states why
  • Searchable: filter results by partner, with a dedicated Source column

📄 CSV tab

  • Import of the Turns CSV — what WCT exports, WCT reads back. Turns are re-resolved from their semantic identity (from → to through the node), so a file stays valid even if the junction was redrawn since the export
  • Drag-and-drop or file-select CSV import
  • Directly added to the queue without going through the configurator

🗺️ Tracés tab

  • Import GPX, KML, KMZ, GeoJSON, Shapefile (ZIP) files
  • Visualization on the WME map with customizable colors per track
  • Route coverage check: highlights segments not covered by a trace
  • Two-level hierarchy (files / tracks), per-track visibility toggle

💾 Préréglages tab

  • Save and reload full configurations (dates, times, days, direction, MTE…)
  • Persisted locally in localStorage

🔍 Recherche tab

  • Area to search: current view, or 5 / 20 / 50 km around the map centre — in one to two seconds, without the map moving. This is what lets you save a whole area. Past the view, street names are not loaded: the column shows "—" but the segment ID is complete and 🎯 takes you there
  • Every section folds; a folded section whose filter is active carries a red ● dot
  • Targets: Segments and/or Turns — two result blocks
  • Turn results draw a red-and-white "roadworks ribbon" ring on the map around each junction
  • Filter by partner (Source), or by "editor closures only"
  • Export what you FOUND (not the queue): CSV AC for segments, CSV WCT for turns
  • Search existing closures loaded in the current WME view
  • Filters: status, time window, description keyword, MTE name (AND/OR)
  • Sortable results table, automatic segment selection, per-row map centering
  • "Switch to Configure" button to chain closure creation

📋 Queue management

  • Collapsible queue cards with N×M seg badge (segments × occurrences)
  • Segment freshness indicators: ⚠️ null segment, 🕒 modified after last tile build
  • Stop button during application
  • Progress bar (accurate with multi-segment batches)

🪄 FAB & display

  • Draggable floating action button — position persisted, auto-reclamped on zoom/resize change
  • Hidden automatically when the WME Layers panel opens
  • Two display modes: Normal and Compact (Windows 95 style)
  • Full FR / EN / DE / ES / IT / PT-BR / PT-PT / HE (RTL) i18n, auto-detected from WME language — or forced from the sidebar

🔧 Requirements

📱 Display

Responsive compact mode: the panel adapts automatically to small screens — denser layout, single-column reflow on narrow widths, and a fixed action footer so the main button stays visible. The floating button is docked as a native WME overlay button.