[Script] WMEOpenData v2.29 (20160712)

Image

Moderators: Unholy, Timbones

Re: [Script] WMEOpenData v2.6 (20140629)

Postby Timbones » Sun Jun 29, 2014 11:31 pm

Wow, that's quick work. Iain will be delighted.
Timbones(6) • UK Coordinator • Forum Moderator • Global Wiki Moderator • Routing Expert
Extensions: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 6553
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 892 times
Been thanked: 2472 times

Re: [Script] WMEOpenData v2.6 (20140629)

Postby ditchi56 » Mon Jun 30, 2014 8:56 am

Not sure whether it's co-incidence, but I've installed v2.6 and now the OS Opendata link is not working. I get the webpage OK, but it's zoomed out and centred near Edinburgh. Musical Chairs is still fine.
ditchi56
Country Manager
Country Manager
 
Posts: 3921
Joined: Tue May 29, 2012 12:35 pm
Has thanked: 726 times
Been thanked: 1520 times

Re: [Script] WMEOpenData v2.6 (20140629)

Postby Twister-UK » Mon Jun 30, 2014 10:01 am

ditchi56 wrote:Not sure whether it's co-incidence


It isn't... Thanks for reporting the fault, the code responsible for introducing it has been located and dealt with, and a fixed version will be uploaded to GF/CWS later today.
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: 2024
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 277 times
Been thanked: 1589 times

Re: [Script] WMEOpenData v2.6 (20140629)

Postby NorfolkMustard » Mon Jun 30, 2014 6:30 pm

When using the UK English WME, the yellow bounding box around a road doesn't show.
Stu
Local Champ: England wiki | Australia wiki
iOS
NorfolkMustard
Waze Local Champs
Waze Local Champs
 
Posts: 1197
Joined: Thu Mar 25, 2010 7:44 am
Location: Blighty
Has thanked: 171 times
Been thanked: 348 times

Re: [Script] WMEOpenData v2.6 (20140629)

Postby Twister-UK » Tue Jul 01, 2014 12:35 am

NorfolkMustard wrote:When using the UK English WME, the yellow bounding box around a road doesn't show.


Ah yes, the old "referencing layers by their localised name instead of their unique name" bug... I'd already experienced this one ages ago in URO+ and completely overlooked the fact that WMEOD would be similarly affected :oops: Thanks for the report, should be sorted now :D
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: 2024
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 277 times
Been thanked: 1589 times

Re: [Script] WMEOpenData v2.7 (20140701)

Postby Twister-UK » Tue Jul 01, 2014 6:28 am

For anyone who hasn't already noticed, 2.7 was uploaded last night. Unfortunately the same couldn't be said for the corresponding post I'm 99.9999% certain I made at the time... So slightly later than expected, here's the official announcement that 2.7 is now available, addressing the two issues noted above.

Firefox+Greasemonkey version: https://greasyfork.org/scripts/1941-wme-to-os-link
Chrome packaged version: https://chrome.google.com/webstore/deta ... mdbdnmcfei
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: 2024
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 277 times
Been thanked: 1589 times

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

Postby Twister-UK » Thu Jul 17, 2014 11:11 pm

2.8 introduces the Primary Road Network highlighter option, using the PRN data distilled from the VectorMap District dataset.

Similarly to how the Locator data is handled, the PRN data is stored in 20km x 20km blocks which are loaded from my server and then cached locally as you pan around the map. Blocks are removed from the cache if not accessed in the last 10 minutes. Note that when a new PRN block is requested from the server, the script doesn't automatically redraw the PRN layer after the block has successfully loaded, so if the highlighting appears to have stopped short of where you'd expect it to stop, please try moving the map view slightly to force a refresh of the highlight layer. Having said that, sometimes the PRN really does stop short of where you might think it would :shock:

Note also that there are the occasional very short isolated segments which have been defined as PRN in the VectorMap District data, but which are not shown as part of the PRN in other OS data. So far all the ones I've seen have been completely obvious, so there doesn't appear to be any risk in leaving them in the data (and besides, I can't really be arsed to manually proof-read all of the data :lol: )


Firefox+Greasemonkey version: https://greasyfork.org/scripts/1941-wme-to-os-link
Chrome packaged version: https://chrome.google.com/webstore/deta ... mdbdnmcfei
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: 2024
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 277 times
Been thanked: 1589 times

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

Postby Timbones » Fri Jul 18, 2014 9:32 pm

Twister-UK wrote:2.8 introduces the Primary Road Network highlighter option, using the PRN data distilled from the VectorMap District dataset.

Great job!

A quick reminder to editors: we still haven't agreed on this proposal, so please don't reclassify any roads just yet. Go read the other thread and add your opinion if you haven't already.

:)
Timbones(6) • UK Coordinator • Forum Moderator • Global Wiki Moderator • Routing Expert
Extensions: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 6553
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 892 times
Been thanked: 2472 times

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

Postby Timbones » Sun Jul 20, 2014 2:24 pm

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...
Timbones(6) • UK Coordinator • Forum Moderator • Global Wiki Moderator • Routing Expert
Extensions: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 6553
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 892 times
Been thanked: 2472 times

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

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

2.9 automatically refreshes the PRN highlight as data is received from the server. It also now moves the PRN and bounding box overlays in sync with the native WME layers as the map is panned.

This latter change was spurred on by Tim's suggestion above, and although I couldn't get native layers working reliably enough for the needs of WMEOD, having seen how nice it looked having everything moving in sync I figured there had to be some way to emulate it in my own code. And as it happens, there was. It's been staring me right in the face every time I edit the code, and I can't believe I hadn't figured it out a long long time ago (though not necessarily in a cluster of star systems placed at some distance from our own...).

As a background update which also applies to 2.8, I've also generated a full set of "dummy" PRN data blocks to fill in the gaps within the OS grid area which don't have any PRN data and where, therefore, no blocks had been generated by the VMD parser. Without these dummy blocks WMEOD would throw a wobbler if you panned across into an area of the map which required it to try loading one of these non-existent blocks...


Firefox+Greasemonkey version: https://greasyfork.org/scripts/1941-wme-to-os-link
Chrome packaged version: https://chrome.google.com/webstore/deta ... mdbdnmcfei
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: 2024
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 277 times
Been thanked: 1589 times

PreviousNext

Return to United Kingdom

Who is online

Users browsing this forum: No registered users