<?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: Map Scales and Printing with Mapnik</title>
	<atom:link href="http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/</link>
	<description>Interesting Tech Projects</description>
	<lastBuildDate>Sun, 05 Feb 2012 22:03:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark</title>
		<link>http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/comment-page-1/#comment-11088</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 02 Jun 2010 18:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/#comment-11088</guid>
		<description>In the notes section of this tutorial you mention to get the actual bounding box of the image you need to call the envelope() function on the map object.  Using the mapnik python script generate_image.py could you explain how you call the envelope() function on the map object once you&#039;ve used zoom-to-box().  Thank you,

Mark</description>
		<content:encoded><![CDATA[<p>In the notes section of this tutorial you mention to get the actual bounding box of the image you need to call the envelope() function on the map object.  Using the mapnik python script generate_image.py could you explain how you call the envelope() function on the map object once you&#8217;ve used zoom-to-box().  Thank you,</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BalRam</title>
		<link>http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/comment-page-1/#comment-6744</link>
		<dc:creator>BalRam</dc:creator>
		<pubDate>Tue, 29 Sep 2009 04:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/#comment-6744</guid>
		<description>Hi Andrew,

I will try it out.

Thanks for your help !!!

BalRam</description>
		<content:encoded><![CDATA[<p>Hi Andrew,</p>
<p>I will try it out.</p>
<p>Thanks for your help !!!</p>
<p>BalRam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/comment-page-1/#comment-6671</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Fri, 25 Sep 2009 16:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/#comment-6671</guid>
		<description>Once you have zoomed your map call:

  &lt;code&gt;MyMap.scale_denominator()&lt;/code&gt;

to get the current scale denominator. This will assume a 0.00028m pixel size, so you will have to scale it to your PPI value for printable maps. Then you can calculate how far one mile and one kilometer is for your map.

I&#039;m not sure of the relationship between zoom factor and scale in Mapnik, sorry. Try asking on their mailing list.</description>
		<content:encoded><![CDATA[<p>Once you have zoomed your map call:</p>
<p>  <code>MyMap.scale_denominator()</code></p>
<p>to get the current scale denominator. This will assume a 0.00028m pixel size, so you will have to scale it to your PPI value for printable maps. Then you can calculate how far one mile and one kilometer is for your map.</p>
<p>I&#8217;m not sure of the relationship between zoom factor and scale in Mapnik, sorry. Try asking on their mailing list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BalRam</title>
		<link>http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/comment-page-1/#comment-6666</link>
		<dc:creator>BalRam</dc:creator>
		<pubDate>Fri, 25 Sep 2009 13:03:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/#comment-6666</guid>
		<description>I am unable to convert latlong values into UTM.

Please do provide me code snippet for it too.

Thanks !!!</description>
		<content:encoded><![CDATA[<p>I am unable to convert latlong values into UTM.</p>
<p>Please do provide me code snippet for it too.</p>
<p>Thanks !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BalRam</title>
		<link>http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/comment-page-1/#comment-6665</link>
		<dc:creator>BalRam</dc:creator>
		<pubDate>Fri, 25 Sep 2009 13:01:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/#comment-6665</guid>
		<description>Hi Andrew,
May be you remembered me. You had replied my query on mapnik forum.
Thanks for it again.

Actually, I have gone throgh your way of zoom_to_box() and called zoom() function. Now its working fine.

Now, I am facing problem in measure scale in terms of kilometer or meter with current zoom level. 
i.e. if I am at specific zoom level then what is scale of my map in term of kilometer; so that I can show scale factor in my map.

Getting more specific, I have to speficy zoom() in range of values 2km to 16000km and map to mapnik zoom() function which takes value in 0.1 to 1.0.

Could you please help me out of this?

Please give me some fruitful information.

Thanks!!

BalRam</description>
		<content:encoded><![CDATA[<p>Hi Andrew,<br />
May be you remembered me. You had replied my query on mapnik forum.<br />
Thanks for it again.</p>
<p>Actually, I have gone throgh your way of zoom_to_box() and called zoom() function. Now its working fine.</p>
<p>Now, I am facing problem in measure scale in terms of kilometer or meter with current zoom level.<br />
i.e. if I am at specific zoom level then what is scale of my map in term of kilometer; so that I can show scale factor in my map.</p>
<p>Getting more specific, I have to speficy zoom() in range of values 2km to 16000km and map to mapnik zoom() function which takes value in 0.1 to 1.0.</p>
<p>Could you please help me out of this?</p>
<p>Please give me some fruitful information.</p>
<p>Thanks!!</p>
<p>BalRam</p>
]]></content:encoded>
	</item>
</channel>
</rss>

