<p>It seems to me that triggering a search is not really what you want to do, since a "geo:" query has one definite result that you want to go directly to. You don't really want to trigger a search for those co-ordinates. Even though OSM knows to offer the direct co-ordinates as the first result, you still get a results page rather than the map you wanted. Therefore I'd suggest it's a bit meaningless to try to overload this into the search feature.</p>
<p>BUT I agree that it would be nice if OSM could understand geo: URIs, especially given the example of firefox default handlers. One option might be to add a separate new parameter. An alternative <em>might</em> be to overload the <code>#map=</code> parameter so it understands geo: URIs as a special case, so the template would be:</p>
<pre><code> uriTemplate=https://www.openstreetmap.org/#map=%s
</code></pre>
<p>This overloading might not be favoured by the main OSM devs, especially as that parameter is core functionality. But one argument in its favour is that if a geo URI is specified then we don't really want a rival <code>#map</code> location to be specified - since then we'd have to decide which one wins.</p>
<p>(This is all assuming that the feature is desirable and that mozilla etc don't want to preprocess the query for us...)</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1123#issuecomment-168400295">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLdVNMwbHDfwvXsQXYacE5JPVFkgRks5pV-LOgaJpZM4G9Z0o.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1123#issuecomment-168400295"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>