[OSM-talk] JOSM Name Finder Plugin

David Earl david at frankieandshadow.com
Fri May 18 10:00:28 BST 2007



> -----Original Message-----
> From: talk-bounces at openstreetmap.org
> [mailto:talk-bounces at openstreetmap.org]On Behalf Of Frederik Ramm
> Sent: 18 May 2007 03:59
> To: Talk Openstreetmap
> Subject: [OSM-talk] JOSM Name Finder Plugin
>
>
> Hi,
>
>     I have tied David Earl's name finding service into the JOSM download
> dialog via a simple plugin. If you have a JOSM version downloaded on 18
> May or later, installing this plugin should give you an extra tab on the
> download dialog called "places", where you can enter any string and then
> select from whatever David's service returns.
>
> This is really just a proof of concept and there is a lot that can and
> should be improved. I mainly intended this as a proof that my mechanism
> for plugins to add new tabs to the download dialog is really working
> (and as an example of how to do it), and I would be quite happy if
> someone would make this into a nice & polished extension (or make an
> entirely new name finder to replace this one).
>
> It's in SVN, under applications/editors/JOSM/plugins/namefinder. There's
> also a jar file for those who do not want to compile it themselves, but
> note you will need the newest josm-latest.jar for this to work!
>
> Bye
> Frederik


This looks like a nice integration. It's not limited to places, of course:
you can type in e.g. 'Bings Road, Whalley Bridge' to get a specific street,
or 'Ely Golf Club, Ely'. Maybe the prompt could sugest this.

If I hit Enter after entering the search string (which is a natural thing to
do), you get 'Error while parsing: Unknown version: null': Enter doesn't
press the search button as it probably should. You get the same if you just
press OK without doing a search.

For disambiguation, it would be worth putting the 'info' field from the XML
in brackets after the name, so you you see
  Ely (station)
  Ely (city)
in the list, and maybe put the name of the nearest place if there is
anything in the nearestplaces element, so:
  Old Palace Road, Weybridge (street)
  Old Palace Road, Norwich (primary road)

David





More information about the talk mailing list