[Script] Street Vector Layer

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, Glodenox, JustinS83

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: [Script][Beta] Street Vector Layer

Postby bedo2991 » Mon Jul 13, 2015 11:57 am

Yes, the download link is somewhere in the previous messages

Inviato dal mio LG-D620 utilizzando Tapatalk
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Mon Jul 13, 2015 12:08 pm

Explain better, who are those 'some people'? You? :)

Inviato dal mio LG-D620 utilizzando Tapatalk
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Mon Jul 13, 2015 5:55 pm

They go either up or down in a "random" way, to try to reduce the problem in regular grids. If they all go to the same direction they will be overlapped more easily.
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Thu Jul 16, 2015 11:37 am

It works fine on Firefox 39.0 on Windows 8.1, Greasemonkey 3.2
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Thu Jul 16, 2015 4:51 pm

Thanks, I've deployed a possible fix for that problem in
Version 0.9
  • Bug Fixes
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Sat Jul 18, 2015 3:39 pm

PesachZ wrote:Oh and on more not as important, the option to customize the labels color and stroke?


Thanks for the suggestions. Could you please elaborate a little bit more this one?
For every street type you want to be able to set a different color other than the colour of the street or you want the possibility to have all of the them of a given colour? (All black or all white or a specified colour).
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Sat Jul 18, 2015 4:44 pm

Version 1.0
  • Moving the labels' sliders completely to the right won't make label appear at all.
  • Bug fixes (used to happen when merging/splitting segments).
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script] Street Vector Layer

Postby bedo2991 » Sat Jul 18, 2015 10:52 pm

Did you change the default color scheme for the better? It's time to show it to the world, it might become the default one in one of the next version!

How to share your settings
  • Open the preference window by clicking on the attribution bar.
  • Make sure your latest changes were saved and then click on the "Export" button at the bottom.
  • Copy the string and paste it here on the forum between "Code" tags.

For example...
"New Editor" colors scheme (for masochists only)
default.png
New Editor's Road Layer
(979.91 KiB) Downloaded 814 times

Code: Select all
{"version":"0.9","clutterCostantNearZoom":"352","clutterCostantFarZoom":"469","streets":[null,{"strokeColor":"#ffffdd","outlineColor":"#000","strokeWidth":"5","strokeDashstyle":"solid"},{"strokeColor":"#fdfaa7","strokeWidth":"6","strokeDashstyle":"solid"},{"strokeColor":"#6870c3","strokeWidth":"9","strokeDashstyle":"solid"},{"strokeColor":"#b3bfb3","strokeWidth":"6","strokeDashstyle":"solid"},{"strokeColor":"#00ff00","strokeWidth":"3","strokeDashstyle":"dash"},{"strokeColor":"#469fbb","strokeWidth":"8","strokeDashstyle":"solid"},{"strokeColor":"#69bf88","strokeWidth":"7","strokeDashstyle":"solid"},{"strokeColor":"#867342","strokeWidth":"5","strokeDashstyle":"solid"},null,{"strokeColor":"#9a9a9a","strokeWidth":"6","strokeDashstyle":"dash"},null,null,null,null,{"strokeColor":"#6fb6be","strokeWidth":"3","strokeDashstyle":"dot"},{"strokeColor":"#9a9a9a","strokeWidth":"3","strokeDashstyle":"dash"},{"strokeColor":"#beba6c","strokeWidth":"4","strokeDashstyle":"solid"},{"strokeColor":"#ffffff","strokeWidth":"4","strokeDashstyle":"dash"},{"strokeColor":"#222222","strokeWidth":"4","strokeDashstyle":"dashdot"},{"strokeColor":"#ababab","strokeWidth":"5","strokeDashstyle":"solid"}],"red":{"strokeColor":"#ff0000","strokeWidth":"6","strokeDashstyle":"solid"},"roundabout":{"strokeColor":"#111","strokeWidth":1,"strokeDashstyle":"dash"},"toll":{"strokeColor":"#29f4fc","strokeWidth":"2","strokeDashstyle":"solid"},"closure":{"strokeColor":"#ff00ff","strokeWidth":"4","strokeDashstyle":"dash"},"restriction":{"strokeColor":"#f8bf16","strokeWidth":"2","strokeDashstyle":"dash"},"arrowDeclutter":"37"}


Do you want to try it?
  • If you made any change to your preference, export them first and store them somewhere (e.g. a text file).
  • Select the whole text that makes up the new preference and copy it (CTRL+C)
  • Open the script preference window
  • Click on the "Import" button at the bottom.
  • Paste the string and click on Ok.

You don't like it and you want to go back to the previous one?
  • I hope you did a backup as I've said above
  • Import the backup you've previously done as explained in the previous section.

You don't like it and you want to go back to the default one?
  • Open the preference window
  • Click on the "Reset" button on the top
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Sun Jul 19, 2015 7:27 am

PesachZ wrote:Another request if you're interested. add the option for decoration on runways. WME default is white and black alternating line. This can be done in your layer with a white road color and a black dash decoration.

P.S. When will 1.0 be available for download?

Version 1.0 is already available for download since the time of the post.
Do you have any problem updating it?

I don't see why it can be useful to have a decoration on runway (that is practically a useless road type) just to make it look like the Waze one.
You can just pick another color and another pattern. Doing it will slow down the execution and I really don't think is worth it. The same goes for railroads.

At the moment runways have a bright color to detect when users use that type as a taxi Lane... Not because I want them to look nice on the map.
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Sun Jul 19, 2015 11:26 am

Version 1.1 (requires to store the preferences to default)
  • Slider for label outline width
  • Roads layers are disabled automatically if enabled (there is an option to disable this, if you really want to).
  • When zooming out at level 0 or 1 the default road layer is displayed automatically (so that we can even see the city names), when zooming in again the vector layer comes back and the road layer gets disabled (unless you changed the option mentioned at the previous point).
Warning
  • When you want to share a permalink remember to enable the road layer again, otherwise the others will get a permalink with the road layer disabled, if they don't have this script.
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: Google Feedfetcher, jm6087