[Script] WMEOpenData v2.25 (20160417)

Image

Moderators: Unholy, Timbones

Re: [Script] WMEOpenData v2.8 (20140717)

Postby Twister-UK » Wed Jul 23, 2014 8:53 pm

Timbones wrote:Twister - if you added your green PRN highlight as an OpenLayer, the it would pan with the rest of the map. See my Route Tester script for an example of how to do it. Look for references to WMERC_lineLayer_route...


Thanks for the suggestion, it seemed like the perfect solution and all was going oh so well until I tried to maintain the correct z-indexing when the satellite imagery layer was turned on...

Try as I might, I couldn't work out how to keep the PRN and bounding box layers below the road layer but above the satellite layer - it's as if they were both stuck on the same z-index, so either I ended up behind them both or in front of them both, neither of which were workable results.

Throw into the mix the way the layers would shift themselves around every time you saved a change, requiring a hook into the save event so that the layer indices could be rescanned, and I came to the conclusion that it was easier just to stick with the existing way of doing things. Still, 'twas a useful bit of experience playing around with the native layers, and as noted in the 2.9 release comments above it also spurred me into figuring out how to achieve the same result.
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
Waze App 3.9.9.0, not about to switch to 4.x any time soon...
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1912
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 253 times
Been thanked: 1489 times

Re: [Script] WMEOpenData v2.9 (20140723)

Postby Timbones » Wed Jul 23, 2014 11:22 pm

I too have wrestled with z-indexing, and failed to get native layers to behave as I'd like.

Anyway, good job!
Timbones(6) • UK Coordinator • Forum Moderator • Global Wiki Moderator • Routing Expert
Extensions: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 6402
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 836 times
Been thanked: 2362 times

Re: [Script] WMEOpenData v2.9 (20140723)

Postby DG567 » Thu Jul 31, 2014 7:40 am

This is brilliant - thank you.
As work progresses, I suppose there might be small segments that get missed - would it be useful to be able to highlight segments that are PRN but NOT changed to MH?
David
DG567
Area Manager
Area Manager
 
Posts: 556
Joined: Tue Aug 07, 2012 1:09 am
Has thanked: 35 times
Been thanked: 42 times

Re: [Script] WMEOpenData v2.9 (20140723)

Postby jasonroseweir » Sun Aug 03, 2014 2:52 pm

Not sure if this is a feature request or a defect:

I mainly edit on my Macbook Pro without an external mouse, so I often navigate around the editor map using the arrow keys rather than the trackpad. I have noted that the new PRN layer does not refresh when the map is moved this way, so I have to adjust the map using the "mouse" to get it to refresh. It would be great if this refreshed using either method to move around (mouse or keyboard).
NOTE: I have also experienced this behaviour when using the auto tracking with OpenData and Musical Chairs (it only updates the other tabs when moved by the mouse).
Area Manager - Central Belt (East), Scotland
covering Fife, Edinburgh, West Lothian & surrounding areas (inc. Stirling, Perth, Dundee, Falkirk)
ImageImage
UK Editing GuidelinesFAQWaze - Current status
jasonroseweir
Area Manager
Area Manager
 
Posts: 223
Joined: Fri Feb 17, 2012 6:42 pm
Location: Fife, Scotland
Has thanked: 82 times
Been thanked: 36 times

Re: [Script] WMEOpenData v2.9 (20140723)

Postby Twister-UK » Tue Aug 05, 2014 3:09 pm

Thanks for highlighting this - I'd checked that using the cursor keys moved the PRN layer correctly but hadn't noticed the lack of refresh. I had a quick look at fixing this, but the obvious fix for getting it to refresh after a cursor key move then broke the layer move synchronisation fix I put in last time, and I suspect getting it to work properly will take more time than I'm able to devote to scripting at the moment.
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
Waze App 3.9.9.0, not about to switch to 4.x any time soon...
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1912
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 253 times
Been thanked: 1489 times

