<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Coffeehouse - Get city &amp; country for latitude and longitude</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Wed, 22 May 2013 06:33:17 GMT</pubDate>
	<lastBuildDate>Wed, 22 May 2013 06:33:17 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>11</c9:totalResults>
	<c9:pageCount>-11</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<description><![CDATA[<p>Can anybody recommend either a Web Service or an offline database solution which would allow me to get the city and country for any given latitude and longitude?
<div><br>
</div>
<div>(Free solutions/services preferred but possible commercial solutions are welcome, too!)</div>
<div><br>
</div>
<div>-Ralf</div>
<div><br>
</div></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/426208#426208</link>
		<pubDate>Sun, 07 Sep 2008 09:58:00 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/426208#426208</guid>
		<dc:creator>Ralf Rottmann</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BeSharp/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<description><![CDATA[<p><font id="UniqueID1220790607170"><a href="http://channel9.msdn.com/forums/TechOff/258037-Databases-Storing-locations-and-finding-nearby-locations/">http://channel9.msdn.com/forums/TechOff/258037-Databases-Storing-locations-and-finding-nearby-locations/</a></font></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/4847bfccf5fd47899afa9deb013af3f8#4847bfccf5fd47899afa9deb013af3f8</link>
		<pubDate>Sun, 07 Sep 2008 12:30:05 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/4847bfccf5fd47899afa9deb013af3f8#4847bfccf5fd47899afa9deb013af3f8</guid>
		<dc:creator>ZippyV</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ZippyV/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">ZippyV said:</div><div class="quoteText">
<p><font id="UniqueID1220790607170"><a href="http://channel9.msdn.com/forums/TechOff/258037-Databases-Storing-locations-and-finding-nearby-locations/">http://channel9.msdn.com/forums/TechOff/258037-Databases-Storing-locations-and-finding-nearby-locations/</a></font></p>
</div></blockquote>Thanks ZippyV,
<div><br>
</div>
<div>I did the search on C9 myself, however, that discussion thread does unfortunately NOT answer the question I've posted here.</div>
<div><br>
</div>
<div>I'll repeat for the sake of being clear:</div>
<div><br>
</div>
<div>I know many services (Yahoo Maps API, etc.) that allow you to get Latitude and Longitude information when you send an address as the input. I do need it the other way around.</div>
<div><br>
</div>
<div>All I want to send as INPUT parameter ist Latitude and Longitude and as a return result I'd need city and country.</div>
<div><br>
</div>
<div>Any hints?</div></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/04d36c6600e142d7b67f9deb013af42b#04d36c6600e142d7b67f9deb013af42b</link>
		<pubDate>Sun, 07 Sep 2008 12:53:45 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/04d36c6600e142d7b67f9deb013af42b#04d36c6600e142d7b67f9deb013af42b</guid>
		<dc:creator>Ralf Rottmann</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BeSharp/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">BeSharp said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">ZippyV said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
Thanks ZippyV,
<div><br>
</div>
<div>I did the search on C9 myself, however, that discussion thread does unfortunately NOT answer the question I've posted here.</div>
<div><br>
</div>
<div>I'll repeat for the sake of being clear:</div>
<div><br>
</div>
<div>I know many services (Yahoo Maps API, etc.) that allow you to get Latitude and Longitude information when you send an address as the input. I do need it the other way around.</div>
<div><br>
</div>
<div>All I want to send as INPUT parameter ist Latitude and Longitude and as a return result I'd need city and country.</div>
<div><br>
</div>
<div>Any hints?</div>
</div></blockquote>With that topic I did find a list but it didn't end up on Channel 9.<br>
<br>
But I found it back:<br>
<a href="http://earth-info.nga.mil/gns/html/namefiles.htm">http://earth-info.nga.mil/gns/html/namefiles.htm</a></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/aa6484bb8ad8488c84af9deb013af45f#aa6484bb8ad8488c84af9deb013af45f</link>
		<pubDate>Sun, 07 Sep 2008 12:56:20 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/aa6484bb8ad8488c84af9deb013af45f#aa6484bb8ad8488c84af9deb013af45f</guid>
		<dc:creator>ZippyV</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ZippyV/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">ZippyV said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">BeSharp said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
With that topic I did find a list but it didn't end up on Channel 9.<br>
<br>
But I found it back:<br>
<a href="http://earth-info.nga.mil/gns/html/namefiles.htm">http://earth-info.nga.mil/gns/html/namefiles.htm</a></div></blockquote>Wow! With the data files made available there I might be able to set up my own web service to convert stuff! Great hint! Thanks!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/fbf897c3d1724733ac089deb013af48f#fbf897c3d1724733ac089deb013af48f</link>
		<pubDate>Sun, 07 Sep 2008 13:08:43 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/fbf897c3d1724733ac089deb013af48f#fbf897c3d1724733ac089deb013af48f</guid>
		<dc:creator>Ralf Rottmann</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BeSharp/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">BeSharp said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">ZippyV said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
Wow! With the data files made available there I might be able to set up my own web service to convert stuff! Great hint! Thanks!</div></blockquote>Don't be too&nbsp;euphoric, the lists are not clean and contain other things like mountains, rivers, lakes. It's almost impossible
 to get a clean list of only cities and villages based on filtering the other columns.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/0df4c960650f430ba2189deb013af4c0#0df4c960650f430ba2189deb013af4c0</link>
		<pubDate>Sun, 07 Sep 2008 13:21:20 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/0df4c960650f430ba2189deb013af4c0#0df4c960650f430ba2189deb013af4c0</guid>
		<dc:creator>ZippyV</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ZippyV/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">ZippyV said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">BeSharp said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
Don't be too&nbsp;euphoric, the lists are not clean and contain other things like mountains, rivers, lakes. It's almost impossible to get a clean list of only cities and villages based on filtering the other columns. </div></blockquote>Well, I only need to get a city from
 lat and long. I really wonder that none of the map providers (Google, Yahoo, MS) seem to have a web service for that. All of them offer you to input an address and get lat/long back but not vice versa...
<div><br>
</div></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/de45a91ca314433289b69deb013af4f2#de45a91ca314433289b69deb013af4f2</link>
		<pubDate>Sun, 07 Sep 2008 13:25:56 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/de45a91ca314433289b69deb013af4f2#de45a91ca314433289b69deb013af4f2</guid>
		<dc:creator>Ralf Rottmann</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BeSharp/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">BeSharp said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">ZippyV said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
Well, I only need to get a city from lat and long. I really wonder that none of the map providers (Google, Yahoo, MS) seem to have a web service for that. All of them offer you to input an address and get lat/long back but not vice versa...
<div><br>
</div>
</div></blockquote>one interesting thing:<br>
<br>
<a href="http://maps.google.com/maps?ll=27.950739,-82.459259">http://maps.google.com/maps?ll=27.950739,-82.459259</a>&nbsp; will give you a map of tampa, fl<br>
<br>
when dealing with locations your database would need to have it updated often as names and countries do chnage.<br>
<br>
another issue is how you determine the &quot;city&quot; from LL<br>
LL math to find the distance between two locations can get a bit complex,&nbsp; as I recall it's called the Great Circle formla as it takes the cuve of the earth into account.<br>
<br>
given a point and a distance you may get multiple location names, if several have non-zero distance and are very close which one do you pick?<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/6f79b07f6330437180569deb013af528#6f79b07f6330437180569deb013af528</link>
		<pubDate>Sun, 07 Sep 2008 13:59:45 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/6f79b07f6330437180569deb013af528#6f79b07f6330437180569deb013af528</guid>
		<dc:creator>figuerres</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/figuerres/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<description><![CDATA[<p>That activity is called reverse geocoding . Do a google search and you can find loads of free choices. It is possible to do it with the map point web service as demonstrated here
<div><a href="http://virtualearth.spaces.live.com/blog/cns!2BBC66E99FDCDB98!536.entry?wa=wsignin1.0">http&#58;&#47;&#47;virtualearth.spaces.live.com&#47;blog&#47;cns&#33;2BBC66E99FDCDB98&#33;536.entry&#63;wa&#61;wsignin1.0</a></div></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/26a7e6e2722648f8b4ac9deb013af575#26a7e6e2722648f8b4ac9deb013af575</link>
		<pubDate>Sun, 07 Sep 2008 18:04:29 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/26a7e6e2722648f8b4ac9deb013af575#26a7e6e2722648f8b4ac9deb013af575</guid>
		<dc:creator>andokai</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/andokai/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<description><![CDATA[<p>Yes, Virtual Earth provides a reverse geocoding service in the platform API.<br>
<br>
You can see this in our Interactive SDK, <a href="http://dev.live.com/virtualearth/sdk">
http://dev.live.com/virtualearth/sdk</a> expand &quot;Find Information (Basic)&quot;, then click on &quot;Reverse Find&quot;<br>
<br>
MSDN Library for this,&nbsp;<a href="http://msdn.microsoft.com/en-us/library/cc469978.aspx">http://msdn.microsoft.com/en-us/library/cc469978.aspx</a><br>
<br>
You'll have the parse the output if you just want city/state but that's pretty trivial.<br>
<br>
Enjoy.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/9d6132858156471990989deb013af5a8#9d6132858156471990989deb013af5a8</link>
		<pubDate>Mon, 08 Sep 2008 00:07:13 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/9d6132858156471990989deb013af5a8#9d6132858156471990989deb013af5a8</guid>
		<dc:creator>Mark Brown</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Mark Brown/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Get city &amp; country for latitude and longitude</title>
		<description><![CDATA[<p>If you just want the list, Check the World Wide Telescope. It has the long list of cities with lat &amp; long which again might be based on Virtual Earth only.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/4d36929094d54d23a3c89deb013af5d9#4d36929094d54d23a3c89deb013af5d9</link>
		<pubDate>Mon, 08 Sep 2008 01:03:24 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/426208-Get-city--country-for-latitude-and-longitude/4d36929094d54d23a3c89deb013af5d9#4d36929094d54d23a3c89deb013af5d9</guid>
		<dc:creator>Niner</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Niner/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>