[Script] WME Validator 1.1.20 / 03.11.2016

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

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 Validator 1.1.6 / 06.01.2015

Postby SuperDave1426 » Thu Feb 26, 2015 8:14 pm

Problem solved, thanks to all for the various suggestions.

Problem was firmly of the PEBKAC variety. :oops:

I didn't notice that the options to exclude Streets, Service Roads, Other Drivable and non-drivable were turned on, for those curious. You may begin the regaling of me with "duh" comments now. :mrgreen:
Last edited by SuperDave1426 on Fri Feb 27, 2015 6:20 am, edited 1 time in total.
SuperDave1426
Country Manager
Country Manager
 
Posts: 894
Joined: Wed Oct 16, 2013 5:27 pm
Location: Nevada, USA
Has thanked: 81 times
Been thanked: 264 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby SuperDave1426 » Thu Feb 26, 2015 6:06 am

sketch wrote:
SuperDave1426 wrote:So, no word on why when looking for ${typeRank} values that used to highlight Private, PLR & Dirt Roads no longer works?

They work for me. I just tested them all, and all are working, except that Service Road no longer exists, of course.

Well, I'd just love to know how you're doing it. Because as you can see here, I've selected a typeRank value of 7, which is a PLR, and none of the nearby PLRs on the map display are showing up as highlighted....

Edit: Ok, now this is interesting.... I played around with it a bit more and found that it won't highlight Street type, either. It does light up Minor Highway, Major Highway, Freeway, and Primary Street. They happily glow when I select those types. But everything from Street down doesn't seem to be showing for me. Doesn't seem to matter if I'm using the regular road or experimental road type.

Now, I have seen that if I click on a road type that I've set the typeRank to show, the left pane will have green text saying "User-defined custom check (green)." So apparently it is recognizing the road type; it's just not actually highlighting anything for me lower than Primary Street.... What the heck....? :?:
SuperDave1426
Country Manager
Country Manager
 
Posts: 894
Joined: Wed Oct 16, 2013 5:27 pm
Location: Nevada, USA
Has thanked: 81 times
Been thanked: 264 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby SuperDave1426 » Wed Feb 25, 2015 4:46 pm

So, no word on why when looking for ${typeRank} values that used to highlight Private, PLR & Dirt Roads no longer works?
SuperDave1426
Country Manager
Country Manager
 
Posts: 894
Joined: Wed Oct 16, 2013 5:27 pm
Location: Nevada, USA
Has thanked: 81 times
Been thanked: 264 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby SuperDave1426 » Mon Feb 23, 2015 5:56 pm

qwaletee wrote:The reason you get multiple segments types highlighted for /1/ is that it also matches /10/../19/ and /21/. You need to either use a matching separators before/after the template and expression, or use the explicit start/end codes in the expression.

I understand that. I simply included it for completeness, to show that it's working as expected for those types.

Oh, reading again - I didn't think about /1/ tripping a /21/ type as well. Ok, so then if I want type 1, I'll be sure to use /^1$/ instead to completely isolate it (I do *NIX, so I grok regexps :)). Thanks for that. However....

My concern is that using the rankType for Private Road, Dirt Road, and Parking Lot Road completely fail to highlight those types of road. That's really the bigger concern for me. :-)
SuperDave1426
Country Manager
Country Manager
 
Posts: 894
Joined: Wed Oct 16, 2013 5:27 pm
Location: Nevada, USA
Has thanked: 81 times
Been thanked: 264 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby SuperDave1426 » Mon Feb 23, 2015 12:33 am

Thanks for that. Though, I wonder if the type numbers have changed with the newest version of WME. When I brought up the settings and went to set up the custom template, a regexp value of /1/ resulted in nearby Primary Street and Major Highway types lighting up. Didn't have a Minor Highway nearby, so I don't know about that. The Street type street didn't light up at all, and that chart you quoted says that 1 is a Street. When I changed the regexp to /1$/, the Major Highway was no longer highlighted, but Primary Street still was. And plain old regular Street types remained dark...

Using /20/ didn't light up anything that was nearby, including some PLRs....

So yea, I'm wondering of some of the type numbers have moved around.... :?:

Edit: A bit of searching found this article, listing ${typeRank} values, which was what I wanted anyway. :-) However, the values listed there for PLR, Dirt Road, and Private Road do not cause those road types to be highlighted. I tried a couple of other (Major Highway, Primary Street), and those did light up.

Something seems to have changed, all right, although I'm not sure what. Color Highlighter will highlight those three road types if I check "Highlight a Road Type" and then pick on of them from the drop-down. So Highlighter can figure out what those three are, but using the numbers from that article with Validator doesn't do anything.... :?
Last edited by SuperDave1426 on Mon Feb 23, 2015 1:02 am, edited 1 time in total.
SuperDave1426
Country Manager
Country Manager
 
