GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
what is <score> tag?
Forum Index
->
General
Author
Message
25/11/2009 06:37:00
Subject:
what is <score> tag?
mdhaman
Joined: 25/11/2009 06:28:19
Messages: 3
Offline
Can somebody explain what is <score> tag? How the value is derived?
Is this available in data dumps?
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
- <geonames style="FULL">
<totalResultsCount>11</totalResultsCount>
- <geoname>
<name>Cooma</name>
<lat>-36.2333333</lat>
<lng>149.1333333</lng>
<geonameId>2170577</geonameId>
<countryCode>AU</countryCode>
<countryName>Australia</countryName>
<fcl>P</fcl>
<fcode>PPL</fcode>
<fclName>city, village,...</fclName>
<fcodeName>populated place</fcodeName>
<population>6520</population>
<alternateNames>Comma</alternateNames>
<elevation />
<continentCode>OC</continentCode>
<adminCode1>02</adminCode1>
<adminName1>New South Wales</adminName1>
<adminCode2 />
<adminName2 />
<timezone dstOffset="10.0" gmtOffset="11.0">Australia/Sydney</timezone>
<score>1.0</score>
</geoname>
- <geoname>
<name>Cooma Creek</name>
<lat>-21.5166667</lat>
<lng>143.1333333</lng>
<geonameId>2170574</geonameId>
<countryCode>AU</countryCode>
<countryName>Australia</countryName>
<fcl>H</fcl>
<fcode>STM</fcode>
<fclName>stream, lake, ...</fclName>
<fcodeName>stream</fcodeName>
<population />
<alternateNames />
<elevation />
<continentCode>OC</continentCode>
<adminCode1>04</adminCode1>
<adminName1>Queensland</adminName1>
<adminCode2 />
<adminName2 />
<timezone dstOffset="10.0" gmtOffset="10.0">Australia/Brisbane</timezone>
<score>0.8333333730697632</score>
</geoname>
25/11/2009 22:02:52
Subject:
Re:what is <score> tag?
marc
Joined: 08/12/2005 07:39:47
Messages: 4416
Offline
The score is a value that specifies how much the search term is matched by the place and therefore only available for the search. It can be used to determine whether the result is above a threshold.
Marc
27/09/2010 11:53:44
Subject:
Re:what is <score> tag?
hellboy
Joined: 18/05/2010 12:13:56
Messages: 9
Offline
Is there possible to use min score filtering instead of maxRows=..
i.e. show only item with score >=0,5
Thanks
29/09/2010 07:02:14
Subject:
Re:what is <score> tag?
marc
Joined: 08/12/2005 07:39:47
Messages: 4416
Offline
this is currently not supported. You have to filter it on your end.
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