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 kadyus
script not working :(
kadyus
Waze Global Champs
Waze Global Champs
Posts: 232
Has thanked: 88 times
Been thanked: 51 times
Send a message
GC | Coordinator | CM
Malaysia & Brunei

WazeBORNEO FB | WazeMY FB

Post by kadyus
kadyus wrote:script not working :(

now it's working back. :)
kadyus
Waze Global Champs
Waze Global Champs
Posts: 232
Has thanked: 88 times
Been thanked: 51 times
Send a message
GC | Coordinator | CM
Malaysia & Brunei

WazeBORNEO FB | WazeMY FB

Post by kadyus
I usually would check the conversion for any overlapping nodes that could cause saving error. For some reason StR+ sometimes misses out the street geometry (especially on bends) and causes overlapping on the next node. A fix or warning for this would be nice.

So far I haven't experience saving error due the converted street to being too long. StR+ would just end at max 55 save counts. [emoji5]️
kadyus
Waze Global Champs
Waze Global Champs
Posts: 232
Has thanked: 88 times
Been thanked: 51 times
Send a message
GC | Coordinator | CM
Malaysia & Brunei

WazeBORNEO FB | WazeMY FB

Post by kstor_80
buchet37 wrote: Tue Nov 28, 2023 2:31 pm Hello EduardoCarvajal
I have a similar script to create lansdmark and I have the same problem.
I pretty sure that problem is linked to the change about Openlayer explain here

I found a solution for my script

I replace the line :
         var landmark = new WazeFeatureVectorLandmark();

by :
        var ldk = {};
        ldk.geoJSONGeometry = W.userscripts.toGeoJSONGeometry (polygon);
        var landmark = new WazeFeatureVectorLandmark(ldk);

The W.userscripts.toGeoJSONGeometry create the new geometry object
All seems correct for me.
I think it will do the same for "Street to River Plus"

Perhaps, it a first step to a big change if openLayer disappers :oops:
 
 
 
Ca marche!

Worked fine for me in WME Street to River PLUS (mod)

I modified as you mentioned (except the var name is "riverLandmark" instead of "landmark".

Thanks for that! I hope it will be updated soon for those less used to modifying scripts.
kstor_80
Coordinators
Coordinators
Posts: 152
Has thanked: 71 times
Been thanked: 14 times
Send a message


Post by lmlama
Hi, I haven't used this script for a while. I reactivated it but it doesn't work, and I can't find any updates.
Can you give me some information on this?
Thank you
lmlama
Posts: 66
Has thanked: 67 times
Been thanked: 12 times
Send a message

Post by lmlama
proffa71 wrote: Fri Jan 14, 2022 7:46 pm
lmlama wrote: Fri Jan 14, 2022 5:38 pm Hi, I haven't used this script for a while. I reactivated it but it doesn't work, and I can't find any updates.
Can you give me some information on this?
Thank you




 
Well I use this version but I needed to do the fix in picture and it has worked as expected after that.SRP.PNG
 

 
 


 
Thanks, now it works
 
lmlama
Posts: 66
Has thanked: 67 times
Been thanked: 12 times
Send a message

Post by lmlama
Greetings,
If I create a new place it does it regularly, if I try to extend an existing one it doesn't let me do it, whereas before I succeeded.
Suggestions on this? Thank you
lmlama
Posts: 66
Has thanked: 67 times
Been thanked: 12 times
Send a message

Post by LuisSaputo
Da el error : ¡No se encontró una calle sin guardar!
LuisSaputo
Waze Local Champs
Waze Local Champs
Posts: 560
Has thanked: 123 times
Been thanked: 229 times
Send a message

Post by Nomenclator1677
Hi,

It seems the script is out. I can't add a new river.

No problem for me as few days ago it worked perfectly

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