<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Postal Codes"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/7.page</link>
		<description><![CDATA[Latest messages posted in the topic "Postal Codes"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Postal Codes</title>
				<description><![CDATA[ In which download are the Postal Codes?
I'd like to be able to search based on Postal Code and return City, State, Country...]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8311</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8311</link>
				<pubDate><![CDATA[Thu, 26 Aug 2010 12:54:49]]> GMT</pubDate>
				<author><![CDATA[ john_es]]></author>
			</item>
			<item>
				<title>Re:Postal Codes</title>
				<description><![CDATA[ Just have a look to download page :
http://www.geonames.org/export/

There is a link to Postal Codes download :
http://download.geonames.org/export/zip]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8312</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8312</link>
				<pubDate><![CDATA[Thu, 26 Aug 2010 13:13:45]]> GMT</pubDate>
				<author><![CDATA[ geotree]]></author>
			</item>
			<item>
				<title>Re:Postal Codes</title>
				<description><![CDATA[ Thanks for the quick reply... I saw that but I wonder if I download the 800MB all countries list, that is a super set of what you pasted in above, right?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8315</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8315</link>
				<pubDate><![CDATA[Thu, 26 Aug 2010 14:02:53]]> GMT</pubDate>
				<author><![CDATA[ john_es]]></author>
			</item>
			<item>
				<title>Re:Postal Codes</title>
				<description><![CDATA[ There is one file per country
and a file allCountries containing ... all countries ;-)]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8317</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8317</link>
				<pubDate><![CDATA[Thu, 26 Aug 2010 14:14:40]]> GMT</pubDate>
				<author><![CDATA[ geotree]]></author>
			</item>
			<item>
				<title>Re:Postal Codes</title>
				<description><![CDATA[ Yep... let me be more specific.... what I was asking is, 

is: http://download.geonames.org/export/dump/allCountries.zip
a super set of:
http://download.geonames.org/export/zip/allCountries.zip

or is there data in: http://download.geonames.org/export/zip/allCountries.zip that is not in the other?

]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8320</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8320</link>
				<pubDate><![CDATA[Thu, 26 Aug 2010 14:29:26]]> GMT</pubDate>
				<author><![CDATA[ john_es]]></author>
			</item>
			<item>
				<title>Re:Postal Codes</title>
				<description><![CDATA[ http://download.geonames.org/export/zip/
contains ONLY postal codes

when
http://download.geonames.org/export/dump/
contains all GeoNames records

For some countries like France, postal codes can also be found in
http://download.geonames.org/export/dump/alternateNames.zip
with language code = 'post']]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8321</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8321</link>
				<pubDate><![CDATA[Thu, 26 Aug 2010 14:42:41]]> GMT</pubDate>
				<author><![CDATA[ geotree]]></author>
			</item>
			<item>
				<title>Re:Postal Codes</title>
				<description><![CDATA[ OK, that makes sense... and I guess I have just one more question.

If I import the giant geonames database, i I follow the steps at:
http://forum.geonames.org/gforum/posts/list/732.page
to populate the other tables, have I duplicated work?

What would be the point of these extra tables if I have the giant geonames table?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8322</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8322</link>
				<pubDate><![CDATA[Thu, 26 Aug 2010 14:57:19]]> GMT</pubDate>
				<author><![CDATA[ john_es]]></author>
			</item>
			<item>
				<title>Re:Postal Codes</title>
				<description><![CDATA[ Read this thread :
http://forum.geonames.org/gforum/posts/list/2033.page
to get everything (except postal codes) in your local MySQL database.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8323</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8323</link>
				<pubDate><![CDATA[Thu, 26 Aug 2010 15:12:36]]> GMT</pubDate>
				<author><![CDATA[ geotree]]></author>
			</item>
			<item>
				<title>Re:Postal Codes</title>
				<description><![CDATA[ Hi, 
How i can use postal codes in my local database ?

Thx]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8588</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8588</link>
				<pubDate><![CDATA[Sat, 16 Oct 2010 01:10:40]]> GMT</pubDate>
				<author><![CDATA[ phoenix]]></author>
			</item>
			<item>
				<title>Re:Postal Codes</title>
				<description><![CDATA[ <p></p>

		<cite>phoenix wrote:</cite><br>
		<blockquote>
How i can use postal codes in my local database ?
&nbsp;
		</blockquote>
May you explain what you want to do with postal codes (form pre-filling ? form validation ? etc) and for which countries ? ]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8589</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8589</link>
				<pubDate><![CDATA[Sat, 16 Oct 2010 08:45:19]]> GMT</pubDate>
				<author><![CDATA[ geotree]]></author>
			</item>
			<item>
				<title>Re:Postal Codes</title>
				<description><![CDATA[ I wont to write function that return the same information of " findNearbyPostalCodes "

I used this SQL query for latitude:40.5720500 and longitude: -74.6412700


mysql> SELECT *, (ACOS((SIN(40.5726013183594/57.2958) * SIN(latitude/57.2958)) + (COS(40.5726013183594/57.2958) * COS(latitude/57.2958) * COS(longitude/57.2958 - (-74.6423034667969)/57.2958)))) * 3963 AS distance FROM geoname WHERE (latitude >= 40.5726013183594 - (10/111)) AND (latitude <= 40.5726013183594 + (10/111)) AND (longitude >= (-74.6423034667969) - (10/111))AND (longitude <= (-74.6423034667969) + (10/111)) ORDER BY distance ASC limit 5 \G
*************************** 1. row ***************************
     geonameid: 5103137
          name: Borough of Raritan
     asciiname: Borough of Raritan
alternatenames: 
      latitude: 40.5720500
     longitude: -74.6412700
        fclass: A
         fcode: ADMD
       country: US
           cc2: 
        admin1: NJ
        admin2: 035
        admin3: 
        admin4: 
    population: 0
     elevation: 29
       gtopo30: 27
      timezone: America/New_York
       moddate: 2007-02-14
      distance: 0.0663497418948286

I used the webservice for the same data ( http://ws.geonames.org/findNearbyPostalCodes?lat=40.5726013183594&lng=-74.6423034667969 ) and i find the postal code, but in local i can't find this information, my question is in any table i found the postal code ?

Thx ]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8601</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8601</link>
				<pubDate><![CDATA[Tue, 19 Oct 2010 17:42:39]]> GMT</pubDate>
				<author><![CDATA[ phoenix]]></author>
			</item>
			<item>
				<title>Re:Postal Codes</title>
				<description><![CDATA[ you have to download the data from the postal code directory (see link above). You are currently using the toponym files, which have postal codes for some countries in the alternatename table.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2051.page#8619</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2051.page#8619</link>
				<pubDate><![CDATA[Fri, 22 Oct 2010 17:23:30]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>