<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "city and zip info - - basic question"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "city and zip info - - basic question"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>city and zip info - - basic question</title>
				<description><![CDATA[ Basic questions from a newbie:

If I submit a valid country code and state/ province, can geonames return a list of cities?  Then, if I supply  valid country code and state/ province AND this city, can I get a list of zip codes?  

Is this available through the documented webservice?

]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1619.page#6707</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1619.page#6707</link>
				<pubDate><![CDATA[Fri, 20 Nov 2009 08:15:01]]> GMT</pubDate>
				<author><![CDATA[ newtonpage]]></author>
			</item>
			<item>
				<title>Re:city and zip info - - basic question</title>
				<description><![CDATA[ You can certainly do this.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1619.page#6714</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1619.page#6714</link>
				<pubDate><![CDATA[Fri, 20 Nov 2009 21:14:20]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:city and zip info - - basic question</title>
				<description><![CDATA[ Thank you for the reply 

I am very impressed with the geonames service and appreciate the work done here but I find the documentation a little thin - - and BTW, I would be happy to contribute code examples and other How-To's once I get my arms around this.

So - - Given country and state / province, I would like to do the following:

1) obtain a list of named cities for this country and state / province pair.
Having obtained this, I would then make certain the city is correctly entered.

2) once I have a valid a city, if the user enters zip / postal (this field is optional), I would then like to obtain a list of zip / postal codes for that city and make certain that the city - zip pair is valid.

3) alternatively, if the user enters zip / postal first, and then city, I would like to submit country and zip / postal and then check the city.

timely help would be greatly appreciated and I reiterate my offer to help - - and this includes creation of graphics if needed.

I have tried many variations using the geonames functions with no luck.

thanks so much

S]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1619.page#6798</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1619.page#6798</link>
				<pubDate><![CDATA[Thu, 3 Dec 2009 06:18:53]]> GMT</pubDate>
				<author><![CDATA[ newtonpage]]></author>
			</item>
			<item>
				<title>Re:city and zip info - - basic question</title>
				<description><![CDATA[ 1) use the search function with adminCode and country parameters
2) use the postal code search with the placeName and country. I wouldn't use the admin as it may not be filled in all countries
3) again use the postal code search

In general I would not force the validation, I would more use it as a suggest or warning that the combination may be wrong. It may happen that new postal codes are not yet in the database. For a forced validation it is better to use the regular expression of the postal code format.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1619.page#6800</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1619.page#6800</link>
				<pubDate><![CDATA[Thu, 3 Dec 2009 08:03:53]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:city and zip info - - basic question</title>
				<description><![CDATA[ is it possible to get the list of states when i enter city name in US?
how to do that?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/1619.page#7926</guid>
				<link>http://forum.geonames.org/gforum/posts/list/1619.page#7926</link>
				<pubDate><![CDATA[Thu, 17 Jun 2010 12:52:07]]> GMT</pubDate>
				<author><![CDATA[ arathi]]></author>
			</item>
	</channel>
</rss>