[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 SAR85 » Fri Mar 27, 2015 4:15 am

Olestas wrote:Don't know.. I have seen it 3-4 times, but cannot repeat it on purpose.


Ok, I made a fix tonight and published an updated version. Most likely it will not fix your problem completely, but it might in some instances.

I have a suspicion about what is causing the problem in general and will be working on a full fix for it. Hopefully will have it updated tomorrow evening.
SAR85
Area Manager
Area Manager
 
Posts: 123
Joined: Thu Jan 30, 2014 6:01 am
Location: California, USA
Has thanked: 43 times
Been thanked: 144 times

Re: [Script] WME Closest Segment

Postby taco909 » Fri Mar 27, 2015 4:44 am

Post some more so I can thank you some more :D

This is going to be invaluable for determining exactly where we can and cannot place roads around airports, golf courses, etc....

The Google pins are the problem, and for a couple of airports I've added a Waze pin (with something other than the valid airport name or code) on top of the Google pin for editor reference... That is still needed, but this makes it much easier than eyeballing a circle around the point.
-- Rich
taco909
Map Editor - Level 4
Map Editor - Level 4
 
Posts: 2230
Joined: Sun Jun 01, 2014 4:05 am
Location: Los Angeles Area
Has thanked: 716 times
Been thanked: 646 times

Re: [Script] WME Closest Segment

Postby SAR85 » Sat Mar 28, 2015 5:38 pm

Version 0.93 has been posted.

Olestas, this should fix the issue you were seeing the the line being drawn off screen. Please let me know if you still see this issue.
SAR85
Area Manager
Area Manager
 
Posts: 123
Joined: Thu Jan 30, 2014 6:01 am
Location: California, USA
Has thanked: 43 times
Been thanked: 144 times

Re: [Script] WME Closest Segment

Postby PesachZ » Wed Apr 29, 2015 10:19 pm

Thank you this script will help editors fix routing, and makes it easier for me to demonstrate how it works.
PesachZ
Wiki Master
Wiki Master
 
Posts: 4511
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC}
Has thanked: 1998 times
Been thanked: 2359 times

Re: [Script] WME Closest Segment

Postby Fredo-p » Sat Jul 04, 2015 7:18 pm

Stop point location shifts depending on how much of the area is show. This is on version 0.93.

When the place only has part of it shown, it snaps to the closest segment available.
place point ofset 01.jpg
(146.69 KiB) Downloaded 1344 times



When the place is centered in the map, it snaps to the correct, assuming it's the correct, location of the true stop point.
place point offset 02.jpg
(191.99 KiB) Downloaded 1340 times
Fredo-p
Beta tester
Beta tester
 
Posts: 1998
Joined: Mon Aug 05, 2013 4:35 am
Location: Everywhere
Has thanked: 269 times
Been thanked: 640 times

Re: [Script] WME Closest Segment

Postby PesachZ » Sun Jul 05, 2015 4:17 am

It's not that the place isn't fully shown, the problem is the segment which is truly closest wasn't shown. The script measures the distance to the surrounding segments, but can only measure to segments which it sees. If there is a segment off screen the script didn't see it so it gives a result adding the segments on screen are the only options.

As a best practice using this script, you should ensure that segments on all sides of the place in question are visible on screen, so the script can find the one which is truly closest after checking each option.

Sent using Tapatalk for Android
PesachZ
Wiki Master
Wiki Master
 
Posts: 4511
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC}
Has thanked: 1998 times
Been thanked: 2359 times

Re: [Script] WME Closest Segment

Postby taco909 » Sun Jul 05, 2015 5:16 am

Thanks again to SAR85.

This script is indispensable for locating places for proper routing.
-- Rich
taco909
Map Editor - Level 4
Map Editor - Level 4
 
Posts: 2230
Joined: Sun Jun 01, 2014 4:05 am
Location: Los Angeles Area
Has thanked: 716 times
Been thanked: 646 times

Re: [Script] WME Closest Segment

Postby PsstDizel » Thu Jul 16, 2015 2:20 pm

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?
[ img ][ img ]
AM: York Region
PsstDizel
Area Manager
Area Manager
 
Posts: 594
Joined: Tue Sep 30, 2014 3:05 pm
Location: Newmarket, ON
Has thanked: 349 times
Been thanked: 69 times

Re: [Script] WME Closest Segment

Postby SAR85 » Thu Jul 16, 2015 2:26 pm

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?

Thanks to the feedback. I will look in to this.
SAR85
Area Manager
Area Manager
 
Posts: 123
Joined: Thu Jan 30, 2014 6:01 am
Location: California, USA
Has thanked: 43 times
Been thanked: 144 times

Re: [Script] WME Closest Segment

Postby PesachZ » Thu Jul 16, 2015 7:06 pm

It should still snap to walking trails, just not RR or PB (or runways) :)

Sent using Tapatalk for Android
PesachZ
Wiki Master
Wiki Master
 
Posts: 4511
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC}
Has thanked: 1998 times
Been thanked: 2359 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: jmbox, n4dog