NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Firefox has a function where you can set up bookmarks that can be called by typing a keyword in the address bar. For example: If I made a bookmark to Wikipedia and assign that bookmark the keyword "w", then I just have to go the address bar, type "w", and hit enter. Firefox fills in the address.

Firefox also supports text replacement after the keyword is entered. So say, instead of Wikipedia's address, I bookmarked http://en.wikipedia.org/wiki/Special:Search?search=%s (note the %s), I could type "w Jimmy Whales" into my address bar and it would go to the link "http://en.wikipedia.org/wiki/Special:Search?search=Jimmy+Whales" Which would then immediately go to http://en.wikipedia.org/wiki/Jimmy_Whales

Lots of online services provide support for this kind of hackery, and Nominatim is no exception... but I can't figure out how to get nominatim's search working with OpenStreetMap's map. Nominatims map seems to be different from OSM's, even though I'm sure they are pulling from the same data, OSM's map seems to work faster and provides more landmarks. Is there any way I can use Firefox's keyword search to get nominatim's results on OSM's map?

asked 23 Nov '11, 08:28

ghoti's gravatar image

ghoti
116124
accept rate: 0%


There is an easy way to get search keywords into Firefox if the website offers an OpenSearch description:

  1. go to the website
  2. click on the drop-down icon in your search bar (in a default firefox installation, this is located in the upper right corner)
  3. choose the "Add [Name of the Search]" entry
  4. click on the drop-down icon again and choose the "manage search engines" entry
  5. assign a keyword to the new search engine

Most OpenStreetMap services offer this feature - including osm.org -, so there is hardly a reason to construct search bookmarks manually.

permanent link

answered 23 Nov '11, 09:33

Tordanik's gravatar image

Tordanik
12.0k15106147
accept rate: 35%

edited 23 Nov '11, 09:38

I appreciate you feel this is a bad way to use a browser. However you will have to take my word for the fact that the secondary search bar was taking up needed space, and the ability to combine previously visited webpage results with my current search query is a valuable interface improvement. I did not realize it supported OpenSearch, and by dissecting the XML file, I should be able to create a search string. I will post that if it works out.

(23 Nov '11, 12:25) ghoti

This seems not to work (with firefox v19.0).

(25 Apr '13, 09:42) doak

Still works for me (using Firefox 20.0, but I wouldn't expect that to make a difference).

(25 Apr '13, 12:56) Tordanik

Apparently the magic word was "query"

http://www.openstreetmap.org/?query=%s

permanent link

answered 23 Nov '11, 12:38

ghoti's gravatar image

ghoti
116124
accept rate: 0%

Worked. Thanks.

(25 Apr '13, 09:42) doak

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689
×193
×24

question asked: 23 Nov '11, 08:28

question was seen: 10,237 times

last updated: 25 Apr '13, 12:56

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum