GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Getting Data based upon zoomLevel  XML
Forum Index -> General
Author Message
oliverdb



Joined: 15/06/2012 00:39:10
Messages: 4
Offline

Hey I am struggling with a bit with a problem. I want to divide a world-map into 5 zoom levels.

1. Earth/continents (CONT,AREA)
Service returns earth and continents

2) country(ADM1,PCLF,PCLI)
Service returns countries (within a boundingbox)

3) County(ADM2)
Service returns counties (within a boundingbox)

4) City(ADM3,PPL)
Service returns cities (within a boundingbox)

5) Neighbourhood /place(PPLX,PPLA2,PPLA,PPLA3,PPLQ,PPLA4,PPLC)
Service returns places (within a boundingbox)


I was thinking of using the Search feature for this, since it got a boundingbox feature. But I have following questions


1) What does the search parameter east,west,north,south means, is it (lng,lng,lat,lat)?

2) Is it on purpose the boundingbox feature is not exposed in the Java client lib?

3) Which featurecodes should I use on the different levels, for the best result? (I wrote the one I have now in parentheses)

Thankyou

Oliver Billing

daishi



Joined: 07/02/2013 12:32:59
Messages: 1
Offline

Hi @oliverdb,

Did you manage to find an answer to your question ?

I think that I am facing the same need.

The difference is that I am trying to display different level of details according to the zoom level, but only by reading the geonames downloadable files (from http://download.geonames.org/export/dump/), not using any other services.

Do you think it's possible ? Do you think the 'adminN code' and 'dem' fields could be used for doing that ?

 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team