<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Perform exact match with city, state and country"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Perform exact match with city, state and country"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Perform exact match with city, state and country</title>
				<description><![CDATA[ Hello,

I am trying to perform an exact match based on the city, state (region) and country so that I will get only one result back. (Greenwich,Connecticut,US)
However, I finding difficulties in setting the region or the state in my search query. I am using the name_equals for the city name and country to pass the country code.

Can some one please help me to pass the state(region) correctly to get the result?

Thanks]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4373.page#12691</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4373.page#12691</link>
				<pubDate><![CDATA[Sun, 25 Aug 2013 09:33:43]]> GMT</pubDate>
				<author><![CDATA[ vinny]]></author>
			</item>
			<item>
				<title>Re:Perform exact match with city, state and country</title>
				<description><![CDATA[ you need to pass the adminCode(x) parameters:

http://www.geonames.org/export/geonames-search.html]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4373.page#12698</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4373.page#12698</link>
				<pubDate><![CDATA[Sun, 25 Aug 2013 09:43:47]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Perform exact match with city, state and country</title>
				<description><![CDATA[ Hi Marc,

Thanks a lot for your response. Yes the adminCode param worked. However, I find it very easy with US states since the admincode for state are same as the states short names. However, internationally, I am finding issue since the admin code looks more like an internal id number like 07 etc.

Is there any best practice I can pass the admin code as the state short name or the full state name rather than passing in a code like 07?

Thanks
  Vinny]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4373.page#12730</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4373.page#12730</link>
				<pubDate><![CDATA[Thu, 5 Sep 2013 07:30:43]]> GMT</pubDate>
				<author><![CDATA[ vinny]]></author>
			</item>
	</channel>
</rss>