Greasemonkey script for easy river drawing

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.

Moderators: Unholy, bextein

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.

Re: Greasemonkey script for easy river drawing

Postby DGlanem » Fri May 25, 2012 7:52 am

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
DGlanem
 
Posts: 94
Joined: Fri Aug 19, 2011 6:42 am
Location: Helmstedt, Germany
Has thanked: 2 times
Been thanked: 2 times

Re: Greasemonkey script for easy river drawing

Postby Timbones » Mon Apr 09, 2012 11:37 pm

ispyisail wrote:This gets me grumpy

[An error occurred while saving]

I draw a massive long river then I get this error and I have to start all over

Does any body else get this or is it just me?

I've seen this a lot, and I've tracked it down to corners where two points cross over each other. WME really doesn't like Landmarks that become twisted (kinda hard to describe).

Solution is to check the whole stretch of river, looking for pairs of geometry points that are very close together. Usually found near sharp corners of the river, and you might notice a missing point nearby. Delete one of the pair, and save. Repeat as necessary.
Timbones
Coordinators
Coordinators
 
Posts: 6736
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 987 times
Been thanked: 2670 times

Re: Greasemonkey script for easy river drawing

Postby ispyisail » Sun Apr 08, 2012 9:59 pm

This gets me grumpy

save.jpg
(33.54 KiB) Downloaded 4869 times


I draw a massive long river then I get this error and I have to start all over

Does any body else get this or is it just me?
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3367
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 573 times
Been thanked: 554 times

Re: Greasemonkey script for easy river drawing

Postby ispyisail » Sun Apr 08, 2012 9:51 pm

Thanks

smacks hand against head

That was the problem

Question: the river gets smaller in width as its gets longer. can you join land marks together to create a variable width river?
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3367
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 573 times
Been thanked: 554 times

Re: Greasemonkey script for easy river drawing

Postby Timbones » Sun Apr 08, 2012 9:09 pm

Have you switched on the Landmarks layer? (Shift+L) If you haven't, then it looks like the script hasn't worked.
Timbones
Coordinators
Coordinators
 
Posts: 6736
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 987 times
Been thanked: 2670 times

Re: Greasemonkey script for easy river drawing

Postby ispyisail » Sun Apr 08, 2012 6:58 pm

You seem to be using tampermonkey? (If yes, then) stop using it and install again. That worked for me.


Thanks, that fixed the install problem

The problem now is its says

road to riner 3.jpg
(76.02 KiB) Downloaded 4880 times


But no river is created?
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3367
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 573 times
Been thanked: 554 times

Re: Greasemonkey script for easy river drawing

Postby ispyisail » Sat Apr 07, 2012 10:28 am

I can't get this script to install/work in chrome, any tips

Google Chrome 18.0.1025.151 m

street to river.jpg
(26.15 KiB) Downloaded 4815 times


street to river 2.jpg
(135.17 KiB) Downloaded 4817 times
ispyisail
Waze Local Champs
Waze Local Champs
 
Posts: 3367
Joined: Tue Feb 21, 2012 11:59 pm
Location: New Zealand
Has thanked: 573 times
Been thanked: 554 times

Re: Greasemonkey script for easy river drawing

Postby AlanOfTheBerg » Tue Mar 13, 2012 4:18 pm

Thanks for keeping the wiki page updated!
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 23612
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 1126 times
Been thanked: 4797 times

Re: Greasemonkey script for easy river drawing

Postby Timbones » Tue Mar 13, 2012 4:14 pm

aeytom wrote: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.

Thanks Tom!

Here's a summary of the changes:
  • separate button to do 'Street to railway'
  • default width of 8m (if not set in road name)
  • creates landmark of type 'Other'
  • will work on existing railroad segments
Timbones
Coordinators
Coordinators
 
Posts: 6736
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 987 times
Been thanked: 2670 times

Re: Greasemonkey script for easy river drawing

Postby aeytom » Tue Mar 13, 2012 3:54 pm

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
Joined: Sat Nov 27, 2010 8:14 am
Location: Berlin/Germany
Has thanked: 2 times
Been thanked: 4 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: No registered users