[Script] WMEMagic

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] WMEMagic

Postby dbcm » Fri Dec 01, 2017 5:46 pm

V39 is out.

- For those who manage country configs, now you can use something like this "HIGHER_CONNECTION||3" in the lockRankSeg plugin.
I use this for roundabouts, i want them to be at least rank 3 or with a higher rank, based on the connections.

- Implemented the 1st version of the segment intersections HL. I found a lot of nodes that are not consistent, be aware of that.
If you move the node a little bit, WME will fix the inconsistence and the HL will desapear.

Have fun.

can-i-haz-my-bitcoins.jpg
(140.19 KiB) Downloaded 635 times
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯
dbcm
Coordinators
Coordinators
 
Posts: 634
Joined: Mon Feb 08, 2010 12:25 pm
Location: Berlengas, Portugal
Has thanked: 285 times
Been thanked: 693 times

Re: [Script] WMEMagic

Postby dbcm » Sat Dec 02, 2017 8:02 am

RolandDeschain79 wrote:Will someone help me understand what the "Segments intersecting" option is trying to indicate? For instance Matthew Ln is highlighted for the "Segments intersecting" but I'm not sure what the problem is or what should be done, if anything, to resolve it.


Hi Roland, the segments have a little difference of their positioning and when Magic calculates if they intersect, they do.


If you move a little the node (you can put it back after) WME will recalculate the new positions and the problem will go away.

I'm not sure if it's a thing or Magic should ignore this scenario... will think about it.
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯
dbcm
Coordinators
Coordinators
 
Posts: 634
Joined: Mon Feb 08, 2010 12:25 pm
Location: Berlengas, Portugal
Has thanked: 285 times
Been thanked: 693 times

Re: [Script] WMEMagic

Postby dbcm » Sat Dec 02, 2017 1:21 pm

RolandDeschain79 wrote:Maybe Magic is already doing this (or maybe it's not possible w/ the API WME exposes) but can you tell that the segments are attached via a common node / junction?


Yes, it's based on that information that i HL "all red", "no way in" (or out) and other plugins.

Glad to know Magic is useful for you.
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯
dbcm
Coordinators
Coordinators
 
Posts: 634
Joined: Mon Feb 08, 2010 12:25 pm
Location: Berlengas, Portugal
Has thanked: 285 times
Been thanked: 693 times

Re: [Script] WMEMagic

Postby dbcm » Tue Dec 05, 2017 9:29 pm

voludu2 wrote:...

Yes, looks like there are a lot of "corrupted" nodes.

I published a new version that removes these false positives.


Probably will create a new HL only for them.

Let me know if you find any false positives (or negatives) with version 45
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯
dbcm
Coordinators
Coordinators
 
Posts: 634
Joined: Mon Feb 08, 2010 12:25 pm
Location: Berlengas, Portugal
Has thanked: 285 times
Been thanked: 693 times

Re: [Script] WMEMagic

Postby dbcm » Thu Dec 07, 2017 10:13 pm

JGrasel wrote:Bom dia!


Boa noite!

Na secção azul tens um "Unnamed Segments"
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯
dbcm
Coordinators
Coordinators
 
Posts: 634
Joined: Mon Feb 08, 2010 12:25 pm
Location: Berlengas, Portugal
Has thanked: 285 times
Been thanked: 693 times

Re: [Script] WMEMagic

Postby dbcm » Thu Dec 21, 2017 4:58 pm

Hi gang, sorry but the datacenter where i've my server went down :(

Script is available here until i manage to bring my server up again.

http://localhost.sl.pt/waze/magic/magic.bundle.user.js
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯
dbcm
Coordinators
Coordinators
 
Posts: 634
Joined: Mon Feb 08, 2010 12:25 pm
Location: Berlengas, Portugal
Has thanked: 285 times
Been thanked: 693 times

Re: [Script] WMEMagic

Postby dbcm » Sat Jan 06, 2018 10:19 am

Hi gang, my server went down and i had to configure it all again.

The new URL is this one:
https://waze.xpto.org/magic/

Script is available here:
https://waze.xpto.org/magic/magic.bundle.user.js
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯
dbcm
Coordinators
Coordinators
 
Posts: 634
Joined: Mon Feb 08, 2010 12:25 pm
Location: Berlengas, Portugal
Has thanked: 285 times
Been thanked: 693 times

Re: [Script] WMEMagic

Postby dbcm » Sat Jan 06, 2018 10:23 am

atrophicshiner wrote:...

Hi!

It's on purpose. The principle is simple:
If you can't fix it, don't ask to fix it.

I'll add to my todo list to think a way to HL problems that you can't fix. At least you can ask for help.
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯
dbcm
Coordinators
Coordinators
 
Posts: 634
Joined: Mon Feb 08, 2010 12:25 pm
Location: Berlengas, Portugal
Has thanked: 285 times
Been thanked: 693 times

Re: [Script] WMEMagic

Postby dbcm » Sat Jan 06, 2018 10:25 am

vince1612 wrote:So we need to uninstall and reinstall the script? It was working fine for me until this morning.


You should uninstall the older one. Please share in your communities.


About stopping working, don't know what happened in you browser. Maybe it's a sign to update to a new version :P
Last edited by dbcm on Sat Jan 06, 2018 10:30 am, edited 1 time in total.
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯
dbcm
Coordinators
Coordinators
 
Posts: 634
Joined: Mon Feb 08, 2010 12:25 pm
Location: Berlengas, Portugal
Has thanked: 285 times
Been thanked: 693 times

Re: [Script] WMEMagic

Postby dbcm » Sat Jan 06, 2018 10:26 am

MajkiiTelini wrote:Magic reports false positive unneeded junction in situation, where the speeds are same in the opposite direction: permalink to example


Thanks. The catch there is that both segments got connected with B points.

Will add that to my TODO list.
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯
dbcm
Coordinators
Coordinators
 
Posts: 634
Joined: Mon Feb 08, 2010 12:25 pm
Location: Berlengas, Portugal
Has thanked: 285 times
Been thanked: 693 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: age4670, jm6087, ldriveskier, Mapman44, Mythdraug