<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mats Lindh &#187; GPS</title>
	<atom:link href="http://e-mats.org/category/gps/feed/" rel="self" type="application/rss+xml" />
	<link>http://e-mats.org</link>
	<description>Where desperate is just another word for a regular day.</description>
	<lastBuildDate>Wed, 02 May 2012 15:12:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Solr: Missing Geographic Distance in Response When Using fl=_dist_:geodist()</title>
		<link>http://e-mats.org/2011/12/solr-missing-geographic-distance-in-response-when-using-fl_dist_geodist/</link>
		<comments>http://e-mats.org/2011/12/solr-missing-geographic-distance-in-response-when-using-fl_dist_geodist/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 10:56:15 +0000</pubDate>
		<dc:creator>Mats</dc:creator>
				<category><![CDATA[GPS]]></category>
		<category><![CDATA[Solr]]></category>
		<category><![CDATA[geodist]]></category>
		<category><![CDATA[geographic searching]]></category>
		<category><![CDATA[geosearch]]></category>

		<guid isPermaLink="false">http://e-mats.org/?p=994</guid>
		<description><![CDATA[A question that arised at the Freenode Solr IRC channel today was about _dist_:geodist() failing to include a field named _dist_ in the response &#8211; a field which would contain the return value from geodist(), which would be the distance from the source point to the destination document. The example from the wiki is: &#038;q=*:*&#038;sfield=store&#038;pt=45.15,-93.85&#038;sort=geodist() [...]]]></description>
			<content:encoded><![CDATA[<p>A question that arised at the Freenode Solr IRC channel today was about _dist_:geodist() failing to include a field named _dist_ in the response &#8211; a field which would contain the return value from geodist(), which would be the distance from the source point to the destination document. The <a href="hhttp://wiki.apache.org/solr/SpatialSearch#Returning_the_distance">example from the wiki</a> is:</p>
<p><code>&#038;q=*:*&#038;sfield=store&#038;pt=45.15,-93.85&#038;sort=geodist() asc&#038;fl=_dist_:geodist()</code></p>
<p>The _dist_:geodist() in the fl= parameter adds a field named _dist_ with the returned contents from geodist() (the :-syntax creates a field name alias).</p>
<p>.. but why is it missing? Probably because using geodist() in the fl parameter is only supported on Solr 4.0 and later (which is currently only in trunk).</p>
<p>There&#8217;s a <a href="http://wiki.apache.org/solr/SpatialSearch#Returning_the_distance">workaround on the wiki</a> which you can use &#8211; but this will not allow you to score documents in any other way &#8211; the score returned will be the value of geodist() by using geodist() as the query:</p>
<p><code>q={!func}geodist()</code></p>
]]></content:encoded>
			<wfw:commentRss>http://e-mats.org/2011/12/solr-missing-geographic-distance-in-response-when-using-fl_dist_geodist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gadgetting Up The Bike</title>
		<link>http://e-mats.org/2008/07/gadgetting-up-the-bike/</link>
		<comments>http://e-mats.org/2008/07/gadgetting-up-the-bike/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 00:24:06 +0000</pubDate>
		<dc:creator>Mats</dc:creator>
				<category><![CDATA[Biking]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[Maps]]></category>
		<category><![CDATA[bicycles]]></category>
		<category><![CDATA[garmin edge]]></category>

		<guid isPermaLink="false">http://e-mats.org/?p=140</guid>
		<description><![CDATA[A good day for internet shopping! After spending some time riding my bike the last months, I&#8217;ve finally decided to purchase a proper cycle computer. After riding the regular track together with Anders today, he sent me the files from the run from his Garmin Edge 305. I&#8217;ve delayed this decision for a very long [...]]]></description>
			<content:encoded><![CDATA[<p>A good day for internet shopping! After spending some time riding my bike the last months, I&#8217;ve finally decided to purchase a proper cycle computer. After riding the regular track together with Anders today, he sent me the files from the run from his <a href='https://buy.garmin.com/shop/shop.do?cID=160&#038;pID=331'>Garmin Edge 305</a>. I&#8217;ve delayed this decision for a very long time, but when I saw that the files were pure XML and that the bundled training software actually weren&#8217;t that bad, I were sold. </p>
<p>So off we went to the internet to search for a Garmin Edge for a fair price here in Norway. <a href='http://www.kartbutikken.no/'>Kartbutikken</a> turned out to have the best prices, and they have the <a href='https://buy.garmin.com/shop/shop.do?cID=160&#038;pID=6400'>Garmin Edge 205</a> for a <a href='http://www.kartbutikken.no/produktdetaljer.php?visprodukt=8333'>special price right now</a>! I do however want support for heart rate monitoring and more importantly, the rate of pedaling (cadence). This meant upgrading to at least the <a href='https://buy.garmin.com/shop/shop.do?cID=160&#038;pID=331'>Garmin Edge 305</a>, but as it turned up to be hard to get it for a fair price, I rather went all the way and got the <a href='https://buy.garmin.com/shop/shop.do?pID=10885'>Garmin Edge 705</a>! It&#8217;s a bad mother.. lover, and supports everything. Being a bit of a map nerd, I&#8217;m getting excited just thinking about mapping these beautiful paths on a map. Yeeehaaaw!</p>
<p>I&#8217;ll be sure to bring it along when I&#8217;m doing <a href='http://www.grenserittet.com/'>Grenserittet</a> in just about two weeks time (<a href='http://www.grenserittet.com/dokumenter/1172577733-loypeprofil_2006_endelig.pdf'>~80 km</a>).</p>
<p>Bonus points for using &#8220;gadgetting&#8221; for the first time.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-mats.org/2008/07/gadgetting-up-the-bike/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

