it's weird.

below is the tiny url for geonames xml service for subcontinent region
but it's returning cities which are not even on browser view:

http://tinyurl.com/mapSource1

following is the code

http://pastebin.com/m75d96cd5


On Jan 9, 1:38 am, Adynan <[email protected]> wrote:
> Thanks a bunch Larry!!
>
> On Jan 9, 12:17 am, "[email protected]" <[email protected]>
> wrote:
>
> > On Jan 8, 10:48 am, Adynan <[email protected]> wrote:
>
> > > No i am not being able to figure out. sorry :/
>
> > > if lang and lat of NE is (n1,n2) respectively then
>
> > latitude is N/S
> > longitude is E/W
>
> > Northmost latitude: north = .getNorthEast().lat()
> > Eastmost longitude: east = .getNorthEast().lng()
>
> > Southmost latitude: south = .getSouthWest().lat()
> > Westmost longitude: west = .getSouthWest().lng()
>
> >   -- Larry
>
> > > On Jan 7, 11:22 pm, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > On Jan 7, 10:00 am, Adynan <[email protected]> wrote:
>
> > > > > I think I did not get it.
>
> > > > > Yes I do know about methods you mentioned but will these methods
> > > > > return a single point? How would I know which point do I i have to set
> > > > > for "South" and which for "West"?
>
> > > > If you have a latitude and longitude which defines the NorthEast
> > > > corner of the bounding box, what is the northmost latitude of the
> > > > bounding box?  What is the eastmost longitude?
>
> > > > NW ---------- NE
> > > > |                  |
> > > > SW ---------- SE
>
> > > >   -- Larry
>
> > > > > Can you provide an example for better elaboration?
>
> > > > > Thanks
>
> > > > > /A
>
> > > > > On Jan 7, 10:35 pm, "[email protected]" <[email protected]>
> > > > > wrote:
>
> > > > > > On Jan 7, 9:29 am, Adynan <[email protected]> wrote:
>
> > > > > > > Hi again,
>
> > > > > > > I just discovered world cities service by Geonames:
>
> > > > > > >http://www.geonames.org/export/JSON-webservices.html#citiesJSONwhich
> > > > > > > takes following parameters:
>
> > > > > > > north,south,east,west : coordinates of bounding box
>
> > > > > > > How can i map getBounds() return coordinates into mentioned
> > > > > > > directions?
>
> > > > > >http://code.google.com/apis/maps/documentation/reference.html#GLatLng...
>
> > > > > > Lists these 
> > > > > > methods:http://code.google.com/apis/maps/documentation/reference.html#GLatLng......
>
> > > > > > > On Dec 28 2008, 8:49 pm, Adynan <[email protected]> wrote:
>
> > > > > > > > Thanks John,I think manual system will be required anyway.
>
> > > > > > > > Regards,
>
> > > > > > > > /A
> > > > > > > > On Dec 28, 8:30 pm, "maps.huge.info [Maps API Guru]"
>
> > > > > > > > <[email protected]> wrote:
> > > > > > > > > There's no guaranteed way to determine what cities are being 
> > > > > > > > > displayed
> > > > > > > > > at any particular zoom level. You could generalize that 
> > > > > > > > > cities of
> > > > > > > > > certain population are being displayed at each zoom, but that 
> > > > > > > > > would
> > > > > > > > > not work for sparstely or heavily populated areas equally. 
> > > > > > > > > Essentially,
> > > > > > > > > you're stuck with either an imperfect solution or a manually 
> > > > > > > > > derived
> > > > > > > > > one.
>
> > > > > > > > > Geonames.org does have population figures for world cities, 
> > > > > > > > > so that
> > > > > > > > > should help somewhat. The data on their site is available as a
> > > > > > > > > download, so you can build your own database and process it 
> > > > > > > > > as you
> > > > > > > > > like.
>
> > > > > > > > > -John Coryat
>
> > > > > > > > >http://maps.huge.info
>
> > > > > > > > >http://www.usnaviguide.com-Hidequotedtext-
>
> > > > > > > - Show quoted text -- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to