Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
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.

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

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Greasemonkey script for easy river drawing

Post by aeytom
Hi,

here is my first greasemonkey script for creating river landmarks with papyrus. The script converts the geometry of a newly created street to a polygon for a river landmark.

Mini howto:
  • install this script as greasemonkey script or chrome extension
  • draw a new street but do not save the street
  • add and apply a street name to define the rivers name and the 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
Examples for rivers created by the script:
To install in google chrome:

Get the script from http://userscripts.org/scripts/show/122049

The description can also be found here: http://www.waze.com/wiki/index.php/Comm ... t_to_river

have fun
aeytom
aeytom
Posts: 284
Has thanked: 2 times
Been thanked: 4 times

POSTER_ID:1120329

1

Send a message
Last edited by aeytom on Tue Jan 03, 2012 6:52 pm, edited 3 times in total.

Post by aeytom
Hi,

I have updated the code in the original post.

What is fixed:
* Division by zero should not happen
* Button is moved at the end of the properties panel
* Scaling using the street name prefix is working correct now

tom
aeytom
Posts: 284
Has thanked: 2 times
Been thanked: 4 times
Send a message

aeytom
Posts: 284
Has thanked: 2 times
Been thanked: 4 times
Send a message

Post by aeytom
Hi,
gerben wrote:This tool has stopped working because the url for the editor has canged.
I have updated the script on userscripts.org.

tom
aeytom
Posts: 284
Has thanked: 2 times
Been thanked: 4 times
Send a message

Post by aeytom
Hello Wazers,

I have uploaded a new version to userscripts.org. This new version integrates some changes from Timbones. Now you can create "railroad" landmarks with one click.

tom
aeytom
Posts: 284
Has thanked: 2 times
Been thanked: 4 times
Send a message

Post by aeytom
Hi,

Die Idee ist:
* "Straße" im Verlauf des Flusses anlegen und markieren
* Straße in Landmark umwandeln
* markierte "Straße" löschen
* speichern

So sollte es immer funktionieren.

tom
DGlanem wrote:I want to make a Railroad-Landmark from an existing street(railroad).

The tool gives me a messagebox "there are no new streets" (or so).

A few minutes later I try it again - the messagebox say "...succsessful created..." . :shock:


Where is my Bug?


regards from germany
#Dominik
aeytom
Posts: 284
Has thanked: 2 times
Been thanked: 4 times
Send a message

Post by aeytom
Hi,

I have updated the list of valid URLs. Please download the script again. It should work for you now.

tom
avmauricio wrote:Hello, I'm edit maps in Costa Rica and I use es.waze.com/editor for the maps, I read about the plug-in and I installed it but it didn't works, checking the script I didn't found this URL but however I used world.waze.com/editor and it works fine, so I think there's a good idea to add es.waze.com/editor so on that way the plug in can works.

Thank you! :geek:
aeytom
Posts: 284
Has thanked: 2 times
Been thanked: 4 times
Send a message

Post by AlanOfTheBerg
Thanks for keeping the wiki page updated!
AlanOfTheBerg
EmeritusChamps
EmeritusChamps
Posts: 23627
Has thanked: 568 times
Been thanked: 3478 times
Send a message
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Ex-Global Champ Editor | iPhone13Pro - VZ

Post by avmauricio
Hello, I'm edit maps in Costa Rica and I use es.waze.com/editor for the maps, I read about the plug-in and I installed it but it didn't works, checking the script I didn't found this URL but however I used world.waze.com/editor and it works fine, so I think there's a good idea to add es.waze.com/editor so on that way the plug in can works.

Thank you! :geek:
avmauricio
Posts: 16
Send a message
Mau Arce
San José, Costa Rica

Post by avmauricio
Thank you Tom, I will!
aeytom wrote:Hi,

I have updated the list of valid URLs. Please download the script again. It should work for you now.

tom
avmauricio
Posts: 16
Send a message
Mau Arce
San José, Costa Rica