A Tampermonkey userscript for Waze Map Editor (WME) that displays official Slovenian house numbers from EProstor directly on the WME map.
This helps editors quickly add and verify house numbers without manually opening external GIS portals.
After installing the script, you'll see a new SL-HN tab in the left sidebar of WME.
- Select a street segment
- Click "Load selected street"
- The script retrieves nearby address points via EProstor OGC API Features
- Circles appear on the map and indicate:
| Color | Meaning |
|---|---|
| 🟢 Green | House numbers belonging to the selected street (primary or alternate) |
| 🟠 Orange | House numbers belonging to other streets |
| 🔴 Red | Conflicts, e.g. a different nearby existing house number |
| ⚪ Faded green | Already present in WME |
Click any circle to instantly add that house number to the nearest matching segment.
No manual typing is needed — just click.
- Toggle the layer visibility
- Show only missing house numbers
- Show only the selected street
- Adjust the buffer distance (default: 500 m)
The script now includes street name mismatch detection to help you fix incorrect street names.
When you load addresses, the script analyzes official street names from EProstor and compares them with the selected WME segment:
| Indicator | Meaning |
|---|---|
| WME street name doesn't match any official names | |
| 💡 Green suggestion | Fuzzy match found (typo, abbreviation, or diacritic difference) |
| ✓ Checkmark | Street name matches the current WME segment |
| → Arrow | Click to apply this street name to the segment |
- Select a segment with an incorrect street name
- Load the area
- Find the correct official name in the list
- Click → to instantly update the segment's street name
- Circles turn green immediately!
- Fuzzy matching: Detects typos, missing diacritics (e.g., "Šmartinska" vs "Smartinska"), and common abbreviations (c. → cesta, ul. → ulica)
- Copy to clipboard: Click 📋 to copy any official street name
If house numbers appear 🟠 orange instead of 🟢 green, the WME street name may not match the official EProstor one.
New in v2.1.0: The script now warns you about mismatches and suggests corrections! Look for the yellow warning box and use the → button to fix street names with one click.
Red numbers appear when:
- Another house number exists nearby but differs
- Wrong casing (
4Avs4a) - Misplaced numbers on the wrong segment
Always verify manually.
If you select a segment without a street name:
- All markers become 🟠 orange (because no match is possible)
- Use the street list to apply the correct name with one click
EProstor coordinates are normally precise, but always visually verify before adding.
-
Install Tampermonkey
https://www.tampermonkey.net/ -
Install the script
https://raw.githubusercontent.com/zigapovhe/wme-sl-hn-import/main/wme-sl-hn-import.user.js -
Reload Waze Map Editor
-
Open the SL-HN tab in the sidebar
- Uses WME SDK (
getWmeSdk) for UI, house numbers, and segment updates - Calls EProstor OGC API Features using
GM_xmlhttpRequest - Reprojects EPSG:3794 (Slovenia D96/TM) → EPSG:3857 (Web Mercator) using
proj4js - CQL filters for coordinate-based queries
- Pixel-based hit-testing ensures reliable clicking
- Settings are preserved via
localStorage
Author: ThatByte
Waze: https://www.waze.com/user/editor/ThatByte
License: MIT
