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.
Post by dbcm
Loup-47 wrote:...
Hi, should be fixed on version 169

Thanks!
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
V170 is out.

ignores viltual nodes on segments intersect plugin
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
Hi guys,
as it's possible to route through those segments (i check if the routing is possible, green arrows) and as they are longer than 16 meters (i've added this check now), Magic will complain.

Simplifying these road to a single segment with both directions is what we are doing in Portugal and everything is simple for the editors and for wazers.

pcbman, on your example, the middle segment doesn't have a name, so it's complicated to add extra checks on that scenario :(

I'm open to suggestions


V172 is out for grabs :)
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
Hi gang, i've release v173. LMK if you still find false positives.
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
Mvan231 wrote:It would be a great setting for Magic if it could turn off above (or below? zoomed out) a certain zoom level
Magic does that on some plugins. You'll see that some are turned off
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
Version 175 with minor stuff, mostly

- Added support for Belarus and Macau countries
- Added Russian language

For Belarus and Russian, alex_miami will do the magic.

Macau is with me
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
Hi gang, Magic will be able to complain (if configured), if a specific roadType with toll is not protected correctly.

As toll prices are hardwired with segment IDs, those segments should not be deleted.
In Portugal we are protecting those segments with L6.

Below is our example. We are protecting freeways and ramps
seg_lockrank:freeway_roads_toll seg_lockrank freeway_roads_toll TRUE 6 HL if not rank locked
seg_lockrank:ramp_roads_toll seg_lockrank ramp_roads_toll TRUE 6 HL if not rank locked
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
Today i found out a very strange behavior.

ME: Hey, i found out a new bug on Magic.

Looking closer, and doing a lot of debug, it was actually a feature.

Looks like there were a geometry segment really close to the node.

Screen Shot 2019-09-21 at 21.08.26.jpg
(222.92 KiB) Downloaded 421 times
Screen Shot 2019-09-21 at 21.09.17.jpg
(48.25 KiB) Downloaded 438 times
Screen Shot 2019-09-21 at 21.09.28.jpg
(74.36 KiB) Downloaded 430 times
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
Screen Shot 2019-09-21 at 22.05.38.jpg
(216.34 KiB) Downloaded 454 times
Related with my previous post. Looks like a geometry node is over a segment connection node.
W.selectionManager.getSelectedFeatures()[0].geometry.components[0].distanceTo(W.selectionManager.getSelectedFeatures()[0].geometry.components[1])
0
Magic will complain if the distance between geometry nodes is smaller than 1m.

LMK if you find any false positives.

WME Magic v179
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯

Post by dbcm
jm6087 wrote:I have found the same "bug" myself on several occasions.

I have learned to dig deeper if I can't find something obvious :D

Now that Magic complains, I'm finding several ones.

Well, extra points for the community. :)
dbcm
Coordinators
Coordinators
Posts: 644
Has thanked: 201 times
Been thanked: 698 times
Send a message
It's so Magic™ | Y U N0 W0RK? ¯\_(ツ)_/¯