[Script] WME Place Harmonizer

There was a new WME release today that could cause some problems for multiple scripts. WMEPH has been updated (v1.3.97) and should be working now.

When WMEPH flags an external provider as being linked to two Waze PPs, is there an easy way to determine where the other PP is?

PIE will highlight the duplicate places. I think Justin is working on drawing a line between the duplicate places as well.

Hint: I usually find that 25% or more of the duplicate places are stacked under the other place, so the first thing I do is move the PP and see if it is there.

Another normal for duplicates is their parking lot. Another place I look immediately.

Sean

WMEPH v1.3.120

  • A brand new look for the banner! Individual rows are highlighted based on their severity, or gray if they are only suggestions / informational.
  • “Area code mismatch” flag now displays the phone # entry box so you can fix it right there.
  • A lot of internal rewiring to make WMEPH faster.

When I add a place detail and hit enter, WMEPH adds the detail but the field doesn’t go away from showing on the panel. Also, when adding a new place it simply stays at the red dot when you click to add it, it doesn’t open up the pane to add info

When trying to retrieve the information from the Toronto group, a few areas give this error message:

Server Error in ‘/’ Application.
The given key was not present in the dictionary.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[KeyNotFoundException: The given key was not present in the dictionary.]
System.Collections.Generic.Dictionary`2.get_Item(TKey key) +12760397
WazeApi.WMEPH.LockLevelCheck(PnhValidationSet validationSet, PnhStateRules stateRules, VenueObject venue) in c:\Users\bhineline\Documents\Visual Studio 2013\Projects\WazeBrowser\WazeApi\WazeApi\WMEPH.cs:1212
WazeApi.WMEPH.ValidateVenue(VenueObject venue, Hashtable checkEnabled, VenueIndexes venueIndexes, WazeBrowserOptions options) in c:\Users\bhineline\Documents\Visual Studio 2013\Projects\WazeBrowser\WazeApi\WazeApi\WMEPH.cs:961
WazeApi.ValidationInterface.ValidatePlaces(Features features, Validation validation, LocationValidationEffective validationRules, String areaId) in c:\Users\bhineline\Documents\Visual Studio 2013\Projects\WazeBrowser\WazeApi\WazeApi\ValidationInterface.cs:531
WazeApi.ApiInterface.GetFeaturesFromGeoArea(String areaSelectedName, Features features, LocationValidationEffective& validationRules, AreaConfig areaConfig, Double distance, Boolean displayKml, StringBuilder& sbOutput, StringBuilder& sbKml, Boolean showOnlyResidential, Geometry geoArea, String forceEnv) in c:\Users\bhineline\Documents\Visual Studio 2013\Projects\WazeBrowser\WazeApi\WazeApi\ApiInterface.cs:2527
WazeApi.ApiInterface.GetFeaturesFromArea(String areaSelectedName, Features features, LocationValidationEffective& validationRules, AreaConfig areaConfig, Double distance, Boolean displayKml, StringBuilder& sbOutput, StringBuilder& sbKml, Boolean showOnlyResidential) in c:\Users\bhineline\Documents\Visual Studio 2013\Projects\WazeBrowser\WazeApi\WazeApi\ApiInterface.cs:2144
WazeBrowser._PlaceBrowser.Button1_Click(Object sender, EventArgs e) in c:\Users\bhineline\Documents\Visual Studio 2013\Projects\WazeBrowser\WazeBrowser\WazeBrowser\PlaceBrowser.aspx.cs:822
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9782378
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +204
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3062.0

Suggestion.

It’d be helpful if the phone number box would translate letters to digits.

For example: 833-2DEXSTA

Convert that to: 833-233-9782

I does for me, I always put in numbers like 416393CITY and 416393PARK and they get converted.

I think it is the “X” that is causing the issue. WMEPH must not know how to treat it.

I have reported this bug in the GitHub issues for WMEPH

Learn something new every day. I didn’t know it knew how to convert those kinds of phone numbers. I’ve always broke out a picture of a T9 phone and converted it manually assuming it didn’t know how to deal with those.

v1.3.133

WHAT’S NEW

  • “Auto-add convenience store to gas stations” option has been removed.
  • WMEPH will remove unnecessary parent categories when child categories are added.
  • Adjust USPS matching to be a little more precise.
  • Adjust Park & Ride matching for non-standard PLA name flag.
  • Convert “X” to a digit in phone #s (was not working properly before).

Thanks @mapomatic!

The state managers in New England have started a push to get our boat launches mapped. We’ve agreed that they should be point places, not area, and Marina/Seaport/Harbor. See, e.g. https://wazeopedia.waze.com/wiki/USA/Maine#Boat_Launches

Could you please align WMEPH to not throw an error for Marina/Seaport/Harbor point places? At least in New England?

Thanks!

Not worried about people driving into the water? :slight_smile:

MoM,

Thank you very much for the addition of removing the parent category. Saves a few clicks, and helps harmonize. Excellent!

Sean

Purely out of curiosity, why would you not want a boat launch to be an Area Place so that it shows on the map when someone is driving nearby?

When you click the Add button to add a new Google link to a place and you hover over any item in the Google list, you no longer get the yellow dot for the link location. Once you select a link, then you see the dot, just not before.

I have noticed the past few days that when the HN is entered in and enter key or add button is pressed, the HN is not transferred to the HN field causing the editor doing the harmonization to have to enter the HN again.

Thanks for the heads up. I haven’t been able to find a solution as of yet but I’m working on it.

A little more info: the HN is actually updated behind the scenes, it’s just not immediately updated on the side panel user interface. After you enter the HN, you can deselect/reselect the place to see that it has updated. But if you edit the address without first deselecting the place, you’ll get the blank HN field.

Thank you, I did test it as you stated in your reply and that works for the time being.

Sent from my SM-N950U using Tapatalk