[Script] WMEOpenData v2.14 (20150320)

Image

Moderators: Unholy, Timbones

Re: [Script] WMEOpenData v2.3 (20140201)

Postby Twister-UK » Sat May 03, 2014 8:05 am

It's that time of the year again... the OS have just released the latest update to their streetname dataset, so expect a corresponding WMEOD update "soon" (i.e. just as soon as I get the raw data downloaded, pummelled into shape, and copied onto my server)
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1291
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 143 times
Been thanked: 835 times

Re: [Script] WMEOpenData v2.3 (20140201)

Postby Twister-UK » Sat May 03, 2014 7:40 pm

WMEOD is a script I wrote to search the Ordnance Survey street and place name data for possible matches when a road segment is selected in WME. Every 6 months the OS release an updated copy of the street name data, and the latest update arrived at some point in the last few days... In order for WMEOD to use the data, it first needs to be processed to chop up the single UK-wide data file into smaller chunks that the script can handle, then uploaded to my server so the chunks can be accessed by the script.
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1291
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 143 times
Been thanked: 835 times

Re: [Script] WMEOpenData v2.4 (20140518)

Postby Twister-UK » Sun May 18, 2014 9:44 am

Sorry about the delay in releasing the new OS data, you can thank my not so SMART system drive for this... regular monitoring of the SMART status suggested the drive was in good condition, yet delving into the Windows event log showed bad block errors being thrown left, right and centre :roll: So one emergency system drive swap out later, we're back in business.

2.4 uses the latest OS Locator dataset, which contains a shade over 4000 additional entries compared with the previous dataset. It also fixes the Canaries Map Tracker functionality (oh look, they've renamed a couple of internal variables for no discernably good reason... been taking programming lessons from the Waze team, eh?). For Chrome users, I've tweaked the permissions a bit too so it no longer requests access to the entire internet :D


Firefox+Greasemonkey version: https://greasyfork.org/scripts/1941-wme-to-os-link
Chrome packaged version: https://chrome.google.com/webstore/deta ... mdbdnmcfei
Last edited by Twister-UK on Mon Jun 02, 2014 6:16 am, edited 1 time in total.
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1291
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 143 times
Been thanked: 835 times

Re: [Script] WMEOpenData v2.4 (20140518)

Postby Twister-UK » Mon Jun 02, 2014 6:18 am

No changes to the script itself, however as I've now migrated all my scripts over to the GreasyFork repository I've edited the 2.4 release post above to remove the temporary download location.
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1291
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 143 times
Been thanked: 835 times

Re: [Script] WMEOpenData v2.5 (20140607)

Postby Twister-UK » Sat Jun 07, 2014 12:25 am

Following hot on the heels of the mid-year Locator update, June brings a Gazetteer update, access to which is now provided by 2.5...

Firefox+Greasemonkey version: https://greasyfork.org/scripts/1941-wme-to-os-link
Chrome packaged version: https://chrome.google.com/webstore/deta ... mdbdnmcfei

As an aside, in 11 days WMEOD celebrates its 2nd birthday. It was the not only the first Waze script I wrote, it was also the first GM script I wrote full stop... Without those original 10 lines of code helping me to ease into the world of GM scripting, who knows whether I'd have considered attempting anything like URO+ or LMUR, and god only knows how many more map edits I'd have racked up without the constant distraction of tweaking just one more bit of code :D
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1291
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 143 times
Been thanked: 835 times

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

Postby Twister-UK » Sun Jun 29, 2014 10:15 pm

For those editors who end up traversing the whole of the UK in a single editing session, 2.6 should now help keep the browser memory requirements in check by unloading any cached OS Locator block data which hasn't been accessed in the last 10 minutes.


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
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1291
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 143 times
Been thanked: 835 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
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1291
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 143 times
Been thanked: 835 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
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1291
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 143 times
Been thanked: 835 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
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1291
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 143 times
Been thanked: 835 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
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1291
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 143 times
Been thanked: 835 times

PreviousNext

Return to United Kingdom

Who is online

Users browsing this forum: No registered users