| Author |
Message |
|
|
If you want to retrieve all the records you will have to download the dump to your computer and work with it locally. The API is accessing the webservice and only returns a finite number of rows per request. (set with maxRows and startRow)
Marc
|
 |
|
|
You have to set the style to 'FULL' if you want to access more parameters. The method is accessing the web services and does not stream. If only gets a certain number of rows. You can set the number of rows and you will have to implement paging if you want to access more records.
Marc
|
 |
|
|
We don't have neighbourhood boundary data for this area and all we can do is to return the closest city center. According to the data from US Geological Survey this is 'Berkley'.
Marc
|
 |
|
|
It depends on which 'Washington' you are looking for.
Marc
|
 |
|
|
Sam
Parsing is not an issue. The question is what you want to do with the data you have parsed. The processing after the parsing is usually more critical. And for most applications you don't have to parse it at all and simply load the data into a database. See the faq section of the forum for details.
Marc
|
 |
|
|
You could filter the records you need your self of use the findNearby service and restrict it with the correct feature codes.
Marc
|
 |
|
|
Rakesh
PPL is correct, together with PPLA and PPLC.
This is a mainly a problem with a handful of entries in Bangalore. The entries with the wrong feature codes have all been created by the same user. He promised me to fix the problem, but it seems he has not yet done so.
Please feel free to correct the erroneous feature codes yourself.
Marc
|
 |
|
|
the file admin2Codes.txt has the Format :
concatenated codes
name
asciiname
geonameId
Marc
|
 |
|
|
Sam
What is the geonames feed? I am not sure what you mean. Do you mean the dump? Or the web services?
Marc
|
 |
|
|
Hi Navimap
I have fixed the web services, it returns now the cities as children of ADM4. In fact it first tries to get the admins of the next level and if it does not find anything it returns the cities in the same admin division.
Marc
|
 |
|
|
The hierarchy is as follows :
- continent
- country
- adm 1 (state in the US)
- adm 2 (county in the US)
- adm 3
- adm 4
Not all countries have four levels, some like the US have only two, others have three.
|
 |
|
|
Hi Tieum
Are we speaking about this entry in our database :
http://www.geonames.org/4985744/berkley.html ?
Google has it more or less at the same place, and there is also a wikipedia entry about Berkley, MI :
http://en.wikipedia.org/wiki/Berkley%2C_Michigan
Marc
|
 |
|
|
Sam
The hierarchy is in the columns countryCode,admin1code, admin2code, etc
The information is not complete but all we have.
If you find missing information you can add it with the edit interface on our website : http://www.geonames.org/manual.html
Marc
|
 |
|
|
Hi occ
admin3 and admin4 are not filled for the US in our database. I don't know your 'Chestnut Hill' and which one you are referring to. If you only care about larger populated places you could look at the population and forget all small villages and places without population. (make sure to keep PPLC and PPLA in any case, even if their is no population information).
Marc
|
 |
|
|
We update the weather data once per hour.
I have checked the log files for error messages and found some problems with character encodings. I have thus changed the import code to convert the METAR reports to ascii before importing.
Marc
|
 |
|
|
Caslino
The geonameid is the way to link the two files. Please make sure you are joining the right column.
Marc
|
 |
|
|
'P' means city or village and 'A' means administrative division like 'states' or 'counties' in the US : http://www.geonames.org/export/codes.html
'Chestnut Hill' seems to be a very common name for places in Pennsylvania. This is the reason you find several entries. Place names are not unique and they even occur more frequently in the same areas.
Marc
|
 |
|
|
Hi Caslino
The 'alternateName.txt' file contains over 1200 names in Greek for places in Greece. What makes you think there are not places in Greece in the file?
Marc
|
 |
|
|
Michael
Die Wetterdaten verwenden das METAR (MÉTéorologique ("Weather") Aviation Régulière) Datenformat. Du kannst uns helfen die codes auf Deutsch zu übersetzen :
http://forum.geonames.org/gforum/posts/list/28.page
Marc
|
 |
|
|
Sam
You need to put the jar file for jdom in your classpath.
You can download it from here (see in the section "requirements")
http://www.geonames.org/source-code/
Or from the jdom.org website :
http://www.jdom.org/
Marc
|
 |
|
|