Posts: 894
Joined: Wed Oct 16, 2013 5:27 pm
Location: Nevada, USA
Has thanked: 81 times
Been thanked: 264 times

Re: [Script] WME Validator 1.1.6 / 06.01.2015

Postby SuperDave1426 » Sun Feb 22, 2015 8:48 pm

With the new version of WME, when using the "roads experimental" layer, PLRs now seem to vanish because they're small and thin, and a color that compliments the color of the asphalt road in the satellite imagery quite nicely. :shock: ;)

Hopefully, they'll change those things, but in the meantime, I'd like a way to make them stand out better when I'm working on the map. Does anyone know what regexp value needs to be used with ${typeRank} to select a parking lot road type? 'Cause I can't seem to find it. :-)
SuperDave1426
Country Manager
Country Manager
 
Posts: 894
Joined: Wed Oct 16, 2013 5:27 pm
Location: Nevada, USA
Has thanked: 81 times
Been thanked: 264 times

Re: [Script] WME Validator 1.1.1 / 30.08.2014

Postby SuperDave1426 » Sat Sep 20, 2014 10:52 pm

doctorkb wrote:Mikenit: the problem is they don't do what people who use them expect them to.

They should route like parking lot roads, but they route like streets.

Which is a problem. So, Mikenit, no, the "response" is decidedly not nothing.

Plus, we've been explicitly told to not use the service road type, so we should be looking for them and setting them as an appropriate type. Having them highlighted, even as just a note type, by the Validator would help us a lot towards that end.
SuperDave1426
Country Manager
Country Manager
 
Posts: 894
Joined: Wed Oct 16, 2013 5:27 pm
Location: Nevada, USA
Has thanked: 81 times
Been thanked: 264 times

Re: [Script] WME Validator 1.1.1 / 30.08.2014

Postby SuperDave1426 » Sat Sep 20, 2014 10:49 pm

doctorkb wrote:The advantage to highlighting is that you could set it correctly.

Service roads may well be streets or parking lot roads, depending on usage.

Image Exactly.

When (if?) the type disappears, it is likely the will all become one other type... And I'm going to bet it would be "street" as that is how service roads are routed now.

Right, and with highlighting, we can find them and set them as they should be, before the mass-change-to-whatever (likely "street") happens.

Like another who posted in this thread, I'm also using a custom check to find them. And I agree; it would be nice to free that slot up since we only get two of them and this really should be something that Validator just checks for among the other things it checks for.

If there's something more urgent that's broken, then yea by all means fix those broken items, but adding this check should also happen.
SuperDave1426
Country Manager
Country Manager
 
Posts: 894
Joined: Wed Oct 16, 2013 5:27 pm
Location: Nevada, USA
Has thanked: 81 times
Been thanked: 264 times

Re: [Script] WME Validator 1.1.1 / 30.08.2014

Postby SuperDave1426 » Sat Sep 20, 2014 10:21 pm

Yea, "soon." How long now have they been saying that they were going to get rid of the service road type as a selection? ;)

That they're going to do this change "soon" is no reason to not have Validator look for it and help us find those types of road now, while it is still something we have to deal with. The check can always be removed later once Waze has removed it and changed all of the roads so that "service road" is no longer on the map.
SuperDave1426
Country Manager
Country Manager
 
Posts: 894
Joined: Wed Oct 16, 2013 5:27 pm
Location: Nevada, USA
Has thanked: 81 times
Been thanked: 264 times

Re: [Script] WME Validator 1.1.1 / 30.08.2014

Postby SuperDave1426 » Sat Sep 20, 2014 3:25 pm

crazycaveman wrote:
BellHouse wrote:
crazycaveman wrote:Would it be possible to add a check for service roads in the USA? They have been deprecated and aren't to be used. Having them be highlighted (even if it's just as a note) would make it easier to remove them.

You can achieve that with the following custom check:

Custom template: ${typeRank}
Custom regexp: 9

Yeah, I've been using that. I was just thinking that, since this is a country-wide guideline, it would help more people be aware not to use that road type. Also, it would free up one of my custom checks :D

+1

Olestas wrote:You can also use WME Color Highlights for this.

I understand what you're saying there, but - given that Validator's purpose is to highlight things which need attention, and given that "service road" is a type that they want us to avoid using in the US, wouldn't it make more sense to add it as a check within Validator?
SuperDave1426
Country Manager
Country Manager
 
Posts: 894
Joined: Wed Oct 16, 2013 5:27 pm
Location: Nevada, USA
Has thanked: 81 times
Been thanked: 264 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: F1r3foxx, JustinS83, ramblinwreck_81, RichardPyne, SkyviewGuru, tonestertm