<?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>Never Say Never &#187; Terradata</title>
	<atom:link href="http://phelabaum.com/archive/tag/terradata/feed/" rel="self" type="application/rss+xml" />
	<link>http://phelabaum.com</link>
	<description>MS SQL Server Development</description>
	<lastBuildDate>Thu, 29 Sep 2011 02:20:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>SQL Spatial data for State/County shapes</title>
		<link>http://phelabaum.com/archive/2010/06/sql-spatial-data-for-statecounty-shapes/</link>
		<comments>http://phelabaum.com/archive/2010/06/sql-spatial-data-for-statecounty-shapes/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 13:07:24 +0000</pubDate>
		<dc:creator>Seth Phelabaum</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Terradata]]></category>

		<guid isPermaLink="false">http://phelabaum.com/archive/2010/06/sql-spatial-data-for-statecounty-shapes/</guid>
		<description><![CDATA[I saw a Blog post by Grant Fritchey (Blog &#124; Twitter) a couple days ago on using Geospatial data in SSRS 2008 R2.&#160; I think this is incredibly cool and it reminded me of something I wanted to share about my own recent experiences with geospatial data.&#160; My company recently decided (or rather, decided again, [...]]]></description>
			<content:encoded><![CDATA[<p>I saw a <a href="http://scarydba.wordpress.com/2010/06/14/maps-in-reports/">Blog post</a> by Grant Fritchey (<a href="http://scarydba.wordpress.com/">Blog</a> | <a href="http://twitter.com/gfritchey">Twitter</a>) a couple days ago on using Geospatial data in SSRS 2008 R2.&#160; I think this is incredibly cool and it reminded me of something I wanted to share about my own recent experiences with geospatial data.&#160; My company recently decided (or rather, decided again, for about the 50th time) that it wanted to do geospatial reporting on all its customers/sites etc.&#160; We have a good number of them geocoded in the system with lat/long points, but we don&#8217;t have any data for things like state/county barriers etc.&#160; I didn&#8217;t think there was any way that kind of information would be available online&#8230; but I was wrong.&#160; The US Census Bureau offers up this information in files that you can <a href="http://www2.census.gov/cgi-bin/shapefiles2009/national-files">download</a> and load onto your SQL Server.&#160; </p>
<p>Getting it into your server is a piece of cake using some of the tools that others have put together.&#160; I believe I used <a href="http://sqlspatialtools.codeplex.com/">this</a>.&#160; </p>
<p>It took about 10 minutes time from finding the census bureau data to having it downloaded and imported onto my local database.&#160; Using simple select queries you can get maps of all the states, or even the counties within a state.&#160; That said, I believe the counties or zip codes I downloaded were a bit outdated, so they&#8217;re not perfect; but they&#8217;ll get you a long way down the path.</p>
<p>After importing the data, here’s what Florida looks like:</p>
<p><a href="http://phelabaum.com/wp-content/uploads/2010/06/FloridaCounties.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="FloridaCounties" border="0" alt="FloridaCounties" src="http://phelabaum.com/wp-content/uploads/2010/06/FloridaCounties_thumb.jpg" width="469" height="374" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://phelabaum.com/archive/2010/06/sql-spatial-data-for-statecounty-shapes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

