Today I stumbled across the Species Distribution Widget from GBIF (written by Tim Robertson and Dave Martin). For Mac OS X 10.4 users, this provides a cool way to quickly get a distribution map for a taxon. Given that Apple dashboard widgets are essentially Javascript and HTML, it occurred to me to reverse engineer the widget to see what it did. To open the widget you just "Ctrl-click" on the widget icon, select Show Package Contents, and the contents open in a Finder window.
The guts of the widget is in the scripts folder. This contains a Javascript file. The widget calls the URL http://data.gbif.org/species/taxonName/ajax/returnType/concept /view/ajaxMapUrls/provider/1/?query=, to which is appended the taxon name you are searching for. Back comes the result in XML. For example, searching for Apus apus returns:
<taxons>
<taxon>
<name>Apus apus</name>
<commonName>Common swift</commonName>
<key>13836131</key>
<url>species/13836131/overviewMap.png</url>
</taxon>
</taxons>
(Shouldn't "taxons" be "taxa"?) The URL of the corresponding map is given in the <url> tag. Append this to "http://data.gbif.org/, and you have the URL for the image of the map. For example, here's the map for Apus apus.
I've added code to do this to iSpecies, so it now features maps from from GBIF. I've also finally tweaked the Google code to stop mangling UTF-8 characters.
9 comments:
Hi Rod,
Greetings from Copenhagen. We could say that we were feeling french the day we opted for "Taxons" but unfortunately it was just a global search and replace error. Now it is in use, we cant change it without breaking other peoples code.
Your iSpecies pages look really nice and if you have any ideas of how we can better expose data to you, then please get in touch. There is a web services API already in place exposing data in various forms.
Thanks for taking the time to look! On the way soon are full WMS mapping services...
Tim Robertson and Dave Martin (GBIF Developers)
Hmm I think it broke - I'm getting Apache Tomcat errors. Looking forward to the WMS though.
The folks at GBIF should consider expanding the use of this as Google webpage or desktop gadgets. Since you managed to deconstruct the js, a JSON output from GBIF would also be worthwhile for consumption on other web pages. That would most certainly speed up iSpecies' delivery.
アメリカンホームダイレクト: Estimates easily auto insurance risk-segmentation. Support for compensating the content on the website. Benefits are also available with special rates for hotel and leisure facilities, offering various services.
アメリカンホームダイレクト: Estimates easily auto insurance risk-segmentation. Support for compensating the content on the website. Benefits are also available with special rates for hotel and leisure facilities, offering various services.
You know ,I have some maple mesos,and my friend also has some mesos,do you kouw they have the same meaning,Both of them can be called
maple story mesos,I just want to
maplestory mesos,because there are many
cheap mesos
You know ,I have some requiem gold,and my friend also has some
requiem lant,do you kouw they have the same meaning,Both of them can be called requiem money,I just want to
requiem online gold,because there are many
buy priston tale Gold
Due to make cheap rf gold the intense gravity on their home planet, the Bellato are the smallest people. rf gold which in RF Online Game is very popular for many players. Play this online game the premise that we have more enough rf online gold first. They are able to combine creative tools and weapons with some rf money and the Light form of universal magic. Under such sustained attacks they fell from power, yet they have bided their rf cp and time.
We only plan to pay cheap rs gold when we feel you will appreciate the updates. And we certainly feel that these changes and some runescape money are worth telling you about. runescape gold of RS Online Game, we have made several changes to Fun Orb. If you wish to buy runescape to explore other spell books, you should subscribe as a Fun Orb member. Shattered Plans - a galaxy-spanning strategy epic that use rs gold to allow up to six players to battle for supremacy.
2009 years is awesome poker card and no need deposit bonus from trust poker portal. Starting money capital for new poker sharks.
Get All possible poker bonus $50 without deposit & rake free poker bankrolls.
More smart free dollar sign up bonus online poker are worm and cold, give's all new players.
First site with normal bonuses is that no deposit bonuses cash prizes glory worry.
poker cash no deposit $220 BetMost token - $250 guaranteed prize fund for you and me.
We had free money for start play and this is not over free chips at green tables or texas rooms. That mean that cd poker platform is most in progress.
More country like Belgium Togo and Dominicana want free instant poker bankrolls and that is no suspect.
Enjoy free poker profesionall cd poker instant bonus free 50 dollars with password to made hudge victory.
Mike have No deposit POKER signup bonuses only for two person, Free poker money no quiz is soft decide.
Omaha rule and beer with this cards be fine and daily freerolls with buy-in 45$ for rackback no deposit tour.
Scarry poker movie deposit no needed poker try it ist's $50 bankrolls, great omaha news.
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/
Poker Party, Vulcan, Pkr, Mansion, bez depozytu, William Hill, za darmo, Full Tilt, 50 dolarów, PokerStars,darmowe bonusy.
Online poker - bonus - titan - poker texas holdem - free - omaha - freeroll - party - pkr - online game.
Graj zawsze za darmowe party bonusy pokerowe o wartosci 25 dolarów.
bez depozytu 50 dollarów
Tak jakby to są fakty poker bez depozytu bonus ale inaczej mówią titan poker.
Chyba że lubisz pokera w niecodziennej innej postaci karcianej, spróbuj więc Mansion poker bonus za darmo we wczorajszej pogawędce.
Czyli kup za darmo bez deponowania kasy. no deposit wszedobylski poker without $50.
Na stronie pierwszej znajdziesz wszyskie mozliwe bonusy titan bez depozytu na 50 dolarów dla najnowszych kart pokerowych.
無料 出会い 競馬予想 無料 競馬予想 競馬予想 無料 競馬予想 無料 競馬予想 無料 近視 手術 メル友 出会い 出会い 出会い 出会い メル友 メル友 人妻 メル友 ギャンブル依存症 AV女優 無料 出会い 出逢い 掲示板 出会い系 無料 出会い 人妻 出会い 人妻 出会い セフレ 人妻 出会い セックスフレンド メル友 出会い SM 愛人 不倫 セフレ 無料 出会い 出会い系 無料 無料 出会い 富士山 写真 富士山 メル友 無臭性動画 カリビアムコム 一本堂 出会い 人妻 セックスフレンド ハメ撮り エッチな0930 メル友 無料 出会い 無料 出会い セフレ セフレ セフレ セックスフレンド セックスフレンド セックスフレンド 人妻 出会い 人妻 出会い 人妻 出会い 出会い系 出会い系 出会い系 カリビアンカム カリビアンカム
Post a Comment