GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Which differences betwween 2 tuples  XML
Forum Index -> General
Author Message
guy.dl



Joined: 18/04/2011 16:56:31
Messages: 6
Offline

Hello
I search about a city in Belgium and I receive 2 lines
I not understand which is the correct line
Regards
Guy
geonames=# SELECT * FROM geoname WHERE name = 'Lincent';
geonameid | name | asciiname | alternatenames | latitude | longitude | fclass | fcode | country | cc2 | admin1 | admin2 | admin3 | admin4 | population | elevation | gtopo30 | timezone | moddate
-----------+---------+-----------+----------------+----------+-----------+--------+-------+---------+-----+--------+--------+--------+--------+------------+-----------+---------+-----------------+------------
2792332 | Lincent | Lincent | Lijsem,Lincent | 50.71222 | 5.03654 | P | PPLA4 | BE | | WAL | WLG | 64 | 64047 | 2884 | | 101 | Europe/Brussels | 2011-03-15
2792333 | Lincent | Lincent | Lijsem,Lincent | 50.71233 | 5.03878 | A | ADM4 | BE | BE | WAL | WLG | 64 | 64047 | 3182 | | 101 | Europe/Brussels | 2011-03-15
marc



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

One is the city (PPLA4) and the other is the administrative division (ADM4). The administrative division may be responsible for several populated places, imagine a small village that is also administered by the same administration but is a different settlement. The 'A' records are about the administration in a country and the 'P' records about the settlements.

Best Regards

Marc

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