GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
what is <score> tag?  XML
Forum Index -> General
Author Message
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>

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

[WWW]
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
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

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team