| Author |
Message |
|
|
Hi etco
You are very clear and I fully understand now what you want to do. I am afraid, however, that there is no easy way for this. You will have to implement the filter on your end, as you suggest in the posting.
Cheers
Marc
|
 |
|
|
Hi Phil
There are many web services. For the search service the results are ranked by 'relevancy'.
Cheers
Marc
|
 |
|
|
Did you try the parameter 'style=FULL' ? This returns all information in the xml response : http://ws.geonames.org/search?q=buffalo&maxRows=10&style=FULL
Hope this helps
Marc
|
 |
|
|
I was not aware of this problem. I have checked and the boundary polygons are missing the codes for Nunavut and North West Territories. Instead they have a dummy code '06' which seems to stand for both territories. We will have to find better or more uptodate boundary information for Canada.
Cheers
Marc
|
 |
|
|
Thanks Mark. There is something wrong with some US timezones at some coordinates. I will look into the problem.
Marc
|
 |
|
|
Hi Jotta
This is pretty difficult and I am glad you want to help us out with it.
First we have to distinguish between Cities (feature class P) and administrative divisions (feature class A). This means we certainly have "Szolnok" the city, which is also the seat of the administrative division and therefore gets the feature class P and the feature code PPLA. Furthermore we have the administrative division "Jasz-Nagykun-Szolnok", which has the feature class A and the feature code ADM1.
So far there are no problems, but what is "Szolnok Megyei Város"? Gwillim Law from Statoids.com writes : "Hungary is divided into nineteen megyék (sing. megye; counties), one föváros (capital city), and 22 megyei jogu város (urban counties, county boroughs, cities of county right)." [1]. Both administrative divisions have a fips and an iso code [2] and [3]. So I think we should go with them and keep it as ADM1.
What do you think?
Regards
Marc
[1] http://statoids.com/uhu.html
[2] http://www.geonames.org/HU/administrative-division-hungary.html
[3] http://en.wikipedia.org/wiki/ISO_3166-2:HU
|
 |
|
|
You could wait some hundred milliseconds between requests to be nice with our server and let it also answer requests from other users.
Marc
|
 |
|
|
Hi Etco
There is no countryName parameter.
Why do you want to use a countryname parameter? Why don't you simply use the name parameter?
Cheers
Marc
|
 |
|
|
Hi
For only some thousand requests per month it might be the simplest thing to just use the web service.
Regards
Marc
|
 |
|
|
Hi Etco
There is an undocumented parameter 'name_startsWith' for this kind of query :
http://ws.geonames.org/searchJSON?name_startsWith=neth&featureCode=PCLI
You get Italy for searches with 'Bel' because Italy is often called 'Bel Paese' and this name is among the alternate names.
Regards
Marc
|
 |
|
|
Hi
There are two different data sets. One is searching on the postal code data set and the other on the general place name data set.
There are two different search pages on the web site and also two different API services.
Regards
Marc
|
 |
|
|
Thanks Randy, I will delete it.
Marc
|
 |
|
|
There is no time frame yet for this task.
Marc
|
 |
|
|
Hallo Martin
Ich glaube nicht dass man hier von 'völlig falsch' sprechen kann. Die Ortsnamen werden auf Googlemaps nicht angezeigt, was nicht heisst, dass sie nicht existieren.
Ich bin nicht aus dieser Region, gemäss Wikipedia wurde Sankt Georgen aus den drei Dörfern Uffhausen, Wendlingen und Sankt Georgen gebildet :
http://de.wikipedia.org/wiki/Sankt_Georgen_(Freiburg)
GeoNames enthält schlicht mehr Daten als GoogleMaps.
Da es für Deutschland noch relativ wenig frei Daten gibt verwenden wir hier die Daten der US Armee. Diese Koordinaten sind häufig gerunden was zu einer Häufung führt. Für 99% der Applikationen ist dieser Rundungsfehler nicht dramatisch. Von Masse statt Klasse zu sprechen scheint mir nicht angebracht.
Marc
|
 |
|
|
Die Daten für Deutschland haben wir (sind schliesslich nur 16 Bundesländer : http://www.geonames.org/DE/administrative-division-germany.html), woran wir noch arbeiten sind die ISO 3166-2 codes für so viele Länder wie möglich bevor wir wechseln. Es ist mir nicht bekannt, dass die opengeodb diese Daten enthält.
Gruss
Marc
|
 |
|
|
Thanks, I have moved the Place to its correct position in Germany.
Marc
|
 |
|
|
for postgresql I use this statement :
Code:
create table country (
iso char(2),
isoalpha char(3),
isonum int,
fips varchar(3),
name varchar(100),
capital varchar(100),
area float,
population int,
continent varchar(2),
languages varchar(100),
currency varchar(3),
geonameid int
);
hope it helps
Marc
|
 |
|
|
Sure, we plan to include the relation city-hotel in the dump. Together with other city relations like section of populated places, postal codes, points of interests, ...
Marc
|
 |
|
|
Following a suggestion made by Keitz, I have added a new feature code S.LIBR for 'Library' and updated all records of featurecode S.BLDG with the string 'library' in their name to the new feature code (ca 7000).
Regards
Marc
|
 |
|
|
Hi Tim
The service is based on polygon boundaries. Search the web for the boundaries of your interest. For the US there is plenty of information available.
Regards
Marc
|
 |
|
|