[josm-dev] search from Python script

2013-06-11 Thread Jo
Hi, I'd like to invoke a search from my Python script. What should I import and how can I call it? Jo ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev

Re: [josm-dev] Search and | ?

2008-12-22 Thread Karl Newman
On Mon, Dec 22, 2008 at 8:29 AM, Ævar Arnfjörð Bjarmason ava...@gmail.comwrote: On Mon, Dec 22, 2008 at 4:39 AM, Russ Nelson nel...@crynwr.com wrote: Ævar Arnfjörð Bjarmason writes: * http://josm.openstreetmap.de/ticket/1864 - Search doesn't support regex search on keys and/or values

Re: [josm-dev] Search and | ?

2008-12-21 Thread Dirk Stöcker
On Sat, 20 Dec 2008, Russ Nelson wrote: That's exactly the problem. '|' ends up being a string rather than a token. If somebody checks this in, tell me and I'll restore the docs Fixed in r1149. Ciao -- http://www.dstoecker.eu/ (PGP key available)

Re: [josm-dev] Search and | ?

2008-12-21 Thread Russ Nelson
Dirk Stöcker writes: On Sat, 20 Dec 2008, Russ Nelson wrote: That's exactly the problem. '|' ends up being a string rather than a token. If somebody checks this in, tell me and I'll restore the docs Fixed in r1149. Thanks. I like the way that the Python folks keep the

Re: [josm-dev] Search and | ?

2008-12-21 Thread Frederik Ramm
Hi, Thanks. I like the way that the Python folks keep the documentation for old revisions online. Maybe we could establish the practice of putting a version number on the documentation pages in the wiki? And whenever a new release is put out, make a copy of the documentation into a new

Re: [josm-dev] Search and | ?

2008-12-21 Thread Ævar Arnfjörð Bjarmason
Russ, if you, or anyone else, is interested in doing some further hacking on search and related features I've filed the following two bugs in trac which I would pretty please with sugar on top like to be implemented: * http://josm.openstreetmap.de/ticket/1864 - Search doesn't support regex search

Re: [josm-dev] Search and | ?

2008-12-21 Thread Frederik Ramm
Hi, Ævar Arnfjörð Bjarmason wrote: * http://josm.openstreetmap.de/ticket/1865 - Implement selection stack Are you sure you are running a release newer than 3 months or so? Because search and selection history is in JOSM since r967... Bye Frederik -- Frederik Ramm ## eMail

Re: [josm-dev] Search and | ?

2008-12-21 Thread Ævar Arnfjörð Bjarmason
On Sun, Dec 21, 2008 at 8:53 PM, Frederik Ramm frede...@remote.org wrote: Hi, Ævar Arnfjörð Bjarmason wrote: * http://josm.openstreetmap.de/ticket/1865 - Implement selection stack Are you sure you are running a release newer than 3 months or so? Because search and selection history is in

Re: [josm-dev] Search and | ?

2008-12-21 Thread Ævar Arnfjörð Bjarmason
You're both right, the feature already exists. I just didn't notice it. Thanks! ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev

Re: [josm-dev] Search and | ?

2008-12-21 Thread Russ Nelson
Ævar Arnfjörð Bjarmason writes: * http://josm.openstreetmap.de/ticket/1864 - Search doesn't support regex search on keys and/or values The problem is always the user interface. I can think of several ways to implement regexps: 1) just implement them. Instead of doing a liberal substring

[josm-dev] Search and | ?

2008-12-20 Thread Russ Nelson
Hi. Should | be used to separate two or terms of a search? Or is OR the only token? I ask because | is not recognized by the tokenizer as a token, and yet http://wiki.openstreetmap.org/wiki/JOSM/Search_function (used to until I changed it) claim that | could be used to separate two or terms of

Re: [josm-dev] Search and | ?

2008-12-20 Thread Russ Nelson
Ævar Arnfjörð Bjarmason writes: Just wondering: should I fix the code or leave the documentation fixed? The code, | should work as OR but doesn't. There's a bug filed for this (which I didn't find). Probably mine. I looked at it for a bit recently but didn't manage to fix it before