<?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: Reuse and Prosper</title>
	<atom:link href="http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/</link>
	<description>Notes From A Strange Place</description>
	<lastBuildDate>Wed, 08 Sep 2010 10:03:04 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andy</title>
		<link>http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/comment-page-1/#comment-28336</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 24 Dec 2007 12:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/#comment-28336</guid>
		<description>The secret is that every semi-transparent line needs to be drawn with no transparency to a buffer before the entire lot is applied with alpha-blending to the rest of the image. It&#039;s the only way to avoid additive transparency where they overlap. Doing this for the cycle map involved getting a new API for the rendering tool (mapnik) - each section of the map is drawn to around six different buffer images (background, lcn, rcn, ncn, overlay and a couple of others) which are finally overlaid on each other with the appropriate transparency.

I doubt that the Google API (or anything else, for that matter) will let you stroke each line to a buffer before applying transparency in one go - almost everything will draw each line semi-transparently one line at a time, which leads to the overlap problems.</description>
		<content:encoded><![CDATA[<p>The secret is that every semi-transparent line needs to be drawn with no transparency to a buffer before the entire lot is applied with alpha-blending to the rest of the image. It&#8217;s the only way to avoid additive transparency where they overlap. Doing this for the cycle map involved getting a new API for the rendering tool (mapnik) &#8211; each section of the map is drawn to around six different buffer images (background, lcn, rcn, ncn, overlay and a couple of others) which are finally overlaid on each other with the appropriate transparency.</p>
<p>I doubt that the Google API (or anything else, for that matter) will let you stroke each line to a buffer before applying transparency in one go &#8211; almost everything will draw each line semi-transparently one line at a time, which leads to the overlap problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George Coulouris</title>
		<link>http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/comment-page-1/#comment-28297</link>
		<dc:creator>George Coulouris</dc:creator>
		<pubDate>Sun, 23 Dec 2007 21:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/#comment-28297</guid>
		<description>Steve,
Thanks for the comment about the key/menu on our (Camden CC) map. It took quite a lot of trial-and-error to get the DOM programming right for that one. 

So Andy, what is the secret to tone overlays? (Though I doubt it will be implementable with the Google API&#039;s polylines). One day we&#039;ll move to an open API (OpenLayers?) but not soon.</description>
		<content:encoded><![CDATA[<p>Steve,<br />
Thanks for the comment about the key/menu on our (Camden CC) map. It took quite a lot of trial-and-error to get the DOM programming right for that one. </p>
<p>So Andy, what is the secret to tone overlays? (Though I doubt it will be implementable with the Google API&#8217;s polylines). One day we&#8217;ll move to an open API (OpenLayers?) but not soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Chilton</title>
		<link>http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/comment-page-1/#comment-27955</link>
		<dc:creator>Steve Chilton</dc:creator>
		<pubDate>Wed, 12 Dec 2007 22:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/#comment-27955</guid>
		<description>Yeh, sorry, I realised when I had posted it that it might not make sense because of context. I meant the Camden Cycle Campaign one that is transparent and is hyperlinked.</description>
		<content:encoded><![CDATA[<p>Yeh, sorry, I realised when I had posted it that it might not make sense because of context. I meant the Camden Cycle Campaign one that is transparent and is hyperlinked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/comment-page-1/#comment-27901</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 10 Dec 2007 18:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/#comment-27901</guid>
		<description>Steve - which map are you referring to? There&#039;s four different ones linked to from the post!</description>
		<content:encoded><![CDATA[<p>Steve &#8211; which map are you referring to? There&#8217;s four different ones linked to from the post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Chilton</title>
		<link>http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/comment-page-1/#comment-27840</link>
		<dc:creator>Steve Chilton</dc:creator>
		<pubDate>Sat, 08 Dec 2007 19:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/#comment-27840</guid>
		<description>I like the way the key works on this map. Transparency, rollover, etc. You might want to share your solution to tone overlays (at joins in cycle routes) with them!</description>
		<content:encoded><![CDATA[<p>I like the way the key works on this map. Transparency, rollover, etc. You might want to share your solution to tone overlays (at joins in cycle routes) with them!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Smith</title>
		<link>http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/comment-page-1/#comment-27644</link>
		<dc:creator>Chris Smith</dc:creator>
		<pubDate>Sun, 02 Dec 2007 16:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/#comment-27644</guid>
		<description>Sorry put the link in the wrong place - here it is  http://www.ctc-maps.org.uk/</description>
		<content:encoded><![CDATA[<p>Sorry put the link in the wrong place &#8211; here it is  <a href="http://www.ctc-maps.org.uk/" rel="nofollow">http://www.ctc-maps.org.uk/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Smith</title>
		<link>http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/comment-page-1/#comment-27643</link>
		<dc:creator>Chris Smith</dc:creator>
		<pubDate>Sun, 02 Dec 2007 16:51:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.gravitystorm.co.uk/shine/archives/2007/12/01/reuse-and-prosper/#comment-27643</guid>
		<description>The CTC maps website would be a lot better using these maps rather than the Google ones.</description>
		<content:encoded><![CDATA[<p>The CTC maps website would be a lot better using these maps rather than the Google ones.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
