In October 2019 I announced !W3W, a simple converter from the w3w format
to latitude/longitude with the ability to open a map in RiscOSM or to
launch it via Uniserve on a Windows machine. That program is a CPU hogger
and, worse, uses insecure HTTP fetching for its transactions with the w3w
API. Those issues are now fixed and I urge anyone who has the original
version on their computer to delete it and replace it with this new
version.
The main comment I received about the original version was that it didn't
do a position to words conversion, version 2 fixes that and adds a lot
more. This version is designed around my personal use and to that end
works best with the fantastic RiscOSM program [1]. Note: Attempts to
launch URLs on other platforms have been abandoned.
Requirements?
An active Internet connection and wget on your machine.
What does it consist of?
An icon bar icon with <Info> and <Quit> options
A main window which is divided into an input area on the right and a
results area on the left.
How to use it?
On the input side of the main window use the radio buttons to choose
whether you want to start with 3 words or a position defined by latitude
and longitude (for now 3 words is the default). Input your data,
<tab>bing between icons then <Search>, the program will complain if it is unhappy with the data you supplied or in the unlikely event that your 3
word combination hasn't been used somewhere on the planet by w3w. If all
is well the left side of the window will become populated with
information about the position. Additionally, if RiscOSM has been seen on
your computer an opportunity to open a map will be offered (the <open
icon will no longer be greyed out).
Additionally, GPX files saved from a RiscOSM pin definition will open in
!W3W. That is, if you position a pin on a map in RiscOSM, over Bill's
mum's house say, and then export that pin definition to your machine (I
use Memphis) you can then drag that file to either the W3W icon bar icon
or the main window. The appropriate 3 words and other information will
then appear in the window. The next version of the program should permit
direct drags once the programmer gets his head around how that works.
Also in the pipeline is saving the output data to a text file (see the
'direct dragging' caveat) [2]
The program can be downladed from
https://www.bjordan.org.uk/software/w3w_2-01.zip
Enjoy! (As the young people keep saying to me)
B
[1] I understand that Derek Snell's ProCad+ works with Open Street Map
and I hope to look into using this as well as, or as an alternative to, RiscOSM.
[2] I am thinking of a composite text file from which it would be
possible to cut and paste data as needed. My prototype has URLs, data for emails and Macro definitions for Fred Graute's !Makro.
--
_____________________________________________________________________
Brian Jordan
RISC OS 5.28 (19-Oct-20) on Raspberry Pi _____________________________________________________________________
_______________________________________________________________
a.m.conroy@argonet.co.uk, Moderator of comp.sys.acorn.announce.
Submissions to
csaa@owlart.net
Related mail to
csaa-request@owlart.net
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)