GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
perma link and first 50 objects  XML
Forum Index -> General
Author Message
geotree


[Avatar]
Joined: 23/07/2007 18:28:40
Messages: 138
Location: France
Offline

Let's open an ADM1 perma link :
http://www.geonames.org/3027257/
then click on 'refresh' link to display all features in area.

The first 50 objects listed are 50 PPL from Germany

What I suggest to be more user-friendly :
when there is more than 50 objects, to show in this order :
1/ objects from same code (here ADM1)
2/ objects from same class (here A)
3/ others

Christophe



Christophe
geotree.geonames.org
geotree.geonames.org/geotree.html
[WWW]
marc



Joined: 08/12/2005 07:39:47
Messages: 4486
Offline

You are right, this is not optimal. Sorting the records by relevancy unfortunately would come with a performance penalty. Returning randomly the first records returned from the database is comparatively fast.

Cheers

Marc

[WWW]
geotree


[Avatar]
Joined: 23/07/2007 18:28:40
Messages: 138
Location: France
Offline

Ideas :

What about inserting "siblings" to the top of the list ?
Would this decrease performance ?

You may also check only current class in the left frame
(today all boxes have default status : checked)

Christophe

Christophe
geotree.geonames.org
geotree.geonames.org/geotree.html
[WWW]
marc



Joined: 08/12/2005 07:39:47
Messages: 4486
Offline

You are absolutely right, we could and should make use of the hierarchy web services on our own site. It will become mandatory if we want to make hierarchy information editable like the relation between a PPL and its PPLX.

Marc

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