<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "How to select the GMap zoom level (or bounding box) for an admin region or city "]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "How to select the GMap zoom level (or bounding box) for an admin region or city "]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>How to select the GMap zoom level (or bounding box) for an admin region or city </title>
				<description><![CDATA[ I'm familiar with how to select the GMap zoom level to ensure that a given bounding box is displayed.  This works fine for GeoName country records that include the bounding box.  For admin regions I can make very rough guess using their child nodes but for leaf nodes like cities there appears to be no obvious method.  

What method would you recommend for selecting the right GMap zoom level for cities?

Thanks for GeoNames!
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2644.page#9552</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2644.page#9552</link>
				<pubDate><![CDATA[Wed, 13 Apr 2011 14:20:30]]> GMT</pubDate>
				<author><![CDATA[ tohagan]]></author>
			</item>
			<item>
				<title>Re:How to select the GMap zoom level (or bounding box) for an admin region or city </title>
				<description><![CDATA[ I would try to make an educated guess with feature code and population. A feature with featureClass 'S' (Spot) has a small footprint and a big city with a huge population must have a large footprint.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2644.page#9553</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2644.page#9553</link>
				<pubDate><![CDATA[Wed, 13 Apr 2011 14:24:41]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:How to select the GMap zoom level (or bounding box) for an admin region or city </title>
				<description><![CDATA[ Thanks Marc.

Do you know of any code samples that computes the correct zoom levels.  I suspect that the zoom level also needs to be also based on the pixel dimensions of the map.  

Thanks again,
Tony.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2644.page#9560</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2644.page#9560</link>
				<pubDate><![CDATA[Thu, 14 Apr 2011 15:28:52]]> GMT</pubDate>
				<author><![CDATA[ tohagan]]></author>
			</item>
			<item>
				<title>Re:How to select the GMap zoom level (or bounding box) for an admin region or city </title>
				<description><![CDATA[ I don't think that a magic formula exists that works everywhere. Just try a little what makes sense in your particular case and implement a simple rule of thumbs.

Best

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2644.page#9586</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2644.page#9586</link>
				<pubDate><![CDATA[Tue, 19 Apr 2011 13:23:31]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>