| Author |
Message |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 10/06/2006 16:28:39
|
Anonymous
|
first, thanks for such a great service! Badly needed and very much appreciated, thanks guys.
One thing I'd like to be able to to do is given a geonamesid for a location, look up it's parent locations to form a hierarchy. So if you have the id for a district of a town, you'd then be able to get the town itself, followed by the state, followed by the country.
is anything like this possible?
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 10/06/2006 16:39:16
|
noiv
Joined: 10/06/2006 16:36:57
Messages: 19
Location: ExploreOurPla.net
Offline
|
Anonymous wrote:
... you'd then be able to get the town itself, followed by the state, followed by the country.....
Cool idea, I second that!
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 11/06/2006 17:18:33
|
marc
Joined: 08/12/2005 07:39:47
Messages: 2183
Offline
|
I think we should be able to roll out a prototype with country and first order subdivision pretty soon. For more levels of the hierarchy we currently don't have enough information ready. For many countries it should be possible to derive it from other datasets. (US and Europe) For many other countries it will be difficult to get the necessary information.
Would you be interested in a prototype returning the country and the first subdivision (state/province)?
Marc
|
 |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 11/06/2006 19:52:30
|
Anonymous
|
hi marc
country and first subdivision would be brilliant. In fact, I'd say it would fit the requirements of most users. It's enough to differnetiate between ambiguous place names but not so much that it would cause an information overload for users.
thanks for your help
rick
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 13/06/2006 17:43:12
|
marc
Joined: 08/12/2005 07:39:47
Messages: 2183
Offline
|
Hi Rick
A first prototype for a hierarchy service is ready. Any comment is welcome.
Example :
http://ws.geonames.org/hierarchy?geonameId=1
It returns country, first subdivision and the geoname record itself. In this order.
Only about a third of all subdivisions are already mapped to their geoname id. If you can tell us which countries are important to you, I have a look at them and make sure these are mapped to their geonameId.
Marc
|
 |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 13/06/2006 23:17:01
|
noiv
Joined: 10/06/2006 16:36:57
Messages: 19
Location: ExploreOurPla.net
Offline
|
marc wrote:
... A first prototype for a hierarchy service is ready. ....
Wow, all tested IDs returned correct data.
Can I help to make the relation country -> contintent?
|
noiv - ExploreOurPla.net |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 16/06/2006 11:28:14
|
Anonymous
|
Thanks for this service, and want to mark, that needed also dump of this table with relations between countries, regions and cities.
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 16/06/2006 12:50:04
|
magesh
Joined: 16/06/2006 12:43:29
Messages: 1
Offline
|
Dear All,
I want to integrate the geonames website into my website.
but i havn't no idea for the basic step.
Please tell me the initial step to integrate the site with my own site.
Please help me to do that.
Thanks and regards,
Magesh.
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 16/06/2006 14:32:11
|
Anonymous
|
Marc
it works great. thanks for taking the time to do this. For me, the priority countries are all the english speaking ones, US, UK, Canada, Australia etc
magesh, which platform/language are you using on your site? PHP, ASP, Java or something else? You need to select the relevant web service from this page :
http://www.geonames.org/export/
and then use your platform or language to query the web service and process the resulting XML data
hth
alex
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 26/06/2006 20:20:20
|
marc
Joined: 08/12/2005 07:39:47
Messages: 2183
Offline
|
The hierarchy web service now returns the continent in the first position of the result. Example :
http://ws.geonames.org/hierarchy?geonameId=1
Marc
|
 |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 13/09/2006 18:16:56
|
Anonymous
|
As this is still undocumented, I just wanted to confirm that its OK to use this hierarchy webservice? As I have a really cool idea for a use of it!
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 13/09/2006 20:02:38
|
marc
Joined: 08/12/2005 07:39:47
Messages: 2183
Offline
|
Yes you can use the service. You can drop me an email (marc@geonames.org) so we can discuss it with you in case we would like to change something before officially releasing the service.
Marc
|
 |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 13/09/2006 21:28:58
|
barryhunter
![[Avatar]](/gforum/images/avatar/d09bf41544a3365a46c9077ebb5e35c3.jpg)
Joined: 13/09/2006 21:25:40
Messages: 21
Offline
|
Sorry that was me again, forgot I wasn't logged in... (found by refreshing the page eventually got a nice b/w captcha could read
I'm just about to try a using the service in a bit of testing, we see how get on, and will contact you before using it properly.
|
--
- www.nearby.org.uk - www.geograph.org.uk - |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 15/09/2006 15:42:01
|
noiv
Joined: 10/06/2006 16:36:57
Messages: 19
Location: ExploreOurPla.net
Offline
|
Wow, service is now more responsive and answer leaner.
|
noiv - ExploreOurPla.net |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 15/09/2006 15:44:44
|
marc
Joined: 08/12/2005 07:39:47
Messages: 2183
Offline
|
The service is now taking the style parameter (SHORT,MEDIUM,LONG,FULL) just like the other services.
Marc
|
 |
|
|
 |
|
|