[Script] WME Place Interface Enhancements

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 Place Interface Enhancements

Postby JustinS83 » Fri Jun 23, 2017 12:42 pm

crazycaveman wrote:Thanks for this script!

When creating a new residential place with "Edit RPP address after created" selected (and using Alt+R), the HN appears below the street number. Obviously, canceling out of that and clicking the pencil icon to edit the properties again moves the HN where it deserves to go

This is not caused by a conflict with other scripts (such as WMEFU) as I tested with no other scripts enabled.


Good find! I'm pushing an update today and will get this fixed.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1378
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 347 times
Been thanked: 2470 times

Re: [Script] WME Place Interface Enhancements

Postby JustinS83 » Fri Jun 23, 2017 3:19 pm

Update released - 1.02.00

Various small bugs fixed - auto-editing of RPP will move the HN before the Street entry if that option is enabled; WMEFU making the entire address a clickable link will now also move the HN before Street when enabled.

Parking Space Estimator tool released.
PSE.png
(9.16 KiB) Downloaded 538 times


This tool was developed with MapOMatic and was designed to give editors a way to reliably , and quickly, measure/count the number of spaces in a parking lot.

This option is enabled under the Map Changes section and is labeled "Show Parking Space Estimator tool button". When enabled, a pound sign will display alongside the other Place buttons, next to the categories section. Clicking this button will open the Parking Space Estimator tool.
Screenshot - 6_23_2017 , 11_21_24 AM.png
(2.91 KiB) Downloaded 487 times


And next to the number of parking spaces section in the Info tab.
Screenshot - 6_23_2017 , 11_22_30 AM.png
(6.53 KiB) Downloaded 532 times



Many lots are a mixture of 90 degree and angled spots.
Screenshot - 6_23_2017 , 10_56_32 AM.jpg
(35.8 KiB) Downloaded 538 times


Due to this, the tool allows you to calibrate two space widths - one for use with 90 degree spots and one for angled spots.

To calibrate, press the Cal button next to the type that you want to calibrate (I recommend calibrating at zoom 8 or 9 in order to get the best representation of the spot). When you press the Cal button you draw a line from side to side of the parking spot in order to measure. For the 90 degree lots, draw the link perpendicular to each of the parking spaces white lines. Click once to start drawing and double click to complete drawing. When you are done you will see the Spot Width has updated and the calibration line is removed so as to not add clutter.
Cal90.jpg
(15.78 KiB) Downloaded 543 times


To calibrate angled spots, draw your calibration line in the direction that you will be drawing your measure line - most likely parallel to the painted line at the front of the space (where the nose of the car will be).
CalAngled.png
(119.56 KiB) Downloaded 491 times


With the calibrations complete, you should be able to quickly measure the lot. To measure, click the pencil under the spot type you are ready to start measuring. Start your line at the top of the aisle and run it down through all of the spaces (stopping if there is a median interrupting the aisle). When you are at the end, double click to end that line. You will see a line drawn on screen to show that you have measured that aisle. You will stay in draw mode until you click the pencil again to disable it (or press ESC) or change to the draw mode for the other spot type.

If you map all spots, you can use the Set button to assign the measured value to the selected PLA - the correct spot range will be selected based upon the number of spots measured.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1378
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 347 times
Been thanked: 2470 times

Re: [Script] WME Place Interface Enhancements

Postby JustinS83 » Fri Jun 23, 2017 4:03 pm

dspille wrote:
JustinS83 wrote:Update released - 1.02.00


Thank you for these awesome enhancements!

After updating, I'm having an issue with not being able to check the new PL estimator option box. I have tried disabling the FU script and still have the issue. Can anyone else duplicate this?

[ img ]


Gah. I can duplicate. I will investigate...was working fine in beta.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1378
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 347 times
Been thanked: 2470 times

Re: [Script] WME Place Interface Enhancements

Postby JustinS83 » Fri Jun 23, 2017 4:08 pm

Fixed in 1.02.01
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1378
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 347 times
Been thanked: 2470 times

Re: [Script] WME Place Interface Enhancements

