[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 » Sun Jul 19, 2015 3:12 pm

There is an extra "new line" here:
Code: Select all
"restriction": {
        "strokeColor": "#efc02e",
        "strokeWidth": "2",
        "strok
eDashstyle": "dash"
    },


This works:
Code: Select all
{
    "version": "1.0",
    "clutterCostantNearZoom": 350,
    "clutterCostantFarZoom": 410,
    "streets": [
        null,
        {
            "strokeColor": "#fefde8",
            "outlineColor": "#000",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#fdfba8",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#676ec6",
            "strokeWidth": "6",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#b3bdb5",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#b1ae9b",
            "strokeWidth": "3",
            "strokeDashstyle": "dash"
        },
        {
            "strokeColor": "#42a1bd",
            "strokeWidth": "5",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#69c288",
            "strokeWidth": "4",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#847347",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        },
        null,
        {
            "strokeColor": "#858585",
            "strokeWidth": "2",
            "strokeDashstyle": "dash"
        },
        null,
        null,
        null,
        null,
        {
            "strokeColor": "#86afab",
            "strokeWidth": "3",
            "strokeDashstyle": "dashdot"
        },
        {
            "strokeColor": "#6a6a6a",
            "strokeWidth": "2",
            "strokeDashstyle": "dash"
        },
        {
            "strokeColor": "#b7bb80",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#ffffff",
            "strokeWidth": "3",
            "strokeDashstyle": "dash"
        },
        {
            "strokeColor": "#ffffff",
            "strokeWidth": "3",
            "strokeDashstyle": "dashdot"
        },
        {
            "strokeColor": "#aaaaaa",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        }
    ],
    "red": {
        "strokeColor": "#ff0000",
        "strokeWidth": "3",
        "strokeDashstyle": "solid"
    },
    "roundabout": {
        "strokeColor": "#111",
        "strokeWidth": 1,
        "strokeDashstyle": "dash"
    },
    "toll": {
        "strokeColor": "#25f5fd",
        "strokeWidth": "2",
        "strokeDashstyle": "solid"
    },
    "closure": {
        "strokeColor": "#ff0000",
        "strokeWidth": "8",
        "strokeDashstyle": "dash"
    },
    "restriction": {
        "strokeColor": "#efc02e",
        "strokeWidth": "2",
        "strokeDashstyle": "dash"
    },
    "arrowDeclutter": "10",
    "labelOutlineWidth": "3",
    "disableRoadLayers": true
}
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 4:45 pm

Version 1.2
  • In the preference menu you can choose whether the layer should be enabled on startup or not.
  • Tunnels are slightly lighter.
  • (from the prev. version, but I forgot to write it) "Street vector layer" is added in the attribution bar.
Couldn't reproduce the "new line" problem in the exporting/importing settings.
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 20, 2015 8:57 am

Olestas wrote:Hey, now this popup jumps out every editor launch :D

Thanks for reporting, it should be fixed now in 1.2.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 » Wed Jul 22, 2015 4:21 pm

Olestas wrote:Hey, it's 1.2.5 and we get no Whats new? :D

Minor bug fix, 1 typo in the code.
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 » Fri Aug 07, 2015 11:07 am

That depends on what the editor loads at different zoom levels. It's weird but that's how it works.
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 Aug 16, 2015 4:04 pm

Timbones wrote:I installed this for the first time, got this: (otherwise seemed to work okay)

It might be fixed in 1.2.7 (I didn't try it :mrgreen: )
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 » Wed Aug 26, 2015 1:59 pm

I'm thinking about adding a visualization for speed limits.
Here are two options:
1) Small numbers:
small.png
Small numbers
(458.66 KiB) Downloaded 678 times

2) Big numbers:
big.png
Big Numbers
(505.72 KiB) Downloaded 686 times


What do you think about it? Any suggestion?
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 » Wed Aug 26, 2015 2:05 pm

papok wrote:and does not replace a color coded speed layer.

Did anyone already implement that?
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 » Wed Aug 26, 2015 2:44 pm

1) What is the maximum speed limit in mph? In Km/h I've counted 150km/h and therefore placed the limit to 160 (just to be safe).
Colour coded example (I guess won't be nice for color blind people though)
Quote: "I won't say I'm in love" :D
color.png
(729.64 KiB) Downloaded 686 times
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 » Wed Aug 26, 2015 4:07 pm

Script updated to version 1.3 (requires preferences update)
Changelog
Speed limits!
  • See new options in the Speed limits section in the menu.
  • Show the segments' speed limits using colors
  • Show the segments' speed limits appending it to the street names (this method supports showing two different speedlimits A->B, B->A)
sl.png
(280.18 KiB) Downloaded 640 times
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: AquaZR1, Google [Bot], Google Feedfetcher, jm6087, russblau