GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
admin3Codes.txt AND admin4Codes.txt ??
Forum Index
->
General
Author
Message
31/07/2007 19:16:12
Subject:
admin3Codes.txt AND admin4Codes.txt ??
nrauni
Joined: 12/07/2007 15:45:50
Messages: 13
Offline
i need this files, It's available?
becuse this query no give me correctly all results.
SELECT * FROM `admincodes1` t1 LEFT JOIN admincodes2 t2 ON (t1.code = LEFT(t2.code, 5) ) WHERE t1.code like "FR.%" ;
it's right?
thank's
Nei
Nei Rauni Santos
03/08/2007 07:41:30
Subject:
Re:admin3Codes.txt AND admin4Codes.txt ??
marc
Joined: 08/12/2005 07:39:47
Messages: 4486
Offline
Hi Nei
These files are not (yet?) available. You can create them from the full exort with
select countrycode || '.' || admincode1 || '.' || admincode2 || '.' || admincode3, name from geoname where featurecode = 'ADM3'
and
select countrycode || '.' || admincode1 || '.' || admincode2 || '.' || admincode3name || '.' || admincode4, name from geoname where featurecode = 'ADM4'
Cheers
Marc
03/08/2007 15:26:05
Subject:
Re:admin3Codes.txt AND admin4Codes.txt ??
nrauni
Joined: 12/07/2007 15:45:50
Messages: 13
Offline
but, in geoname table has many rows that hasn't codes of admin3 and admin4
Nei Rauni Santos
04/08/2007 11:13:58
Subject:
Re:admin3Codes.txt AND admin4Codes.txt ??
marc
Joined: 08/12/2005 07:39:47
Messages: 4486
Offline
This is true. For many places we lack the information to which administrative division they belong to.
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