<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: but where am i, really?</title>
	<atom:link href="http://glaikit.org/2010/03/07/but-where-am-i-really/feed/" rel="self" type="application/rss+xml" />
	<link>http://glaikit.org/2010/03/07/but-where-am-i-really/</link>
	<description>lost, to five decimal places</description>
	<lastBuildDate>Thu, 03 May 2012 03:39:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: scruss</title>
		<link>http://glaikit.org/2010/03/07/but-where-am-i-really/comment-page-1/#comment-76</link>
		<dc:creator>scruss</dc:creator>
		<pubDate>Tue, 20 Jul 2010 02:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://glaikit.org/?p=138#comment-76</guid>
		<description>... and this finds it:

select astext(intersection(t1.geom, t2.geom))
 from centreline as t1, centreline as t2
where t1.lf_name like &#039;victoria park%&#039;
 and t2.lf_name like &#039;sheppard%&#039;
 and t1.fnode=t2.fnode;

It&#039;s really quick, but that&#039;s because I created an index on fnode: 

create index idx_fnode on centreline(fnode);

It also works on the older data release.</description>
		<content:encoded><![CDATA[<p>&#8230; and this finds it:</p>
<p>select astext(intersection(t1.geom, t2.geom))<br />
 from centreline as t1, centreline as t2<br />
where t1.lf_name like &#8216;victoria park%&#8217;<br />
 and t2.lf_name like &#8216;sheppard%&#8217;<br />
 and t1.fnode=t2.fnode;</p>
<p>It&#8217;s really quick, but that&#8217;s because I created an index on fnode: </p>
<p>create index idx_fnode on centreline(fnode);</p>
<p>It also works on the older data release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scruss</title>
		<link>http://glaikit.org/2010/03/07/but-where-am-i-really/comment-page-1/#comment-75</link>
		<dc:creator>scruss</dc:creator>
		<pubDate>Mon, 19 Jul 2010 01:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://glaikit.org/?p=138#comment-75</guid>
		<description>I don&#039;t know if it&#039;s a feature of the updated sets, but one can find the road segment containing the intersection with:

select * from centreline
 where lf_name like &#039;eglinton ave%&#039; and fnode in
  (select fnode from centreline where lf_name like &#039;kennedy rd%&#039;)

More work is required, but it doesn&#039;t take forever.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if it&#8217;s a feature of the updated sets, but one can find the road segment containing the intersection with:</p>
<p>select * from centreline<br />
 where lf_name like &#8216;eglinton ave%&#8217; and fnode in<br />
  (select fnode from centreline where lf_name like &#8216;kennedy rd%&#8217;)</p>
<p>More work is required, but it doesn&#8217;t take forever.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

