[Script] Street to River Plus

=====
21-11-2022
if you have problem with original script (text below), try use this fork:
https://greasyfork.org/scripts/457548-wme-street-to-river-plus-mod

This is a modified version of Street to River Script that I call Street to River PLUS.

Mini howto:

greasyfork.org

  • as Greasemonkey script, Chrome extension or Tampermonkey script.

To add a new river:

  • Draw a new street but do not save the Street.
  • Optionally add and apply a street name to define the rivers name and the width of the river.
    Example: “20m Spree” creates a 20 meters width river named “Spree”.
  • Select the helper Street.
  • Click the “Street to river” button.
  • Delete the helper Street.
  • Edit the new landmark as you like.

To expand an existing river:

  • Draw a new Street that starts inside an existing river, but do not save the Street.
  • Make sure that you see on map the begining of the street (the instersection point of the street and the river)
  • Select the helper Street.
  • Click the “Street to river” button.
  • Delete the helper Street.
  • Edit the new landmark as you like.

Version 16.07.21

  • Minor fix: Beta editor compatibility issues

Version 16.07.20

  • Minor fix: Beta editor compatibility issues

Version 16.06.20

  • Auto-delete helper street (by ruskinz).
  • Minor Slovak language adjustment.

Version 16.06.15

  • Slovak translation (by Turrican7).

Version 16.06.11

  • Remove auto-added city from newly created river (by ruskinz)

Version 16.06.06

  • Italian translation (by savex67).

Version 16.05.01

  • Now you can add and expand rivers inside another landmark (like a Forest).

Version 16.03.01

  • Fix Firefox compatibility problems.

Version 15.05.01

  • Fix compatibility problems with new Waze Editor.

Version 15.04.12

  • Minor fix to PortuguĂŞs (Brasil) translation.

Special thanks to resmota for PortuguĂŞs (Brasil) translation.
Version 15.04.05

  • New language added: PortuguĂŞs (Brasil).

Special thanks to resmota for PortuguĂŞs (Brasil) translation.
Version 14.11.08

  • New language added: Polish.

Special thanks to Zniwek for Polish translation.
Version 14.07.02

  • Fix all compatibility problems with new Waze Editor (Places)

Special thanks to buchet37 for his contribution.
Version 14.07.01

  • Partially fix compatibility problems with new Waze Editor (Places)

Special thanks to tkr85 for his contribution.

Version 14.06.03

  • New language added: Czech.

Special thanks to Zirland for Czech translation.

Version 14.06.02

  • New language added: Hungarian.
  • Namespace updated.

Special thanks to Szata76 for Hungarian translation.

Version 14.06.01

  • Fix: script not working if the map have one or more “Place (point)”.

Version 14.05.01

  • Multilingual interface: English, Spanish, Russian and French.
  • Hyperlink to Waze forum added.

Special thanks to sapulmart for Russian translation.

Version 14.04.01

  • Fix saving problem after changing river size.
  • Obsolete Street to Railway button removed

Version 14.03.01

  • Fix compatibility problems with new Waze Editor (Places)

Version 14.02.01

  • Fix compatibility problems with new Waze Editor.

Version 13.10.20

  • Unlimited river size option added.

Version 13.10.18

  • “Twisted” river problem solved

Version 13.10.09

  • Added support to multilingual version of Waze editor.

Version 13.6.3.1

  • Added support to Google Chrome and Tampermonkey.
  • Now it’s possible to expand an existing river.
  • Fixed save problem on large rivers.

Tampermonkey for Chrome is the easy way to install or upgrade the script. Please follow this simple steps:

  • If you manually install the script on Chrome, go to Tools -> Extensions and manually delete Street to River or Street to River Plus script.

  • Install Tampermonkey for Chrome from Chrome Web Store (it’s free). Here it is the link: Tampermonkey

  • Once you install Tampermonkey, go to GreasyFork.org using the following link: Street to River Plus

  • Press Install button (upper right corner of your screen)

Please note that Tampermonkey automatically upgrade the Street to River PLUS script every time a new version is released.

can we have update, pls?

yup. script no longer working with the new Places feature in wme. :frowning:

Right know I’m working on it… I need a couple of days to fix the script.

Thanks for the great effort! :slight_smile:

Sent from my iPhone using Tapatalk

Hi kadyus:

Version 14.03.01 Solves the problem. Please notice that userscripts.org is down. You can download the script from GreasyFork

use port 8080 instead standart 80 (by default for all browsers standart port is 80).
http://userscripts.org:8080/ its working.

P.S. Sorry for my english. :oops:

Hi sapulmart:

http://userscripts.org:8080 is read-only (You can’t update a script), this is the reason I was forced to change script’s hosting site (greasyfork.org),

Sincerely,
Eduardo.

don’t working in Russian :frowning: But working in English. thx! it the most powerful tool to draw the correct contours of buildings.

Hi sapulmart:

I change language to Russian (https://www.waze.com/ru/editor/) and everything works fine for me. Do you refresh your browser?. The latest version of the script only works with the latest version of Waze Map Editor (the one that use Places and Place (point) instead of Landmarks)

Sincerely,
Eduardo.

PS. Please double check that you are running the latest version of the script: greasyfork.org

yes, i have latest version for WME, because script create an object(river) in English and successfully saved it.

In Russian i can create object, but it does not appear after saving.

River width: 10 VM87:658
Street vertices: 2 VM87:658
Uncaught TypeError: undefined is not a function VM87:264
convertToLandmark VM87:264
doRiver VM87:210
lt.event.dispatch libs-83b4735a.js:2
y.handle libs-83b4735a.js:2

Hi sapulmart:

Which version of street to river is displayed on screen when you select Helper Street? Do you select river size using Combo box or thru helper Street Name?

PS. I will try to reproduce your error. Thanks for your very useful information

Street to River+ 14.03.01

I select river size using Combo box.
In screenshot, i drew the road and click to button River.

Sometimes addon working good, sometimes it show error like on screenshot.
When I start first size change of the river with the the combo box, i get an error when saving.

Thank you sir! I confirmed that the updated script is working.

Great news!!

Hi,

New version released:

Version 14.04.01

  1. Fix saving problem after changing river size.
  2. Street to Railway button removed

Use the following link to update the Script: Street to River Plus

Hi Sapulmar:

Does the latest version of Street to River solves your problem?

Hi, EduardoCarvajal!

Addon works fine. Thank u!

Great!!!