WME Closures Toolkit

Advanced recurring closures with queue management — inspired by WME Advanced Closures & waze.tech-informatique.fr

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
drslump34
Daily installs
0
Total installs
78
Ratings
0 0 0
Version
0.87.01
Created
2026-06-03
Updated
2026-07-20
Size
738 KB
License
MIT
Applies to

🚧 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.