<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "How to get Lat/Lon from Postal Code?"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/7.page</link>
		<description><![CDATA[Latest messages posted in the topic "How to get Lat/Lon from Postal Code?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>How to get Lat/Lon from Postal Code?</title>
				<description><![CDATA[ I need to get the lat lon for a specific postal code.
What I do now is get the nearby postalcode for the specific postal code and get then get their lat/lon values.
In Java:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
PostalCodeSearchCriteria postalCodeSearchCriteria = new PostalCodeSearchCriteria&#40;&#41;;
	postalCodeSearchCriteria.setPostalCode&#40;postcode&#41;;
	java.util.List&lt;PostalCode&gt; postalCodes =  WebService.findNearbyPostalCodes&#40;postalCodeSearchCriteria&#41;;
for&#40;PostalCode p : postalCodes&#41;{
if&#40;p.getPostalCode&#40;&#41;.equals&#40;postcode&#41;&#41;{
	system.out.println&#40;"Match!:" + p.getLatitude&#40;&#41; + " " + p.getLongitude&#40;&#41;&#41;;
	}
}
</pre>
		</div>


There has to be a way to get Lat Lon directly from one specific postalcode!

Thanks in advance!]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1927.page#7829</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1927.page#7829</link>
				<pubDate><![CDATA[Mon, 31 May 2010 18:11:24]]> GMT</pubDate>
				<author><![CDATA[ tzippy]]></author>
			</item>
			<item>
				<title>Re:How to get Lat/Lon from Postal Code?</title>
				<description><![CDATA[ Did you look at <b>postalCodeLookup</b> and <b>postalCodeSearch</b> webservices ?
http://www.geonames.org/export/ws-overview.html]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1927.page#7830</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1927.page#7830</link>
				<pubDate><![CDATA[Mon, 31 May 2010 23:29:20]]> GMT</pubDate>
				<author><![CDATA[ geotree]]></author>
			</item>
	</channel>
</rss>