Re: [Script] WMEOpenData v2.9 (20140723)

Postby Twister-UK » Wed Aug 20, 2014 10:36 pm

Sigh, the idiots in charge of my hosting service have just gone and blocked my account without any warning, preventing access to the OS files required by WMEOD :evil: :evil: :evil:
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
Waze App 3.9.9.0, not about to switch to 4.x any time soon...
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1912
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 253 times
Been thanked: 1489 times

Re: [Script] WMEOpenData v2.9 (20140723)

Postby iainhouse » Wed Aug 20, 2014 11:10 pm

Twister-UK wrote:Sigh, the idiots in charge of my hosting service have just gone and blocked my account without any warning, preventing access to the OS files required by WMEOD :evil: :evil: :evil:


Ahh. And there's me thinking it's the crappy 3G signal in rural Wales! :lol:
UK Country Administrator
AM: London (DELETED), S Wales
Waze 3.7.3 • iPhone 4S (iOS 6.1.3) • Chrome/W7x64
ImageImage
UK WikiWaze FAQ
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
iainhouse
Country Manager
Country Manager
 
Posts: 6350
Joined: Mon Jul 23, 2012 5:16 pm
Location: on the road from London to insanity
Has thanked: 984 times
Been thanked: 3187 times

Re: [Script] WMEOpenData v2.9 (20140723)

Postby Twister-UK » Thu Aug 21, 2014 12:10 am

Account has now been restored, though without any explanation why it'd been suspended in the first place...

On a slightly related note, these account hassles have prompted me to do some housekeeping on the server, and consequently all of the older releases of OS data have been removed. This means all versions of WMEOD prior to 2.5 are now obsolete - apologies if this causes any difficulties, however it's been over 2 months since 2.5 was released, so there aren't really any excuses for not having upgraded by now ;)

In future when there's an update to the OS data, I'll keep the previous version available for a few months to allow people to make the transition, but I'll no longer be leaving older versions online indefinitely as has been the case up to now.
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
Waze App 3.9.9.0, not about to switch to 4.x any time soon...
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1912
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 253 times
Been thanked: 1489 times

Re: [Script] WMEOpenData v2.9 (20140723)

Postby iainhouse » Wed Oct 01, 2014 9:20 pm

You're probably aware, but OpenData isn't working too well since the WME update.

I'm finding that most of the time I cannot select a name in the OpenData Window. Occasionally the name will select for a moment but then deselect again. Very occasionally, I can actually select the name and apply it to a segment.

I'm seeing several errors in the console like "WMEOpenData: Current name was set 140m away from segment location". I've tried experimenting with relative positioning of the OpenData window and the segment and the segment within the WME window, without coming to any conclusions.

I also hate to resurrect an old problem, but I'm still experiencing considerable performance issues with OpenData when editing in dense urban areas - to the extent that I find I'm regularly having to disable/enable it from the Extensions tab. Might it be possible to add an on/off switch so I can turn it off without checking extensions & then permalinking/refreshing?
UK Country Administrator
AM: London (DELETED), S Wales
Waze 3.7.3 • iPhone 4S (iOS 6.1.3) • Chrome/W7x64
ImageImage
UK WikiWaze FAQ
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
iainhouse
Country Manager
Country Manager
 
Posts: 6350
Joined: Mon Jul 23, 2012 5:16 pm
Location: on the road from London to insanity
Has thanked: 984 times
Been thanked: 3187 times

Re: [Script] WMEOpenData v2.9 (20140723)

Postby ditchi56 » Thu Oct 02, 2014 8:53 am

iainhouse wrote:I'm finding that most of the time I cannot select a name in the OpenData Window.

+1
ditchi56
Country Manager
Country Manager
 
Posts: 3548
Joined: Tue May 29, 2012 12:35 pm
Has thanked: 631 times
Been thanked: 1345 times

PreviousNext

Return to United Kingdom

Who is online

Users browsing this forum: TheMKLightning

cron