Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.
Post by Nomenclator1677
Thanks Eduardo ;)
Nomenclator1677
Coordinators
Coordinators
Posts: 7095
Has thanked: 80 times
Been thanked: 835 times
Send a message
AM Massif des Bauges / Bout du Lac d'Annecy
https://storage.googleapis.com/wazeoped ... _0M_6c.png
“« ”Emmanuel Macron : Une révolution ne s’invite pas, c’est le peuple qui la décide” Beyrouth - août 2020»

La démocratie, c’est deux loups et un agneau qui votent sur ce qu’ils vont manger à midi.

La liberté, c’est un agneau bien armé qui conteste le vote ! »
Benjamin Franklin

Post by Nomenclator1677
I don't know why but after corrected the script like said before in here
jangliss wrote:On line 172 in the script, it is looking for the state to be "Insert", it should be "INSERT". Just installed it, and on line 172 I have:

Code: Select all

if (sel.type == "segment" && sel.state == "Insert") {

Change it to:

Code: Select all

if (sel.type == "segment" && sel.state == "INSERT") {

Refresh WME, and you should be good to go.
I can't merge an old one with the new one. It is always a new river or canal.

An explanation ?

Thanks
Capture d’écran 2021-02-11 à 14.16.13.png
(369.21 KiB) Downloaded 140 times
 
Capture d’écran 2021-02-11 à 14.15.55.png
(372.94 KiB) Downloaded 143 times
 
 
Nomenclator1677
Coordinators
Coordinators
Posts: 7095
Has thanked: 80 times
Been thanked: 835 times
Send a message
AM Massif des Bauges / Bout du Lac d'Annecy
https://storage.googleapis.com/wazeoped ... _0M_6c.png
“« ”Emmanuel Macron : Une révolution ne s’invite pas, c’est le peuple qui la décide” Beyrouth - août 2020»

La démocratie, c’est deux loups et un agneau qui votent sur ce qu’ils vont manger à midi.

La liberté, c’est un agneau bien armé qui conteste le vote ! »
Benjamin Franklin

Post by Nomenclator1677
Thanks.

It merges on a new river (create one and after, extend it with a new part of the river).

It currently is non working when trying to merge an old one with a new part one.
Nomenclator1677
Coordinators
Coordinators
Posts: 7095
Has thanked: 80 times
Been thanked: 835 times
Send a message
AM Massif des Bauges / Bout du Lac d'Annecy
https://storage.googleapis.com/wazeoped ... _0M_6c.png
“« ”Emmanuel Macron : Une révolution ne s’invite pas, c’est le peuple qui la décide” Beyrouth - août 2020»

La démocratie, c’est deux loups et un agneau qui votent sur ce qu’ils vont manger à midi.

La liberté, c’est un agneau bien armé qui conteste le vote ! »
Benjamin Franklin

Post by Nomenclator1677
jm6087 wrote:
jangliss wrote:I created a road, and clicked on the "Street to River" and clicked save. I noticed it no longer seems to delete the original road segment, so there is a bug there.
IIRC, I don't think it has ever deleted the original road segment, but I could be wrong.
at a certain moment, it deleted the original segment but not now for a long time
Nomenclator1677
Coordinators
Coordinators
Posts: 7095
Has thanked: 80 times
Been thanked: 835 times
Send a message
AM Massif des Bauges / Bout du Lac d'Annecy
https://storage.googleapis.com/wazeoped ... _0M_6c.png
“« ”Emmanuel Macron : Une révolution ne s’invite pas, c’est le peuple qui la décide” Beyrouth - août 2020»

La démocratie, c’est deux loups et un agneau qui votent sur ce qu’ils vont manger à midi.

La liberté, c’est un agneau bien armé qui conteste le vote ! »
Benjamin Franklin

Post by Nomenclator1677
jm6087 wrote:...
3. When I comment/delete these 3 lines, the temporary red road deletes as expected.

Code: Select all

if (newRiver.isGeometryEditable()){
Waze.model.actionManager.add(new UpdateSegmentAddress(newRiver, {countryID: city.countryID, stateID: city.stateID, emptyCity: true, emptyStreet: true}));
}

Code: Select all

// if (newRiver.isGeometryEditable()){
// Waze.model.actionManager.add(new UpdateSegmentAddress(newRiver, {countryID: city.countryID, stateID: city.stateID, emptyCity: true, emptyStreet: true}));
// }
What line numbers ? Thanks
Nomenclator1677
Coordinators
Coordinators
Posts: 7095
Has thanked: 80 times
Been thanked: 835 times
Send a message
AM Massif des Bauges / Bout du Lac d'Annecy
https://storage.googleapis.com/wazeoped ... _0M_6c.png
“« ”Emmanuel Macron : Une révolution ne s’invite pas, c’est le peuple qui la décide” Beyrouth - août 2020»

La démocratie, c’est deux loups et un agneau qui votent sur ce qu’ils vont manger à midi.

La liberté, c’est un agneau bien armé qui conteste le vote ! »
Benjamin Franklin

Post by Nomenclator1677
juliansean wrote:Try around line 394-396
Thanks
Nomenclator1677
Coordinators
Coordinators
Posts: 7095
Has thanked: 80 times
Been thanked: 835 times
Send a message
AM Massif des Bauges / Bout du Lac d'Annecy
https://storage.googleapis.com/wazeoped ... _0M_6c.png
“« ”Emmanuel Macron : Une révolution ne s’invite pas, c’est le peuple qui la décide” Beyrouth - août 2020»

La démocratie, c’est deux loups et un agneau qui votent sur ce qu’ils vont manger à midi.

La liberté, c’est un agneau bien armé qui conteste le vote ! »
Benjamin Franklin

Post by Patrik-20
I have a problem with this version, it has an error on my system!
the error is:
"No unsaved and selected new street found!"
Patrik-20
Country Manager
Country Manager
Posts: 18
Has thanked: 18 times
Been thanked: 4 times
Send a message

Post by Patrik-20
the script no longer working
have you any idea?
Patrik-20
Country Manager
Country Manager
Posts: 18
Has thanked: 18 times
Been thanked: 4 times
Send a message

Post by Patrik-20
really thanks alot wrote: Wed Dec 09, 2020 8:12 pmreally thanks alot
after a long time Im able to draw rivers
this script has more options
Patrik-20
Country Manager
Country Manager
Posts: 18
Has thanked: 18 times
Been thanked: 4 times
Send a message

Post by pjmotobr
sempre que eu vou salvar da erro
pjmotobr
Posts: 18
Has thanked: 2 times
Send a message