[Script] WME Smart Connect Fill

A lightweight helper that copies address data and speeds from connected segments to new (or just-connected) segments. Optional auto-lock for freshly created segments. Localized UI.

What it does

  • On new/just-connected segments, fills only empty fields using the nearest connected segment:
    • Primary street, city, state & country
    • Alternate street names
    • Speed limit
    • Road type
  • Optional: auto-lock new segments to your rank (or a chosen rank).
  • Small side-panel with toggles

Supported regions

  • Works in all WME regions (no country-specific data needed).
  • UI language auto-detects

Installation

Like other WME scripts, install via Tampermonkey.
Simply use the Install button on the script’s page.

Usage

  1. Open WME and go to the Smart Connect Fill tab.

  2. Enable the script and choose what to copy (Street, City, State+Country, Alternates, Speeds, Auto-lock).

  3. Create a segment and the script will fill empty fields from connected roads.

  4. Save as usual.

If your language is missing, let me know and we can add it.

9 Likes

Hi,

Thank for helpfull script. I save my time when drawing multi same street.

Can you update script copy road type?

Have nice code.

3 Likes

Hi WinsonSG

Thank you for your feedback.
I’ve added the feature to copy road types now.

Happy editing!

v. 2025.11.22.010

  • Added copy street type
4 Likes

Hi Ari

Thank you for your update.
:smiling_face_with_three_hearts:

4 Likes

Thanks for the helpful script! Would it be possible to also copy the “Unpaved” checkbox? That would help when mapping areas where most roads are unpaved.

4 Likes

I also noticed a couple bugs trying out this script.

  1. If you add a new segment starting from an intersection between a Street and Off-road segment, it will mark the new segment as Off-road. If you then try to change the new segment to Street, it will automatically switch it back to Off-road.
  2. If you then try to press the Undo button to revert the changes, the road type will again automatically be applied, “undoing” the undo (the undo count will, for example, drop to 10, then jump back up to 11).
4 Likes

Thank you Nic for your feedback.

  • I’ll try and add “Unpaved” checkbox state to be copied.

As for the other 2 bugs:

  • This sounds like a behavior when “Also fill when segment has no street name (existing)” is enabled. It will always try to copy everything when clicked / active.
  • EDIT: I was able to reproduce your issue even when “Also fill when segment has no street name (existing)” was disabled.
3 Likes

The bugs have been gently squished, thank you Nic!

v. 2025.12.22.005

  • Added feature: copy “Unpaved” checkbox
  • Fixed bug: Can’t revert some settings when a new segment has been created, as the scripts immediately overwrites it again
4 Likes

Thanks, I just tested and it looks like it works now! For “Unpaved” checkbox, I just noticed that WME Toolbox’s “Copy segment attributes” has an option to copy all “Flags” (unpaved, tunnel, etc.), so maybe that would be the best way to do it (instead of handling “Unpaved” as a special case.

3 Likes

I was thinking about what will most likely be used often and widely of these flags. And only Unpaved seemed necessary in my opinion.
Unless you or someone has a good example of where you have to use the other flags very often, I’ll leave it out of the code for now :slight_smile:

4 Likes

Hmm, I’m afraid I’m still seeing a couple issues:

  1. If I change a segment from Street to Off-road (not making any other changes), two changes are queued up to be saved. One is the change I made, and the other is a change of the primary street name from the current name to the current name (both the old and new names appear the same).
  2. If I add a new segment to the end of an unpaved Street, it shows the selected new segment with the Unpaved checkbox checked. But as soon as I save, the Unpaved checkbox is unchecked for the saved segment (and I have to manually add it again).
4 Likes

Sadly this time I can’t reproduce neither of your 2 issues you’re still having. Also when looking at the code it looks like it should handle these situations properly.

3 Likes

Hmm, strange. Here are some videos of me reproducing the issues. I disabled all scripts in Tampermonkey except for Smart Connect Fill and reloaded the page (and I’m using the latest version of Chrome).

PL: https://waze.com/editor?env=row&lat=-0.74987&lon=36.47511&marker=true&zoomLevel=19


CleanShot 2026-01-13 at 06.39.50 - Watch Video


CleanShot 2026-01-13 at 06.42.17 - Watch Video

3 Likes

Thank you @nic942 for the videos.

That was a tough one. The Unpaved toggle has been fixed. I believe there is an SDK issue, as it is correctly set in UI but not saved. Its now simulating a click instead, which will correctly save the segment.

Changing street type shouldn’t trigger an update now.

v.2026.03.07.1

  • Fixed: Unpaved should work properly now
  • Cleanup / Refactoring of script
2 Likes

Thanks for tracking those down, the Unpaved issue looks like it’s fixed! There are a couple issues still that I’m seeing:

  1. If you add a new segment to an unpaved street and save, it will immediately queue up a new change to update the street to itself (and the Save button immediately becomes active again):

  1. If you add a new segment to an unpaved street, it will queue up 3 changes (added new segment, set unpaved to true, set primary street name to match). If you press Undo, it will remove the last change. But if you press Undo again, it will remove the last change and immediately add it back again (you can only actually undo your changes if you very quickly hammer the delete button).
1 Like