<?xml version="1.0" encoding="UTF-8"?>

<rss version='2.0' 
     xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
     xmlns:doap="http://usefulinc.com/ns/doap#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

    <channel>
        <!-- This XML Feed shows details for the page geo 
             and everything recently tagged geo -->
        <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/
          </creativeCommons:license>
        <title>geo on SWiK</title>
        <doap:name>geo</doap:name>
        <doap:description></doap:description>
        <description></description> 
	  <!-- see doap:description for full description -->
        <link>http://swik.net/geo</link>
        <doap:homepage></doap:homepage>
        
        <pubDate></pubDate>
        <lastBuildDate></lastBuildDate>
            
        <item>
            <title>navigator.geolocation: Using the W3C Geolocation API today</title>
            <link>http://swik.net/Ajax/Ajaxian/navigator.geolocation%3A+Using+the+W3C+Geolocation+API+today/cczo5</link>
            <description>&lt;p&gt;Last week I wrote a simple &lt;a href=&quot;http://almaer.com/blog/where-are-you-using-the-new-ajax-clientlocation-api&quot;&gt;WhereAreYou?&lt;/a&gt; application that used the Google Ajax APIs &lt;a href=&quot;http://code.google.com/apis/ajax/documentation/#ClientLocation&quot;&gt;ClientLocation&lt;/a&gt; API to access your location via your IP address.&lt;/p&gt;
