<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "postalCodeSearch: place name language, and accented characters"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/7.page</link>
		<description><![CDATA[Latest messages posted in the topic "postalCodeSearch: place name language, and accented characters"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>postalCodeSearch: place name language, and accented characters</title>
				<description><![CDATA[ noticed behavior of the http://www.geonames.org/export/web-services.html#postalCodeSearch

when searching for place names (placename_startsWith) it only looks in one field which contains the primary spelling of the place name in the primary local language. 

examples from switzerland: 
 - Fribourg (no match for Freiburg)
 - Genève (no match for Genf)

also, accents must match:
 - Geneve finds nothing
 - Zurich finds nothing

in contrast to this, the http://api.geonames.org/search service does match
 - accented characters vs. us-ascii. maybe that's done with additional fields with the spelling in us-ascii, i don't know
 - multiple languages (genf/geneve/genève) etc.

my use case:
a search form with an optional geo search attribute. the user can select a place as a search criteria, and only nearby records are shown. selecting the place works by typing a zip code and/or place name, and then selecting one of the offerings. 
the 'postalCodeSearch' seems to be the correct web service for this: it offers searching by post code, or by place name, and returns the coordinates.
the 'search' service does not allow searching by post code, and does not return post codes either. so when looking for a place name like 'Pfäffikon' much more post processing needs to be done (filtering, and finding the zip code). 
combining multiple api methods and firing multiple calls for one search to get the data that i need sounds like a pain.

it would be great if the 'postalCodeSearch' was behaving like the 'search' service.
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2716.page#9765</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2716.page#9765</link>
				<pubDate><![CDATA[Mon, 30 May 2011 16:20:24]]> GMT</pubDate>
				<author><![CDATA[ gonfi]]></author>
			</item>
			<item>
				<title>Re:postalCodeSearch: place name language, and accented characters</title>
				<description><![CDATA[ I confirm that :

placename_startsWith=<b>Genèv</b> returns Genève
placename_startsWith=<b>Genev</b> returns nothing :-(

@Marc: any idea how to fix this ?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2716.page#10440</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2716.page#10440</link>
				<pubDate><![CDATA[Fri, 23 Sep 2011 23:09:21]]> GMT</pubDate>
				<author><![CDATA[ geotree]]></author>
			</item>
			<item>
				<title>Re:postalCodeSearch: place name language, and accented characters</title>
				<description><![CDATA[ Thanks Christophe. 

The placename_startsWith was an issue on the server side. The service now does a conversion to ascii for this parameter and will find the places.

The translations to other languages are not yet implemented in the postal code search. This is still on the todo list.

Best Regards

Marc
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/2716.page#10460</guid>
				<link>http://forum.geonames.org/gforum/posts/list/2716.page#10460</link>
				<pubDate><![CDATA[Sun, 25 Sep 2011 08:52:29]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>