Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Add ability to search GPX traces by tag #206

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Open

Add ability to search GPX traces by tag #206

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: steve[at]fractalus.com
[Submitted to the original trac issue database at 1.09pm, Tuesday, 25th April 2006]

use something like

<form name="tag choice" action="/traces/" method="GET"><input type="text" name="tag" id="tag" value="foo" /><input type="submit" value="submit" id="submitbutton" /></form>

function changeTags() {
  var thetag = document.getElementById('tag').value;
  if (thetag && thetag.length > 0) {
    location.href="http://www.openstreetmap.org/traces/tag/"+thetag;
  }
}

@openstreetmap-trac
Copy link
Author

Author: chippy
[Added to the original trac issue at 10.11pm, Wednesday, 2nd July 2008]

Added patch with a new search form partial view to show up under the title on the various traces page. Also changed the trace_controller sql to find tags with a LIKE condition for tags beginning with the search query.
For example, it can now list all those traces that start with "little" and should return traces with tag "littlehampton" or "littlehaven".
Hope it's ok.

@openstreetmap-trac
Copy link
Author

Author: openstreetmap[at]firefishy.com
[Added to the original trac issue at 2.47am, Sunday, 10th May 2009]

keep open?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant