<?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: Raster map projection with ActionScript 3</title>
	<atom:link href="http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/</link>
	<description>Adventures in maps, cartography, visualization, and Flash</description>
	<lastBuildDate>Mon, 08 Mar 2010 22:01:14 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andy Woodruff</title>
		<link>http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/comment-page-1/#comment-2402</link>
		<dc:creator>Andy Woodruff</dc:creator>
		<pubDate>Wed, 25 Feb 2009 14:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.cartogrammar.com/blog/?p=9#comment-2402</guid>
		<description>I don&#039;t know too much about that, I&#039;m afraid.  I imagine it&#039;s some equation, not unlike these map projections, but I don&#039;t have experience with that sort of thing in particular.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know too much about that, I&#8217;m afraid.  I imagine it&#8217;s some equation, not unlike these map projections, but I don&#8217;t have experience with that sort of thing in particular.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/comment-page-1/#comment-2367</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Mon, 23 Feb 2009 17:35:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cartogrammar.com/blog/?p=9#comment-2367</guid>
		<description>Hi,

I&#039;m looking for a source code or a tutorial (as3) in order to transform a cylindrical to a rectilinear (or inverse). if you go to http://www.mapjack.com, you will see 360° panoramic, in the tools (left bottom), ther&#039;s &quot;projection&quot;, that transforms cylindrical to rectilinear...that&#039;s what I want...Do you know how ??

Many Thanks
PS: sorry for my bad english</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m looking for a source code or a tutorial (as3) in order to transform a cylindrical to a rectilinear (or inverse). if you go to <a href="http://www.mapjack.com" rel="nofollow">http://www.mapjack.com</a>, you will see 360° panoramic, in the tools (left bottom), ther&#8217;s &#8220;projection&#8221;, that transforms cylindrical to rectilinear&#8230;that&#8217;s what I want&#8230;Do you know how ??</p>
<p>Many Thanks<br />
PS: sorry for my bad english</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bookmarks about Actionscript</title>
		<link>http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/comment-page-1/#comment-1479</link>
		<dc:creator>Bookmarks about Actionscript</dc:creator>
		<pubDate>Tue, 23 Dec 2008 17:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.cartogrammar.com/blog/?p=9#comment-1479</guid>
		<description>[...] - bookmarked by 4 members originally found by sthibault on 2008-11-19  Raster map projection with ActionScript 3  http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/ - bookmarked by 3 [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8211; bookmarked by 4 members originally found by sthibault on 2008-11-19  Raster map projection with ActionScript 3  <a href="http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/" rel="nofollow">http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/</a> &#8211; bookmarked by 3 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Panta</title>
		<link>http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/comment-page-1/#comment-163</link>
		<dc:creator>Panta</dc:creator>
		<pubDate>Sun, 07 Sep 2008 07:38:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.cartogrammar.com/blog/?p=9#comment-163</guid>
		<description>Great job.</description>
		<content:encoded><![CDATA[<p>Great job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal Migurski</title>
		<link>http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/comment-page-1/#comment-45</link>
		<dc:creator>Michal Migurski</dc:creator>
		<pubDate>Thu, 03 Jul 2008 17:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.cartogrammar.com/blog/?p=9#comment-45</guid>
		<description>Yeah, that&#039;s true - it may even be an option in GDAL to use the nearest pixel (fast, ugly) vs. an interpolated one (slow, pretty). Actually I think that&#039;s what the drop-down in photoshop that says &quot;nearest neighbor / bilinear / bicubic&quot; has been telling me all these years.</description>
		<content:encoded><![CDATA[<p>Yeah, that&#8217;s true &#8211; it may even be an option in GDAL to use the nearest pixel (fast, ugly) vs. an interpolated one (slow, pretty). Actually I think that&#8217;s what the drop-down in photoshop that says &#8220;nearest neighbor / bilinear / bicubic&#8221; has been telling me all these years.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Carden</title>
		<link>http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/comment-page-1/#comment-44</link>
		<dc:creator>Tom Carden</dc:creator>
		<pubDate>Thu, 03 Jul 2008 16:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.cartogrammar.com/blog/?p=9#comment-44</guid>
		<description>Weighted average would be the thing!

If you&#039;re sampling from a non-integer coordinate, you can use bilinear interpolation to derive a value from the four neighbouring pixels.  Bilinear interpolation is pretty fast, and seems appropriate for Actionscript

GDAL and others probably use bicubic or lanczos interpolation for accuracy, also helpfully linked from this wikipedia article: http://en.wikipedia.org/wiki/Bilinear_interpolation</description>
		<content:encoded><![CDATA[<p>Weighted average would be the thing!</p>
<p>If you&#8217;re sampling from a non-integer coordinate, you can use bilinear interpolation to derive a value from the four neighbouring pixels.  Bilinear interpolation is pretty fast, and seems appropriate for Actionscript</p>
<p>GDAL and others probably use bicubic or lanczos interpolation for accuracy, also helpfully linked from this wikipedia article: <a href="http://en.wikipedia.org/wiki/Bilinear_interpolation" rel="nofollow">http://en.wikipedia.org/wiki/Bilinear_interpolation</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Woodruff</title>
		<link>http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/comment-page-1/#comment-43</link>
		<dc:creator>Andy Woodruff</dc:creator>
		<pubDate>Thu, 03 Jul 2008 15:34:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.cartogrammar.com/blog/?p=9#comment-43</guid>
		<description>Yeah, I did consider doing it that way, but initially put it aside because (a) I was at first just using those line maps, where spreading out a pixel that is really meant as a one-dimensional representation would probably be ugly, and (b) I was doing the Winkel Tripel projection, where apparently the inverse involves crazy math that&#039;s probably beyond me.

It&#039;s worth a shot for the Mercator, though.  Here&#039;s the result with the simplest method of finding the nearest pixel from the original map:
&lt;img src=&quot;http://www.cartogrammar.com/images/projected_mercator_inverse.jpg&quot; alt=&quot;Mercator projection with interpolation based on the inverse projection&quot;/&gt;
Compared to my first method...
&lt;img src=&quot;http://www.cartogrammar.com/images/projected_mercator.jpg&quot; alt=&quot;Mercator projection&quot;/&gt;
Doing the inverse actually seems to look worse in this case, but I suppose the real solution is not to use the &lt;em&gt;nearest&lt;/em&gt; pixel on the unprojected map to the given lat/long, but rather to do some sort of weighted average of the pixels (or pixel centers, I guess) it falls between.  Or something.</description>
		<content:encoded><![CDATA[<p>Yeah, I did consider doing it that way, but initially put it aside because (a) I was at first just using those line maps, where spreading out a pixel that is really meant as a one-dimensional representation would probably be ugly, and (b) I was doing the Winkel Tripel projection, where apparently the inverse involves crazy math that&#8217;s probably beyond me.</p>
<p>It&#8217;s worth a shot for the Mercator, though.  Here&#8217;s the result with the simplest method of finding the nearest pixel from the original map:<br />
<img src="http://www.cartogrammar.com/images/projected_mercator_inverse.jpg" alt="Mercator projection with interpolation based on the inverse projection"/><br />
Compared to my first method&#8230;<br />
<img src="http://www.cartogrammar.com/images/projected_mercator.jpg" alt="Mercator projection"/><br />
Doing the inverse actually seems to look worse in this case, but I suppose the real solution is not to use the <em>nearest</em> pixel on the unprojected map to the given lat/long, but rather to do some sort of weighted average of the pixels (or pixel centers, I guess) it falls between.  Or something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal Migurski</title>
		<link>http://www.cartogrammar.com/blog/raster-map-projection-with-actionscript-3/comment-page-1/#comment-42</link>
		<dc:creator>Michal Migurski</dc:creator>
		<pubDate>Thu, 03 Jul 2008 07:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.cartogrammar.com/blog/?p=9#comment-42</guid>
		<description>Hi, I&#039;m so glad you&#039;re doing this, even though it may not be the moment for it yet. =)

For your second example, have you considered doing the inverse projection? For every x, y pixel in the output image, working backwards to the source color in the plate carree image? I generated my gnomonic projection faumaxion tiles (http://teczno.com/faumaxion-II/) in this way, I think it might even be what GDAL does under the hood judging by the output.</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m so glad you&#8217;re doing this, even though it may not be the moment for it yet. =)</p>
<p>For your second example, have you considered doing the inverse projection? For every x, y pixel in the output image, working backwards to the source color in the plate carree image? I generated my gnomonic projection faumaxion tiles (<a href="http://teczno.com/faumaxion-II/" rel="nofollow">http://teczno.com/faumaxion-II/</a>) in this way, I think it might even be what GDAL does under the hood judging by the output.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