Postby JustinS83 » Fri Jun 23, 2017 7:21 pm

Forgot to post this with the update announcement...

For those doing translations, below is a list of the new translations. If/when you update, send to me and I will update in the script.

Code: Select all
                    ShowParkingSpaceEstimatorTool: "Show Parking Space Estimator tool",
                    ShowParkingSpaceEstimatorToolTitle: "Shows the button to launch the Parking Space Estimator tool",
                    PSEParkingSpaceEstimator: "Parking Space Estimator",
                    PSELayoutType: "Layout type",
                    PSE90degree: "90 degree",
                    PSEAngled: "Angled",
                    PSEEstimatedNumOfSpots: "Estimated # of spots: ",
                    PSESet: "Set",
                    PSESpotWidth: "Spot width (m)",
                    PSECal: "Cal",
                    PSEDraw90DegreeTitle: "Click to draw a line through an entire 90 degree parking space aisle.  Double click to finish drawing and measure the spaces.",
                    PSEDrawAngledTitle: "Click to draw a line through an entire angled parking space aisle.  Double click to finish drawing and measure the spaces.",
                    PSEShowPSEButton: "Show Parking Space Estimator tool button",
                    PSEShowPSEButtonTitle: "Shows the button to launch the Parking Space Estimator tool",
                    PSEDisplayButtonTitle: "Opens the Parking Space Estimator tool"
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1378
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 347 times
Been thanked: 2470 times

Re: [Script] WME Place Interface Enhancements

Postby JustinS83 » Wed Jun 28, 2017 2:14 pm

Update released - 1.02.02

New feature - Show the nav point & closest segment line when hovering over a Place.

This option is enabled by default...because it's cool :) You can turn it off under Map Changes
Screenshot - 6_28_2017 , 10_14_05 AM.png
(11.44 KiB) Downloaded 507 times


If the nav point has not been moved, it will not be drawn (for point Places this prevents the actual Place from being drawn on top of).
PIE1.jpg
(19.88 KiB) Downloaded 509 times


If the navigation point has been moved, a dashed line will be drawn from the point Place to the navigation point (crosshairs added to match the native display). For area Places a dashed line will be drawn from the centroid of the area Place to the navigation point (again - duplicated native display). A line will be drawn from the navigation point to the closest segment.
PIE2.jpg
(25 KiB) Downloaded 508 times

PIE3.jpg
(18.5 KiB) Downloaded 514 times
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1378
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 347 times
Been thanked: 2470 times

Re: [Script] WME Place Interface Enhancements

Postby JustinS83 » Wed Jun 28, 2017 2:22 pm

abc1357 wrote:Very nice. I can now retire "Closest Segment". One less script. Thanks!


Well, Closest Segment will draw the line once the Place is selected. PIE is not doing that (yet? Haven't decided...).
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1378
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 347 times
Been thanked: 2470 times

Re: [Script] WME Place Interface Enhancements

Postby JustinS83 » Thu Jun 29, 2017 10:25 am

RussPA wrote:Noticed one odd thing with this new update. When zoomed out to 0 or 1 and you move the mouse over the point of a PUR, it draws the closest segment line to a segment that could be a long way away.
Untitled.jpg

I noticed this yesterday as well - it's drawing to the last cached segments. I'm going to be limiting the functionality by zoom level.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1378
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 347 times
Been thanked: 2470 times

Re: [Script] WME Place Interface Enhancements

Postby JustinS83 » Fri Jun 30, 2017 6:30 pm

Update released - 1.02.04

Small bug fixes

New feature - "Display a line from the nav point to the point on the closest segment". This can/does replace the Closest Segment script. Make sure to disable or remove Closest Segment when enabling this feature.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1378
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 347 times
Been thanked: 2470 times

Re: [Script] WME Place Interface Enhancements

Postby JustinS83 » Fri Jul 14, 2017 1:50 pm

Update released - 1.02.05

Support for routable pedestrian path in closest segment detection added.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1378
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 347 times
Been thanked: 2470 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: dfortney, Mapman44