GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
Troubling irregularities with search results
Forum Index
->
General
Author
Message
07/11/2010 18:47:10
Subject:
Troubling irregularities with search results
ftrudeau
Joined: 07/11/2010 18:35:43
Messages: 2
Offline
Hello,
I noticed some troubling irregularities using GeoNames Search Webservice, more specifically when searching for places that contains an apostrophe.
For instance,
107 results (right)
[url]http://ws.geonames.org/searchJSON?lang=fr&style=short&featureClass=P&featureCode=PPL&country=CA&adminCode1=10&name_startsWith=L
107 results (wrong)
http://ws.geonames.org/searchJSON?lang=fr&style=short&featureClass=P&featureCode=PPL&country=CA&adminCode1=10&name_startsWith=L'
0 result (wrong)
http://ws.geonames.org/searchJSON?lang=fr&style=short&featureClass=P&featureCode=PPL&country=CA&adminCode1=10&name_startsWith=L'A
1 result (right)
http://ws.geonames.org/searchJSON?lang=fr&style=short&featureClass=P&featureCode=PPL&country=CA&adminCode1=10&name_startsWith=L'Assompt
Is there a problem with the query in the first place ? If someone could shed light on this, that would be much appreciated.
Thank you.
08/11/2010 14:16:45
Subject:
Re:Troubling irregularities with search results
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
Thanks. There was an issue with apostrophes.
Best
Marc
08/11/2010 14:57:00
Subject:
Re:Troubling irregularities with search results
ftrudeau
Joined: 07/11/2010 18:35:43
Messages: 2
Offline
Ah! Works perfectly now.
Thanks Marc.
Forum Index
->
General
Go to:
Select a forum
Forum in English
-------------
General
Administrative Divisions
FAQ - frequently asked questions
Postal Codes
Discussion of GeoNames Toponyms
Forum in other language
-------------
Forum in Deutsch
Powered by
JForum 2.1.5
©
JForum Team
info@geonames.org
GeoNames Home
Postal Codes
Download / Webservice
Forum
About