Get Latitude and Longitude for Counties?

Discussion in 'Google API' started by twalters84, Mar 17, 2009.

  1. #1
    Hey there,

    I am wondering if it is possible to send Google a county name and get the latitude and longitude for that county returned?

    http://maps.google.com/maps/geo?q=#address#&output=xml&key=#GMAP_KEY#
    Code (markup):
    I am use to passing full addresses using the address variable above. Is it possible just to send a county name?

    Thanks for any information.

    Sincerely,
    Travis Walters
     
    twalters84, Mar 17, 2009 IP
  2. eamiro

    eamiro Well-Known Member

    Messages:
    274
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    #2
    A country is often much wide ................ You want to get the coordinates of its center? I don't think it's possible.
     
    eamiro, Mar 19, 2009 IP
  3. twalters84

    twalters84 Peon

    Messages:
    514
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Of course it is possible.

    I have the average latitude and longitude of states, so why not counties. I also have the lats and longitudes of cities and zips.
     
    twalters84, Mar 19, 2009 IP
  4. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
  5. latestmasala.com

    latestmasala.com Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you can get it from natgeo.com
     
    latestmasala.com, Oct 12, 2009 IP
  6. xhanch

    xhanch Member

    Messages:
    683
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    35
    #6
    Is there any free web services for this one?
     
    xhanch, Oct 12, 2009 IP
  7. Sphinks

    Sphinks Active Member

    Messages:
    1,102
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    78
    #7
    I think he asked for COUNTY, not COUNTRY
     
    Sphinks, Oct 14, 2009 IP