&lt;p&gt;At the same time, we announced support for the &lt;a href=&quot;http://code.google.com/apis/gears/api_geolocation.html&quot;&gt;Gears Geolocation API&lt;/a&gt; that can calculate your address using a GPS device, WiFi info, cell tower ids, and IP address lookups.&lt;/p&gt;
&lt;p&gt;Add to all of that, the &lt;a href=&quot;http://dev.w3.org/geo/api/spec-source.html&quot;&gt;W3C Geolocation API&lt;/a&gt; that Andrei Popescu of the Gears team is editing. You will notice that it looks similar to the Gears API, with subtle differences. The ClientLocation API is quite different.&lt;/p&gt;
&lt;p&gt;To make life easier, I decided to &lt;a href=&quot;http://google-ajax-examples.googlecode.com/svn/trunk/whereareyou/scripts/geometa.js&quot;&gt;put together a shim called GeoMeta&lt;/a&gt; that give you the W3C Geolocation API, and happens to use the other APIs under the hood.&lt;/p&gt;
&lt;p&gt;If you have the Geolocation API native in your browser (no one does yet, future proof!) that will be used. If you have Gears, that API will be used, and finally, with nothing the ClientLocation API will be used behind the scenes.&lt;/p&gt;
&lt;p&gt;To you the API will look similar:&lt;/p&gt;
&lt;pre lang=&quot;javascript&quot;&gt;
// navigator.geolocation.getCurrentPosition(successCallback, errorCallback, options)
navigator.geolocation.getCurrentPosition(function(position) {
      var location = [position.address.city, position.address.region, position.address.country].join(&#039;, &#039;);
      createMap(position.latitude, position.longitude, location);
}, function() {
      document.getElementById(&#039;cantfindyou&#039;).innerHTML = &quot;Crap, I don&#039;t know. Good hiding!&quot;;
});
&lt;/pre&gt;
&lt;p&gt;At least, that is what I would like. Unfortunately, there are a few little differences that leak through.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The W3C API only seems to give you a lat / long, so you have to do the geocoding to get address info&lt;/li&gt;
&lt;li&gt;The Gears API gives you an additional &lt;code&gt;gearsAddress&lt;/code&gt; object attached to the resulting position object. This can contain a lot of information on the resulting area (street address to city to ...) however for certain providers the API returns that as &lt;code&gt;null&lt;/code&gt;, the same as the W3C standard&lt;/li&gt;
&lt;li&gt;That &lt;code&gt;gearsAddress&lt;/code&gt; object has slightly different information from the address data that the ClientLocation API returns. NOTE: I would love to see this just called &#039;address&#039; to help the shim.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To give you control when you need it, you can ask the &lt;code&gt;navigator.geolocation&lt;/code&gt; object what type it is. navigator.geolocation.type will be null if it is native, but &#039;Gears&#039; or &#039;ClientLocation&#039; if a shim kicks in. You can also check &lt;code&gt;navigator.geolocation.shim&lt;/code&gt; to see if it is augmented code.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Implementation&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;There is some fun &lt;a href=&quot;http://google-ajax-examples.googlecode.com/svn/trunk/whereareyou/scripts/geometa.js&quot;&gt;implementation code&lt;/a&gt; in there if you poke around. For example, for the ClientLocation API, when you make a call, it will be added to a queue if the Google Loader hasn&#039;t fully loaded yet, and it will kick off that call when finished. Dealing with dynamically creating &amp;lt;script src&amp;gt; as a loading mechanism sure is fun!&lt;/p&gt;
&lt;p&gt;I like the idea of jumping straight to the W3C standard and updating the shim as the APIs change. That way, when browsers catch up, the code will still work using the native APIs and you don&#039;t have to change a thing.&lt;/p&gt;
&lt;p&gt;I also hope that we get general reverse geocoding in place, which would enable me to even take the native &quot;standard&quot; and strap on useful address info to the bare bones lat/long.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://almaer.com/whereareyou/geometa.html&quot;&gt;&lt;img src=&quot;http://almaer.com/blog/uploads/whereareyou.png&quot; alt=&quot;Where are you?&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;feedflare&quot;&gt;
&lt;a href=&quot;http://feeds.feedburner.com/~f/ajaxian?a=hqN8kK&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~f/ajaxian?i=hqN8kK&quot; border=&quot;0&quot;&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href=&quot;http://feeds.feedburner.com/~f/ajaxian?a=8SLP8K&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~f/ajaxian?i=8SLP8K&quot; border=&quot;0&quot;&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href=&quot;http://feeds.feedburner.com/~f/ajaxian?a=F2T9Fk&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~f/ajaxian?i=F2T9Fk&quot; border=&quot;0&quot;&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
            
            <pubDate>Thu, 28 Aug 2008 18:01:08 -0700</pubDate>
        </item>
            
        <item>
            <title>Dear Aunt TUAW: iPhone 3G and GPS - The Unofficial Apple Weblog (TUAW)</title>
            <link>http://swik.net/iphone/deli.cio.us%2Ftags%2Fiphone/Dear+Aunt+TUAW%3A+iPhone+3G+and+GPS+-+The+Unofficial+Apple+Weblog+%28TUAW%29/ccxhg</link>
            <description>&amp;quot;This exact thing happened to me at Siggraph last week, only my iPhone thought it was in Japan. Then I realized that there was probably some piece of gear at the art show that came from Japan. Sure enough, got far enough away from the art show and suddenly I&amp;#039;m back in LA.&amp;quot;</description>
            
            <pubDate>Tue, 19 Aug 2008 13:29:33 -0700</pubDate>
        </item>
            
        <item>
            <title>Graphserver - The Open-Source Multi-Modal Trip Planner</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/Graphserver+-+The+Open-Source+Multi-Modal+Trip+Planner/ccr4j</link>
            <description></description>
            
            <pubDate>Mon, 18 Aug 2008 02:06:07 -0700</pubDate>
        </item>
            
        <item>
            <title>[from rozza] GeoNames</title>
            <link>http://swik.net/User:jeyrb/del.icio.us%2Fnetwork%2Fjey/%5Bfrom+rozza%5D+GeoNames/ccqrd</link>
            <description></description>
            
            <pubDate>Sun, 17 Aug 2008 13:04:49 -0700</pubDate>
        </item>
            
        <item>
            <title>Flickr taps into open source for better maps. Yahoo Maps to follow? | Webware : Cool Web apps for everyone - CNET</title>
            <link>http://swik.net/open-source/del.icio.us+tag%2Fopen-source/Flickr+taps+into+open+source+for+better+maps.+Yahoo+Maps+to+follow%3F+%7C+Webware+%3A+Cool+Web+apps+for+everyone+-+CNET/ccpqo</link>
            <description></description>
            
            <pubDate>Sun, 17 Aug 2008 03:05:44 -0700</pubDate>
        </item>
            
        <item>
            <title>GeoJSON -- JSON Geometry and Feature Description</title>
            <link>http://swik.net/json/del.icio.us%2Ftag%2Fjson/GeoJSON+--+JSON+Geometry+and+Feature+Description/ccovi</link>
            <description></description>
            
            <pubDate>Sat, 16 Aug 2008 17:13:08 -0700</pubDate>
        </item>
            
        <item>
            <title>QGIS Community</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/QGIS+Community/ccotq</link>
            <description></description>
            
            <pubDate>Sat, 16 Aug 2008 17:10:02 -0700</pubDate>
        </item>
            
        <item>
            <title>Flickr taps into open source for better maps. Yahoo Maps to follow? | Webware : Cool Web apps for everyone - CNET</title>
            <link>http://swik.net/open-source/del.icio.us+tag%2Fopen-source/Flickr+taps+into+open+source+for+better+maps.+Yahoo+Maps+to+follow%3F+%7C+Webware+%3A+Cool+Web+apps+for+everyone+-+CNET/ccoo8</link>
            <description></description>
            
            <pubDate>Sat, 16 Aug 2008 16:08:31 -0700</pubDate>
        </item>
            
        <item>
            <title>GeoNames webservice and data download</title>
            <link>http://swik.net/XML/del.icio.us%2Ftag%2Fxml/GeoNames+webservice+and+data+download/ccoh7</link>
            <description></description>
            
            <pubDate>Sat, 16 Aug 2008 14:11:01 -0700</pubDate>
        </item>
            
        <item>
            <title>GeoDjango - Django Code - Trac</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/GeoDjango+-+Django+Code+-+Trac/ccock</link>
            <description></description>
            
            <pubDate>Sat, 16 Aug 2008 13:09:59 -0700</pubDate>
        </item>
            
        <item>
            <title>W3C Semantic Web Interest Group: Basic Geo (WGS84 lat/long) Vocabulary</title>
            <link>http://swik.net/XML/del.icio.us%2Ftag%2Fxml/W3C+Semantic+Web+Interest+Group%3A+Basic+Geo+%28WGS84+lat%2Flong%29+Vocabulary/cckf7</link>
            <description></description>
            
            <pubDate>Fri, 15 Aug 2008 05:05:19 -0700</pubDate>
        </item>
            
        <item>
            <title>uDig : Home</title>
            <link>http://swik.net/RCP/RCP+bookmarks+from+del.icio.us/uDig+%3A+Home/ccibj</link>
            <description></description>
            
            <pubDate>Thu, 14 Aug 2008 13:12:41 -0700</pubDate>
        </item>
            
        <item>
            <title>Flickr taps into open source for better maps. Yahoo Maps to follow? | Webware : Cool Web apps for everyone - CNET</title>
            <link>http://swik.net/open-source/del.icio.us+tag%2Fopen-source/Flickr+taps+into+open+source+for+better+maps.+Yahoo+Maps+to+follow%3F+%7C+Webware+%3A+Cool+Web+apps+for+everyone+-+CNET/ccg68</link>
            <description></description>
            
            <pubDate>Thu, 14 Aug 2008 07:05:39 -0700</pubDate>
        </item>
            
        <item>
            <title>PosiMotion - Here You Go... G-Park Information</title>
            <link>http://swik.net/iphone/deli.cio.us%2Ftags%2Fiphone/PosiMotion+-+Here+You+Go...+G-Park+Information/ccge7</link>
            <description></description>
            
            <pubDate>Thu, 14 Aug 2008 02:05:30 -0700</pubDate>
        </item>
            
        <item>
            <title>OpenStreetMap</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/OpenStreetMap/ccf8r</link>
            <description></description>
            
            <pubDate>Thu, 14 Aug 2008 01:05:05 -0700</pubDate>
        </item>
            
        <item>
            <title>Search Geo-Data With Finder. Sneak Peak At GeoCommons (Map) Maker. // TechCrunch</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/Search+Geo-Data+With+Finder.+Sneak+Peak+At+GeoCommons+%28Map%29+Maker.+%2F%2F+TechCrunch/ccf8n</link>
            <description></description>
            
            <pubDate>Thu, 14 Aug 2008 01:05:04 -0700</pubDate>
        </item>
            
        <item>
            <title>API - XML - WunderWiki - Wunderground Weather</title>
            <link>http://swik.net/XML/del.icio.us%2Ftag%2Fxml/API+-+XML+-+WunderWiki+-+Wunderground+Weather/ccf5u</link>
            <description>Free weather information api for your web site and projects.</description>
            
            <pubDate>Thu, 14 Aug 2008 00:05:25 -0700</pubDate>
        </item>
            
        <item>
            <title>Submit Your Geo Content to Google - KML - Google Code</title>
            <link>http://swik.net/XML/del.icio.us%2Ftag%2Fxml/Submit+Your+Geo+Content+to+Google+-+KML+-+Google+Code/cce3m</link>
            <description></description>
            
            <pubDate>Wed, 13 Aug 2008 15:05:24 -0700</pubDate>
        </item>
            
        <item>
            <title>[from thierrylach] Dundas Map for .NET kicks up geographic visualization</title>
            <link>http://swik.net/User:jeyrb/del.icio.us%2Fnetwork%2Fjey/%5Bfrom+thierrylach%5D+Dundas+Map+for+.NET+kicks+up+geographic+visualization/ccd1y</link>
            <description></description>
            
            <pubDate>Wed, 13 Aug 2008 09:04:26 -0700</pubDate>
        </item>
            
        <item>
            <title>iphone-google-maps-component - Google Code</title>
            <link>http://swik.net/iphone/deli.cio.us%2Ftags%2Fiphone/iphone-google-maps-component+-+Google+Code/ccdij</link>
            <description>A Google Maps Component for Cocoa Touch</description>
            
            <pubDate>Wed, 13 Aug 2008 05:05:20 -0700</pubDate>
        </item>
            
        <item>
            <title>GeoJSON -- JSON Geometry and Feature Description</title>
            <link>http://swik.net/json/del.icio.us%2Ftag%2Fjson/GeoJSON+--+JSON+Geometry+and+Feature+Description/cb1zr</link>
            <description></description>
            
            <pubDate>Sat, 09 Aug 2008 13:12:10 -0700</pubDate>
        </item>
            
        <item>
            <title>KML Tutorial - KML - Google Code</title>
            <link>http://swik.net/XML/del.icio.us%2Ftag%2Fxml/KML+Tutorial+-+KML+-+Google+Code/cb1h5</link>
            <description></description>
            
            <pubDate>Sat, 09 Aug 2008 09:10:49 -0700</pubDate>
        </item>
            
        <item>
            <title>Mapstraction and Geokit | Ninja&#039;s on a Penny Farthing</title>
            <link>http://swik.net/mapstraction/del.icio.us%2Ftag%2Fmapstraction/Mapstraction+and+Geokit+%7C+Ninja%27s+on+a+Penny+Farthing/cbu7s</link>
            <description></description>
            
            <pubDate>Thu, 07 Aug 2008 13:22:29 -0700</pubDate>
        </item>
            
        <item>
            <title>MapServer 5.x Tutorial</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/MapServer+5.x+Tutorial/ca9cy</link>
            <description></description>
            
            <pubDate>Wed, 23 Jul 2008 06:52:21 -0700</pubDate>
        </item>
            
        <item>
            <title>OSGeo.org | Your Open Source Compass</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/OSGeo.org+%7C+Your+Open+Source+Compass/ca58w</link>
            <description></description>
            
            <pubDate>Tue, 22 Jul 2008 13:51:47 -0700</pubDate>
        </item>
            
        <item>
            <title>AoP for Geospatial Data, via Weber &quot; Into The Pudding</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/AoP+for+Geospatial+Data%2C+via+Weber+%22+Into+The+Pudding/ca4kd</link>
            <description></description>
            
            <pubDate>Tue, 22 Jul 2008 06:51:57 -0700</pubDate>
        </item>
            
        <item>
            <title>GeoDjango</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/GeoDjango/ca4jv</link>
            <description>The GIS branch intends to be a world-class geographic web framework. Our goal is to make it as easy as possible to build GIS web applications and harness the power of spatially enabled data.</description>
            
            <pubDate>Tue, 22 Jul 2008 06:51:55 -0700</pubDate>
        </item>
            
        <item>
            <title>GeoNames</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/GeoNames/ca28x</link>
            <description>Free to use geo mapping database</description>
            
            <pubDate>Tue, 22 Jul 2008 00:52:12 -0700</pubDate>
        </item>
            
        <item>
            <title>Flagfox :: Firefox Add-ons</title>
            <link>http://swik.net/Firefox/del.icio.us%2Ftag%2Ffirefox/Flagfox+%3A%3A+Firefox+Add-ons/ca2gy</link>
            <description></description>
            
            <pubDate>Mon, 21 Jul 2008 18:51:36 -0700</pubDate>
        </item>
            
        <item>
            <title>Python Package Index : geojson 1.0b1</title>
            <link>http://swik.net/json/del.icio.us%2Ftag%2Fjson/Python+Package+Index+%3A+geojson+1.0b1/ca2dh</link>
            <description></description>
            
            <pubDate>Mon, 21 Jul 2008 17:55:28 -0700</pubDate>
        </item>
                </channel>
</rss>
