<?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>JournalismGIS</title>
	<atom:link href="http://www.journalismgis.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.journalismgis.com</link>
	<description>A resource for geographical storytelling</description>
	<lastBuildDate>Wed, 21 Dec 2011 23:01:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Using ArcMap and Census data to interpolate the population around a location</title>
		<link>http://www.journalismgis.com/2011/04/using-arcmap-and-census-data-to-interpolate-the-population-around-a-location/</link>
		<comments>http://www.journalismgis.com/2011/04/using-arcmap-and-census-data-to-interpolate-the-population-around-a-location/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 22:43:40 +0000</pubDate>
		<dc:creator>Andrew Long</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.journalismgis.com/?p=150</guid>
		<description><![CDATA[Shapefiles for the tutorial.]]></description>
			<content:encoded><![CDATA[<p><iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/6Ka90jqMuto" frameborder="0" allowfullscreen></iframe></p>
<p><a href="http://journalismgis.com/data/tutorials/airport_pop.zip">Shapefiles for the tutorial.</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.journalismgis.com/2011/04/using-arcmap-and-census-data-to-interpolate-the-population-around-a-location/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sliding map comparisons using jquery</title>
		<link>http://www.journalismgis.com/2011/03/sliding-maps-using-jquery/</link>
		<comments>http://www.journalismgis.com/2011/03/sliding-maps-using-jquery/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 02:33:12 +0000</pubDate>
		<dc:creator>Andrew Long</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.journalismgis.com/?p=147</guid>
		<description><![CDATA[If you&#8217;ve been following the Japanese earthquake you might have seen the &#8220;before and after&#8221; photo technique popularized by the New York Times. I always thought this technique would be a great way to compare choropleth maps. So, I was excited when I came across this jquery plugin that mimics the technique. Here is the map [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
<p>If you&#8217;ve been following the Japanese earthquake you might have seen the <a href="http://www.nytimes.com/interactive/2011/03/13/world/asia/satellite-photos-japan-before-and-after-tsunami.html">&#8220;before and after&#8221;</a> photo technique popularized by the <a href="http://www.nytimes.com/">New York Times</a>. I always thought this technique would be a great way to compare choropleth maps. So, I was excited when I came across this <a href="http://www.catchmyfame.com/2009/06/25/jquery-beforeafter-plugin/">jquery plugin</a> that mimics the technique. Here is the map that I made out of some Maricopa County voting maps.</p>
<p><iframe src="http://www.journalismgis.com/data/tutorials/slidingmap/" width="550" height="320"></p>
<p>Your browser does not support iframes.</p>
<p></iframe><br />
<a href="http://www.journalismgis.com/data/slidingmap/" >Larger map</a></p>
<p>The map is pretty easy to put together. First you need to produce your choropleth maps. You can do this with some open source GIS programs like QGIS and uDIG. I used ESRI&#8217;s ArcMap and exported two images as jpegs. The key here is that the images need to be the same size. Save one image as <em>before.jpg</em> and the other as <em>after.jpg</em>.</p>
<p><img src="http://www.journalismgis.com/data/tutorials/slidingmap/before.jpg" /><br />
<img src="http://www.journalismgis.com/data/tutorials/slidingmap/after.jpg" /></p>
<p>Make a folder that will contain your images, html and javascript.</p>
<p>Using a text editor make the html file. Here is the code:<br />
<pre class="brush: xml">&lt;html&gt;
&lt;head&gt;

#DECLARE JAVACRIPT
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.beforeafter.js&quot;&gt;&lt;/script&gt;

#DECLARE OPTIONS
&lt;script type=&quot;text/javascript&quot;&gt;
$(function(){
	$('#container').beforeAfter({
	animateIntro : true,
        introDelay : 500,
        introDuration : 500,
        showFullLinks : false
});
});
&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;

#MAKE IMAGE DIVS
&lt;div id=&quot;container&quot;&gt;
 &lt;div&gt;&lt;img alt=&quot;before&quot; src=&quot;before.jpg&quot; width=&quot;500&quot; height=&quot;300&quot; /&gt;&lt;/div&gt;
 &lt;div&gt;&lt;img alt=&quot;after&quot; src=&quot;after.jpg&quot; width=&quot;500&quot; height=&quot;600&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;</pre></p>
<p>The first part of this code calls jquery and the plugin. Make sure you put the plugin javascript in your folder. The next sections defines the function. The plugin has some options that you can declare. In the body, we declare two divs. These will hold the images. To make the map bigger or smaller change these divs to match your image sizes. Once you have the html, javascript and images together, place the folder on a server. Here is a <a href="http://journalismgis.com/data/tutorials/slidingmap.zip">zip file of my folder</a>.</p>
<p>EDIT: Apparently this plugin has a &#8220;No commercial&#8221; creative commons licence. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.journalismgis.com/2011/03/sliding-maps-using-jquery/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Spatial analysis on the cheap</title>
		<link>http://www.journalismgis.com/2011/03/spatial-analysis-on-the-cheap/</link>
		<comments>http://www.journalismgis.com/2011/03/spatial-analysis-on-the-cheap/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 17:00:48 +0000</pubDate>
		<dc:creator>Andrew Long</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.journalismgis.com/?p=142</guid>
		<description><![CDATA[This is the meat of a lightning talk I gave at the IRE CAR conference a couple of weeks ago called, &#8220;Beyond Mapping: Spatial Analysis on the Cheap.&#8221;  Download a PDF. TEXTBOOK Geospatial Analysis: A Comprehensive Guide to Principles, Techniques and Software Tools SOFTWARE OpenGeoDa STARS (Space-Time Analysis of Regional Systems) GeoViz Toolkit SAGA (System [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
<p>This is the meat of a lightning talk I gave at the <a href="http://www.ire.org/training/conference/CAR11/">IRE CAR conference</a> a couple of weeks ago called, &#8220;Beyond Mapping: Spatial Analysis on the Cheap.&#8221;  <a href="http://www.journalismgis.com/pdf/spatial_analysis_cheap.pdf">Download a PDF.</a></p>
<p style="text-align: center;"><a href="http://www.journalismgis.com/wp-content/uploads/2011/03/Screen-shot-2011-03-09-at-7.16.33-PM.png"><img class="size-medium wp-image-143 aligncenter" title="beyondmapping" src="http://www.journalismgis.com/wp-content/uploads/2011/03/Screen-shot-2011-03-09-at-7.16.33-PM-300x220.png" alt="" width="300" height="220" /></a></p>
<p><strong>TEXTBOOK<br />
</strong><a href="http://spatialanalysisonline.com">Geospatial Analysis: A Comprehensive Guide to Principles, Techniques and Software Tools</a></p>
<p><strong>SOFTWARE</strong><br />
<a href="http://geodacenter.asu.edu">OpenGeoDa<br />
</a><a href="http://regionalanalysislab.org">STARS (Space-Time Analysis of Regional Systems)<br />
</a><a href="http://www.geovista.psu.edu/geoviztoolkit">GeoViz Toolkit<br />
</a><a href="http://www.saga-gis.org">SAGA (System for Automated Geoscientific Analysis</a>)<br />
<a href="http://www.passagesoftware.net">PASSaGE (Pattern Analysis, Spatial Statistics and Geographic Exegesis)<br />
</a><a href="http://www.icpsr.umich.edu/crimestat">CrimeStat III<br />
</a><a href="http://www.ftools.ca">Qgis with ftools, manageR</a></p>
<p><strong>R</strong><br />
There is a <a href="http://cran.r-project.org/web/views/Spatial.html">Spatial Cran Task View</a> that will load up all the R Spatial modules. These include:</p>
<p>Classes, reading, writing, handling spatial data<br />
Point pattern analysis<br />
Areal data analysisSpatial regression.</p>
<p>In R (case sensitive) type this code:</p>
<p style="padding-left: 30px;"><em>install.packages(&#8220;ctv&#8221;)</em><br />
<em> library(&#8220;ctv&#8221;)</em><br />
<em> install.views(&#8220;Spatial&#8221;)</em></p>
<p>Two useful packages are:</p>
<p><a href="http://www.spatstat.org">SpatStat</a></p>
<p><a href="http://www.journalismgis.com/wp-content/uploads/2011/03/Screen-shot-2011-03-09-at-7.18.38-PM.png"><img class="aligncenter size-medium wp-image-144" title="spatstat" src="http://www.journalismgis.com/wp-content/uploads/2011/03/Screen-shot-2011-03-09-at-7.18.38-PM-300x257.png" alt="" width="300" height="257" /></a></p>
<p><a href="http://cran.r-project.org/web/packages/maptools/index.html">Maptools</a></p>
<p><a href="http://www.journalismgis.com/wp-content/uploads/2011/03/Screen-shot-2011-03-09-at-7.14.51-PM.png"><img class="aligncenter size-medium wp-image-145" title="Screen shot 2011-03-09 at 7.14.51 PM" src="http://www.journalismgis.com/wp-content/uploads/2011/03/Screen-shot-2011-03-09-at-7.14.51-PM-300x280.png" alt="" width="300" height="280" /></a></p>
<p><strong>PYTHON</strong></p>
<p><a href="http://geodacenter.asu.edu/pysal">PySal</a> is a Python library for spatial analysis functions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.journalismgis.com/2011/03/spatial-analysis-on-the-cheap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Geospatial Revolution: Episode 3</title>
		<link>http://www.journalismgis.com/2011/03/geospatial-revolution-episode-3/</link>
		<comments>http://www.journalismgis.com/2011/03/geospatial-revolution-episode-3/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 20:40:02 +0000</pubDate>
		<dc:creator>Andrew Long</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.journalismgis.com/?p=141</guid>
		<description><![CDATA[Episode 3 of the Penn State&#8217;s &#8220;Geospatial Revolution&#8221;]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
<p>Episode 3 of the <a href="http://geospatialrevolution.psu.edu/">Penn State&#8217;s &#8220;Geospatial Revolution&#8221;</a></p>
<p><iframe title="YouTube video player" width="500" height="385" src="http://www.youtube.com/embed/OePOK6nzcaY" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.journalismgis.com/2011/03/geospatial-revolution-episode-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New forum for journalists interested in discussing GIS</title>
		<link>http://www.journalismgis.com/2011/01/new-forum-for-journalists-interested-in-discussing-gis/</link>
		<comments>http://www.journalismgis.com/2011/01/new-forum-for-journalists-interested-in-discussing-gis/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 22:14:56 +0000</pubDate>
		<dc:creator>Andrew Long</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.journalismgis.com/?p=133</guid>
		<description><![CDATA[We&#8217;ve started a new forum for journalists interested in discussing GIS software, methods and data. The forum will obviously be a work in progress as we develop the appropriate categories for discussions. We hope to form a community to help promote geographical storytelling. I know the audience is small at the moment, but please take time to [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
<p><a href="http://www.journalismgis.com/wp-content/uploads/2011/01/Screen-shot-2011-01-17-at-2.57.35-PM.png"><img class="alignright size-medium wp-image-134" style="margin: 5px;" title="forum" src="http://www.journalismgis.com/wp-content/uploads/2011/01/Screen-shot-2011-01-17-at-2.57.35-PM-278x300.png" alt="" width="278" height="300" /></a>We&#8217;ve started a <a href="http://journalismGIS.com/forum">new forum</a> for journalists interested in discussing GIS software, methods and data. The forum will obviously be a work in progress as we develop the appropriate categories for discussions. We hope to form a community to help promote geographical storytelling. I know the audience is small at the moment, but please take time to post a question or observation.</p>
<p>The forum is at: <a href="http://journalismGIS.com/forum">http://journalismGIS.com/forum</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.journalismgis.com/2011/01/new-forum-for-journalists-interested-in-discussing-gis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Our proposal for the Knight News Challenge moves on to round two</title>
		<link>http://www.journalismgis.com/2011/01/our-proposal-for-the-knight-news-challenge-moves-on-to-round-two/</link>
		<comments>http://www.journalismgis.com/2011/01/our-proposal-for-the-knight-news-challenge-moves-on-to-round-two/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 13:29:51 +0000</pubDate>
		<dc:creator>Andrew Long</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[journalism]]></category>
		<category><![CDATA[knight news challenge]]></category>

		<guid isPermaLink="false">http://www.journalismgis.com/?p=130</guid>
		<description><![CDATA[Last year we submitted a proposal to the fifth annual Knight News Challenge, a contest funding innovative ideas that help to transform community news. This year we learned that our proposal was selected to move on to the second round of the contest. The project will provide a rich set of free spatial analysis tools designed for [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
<p><a href="http://www.journalismgis.com/wp-content/uploads/2011/01/KnightNewsChallenge.jpeg"><img class="alignright size-full wp-image-131" style="margin: 10px;" title="KnightNewsChallenge" src="http://www.journalismgis.com/wp-content/uploads/2011/01/KnightNewsChallenge.jpeg" alt="" width="299" height="187" /></a>Last year we submitted a proposal to the fifth annual <a href="http://www.newschallenge.org/">Knight News Challenge</a>, a contest funding innovative ideas that help to transform community news. This year we learned that our proposal was selected to move on to the second round of the contest. The project will provide a rich set of free spatial analysis tools designed for journalists. The open source tools will be available to use for free online. We have until Jan. 31 to submit our expanded proposal. JournalismGIS.com will be the homebase of the project. If you have any tools that you would like to see developed or would like to help sponsor the project, please contact us.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.journalismgis.com/2011/01/our-proposal-for-the-knight-news-challenge-moves-on-to-round-two/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google updates oblique imagery</title>
		<link>http://www.journalismgis.com/2011/01/google-updates-oblique-imagery/</link>
		<comments>http://www.journalismgis.com/2011/01/google-updates-oblique-imagery/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 04:36:10 +0000</pubDate>
		<dc:creator>Andrew Long</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[imagery]]></category>

		<guid isPermaLink="false">http://www.journalismgis.com/?p=125</guid>
		<description><![CDATA[Google Maps has updated the 45 degree or oblique imagery for a number of locations in the United States. Oblique images can provide a advantage over the traditional overhead view when presenting the area in informational graphics. The cities that have been updated are: Albuquerque, NM Contra Costa County, CA Escondido, CA Long Beach, CA [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
<p>Google Maps has updated the 45 degree or oblique imagery for a number of locations in the United States. Oblique images can provide a advantage over the traditional overhead view when presenting the area in informational graphics.</p>
<p>The cities that have been updated are:</p>
<p>Albuquerque, NM<br />
Contra Costa County, CA<br />
Escondido, CA<br />
Long Beach, CA<br />
Norfolk, VA<br />
New Orleans, LA<br />
San Antonio, TX<br />
St Petersburg, FL<br />
Tucson, AZ<br />
Van Nuys, CA</p>
<p>The images are accessed by selecting 45 degree in the satellite map. Then zoom into the area like you normally would. The image will flip to the oblique view as you zoom in.</p>
<p>This is the Safeway in Tucson where the recent shootings took place. These were constructed in Photoshop with screen grabs.</p>
<p style="text-align: center;"><strong>Oblique</strong></p>
<p><a href="http://www.journalismgis.com/wp-content/uploads/2011/01/safeway_100.jpg"><img class="aligncenter size-full wp-image-126" title="Safeway oblique" src="http://www.journalismgis.com/wp-content/uploads/2011/01/safeway_100.jpg" alt="" width="400" height="273" /></a></p>
<p style="text-align: center;"><a href="http://www.journalismgis.com/wp-content/uploads/2011/01/safeway.jpg">Larger version</a></p>
<p style="text-align: center;"><strong>Overhead</strong></p>
<p><a href="http://www.journalismgis.com/wp-content/uploads/2011/01/safeway_overhead.jpg"><img class="aligncenter size-full wp-image-127" title="Safeway overhead" src="http://www.journalismgis.com/wp-content/uploads/2011/01/safeway_overhead.jpg" alt="" width="400" height="239" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.journalismgis.com/2011/01/google-updates-oblique-imagery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Making a choropleth map with Cartographer.js</title>
		<link>http://www.journalismgis.com/2010/11/making-a-choropleth-map-with-cartographer-js/</link>
		<comments>http://www.journalismgis.com/2010/11/making-a-choropleth-map-with-cartographer-js/#comments</comments>
		<pubDate>Thu, 25 Nov 2010 06:00:37 +0000</pubDate>
		<dc:creator>Andrew Long</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cartographer.js]]></category>
		<category><![CDATA[choropleth]]></category>
		<category><![CDATA[Google map]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[raphael.js]]></category>

		<guid isPermaLink="false">http://www.journalismgis.com/?p=124</guid>
		<description><![CDATA[Happy Thanksgiving! What am I thankful for? Besides my friends and family, I&#8217;m thankful for the Cartographer Javascript library. This library makes it easy to add choropleths, pie charts and point clusters into Google maps. The project is in the early stages, but looks promising. I especially love the ability to call color schemes from [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushJScript.js"></script>
<p><strong>Happy Thanksgiving! </strong> What am I thankful for? Besides my friends and family, I&#8217;m thankful for the <a href="http://cartographer.visualmotive.com/">Cartographer Javascript library</a>. This library makes it easy to add choropleths, pie charts and point clusters into Google maps. The project is in the early stages, but looks promising. I especially love the ability to call color schemes from <a href="http://colorbrewer2.org/">ColorBrewer</a>. I&#8217;m excited to see developers actually take cartography into account when building mapping libraries.</p>
<p>Here is a quick tutorial to show how easy it is to make this interactive Google choropleth map. <a href="http://journalismGIS.com/data/tutorials/cartographerjs_map.zip">Download a zip of the project. </a></p>
<p><IFRAME SRC="http://journalismgis.com/data/tutorials/cartographerjs_map/map.html" WIDTH=500 HEIGHT=500>If you can see this, your browser doesn&#8217;t understand IFRAME.  However, we&#8217;ll still<br />
<A HREF="http://journalismgis.com/data/tutorials/cartographerjs_map/map.html">link</A> you to the file.<br />
</IFRAME></p>
<p>This project has 3 parts. </p>
<ol>
<li>A project folder.</li>
<li>A folder for the javascript libraries, called &#8220;js.&#8221;</li>
<li>HTML page.</li>
</ol>
<p>How it works:</p>
<p>First we call the javascript libraries. The first call is for Google Maps. The examples are using V2&#8230;so you will need to <a href="http://code.google.com/apis/maps/signup.html">grab an API code</a> for this to work on your server. The next call is the <a href="http://code.google.com/p/cartographerjs/">Cartographer.js</a> library and the third is the <a href="http://raphaeljs.com/">Raphael.js</a> library. Cartographer uses the SVG engine from Raphael.  </p>
<p><pre class="brush: xml">&lt;script type=&quot;text/javascript&quot; src=&quot;http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=GOOGLE-API-KEY-HERE&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;js/raphael-min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;js/cartographer.min.0.4.js&quot;&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot;&gt; </pre></p>
<p>The next section is the javascript that makes the map work. Basically, Cartographer places pre-encoded polygons on the Google map. </p>
<p><pre class="brush: js">function load() {
  if( GBrowserIsCompatible() ) {
    var map = new GMap2(document.getElementById(&quot;map&quot;));
    map.enableScrollWheelZoom();
    map.setCenter(new GLatLng(18, 0), 2);
    map.addControl(new GLargeMapControl());
    map.addControl(new GHierarchicalMapTypeControl());
    map.setMapType(G_PHYSICAL_MAP)
 
    var countyNames = (new String(&quot;APACHE,COCHISE,COCONINO,GILA,GRAHAM,GREENLEE,LA-PAZ,MARICOPA,MOHAVE,NAVAJO,PIMA,PINAL,SANTA-CRUZ,YAVAPAI,YUMA&quot;)).split(&quot;,&quot;);
	
	var percentBrewer=(new Array(34,62,43,62,65,48,67,55,73,54,47,58,32,65,57));
	
    var countyData = [];
    for( var i=0, ii=countyNames.length; i&lt;ii; i++ ) { 
      var name = countyNames[i];
	  var value = percentBrewer[i];
	 var code = &quot;AZ-&quot; + name;
      countyData.push( { region:code, val:value, label: Cartographer.regions[code].name + &quot; County, &quot; + &quot;AZ&quot; } ); 	
    }
 
    var cartographer = Cartographer( map, { colorize:&quot;#000&quot;, colorizeAlpha:.3 } );
    cartographer.choropleth(countyData, { colorScheme:&quot;RdBu&quot;, reverseColors:&quot;true&quot;});
  }
}</pre></p>
<p>The first part of this code creates the Google map. </p>
<p>Then we declare the variables. CountyNames is a alphabetical list of counties in Arizona. PercentBrewer is the percentage of votes Jan Brewer got in the mid-term election. </p>
<p>Next we loop the number of counties and place the counties and the values on the map.</p>
<p>Finally is the Cartographer declarations. ColorScheme can be customized or use a list of <a href="http://cartographer.visualmotive.com/colors.html">standard colors</a>. This uses &#8220;RdBu&#8221; and then reverses it. The higher the number, the more Red the polygon will be. The lower the number the more Blue it will be. Read more about the <a href="http://cartographer.visualmotive.com/#choropleth">choropleth declarations</a>. </p>
<p>(To change counties: Create an alpha list of your counties. Put a dash &#8220;-&#8221; for any counties with spaces in them, like La-Paz. Change the &#8220;AZ-&#8221; to your two digit state code. For example CA for California. )</p>
<p>Now we build the map with some HTML.</p>
<p><pre class="brush: xml">&lt;body onload=&quot;load()&quot; onunload=&quot;GUnload()&quot;&gt;
&lt;h3&gt;Percent of votes Brewer, 2010&lt;/h3&gt;
&lt;div id=&quot;map&quot; style=&quot;width:500px; height:500px;&quot;&gt;&lt;/div&gt;
&lt;/body&gt;</pre></p>
<p>Here is the complete code. </p>
<p><pre class="brush: xml">&lt;html&gt;
&lt;head&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ADD-GOOGLE-API-KEY-HERE&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;js/raphael-min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;js/cartographer.min.0.4.js&quot;&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot;&gt; 
 
function load() {
  if( GBrowserIsCompatible() ) {
    var map = new GMap2(document.getElementById(&quot;map&quot;));
    map.enableScrollWheelZoom();
    map.setCenter(new GLatLng(18, 0), 2);
    map.addControl(new GLargeMapControl());
    map.addControl(new GHierarchicalMapTypeControl());
    map.setMapType(G_PHYSICAL_MAP)
 
    var countyNames = (new String(&quot;APACHE,COCHISE,COCONINO,GILA,GRAHAM,GREENLEE,LA-PAZ,MARICOPA,MOHAVE,NAVAJO,PIMA,PINAL,SANTA-CRUZ,YAVAPAI,YUMA&quot;)).split(&quot;,&quot;);
	
	var percentBrewer=(new Array(34,62,43,62,65,48,67,55,73,54,47,58,32,65,57));
	
    var countyData = [];
    for( var i=0, ii=countyNames.length; i&lt;ii; i++ ) { 
      var name = countyNames[i];
	  var value = percentBrewer[i];
	 var code = &quot;AZ-&quot; + name;
      countyData.push( { region:code, val:value, label: Cartographer.regions[code].name + &quot; County, &quot; + &quot;AZ&quot; } ); 	
    }
 
    var cartographer = Cartographer( map, { colorize:&quot;#000&quot;, colorizeAlpha:.3 } );
    cartographer.choropleth(countyData, { colorScheme:&quot;RdBu&quot;, reverseColors:&quot;true&quot;});
  }
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body onload=&quot;load()&quot; onunload=&quot;GUnload()&quot;&gt;
&lt;h3&gt;Percent of votes Brewer, 2010&lt;/h3&gt;
&lt;div id=&quot;map&quot; style=&quot;width:500px; height:500px;&quot;&gt;&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre></p>
<p><a href="http://journalismGIS.com/data/tutorials/cartographerjs_map.zip">Download a complete version of this project</a>. Make sure you change the Google map API. More examples of choropleths using this method are available at the <a href="http://cartographer.visualmotive.com/">Cartographer website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.journalismgis.com/2010/11/making-a-choropleth-map-with-cartographer-js/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Geospatial Revolution: Episode 2</title>
		<link>http://www.journalismgis.com/2010/11/geospatial-revolution-episode-2/</link>
		<comments>http://www.journalismgis.com/2010/11/geospatial-revolution-episode-2/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 17:00:39 +0000</pubDate>
		<dc:creator>Andrew Long</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.journalismgis.com/?p=123</guid>
		<description><![CDATA[Episode 2 of the Penn State&#8217;s &#8220;Geospatial Revolution&#8221;]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushJScript.js"></script>
<p>Episode 2 of the <a href="http://geospatialrevolution.psu.edu/">Penn State&#8217;s &#8220;Geospatial Revolution&#8221;</a></p>
<p><object width="500" height="385"><param name="movie" value="http://www.youtube.com/v/GXS0bsR0e7w?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GXS0bsR0e7w?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.journalismgis.com/2010/11/geospatial-revolution-episode-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating an Interactive Census Map</title>
		<link>http://www.journalismgis.com/2010/11/creating-an-interactive-census-map/</link>
		<comments>http://www.journalismgis.com/2010/11/creating-an-interactive-census-map/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 15:37:32 +0000</pubDate>
		<dc:creator>Andrew Long</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[census]]></category>
		<category><![CDATA[choropleth]]></category>
		<category><![CDATA[Knight Digital Media Center]]></category>

		<guid isPermaLink="false">http://www.journalismgis.com/?p=122</guid>
		<description><![CDATA[Len De Groot (@lendegroot) of the Knight Digital Media Center offers up this tutorial on how to make an interactive Census map using Geocommons. &#8220;Creating an interactive census map is easy using the free GeoCommons map service. This video tutorial takes you through the process step-by-step. You will download map files from the U.S. Census [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
            <script type="text/javascript" src="http://www.journalismgis.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushJScript.js"></script>
<p><a href="http://multimedia.journalism.berkeley.edu/people/ldegroot/">Len De Groot</a> (@lendegroot) of the <a href="http://multimedia.journalism.berkeley.edu/">Knight Digital Media Center</a> offers up this tutorial on how to make an interactive Census map using Geocommons. </p>
<p>&#8220;Creating an interactive census map is easy using the free <a href="http://geocommons.com/">GeoCommons</a> map service. This video tutorial takes you through the process step-by-step. You will download map files from the <a href="http://www.census.gov/geo/www/tiger/">U.S. Census Bureau Tiger Shapefile Library</a>, download and edit population data from <a href="http://www.bayareacensus.ca.gov/small/small.htm">Bay Area Census</a> and merge the two to make an interactive map that you can publish on your site.&#8221;</p>
<p><iframe src="http://player.vimeo.com/video/11121350" width="400" height="300" frameborder="0"></iframe>
<p><a href="http://vimeo.com/11121350">Geocommons Census Tutorial</a> from <a href="http://vimeo.com/kdmcinfo">kdmcinfo</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.journalismgis.com/2010/11/creating-an-interactive-census-map/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

