Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: current location weather using GPS?

  1. #1
    FLAC Nomader's Avatar
    Join Date
    Apr 2006
    Location
    Greece
    Posts
    1,294

    current location weather using GPS?

    what the title says... anyone has any idea?

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Provided you have:
    -gps2city plugin
    -zips.dat installed
    -GPS correctly configured in RR
    -No GPS application running (or use XPort)

    It should just be setting the localdatacaptureinterval=X setting to have it load the weather by current GPS city/location every X minutes. You should also be able to execute 'reloadweather' to load the weather from your current location if the above requirements are met.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  3. #3
    FLAC Nomader's Avatar
    Join Date
    Apr 2006
    Location
    Greece
    Posts
    1,294
    thanks, guino.. very interesting.. i will try that. The Zips.dat only includes USA coordinates, right? we need to find cities for the rest of the world...
    can u explain the format of the file eg:

    "00641","+18.250027","-066.698957","UTUADO","PR","UTUADO"

    a. the first is just a number? (EDIT: it is the US zip code..ok)
    b. longitude
    c. laatutude
    d. ????
    e. ???
    f. ???

    i just want city and country
    Last edited by Nomader; 08-26-2012 at 12:36 AM.

  4. #4
    FLAC Nomader's Avatar
    Join Date
    Apr 2006
    Location
    Greece
    Posts
    1,294
    ok i used the search button solved most of my problems!!
    never the less.. i have 1 question..
    i don't care about the zip codes of the country, what can i put instead of the zip codes to just ignore that..?

    EDIT: solved everything.. i created a zips.Dat for Greece

    here is a nice link for all countries (no zip codes i am afraid, only coordinates)
    http://www.world-gazetteer.com/
    Last edited by Nomader; 08-26-2012 at 03:00 AM.

  5. #5
    FLAC Nomader's Avatar
    Join Date
    Apr 2006
    Location
    Greece
    Posts
    1,294
    there's seems to be a unicode problem when the city is in greek, it works fine in RR and displays OK but the weather returns nothing when it refreshes
    "w_dnam"
    "w_tm"
    "w_lat"
    "w_lon"
    "w_sunr"
    "w_suns"
    etc
    return nothing.. they are not populated.. they only display when i select from a weather preset
    How does it search for weather? using CURRENTCITY? or CURRENTSTATE?
    Last edited by Nomader; 08-26-2012 at 09:24 AM.

  6. #6
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,870
    This is my .dat for the france !
    An another link:http://download.geonames.org/export/zip/
    Attached Files Attached Files

  7. #7
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    The weather plugin will search using: CURRENTCITY, CURRENTSTATE ... considering how wunderground works, I'd make sure CURRENTCITY returns the city name and that CURRENTSTATE always returns your COUNTRY NAME. (So it always searchs in the format: CITY, COUNTRY -- this is how international searches should be done)
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  8. #8
    FLAC Nomader's Avatar
    Join Date
    Apr 2006
    Location
    Greece
    Posts
    1,294
    thank you guys for your answers.. i will try and see.. even though weather underground is not very good in looking up small to medium greek cities..

  9. #9
    FLAC Nomader's Avatar
    Join Date
    Apr 2006
    Location
    Greece
    Posts
    1,294
    Yes, there is something wrong transfering the greek characters to WU.. i try the same search in WU web site and it finds the city OK.. But via RR No..
    changing the CURRENTCITY and CURRENTSTATE to English, works OK also.
    I have CURRENTSTATE=CURRENTCOUNTRY. Here is my zips.dat
    Zips.zip

    EDIT: It would be nice if we could choose how the weather plugin searches..(choose between, city, state, country)
    Last edited by Nomader; 08-27-2012 at 03:30 AM.

  10. #10
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,266
    1st question, did u test GPS2City?

    "currentcity"
    "currentstate"

    and so fourth?
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

Page 1 of 2 12 LastLast

Similar Threads

  1. Is it possible to use a non US location for weather
    By Aboliton in forum Road Runner
    Replies: 6
    Last Post: 05-23-2009, 01:03 AM
  2. Current location?
    By PontiacGA in forum GPS
    Replies: 0
    Last Post: 05-11-2007, 09:53 PM
  3. Save current location?
    By techy101 in forum StreetDeck
    Replies: 8
    Last Post: 03-03-2007, 08:16 PM
  4. Weather by Location
    By pshadwick in forum Road Runner
    Replies: 3
    Last Post: 04-03-2006, 11:34 AM
  5. copilot2003+saving current location
    By musicthebee in forum GPS
    Replies: 0
    Last Post: 06-10-2004, 11:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •