[Script] WMEOpenData v2.36 (20171029)

Image

Moderators: Unholy, Timbones

Re: OS Open Data User Scripts

Postby floppyrod84 » Mon Jul 23, 2012 11:41 pm

Just tried this and it's bloody amazing! Very nice work twister!! Methinks you might be in the wrong job ;-)
All that's needed to put the icing on this amazing cake would be a box visualisation of some sort so we know which one to choose. I assume the script looks at which boxes are covering a point?
I wonder how difficult it would be to give a percentage of the likelihood of which is the correct one next to the results... would need some kind of algorithm which may be beyond the realms of scripting, and very difficult to get right, especially since the boxes aren't always spot on. There's sometimes a teeny extra box where there's no match. No idea why it's like that.
Would a box visualisation layer or overlay even be possible?

Sent from my GT-I9100P using Tapatalk 2
floppyrod84
 
Posts: 2569
Joined: Wed Jan 19, 2011 3:17 pm
Location: Sheerness, Kent, UK
Has thanked: 40 times
Been thanked: 41 times

Re: OS Open Data User Scripts

Postby floppyrod84 » Wed Jul 18, 2012 7:05 pm

Yeah the script is pretty sweet. Like the possibilities list at the bottom very much!!
Cheeky Request: Would it be possible to integrate these results into the Street Name text entry box as a drop down of some kind?
floppyrod84
 
Posts: 2569
Joined: Wed Jan 19, 2011 3:17 pm
Location: Sheerness, Kent, UK
Has thanked: 40 times
Been thanked: 41 times

Re: OS Open Data User Scripts

Postby floppyrod84 » Tue Jul 17, 2012 12:02 pm

I've got OS Locator here, and it's bloody helpful with all the fields, locality, town, road ref (A249), and name. Gonna look at this script now, if the editor will work...
floppyrod84
 
Posts: 2569
Joined: Wed Jan 19, 2011 3:17 pm
Location: Sheerness, Kent, UK
Has thanked: 40 times
Been thanked: 41 times

Re: OS Open Data User Scripts

Postby floppyrod84 » Tue Jul 17, 2012 2:09 am

Eww it's inserting smilies. Any chance of a pastebin at all? I will look at this tomorrow but it sounds very promising indeed! :-D

Sent from my GT-I9100P using Tapatalk 2
floppyrod84
 
Posts: 2569
Joined: Wed Jan 19, 2011 3:17 pm
Location: Sheerness, Kent, UK
Has thanked: 40 times
Been thanked: 41 times

Re: OS Open Data User Scripts

Postby floppyrod84 » Sat Jun 30, 2012 1:26 am

Refresh our memories...

Sent from my GT-I9100P using Tapatalk 2
floppyrod84
 
Posts: 2569
Joined: Wed Jan 19, 2011 3:17 pm
Location: Sheerness, Kent, UK
Has thanked: 40 times
Been thanked: 41 times

Re: OS Open Data User Scripts

Postby floppyrod84 » Wed Jun 27, 2012 7:19 pm

You need a login, your normal one won't work. It's no different though.

Sent from my GT-I9100P using Tapatalk 2
floppyrod84
 
Posts: 2569
Joined: Wed Jan 19, 2011 3:17 pm
Location: Sheerness, Kent, UK
Has thanked: 40 times
Been thanked: 41 times

Re: OS Open Data User Scripts

Postby floppyrod84 » Tue Jun 26, 2012 9:14 pm

Bug report (lol):

Even if a previously opened link is open from the same site, the script will still open another tab. Any way to <test> the opened tabs to see if one is already open and refresh it?

Feature request (cheeky):

Once one (or several different) tabs are open, would it be possible to continuously poll for changes in lat/long and change it automatically according to WME? i.e. have another window open in a side-by-side Windows 7 click-to-side thing and drag WME in Window 1 and Window 2 moves too?
Might be hard to implement though.

I can see Waze themselves hating this, but if they see this, I'd like to remind them that this data is under a FOSS type license and not to worry. We can add something on the wiki something like "some UK data manually extracted from OS OpenData" with a link to their site. This is enough legally to be fine to use the data, just a note saying where it was obtained (read the license, it's fine):

You are free to:

copy, publish, distribute and transmit the Information;

adapt the Information;

exploit the Information commercially for example, by combining it with other Information, or by
including it in your own product or application.


You must, where you do any of the above:

acknowledge the source of the Information by including any attribution statement specified by the
Information Provider(s) and, where possible, provide a link to this licence;

If the Information Provider does not provide a specific attribution statement, or if you are using
Information from several Information Providers and multiple attributions are not practical in your
product or application, you may consider using the following:

Contains public sector information licensed under the Open Government Licence v1.0.


ensure that you do not use the Information in a way that suggests any official status or that the
Information Provider endorses you or your use of the Information;

ensure that you do not mislead others or misrepresent the Information or its source;

ensure that your use of the Information does not breach the Data Protection Act 1998 or the Privacy
and Electronic Communications (EC Directive) Regulations 2003.

Source: http://www.ordnancesurvey.co.uk/oswebsi ... icence.pdf
floppyrod84
 
Posts: 2569
Joined: Wed Jan 19, 2011 3:17 pm
Location: Sheerness, Kent, UK
Has thanked: 40 times
Been thanked: 41 times

Re: OS Open Data User Scripts

Postby floppyrod84 » Tue Jun 26, 2012 9:08 pm

Yeah definitely get it on userscripts.org. Also, could we get some kind of versioning into it, or svn/github it in some way to keep track of changes. Helpful tools to collaborate :)
floppyrod84
 
Posts: 2569
Joined: Wed Jan 19, 2011 3:17 pm
Location: Sheerness, Kent, UK
Has thanked: 40 times
Been thanked: 41 times

Re: OS Open Data mistakes

Postby floppyrod84 » Tue Jun 26, 2012 11:33 am

Is this the gm script for osmc? I'm crap with scripting, etc.

Sent from my GT-I9100P using Tapatalk 2
floppyrod84
 
Posts: 2569
Joined: Wed Jan 19, 2011 3:17 pm
Location: Sheerness, Kent, UK
Has thanked: 40 times
Been thanked: 41 times

Re: OS Open Data mistakes

Postby floppyrod84 » Sat Jun 23, 2012 12:10 pm

Cool. I'd imagine grabbing the coords would be simple. Could nick that bit from the other tools. Bear in mind I don't script things so theory is always simple, practical is a little more difficult :-P

Sent from my GT-I9100P using Tapatalk 2
floppyrod84
 
Posts: 2569
Joined: Wed Jan 19, 2011 3:17 pm
Location: Sheerness, Kent, UK
Has thanked: 40 times
Been thanked: 41 times

PreviousNext

Return to United Kingdom

Who is online

Users browsing this forum: No registered users