<?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>Azavea Labs &#187; sourcemap</title>
	<atom:link href="http://www.azavea.com/blogs/labs/tag/sourcemap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.azavea.com/blogs/labs</link>
	<description>Insight on what our engineers are doing</description>
	<lastBuildDate>Mon, 06 Feb 2012 22:32:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Ignite: Spatial, Boston</title>
		<link>http://www.azavea.com/blogs/labs/2009/12/ignite-spatial-boston/</link>
		<comments>http://www.azavea.com/blogs/labs/2009/12/ignite-spatial-boston/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 16:51:08 +0000</pubDate>
		<dc:creator>David Zwarg</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[ignite]]></category>
		<category><![CDATA[sourcemap]]></category>
		<category><![CDATA[spatial]]></category>

		<guid isPermaLink="false">http://www.azavea.com/blogs/labs/?p=390</guid>
		<description><![CDATA[I got the opportunity to present at Ignite: Spatial, Boston a couple weeks ago.  I was fortunate to present Sourcemap.org in the company of other Boston area techies doing some cool work in laser scanning, CityML, social media and more. All the videos are on YouTube. The presentation summaries are also online in this Google [...]]]></description>
			<content:encoded><![CDATA[<p>I got the opportunity to present at Ignite: Spatial, Boston a couple weeks ago.  I was fortunate to present <a href="http://www.sourcemap.org/">Sourcemap.org</a> in the company of other Boston area techies doing some cool work in laser scanning, CityML, social media and more.</p>
<p>All the videos are on <a href="http://www.youtube.com/IgniteSpatialBoston">YouTube</a>. The presentation summaries are also online in this <a href="http://spreadsheets.google.com/pub?key=tpbWbBV6Ih48W3IOpFGg35g&amp;single=true&amp;gid=1&amp;output=html">Google Doc</a>.</p>
<p>Enjoy your spatial ignition this morning.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/KMPrKmK4Jwk&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/KMPrKmK4Jwk&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.azavea.com/blogs/labs/2009/12/ignite-spatial-boston/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Of Splashes and MoOMs</title>
		<link>http://www.azavea.com/blogs/labs/2009/07/of-splashes-and-mooms/</link>
		<comments>http://www.azavea.com/blogs/labs/2009/07/of-splashes-and-mooms/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 16:18:06 +0000</pubDate>
		<dc:creator>David Zwarg</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[museums]]></category>
		<category><![CDATA[sourcemap]]></category>

		<guid isPermaLink="false">http://www.azavea.com/blogs/labs/?p=202</guid>
		<description><![CDATA[Sourcemap made #10 in Mashable.com&#8216;s list of how to use the web for socially responsible shopping, and has been picked up by a few other blogs.  One that caught my attention: MoMB, the Museum of Modern Betas. I had to check the MoOM, to see if it was a part of their collection. No? Not [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sourcemap.org/">Sourcemap</a> made #10 in <a href="http://mashable.com/2009/07/26/ethical-shopping/">Mashable.com</a>&#8216;s list of how to use the web for socially responsible shopping, and has been picked up by a few other blogs.  One that caught my attention: <a href="http://momb.socio-kybernetics.net/">MoMB</a>, the Museum of Modern Betas.</p>
<p>I had to check the <a href="http://www.coudal.com/moom/">MoOM</a>, to see if it was a part of their collection. No? Not even in the Annex? Oh, well. Maybe they don&#8217; t do beta.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.azavea.com/blogs/labs/2009/07/of-splashes-and-mooms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Azavea R&amp;D: sourcemap.org (pt. 2)</title>
		<link>http://www.azavea.com/blogs/labs/2009/06/azavea-rd-sourcemaporg2/</link>
		<comments>http://www.azavea.com/blogs/labs/2009/06/azavea-rd-sourcemaporg2/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 15:13:58 +0000</pubDate>
		<dc:creator>David Zwarg</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[Cartography]]></category>
		<category><![CDATA[IDL]]></category>
		<category><![CDATA[mit]]></category>
		<category><![CDATA[sourcemap]]></category>

		<guid isPermaLink="false">http://www.azavea.com/blogs/labs/?p=115</guid>
		<description><![CDATA[So why does the International Date Line (IDL) cause so many headaches?  It seems like a really simple problem, but it ends up touching a bunch of mapping concepts, none of which are easily dealt with.  I ran across this when working on the Sourcemap project, when we wanted to relatively realistic travel paths.  When I say "relatively", I mean, don't travel from Japan to California via France.]]></description>
			<content:encoded><![CDATA[<p>So why does the <a href="http://en.wikipedia.org/wiki/International_date_line">International Date Line (IDL)</a> cause so many <a href="http://www.azavea.com/blogs/labs/index.php/2009/04/distance-math-what/">headaches</a>?  It seems like a really simple problem, but it ends up touching a bunch of mapping concepts, none of which are easily dealt with.  I ran across this when working on the <a href="http://www.sourcemap.org/">Sourcemap</a> project, when we wanted to relatively realistic travel paths.  When I say &#8220;relatively&#8221;, I mean, don&#8217;t travel from Japan to California via France  (and not via <a href="http://maps.google.com/maps?f=d&amp;source=s_d&amp;saddr=japan&amp;daddr=california,+ca&amp;hl=en&amp;geocode=&amp;mra=ls&amp;dirflg=d&amp;sll=34.887365,-148.54983&amp;sspn=167.800164,226.40625&amp;ie=UTF8&amp;z=3">Kayak</a>, either).</p>
<p>For Sourcemap, we started visualizing larger and larger networks, and began noticing that nothing from China was ever connected to anything in North America vai the Pacific Ocean. When you want to visualize a globally connected network, it helps if the network knows that the map is a globe, and creates connections in the direction that minimizes the distance between points.  Using the built in cartography of OpenLayers, we get the following map:</p>
<p style="text-align: center;"><a href="http://www.azavea.com/blogs/labs/wp-content/uploads/2009/05/eurocentric.png"><img class="size-medium wp-image-118 aligncenter" src="http://www.azavea.com/blogs/labs/wp-content/uploads/2009/05/eurocentric-300x172.png" alt="eurocentric" width="300" height="172" /></a></p>
<p>Where the network is always constrained within the rectangle of -180, -90, 180, 90 (x<sub>min</sub>, y<sub>min</sub>, x<sub>max</sub>, y<sub>max</sub>).  I approached this a couple of ways, and the one that turned out to be the easiest exploits a lesser-known &#8216;feature&#8217; of OpenLayers, whereby a Longitude that exceeds the coordinate system (e.g. -200) is indeed rendered on the opposite side of the IDL (e.g. +160).</p>
<p>This is excellent! Now I know that OpenLayers can render multiple instances of a feature in a single map.  Instead of adding single vector features, I added multipart features{multipoint and multiline), with each individual feature in that multipart offset by 360 degrees from the next.</p>
<p>Interestingly enough, OpenLayers also does some flipping of your features when you cross the IDL.  When you grab the map and pan across the IDL, your features will flip into the coordinate system that contains the center point of the map.  For this reason, I created 3 versions of everything, and placed them at (x &#8211; 360), (x), and (x + 360).  This allows for continuous coverage on the map, even when the features are flipped over the IDL.</p>
<p>The result:</p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-128" src="http://www.azavea.com/blogs/labs/wp-content/uploads/2009/06/wraparound-475x272.png" alt="Over the IDL" width="300" height="172" /></p>
<p style="text-align: left;">Now the maps reflect more accurately the trip of objects around the world! Each line is the shortest path between points, and are allowed to cross the IDL if necessary.  For the purposes of Sourcemap, it was important to be able to show these trips, since we are discussing ways of modeling the transportation networks of goods around the world.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.azavea.com/blogs/labs/2009/06/azavea-rd-sourcemaporg2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Azavea R&amp;D: sourcemap.org</title>
		<link>http://www.azavea.com/blogs/labs/2009/05/azavea_rd_sourcemaporg/</link>
		<comments>http://www.azavea.com/blogs/labs/2009/05/azavea_rd_sourcemaporg/#comments</comments>
		<pubDate>Thu, 14 May 2009 14:32:40 +0000</pubDate>
		<dc:creator>David Zwarg</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[Cartography]]></category>
		<category><![CDATA[mit]]></category>
		<category><![CDATA[openlayers]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[sourcemap]]></category>

		<guid isPermaLink="false">http://www.azavea.com/blogs/labs/?p=70</guid>
		<description><![CDATA[Azavea is a rare company. One of the benefits that we (full-time employees) earn is the ability to define our own research project after 6 months.  There is a list of active research projects here.  My personal interests took me to working with C. Dana Tomlin, and implementing a radial propagation tool for ArcToolbox. In addition, I wanted to collaborate with the MIT Media Lab's Tangible Media Group on the project http://www.sourcemap.org/.

I won't get into what sourcemap is (that's already been done), but I thought it would be cool to mention some of the technical challenges that the project was/is facing, and what we're doing about it.]]></description>
			<content:encoded><![CDATA[<p>Azavea is a rare company. One of the benefits that we (full-time employees) earn is the ability to define our own research project after 6 months.  There is a list of <a href="http://www.azavea.com/Research.aspx">active research projects</a><a href="http://www.azavea.com/Research.aspx"> here</a>.  My personal interests took me to working with C. Dana Tomlin, and implementing a radial propagation tool for ArcToolbox, as well as collaborating with the <a href="http://www.media.mit.edu/">MIT Media Lab</a>&#8216;s <a href="http://www.media.mit.edu/research/39">Tangible Media Group</a> on the project <a href="http://www.sourcemap.org">http://www.sourcemap.org/</a>.</p>
<p>I won&#8217;t get into what sourcemap is (that&#8217;s already been done), but I thought it would be cool to mention some of the technical challenges that the project was/is facing, and what we&#8217;re doing about it.</p>
<p>First, the project started out with maps from a free, proprietary mapping API. This was a great stepping off point, but as the maps and networks became more complex, that API started to break.  I advocated that the project migrate to an Open Source JavaScript mapping library, by the name of OpenLayers.  This helped us overcome that barrier to complex maps.</p>
<p>Next, we wanted to change the cartography from simple lines between points to something more &#8216;stylish&#8217;.  The problem that we experienced was that it was difficult to discriminate the paths of colinear parts of an object. To solve this, we added a slight arc to the lines.  This technique makes it easier to discriminate the connections between colinear parts and an object.</p>
<p>Time to bust out the trigonometry again!  I doodled the following sketches on a mousepad weekly planner.  I wanted an offset of the line in the vertical direction for most horizontal lines.  This calculation got me started, but then I realized that it would be weird if the arcs suddenly swapped sides if you passed the Y axis (e.g. from 359 degrees to 1 degree).</p>
<p><img class="aligncenter size-full wp-image-93" src="http://www.azavea.com/blogs/labs/wp-content/uploads/2009/05/calc1.png" alt="Initial Calculation" width="295" height="285" /></p>
<p style="text-align: center;">
<p style="text-align: left;">So I added another step, which attenuated the arcing, starting at 45 degrees from either side of the Y axis, and gradually decreasing to no deflection in the Y direction.</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-94" src="http://www.azavea.com/blogs/labs/wp-content/uploads/2009/05/calc2.png" alt="Deflection Attenuation" width="296" height="286" /></p>
<p style="text-align: center;">
<p style="text-align: left;">The result?  A cool looking network of lines that are clearly distinguishable! You can see it in action <a href="http://www.sourcemap.org/beta/stage/index.php/objects/object-171">here</a>.</p>
<p style="text-align: left;">We&#8217;ve got even more improvements on the way for the map, and I think it will make it a really compelling, and intuitive visualization of global supply chains.  Watch this space for the next installment.</p>
<p style="text-align: left;">
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.azavea.com/blogs/labs/2009/05/azavea_rd_sourcemaporg/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

