[Script] WME Closest Segment

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] WME Closest Segment

Postby jwe252 » Thu Jan 12, 2017 9:43 pm

Cannot delete a place with this script enabled since the update.
jwe252
Country Manager
Country Manager
 
Posts: 164
Joined: Sun Apr 05, 2015 11:05 pm
Location: Lake City, SC
Has thanked: 106 times
Been thanked: 65 times

Re: [Script] WME Closest Segment

Postby kahlcolimon » Tue Jan 10, 2017 4:44 pm

It's necessary to update the initial link of the script of this forum. Go to version 1.0.2.
kahlcolimon
Coordinators
Coordinators
 
Posts: 2652
Joined: Sat Mar 07, 2015 3:04 pm
Location: Medellín, Antioquia, Colombia
Has thanked: 800 times
Been thanked: 2127 times

Re: [Script] WME Closest Segment

Postby KC-Guardrail » Sat Jul 18, 2015 4:59 am

PsstDizel wrote:Thank you for the script, I just found out about it and it's great.

One minor issue though. It snaps to any segment type including non-driveable segments if available, I have one place where it's closest to a railroad and it snaps to that.

Maybe you can add a filter to only snap to driveable and non-routeable but not to non-driveable?


The easy solution is to add a PLR so it will snap to that road, instead of the RR track. I fill my day adding PLRs, so the user will get closer to the actual place.
KC-Guardrail
 
Posts: 305
Joined: Mon Jun 01, 2015 8:05 am
Location: Bonner Springs KS
Has thanked: 73 times
Been thanked: 133 times

Re: [Script] WME Closest Segment

Postby KC-Guardrail » Sat Jul 25, 2015 5:48 am

sketch wrote:
KC-Guardrail wrote:
PsstDizel wrote:Thank you for the script, I just found out about it and it's great.

One minor issue though. It snaps to any segment type including non-driveable segments if available, I have one place where it's closest to a railroad and it snaps to that.

Maybe you can add a filter to only snap to driveable and non-routeable but not to non-driveable?


The easy solution is to add a PLR so it will snap to that road, instead of the RR track. I fill my day adding PLRs, so the user will get closer to the actual place.

That's not a solution. Waze won't navigate you to a railroad anyway. The problem is not that the place would put you on a railroad, but that the script will put a place on a railroad.


Correct me if I'm wrong, but the script isn't putting it on the RR tracks, it's just showing where the closest segment is, related to where you put the place point. Without the script, the stop point will still be in the same spot.
KC-Guardrail
 
Posts: 305
Joined: Mon Jun 01, 2015 8:05 am
Location: Bonner Springs KS
Has thanked: 73 times
Been thanked: 133 times

Re: [Script] WME Closest Segment

Postby kkesley » Sun Jun 05, 2016 7:11 pm

It is an excellent tool ;)
kkesley
Waze Mentor
Waze Mentor
 
Posts: 965
Joined: Fri Mar 01, 2013 12:48 am
Has thanked: 2254 times
Been thanked: 662 times

Re: [Script] WME Closest Segment

Postby lg1992 » Mon Oct 24, 2016 8:47 am

The modified extension also works on my Chrome under Tampermonkey, but only if I disable another extension, WME KeepMyLayers.
lg1992
Country Manager
Country Manager
 
Posts: 3964
Joined: Fri May 04, 2012 9:50 am
Has thanked: 231 times
Been thanked: 754 times

Re: [Script] WME Closest Segment

Postby lg1992 » Mon May 08, 2017 11:50 am

I've found that the script blocks modifying or deleting JB both in beta and production WME. When I select JB, the Delete button in the tool bar stays disabled. If I check on some route within JB, the buttons Save and Undo stay disabled.

Tested in Chrome on Windows, Israel server. Everything works properly if I disable WME Closest Segment in Tampermonkey dashboard and then reload WME.
lg1992
Country Manager
Country Manager
 
Posts: 3964
Joined: Fri May 04, 2012 9:50 am
Has thanked: 231 times
Been thanked: 754 times

Re: [Script] WME Closest Segment

Postby lg1992 » Mon May 08, 2017 1:03 pm

I have the version 1.0.27. Just to be sure, I reinstalled it and disabled all other scripts and extensions. I still see the problem.
lg1992
Country Manager
Country Manager
 
Posts: 3964
Joined: Fri May 04, 2012 9:50 am
Has thanked: 231 times
Been thanked: 754 times

Re: [Script] WME Closest Segment

Postby lg1992 » Mon May 08, 2017 1:32 pm

When I select JB, the following error appears in the console:

VM1300:214 Uncaught TypeError: Cannot read property 'navigationPoint' of null
at e.checkSelection (eval at <anonymous> (:2:297), <anonymous>:214:62)
at initialize.triggerEvent (https://www.waze.com/assets-editor/js/v ... s:100:6363)
at e.value (https://www.waze.com/assets-editor/js/a ... s:12:16171)
at initialize.triggerEvent (https://www.waze.com/assets-editor/js/v ... s:100:6363)
at initialize.select (https://www.waze.com/assets-editor/js/a ... s:15:13936)
at initialize.clickFeature (https://www.waze.com/assets-editor/js/a ... s:15:11904)
at initialize.callback (https://www.waze.com/assets-editor/js/v ... :101:27046)
at initialize.triggerCallback (https://www.waze.com/assets-editor/js/v ... s:102:8483)
at initialize.handle (https://www.waze.com/assets-editor/js/v ... s:102:8008)
at initialize.click (https://www.waze.com/assets-editor/js/v ... s:102:7119)

lg1992
Country Manager
Country Manager
 
Posts: 3964
Joined: Fri May 04, 2012 9:50 am
Has thanked: 231 times
Been thanked: 754 times

Re: [Script] WME Closest Segment

Postby lg1992 » Mon May 08, 2017 5:07 pm

Resolved indeed. Many thanks.
lg1992
Country Manager
Country Manager
 
Posts: 3964
Joined: Fri May 04, 2012 9:50 am
Has thanked: 231 times
Been thanked: 754 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: RichardPyne