Firefox extension handles “geo:” URI

The first version of a firefox extension to handle geo-URIs is now available. The plugin uses a proxy to forward ‘geo:’ requests to a mapping service (currently Google Maps, we’re planning to make this configurable RSN).


(click screenshot to install)

The extension should be compatible with Firefox 1.5 and above - You might need to allow software installations from “p.geouri.org”, and firefox will need to be restarted.

After installation, clicking on the following link should bring up a map of Vienna’s city centre:

geo:48.208333,16.372778

As usual, feedback is appreciated - please note that this extension is currently at a “proof of concept” level, subsequent versions will provide more choice of mapping services via a configuration option. The extension should detect new versions automatically as we release them.

23 Responses to “Firefox extension handles “geo:” URI”


  1. 1 Sean Gillies Feb 26th, 2007 at 6:25 pm

    My first impression about the extension was positive, but now I think that it might undermine your proposal a bit by reminding people of http://www.w3.org/TR/webarch/#URI-registration. From section 2.4.1:

    One misguided motivation for registering a new URI scheme is to allow a software agent to launch a particular application when retrieving a representation. The same thing can be accomplished at lower expense by dispatching instead on the type of the representation, thereby allowing use of existing transfer protocols and implementations.

  2. 2 Otto de Voogd Feb 26th, 2007 at 11:48 pm

    Here is a much easier way:

    go to
    http://maps.google.com/
    Right click on the search box and select
    “Add a Keyword for this search”

    Fill in the fields:
    Name: Google Maps
    Keyword: geo:
    And hit “Add”

    Then go to your location bar and enter:

    geo: 48.208333,16.372778
    (with a space after “geo:”)
    or
    geo: vienna

    Don’t even need to install an extension.

  3. 3 Christian Feb 27th, 2007 at 10:12 am

    Otto,

    Smart Keywords are certainly a very useful Firefox feature, but don’t you think it’s easier to click on a “geo:”-link instead of typing a “geo:”-string into the address-bar?

  4. 4 Alexandre Leroux Feb 27th, 2007 at 6:47 pm

    Extension installed :-) Two comments:
    - Would be great if you could add it to the Firefox extension website: https://addons.mozilla.org/firefox/extensions/
    - Were you aware of this extension to ‘geolocate websites’? http://geolocatefox.mozdev.org/
    Have fun and good luck! :-)

  5. 5 alex Feb 27th, 2007 at 6:53 pm

    I actually have added it to the Firefox extensions site. We’re number 358 in the queue :-/

    Thanks for the pointer to the geolocate extension - i will check that one out.

  6. 6 Alexandre Leroux Feb 27th, 2007 at 7:16 pm

    An additional comment. I guess a Wikipedia article on geoURI would be useful to spread the word about your efforts!

  7. 7 Otto de Voogd Feb 27th, 2007 at 7:43 pm

    Christian,

    There’s nothing stopping you from adding a link to a geographic location, for example like this:
    http://maps.google.com/maps?q=48.208333,16.372778

    See San Gillies comment (the first comment). Although this idea looks nice and sweet at first sight, it is not the kind of stuff a URI scheme should be used for. HTTP and FTP for example are all protocols, “geo” is not, it’s http by another name.

  8. 8 alex Feb 27th, 2007 at 8:42 pm

    Otto, a URI scheme is not neccessarily related to a protocal - it’s about identifying resources (a geographic location, in our case). For example, the ‘pres:’ scheme for presence, the ‘tel:’ for phone numbers, the ‘im:’ for instant messaging, ‘tag:’ URI scheme, etc. etc.

    A full list of all currently registered URI schemes can be found at IANA

    [edit:] This firefox plugin is only one example of potential protocol mappings of a geo: URI. Other applications could feed the URI into your GPS, or fire up Google Earth, or start navigating your car towards that point… Whatever application requires a geographic location could be driven by a geo: URI.

    (I am lazy, the firefox plugin just took me about a day :-)

  9. 9 Otto de Voogd Feb 27th, 2007 at 11:20 pm

    Well Alex you make me hesitate ;-)

    The way this add-on is described it seemed like a complicated way to do something that is very easy without add-on (ie. type “geo: ” in the location bar and be redirected to Google Maps).

    Now if you made an add-on that launched Google Earth, you’d at least have something that is not easily done without an add-on. It would also be a better example of what you propose the GeoURI to be.

  10. 10 Andy Armstrong Feb 27th, 2007 at 11:31 pm

    I’ve just produced an Applescript helper that opens geo URIs in Safari. You can find it here:

    http://www.hexten.net/2007/02/27/geo-uri-safari-helper

    Have fun :)

  11. 11 Otto de Voogd Feb 28th, 2007 at 12:09 am

    Sorry no Safari/Mac here. Firefox/Linux.

  12. 12 Andy Armstrong Feb 28th, 2007 at 12:26 am

    Presumably you can use the Firefox plugin then…

    The plugin at the top of the page works fine for me on FF/Linux and FF/Mac OS.

  13. 13 Hamish Feb 28th, 2007 at 10:54 am

    what about more dimensions instead of just lon/lat?

    x,y,z,time,planet

    etc.

    Hamish

  14. 14 axelm-geouri Feb 28th, 2007 at 11:06 am

    Hamish, we spun a few thoughts about this:

    “time” seems to be problematic, because a the URI should be a stable identifier of a location, not that location at a certain point in time time. It also introduces comparison issues (Is a geo: URI of the same location, just a fraction of a second later, still the same URI?)

    Regarding “planet”: The term “geographical” refers by itself already to our planet earth, and i suppose that mainstream use cases for identifying locations on other astronomical objects are way out of scope (at least in the next few years).

  15. 15 Otto de Voogd Feb 28th, 2007 at 3:05 pm

    Andy,

    You should read the comments above (I thought you reacted to this comment by providing a plugin that launched Google Earth):

    “Now if you made an add-on that launched Google Earth, you’d at least have something that is not easily done without an add-on. It would also be a better example of what you propose the GeoURI to be.”

    That isn’t available for Firefox/Linux.

    The original add-on has very little practical value as I explained in my first reaction the same (or at least very similar) thing can be done without any add-on.

    BTW, I do understand that it is supposed to be a proof of concept. I am just saying it would be a better proof of concept if it launched Google Earth instead of redirecting to Google Maps. Like yours but then for my setup.

  16. 16 Andy Armstrong Feb 28th, 2007 at 3:27 pm

    Yeah, sorry Otto. As you guessed I didn’t read the comments :)

    I haven’t had much luck getting GE to run on Ubuntu. I’m just downloading it to try it again. If I get it working and I get some time I’ll have a play with making the FF extension able to launch it.

  17. 17 Sol Lancashire Apr 22nd, 2007 at 8:21 pm

    Neat idea. The first comment cut my enthusiasm though.

    I do have a suggestion though. I have become very accustomed to selecting text then right clicking and using the ‘Search Google for “???”‘ feature.

    It would be great if there was a ‘geoLocate “???” in Google Maps” You could have a configuration menu to select either Google Maps, Google Earth or others.

  18. 18 David Apr 24th, 2008 at 10:30 am

    The MiniMap FF extension has more power to it’s elbow and for Mac fans iCab has geo detection built-in - providing the information is coded via either of the meta formats:
    meta name=”ICBM” or
    meta name=”geo.position”

  19. 19 Oyun May 29th, 2008 at 1:12 pm

    very thanks you

  20. 20 inki test lesbian Sep 4th, 2008 at 12:17 am

    inki lesbian strapon made inki lesbian

  21. 21 hot the hentai tales Sep 5th, 2008 at 8:48 am

    aslam tales hot hentai deer hot tales hentai

  22. 22 online machine slot games mystical free Sep 19th, 2008 at 8:42 am

    download machine games slot online free machine games online not slot free

  1. 1 9095041c1082 Trackback on May 9th, 2008 at 7:55 am

Leave a Reply