| Author |
Message |
|
|
What's wrong with the readme and the xml file?
Marc
|
 |
|
|
I have added the field continentCode to the xml response. You can now use the search web service with the featureCode 'CONT' :
http://ws.geonames.org/search?q=cont&featureCode=CONT&style=full
Marc
|
 |
|
|
I have heard of this kind of problem with Excel before, though I don't know the reason nor a solution.
Marc
|
 |
|
|
You can use the hierarchy web services as Christophe said in the other thread or you can implement the services yourself. In any case you really have to sit down, read the documentation and understand the self reference and the feature codes. Or higher someone to do it for you if you don't want to do it yourself.
Marc
|
 |
|
|
Andrew
The search service does all this and much more :
http://www.geonames.org/export/geonames-search.html
Marc
|
 |
|
|
Wasem
The file allCountries is self referencing. You can extract hierarchy from the file, but you will have to understand the meaning of the feature codes :
http://www.geonames.org/export/codes.html
Marc
|
 |
|
|
Hi Wasem
GeoTree is using the GeoNames database and the hierarchy can be extracted as discussed here : http://forum.geonames.org/gforum/posts/list/852.page
You don't have to create new threads for the same topic.
Marc
|
 |
|
|
Pieter
Dutch is not among the supported languages, adding the language parameter and the domain name are not going to make a difference.
The natural language converter will look at the text as if it where English and probably not understand anything.
Instead of adding the parameter 'nl' you could try 'de', if you are lucky the German conversion works better for Dutch then English.
Marc
|
 |
|
|
Latitude and Longitude describe a point. The only operator available is 'distance', 'inside' or 'outside' are not available for points.
Marc
|
 |
|
|
If you want to do it with the dump you will have to look at the columns countrycode, and admincode1 to admincode4. The respective administrative division have the featurecode ADM1 to ADM4, or PCLI for the countries.
Marc
|
 |
|
|
Don
The dump contains lat/lng centroids. For some regions we have polygon data boundaries we use for the web service, distance zero means it is within the polygon.
Marc
|
 |
|
|
'AE' stands for 'United Arab Emirates' and ar-AE for Arabic in the local form spoken in the United Arab Emirates.
Marc
|
 |
|
|
Sam wrote:
is this indicate number of language spoeknin that country?
Yes.
You can get the language names from the iso-languagecodes.txt file in the dump directory:
http://download.geonames.org/export/dump/iso-languagecodes.txt
Marc
|
 |
|
|
No language code means that we don't know. Usually, but not necessarily, it is an international name.
Marc
|
 |
|
|
GeoNames is using the ISO 4217 three letter currency code.
The GeoNames documentation says :
source : http://download.geonames.org/export/dump/countryInfo.txt
# Currencies :
# ============
#
# A number of territories are not included in ISO 4217, because their currencies are not per se an independent currency,
# but a variant of another currency. These currencies are:
#
# 1. FO : Faroese krona (1:1 pegged to the Danish krone)
# 2. GG : Guernsey pound (1:1 pegged to the pound sterling)
# 3. JE : Jersey pound (1:1 pegged to the pound sterling)
# 4. IM : Isle of Man pound (1:1 pegged to the pound sterling)
# 5. TV : Tuvaluan dollar (1:1 pegged to the Australian dollar).
# 6. CK : Cook Islands dollar (1:1 pegged to the New Zealand dollar).
#
# The following non-ISO codes are, however, sometimes used: "GGP" for the Guernsey pound",
# "JEP" for the Jersey pound and "IMP" for the Isle of Man pound (http://en.wikipedia.org/wiki/ISO_4217)
#
#
# A list of currency symbols is available here : http://forum.geonames.org/gforum/posts/list/437.page
Marc
|
 |
|
|
Johannes Beck has written a how to :
http://johanneskebeck.spaces.live.com/Blog/cns!42E1F70205EC8A96!3782.entry
New 15. Jan 2009: load the GeoNames locations into SQL Server Spatial
http://blogs.msdn.com/edkatibah/archive/2009/01/13/loading-geonames-data-into-sql-server-2008-yet-another-way.aspx
There are also some threads in the GeoNames forum :
http://forum.geonames.org/gforum/posts/list/817.page
http://forum.geonames.org/gforum/posts/list/88.page
http://forum.geonames.org/gforum/posts/list/673.page
Marc
|
 |
|
|
Every GeoNames user can tag places with the map interface. There is a link called 'tag' on the info window balloon.
This tagging system could be used as a multidimensional categorization system. The tags are searchable and included in the daily dump.
|
 |
|
|
I have rerun the reverse geocoder some days ago. If you have get the file some time ago then it might be better to get the newest version.
Marc
|
 |
|
|
The duplicates have been an error. I have removed them from the database.
For the get service it would be easy to add the alternateNameId, but we would like to have the same information in all services and this would requires some changes. To update your local database it might be better to download the database dump.
Marc
|
 |
|
|
shayanlinux wrote:
I guess I found it :
http://download.geonames.org/export/dump/admin1Codes.txt
Nearly. The feature codes are here
http://download.geonames.org/export/dump/featureCodes.txt
Or here in html :
http://www.geonames.org/export/codes.html
|
 |
|
|