Announcement

Collapse
No announcement yet.

current location weather using GPS?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • current location weather using GPS?

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

  • #2
    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."

    Comment


    • #3
      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-25-2012, 11:36 PM.

      Comment


      • #4
        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, 02:00 AM.

        Comment


        • #5
          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, 08:24 AM.

          Comment


          • #6
            This is my .dat for the france !
            An another link:http://download.geonames.org/export/zip/
            Attached Files
            Last edited by pierrotm777; 08-26-2012, 10:44 AM.

            Comment


            • #7
              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."

              Comment


              • #8
                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..

                Comment


                • #9
                  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, 02:30 AM.

                  Comment


                  • #10
                    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

                    Comment


                    • #11
                      and then forgetting gps2city, when you just set up a location in Weather plugin, does it work?
                      -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

                      Comment


                      • #12
                        hey mate, it has been a long time..
                        of course i am using gps2city... and it works wonderfully in RR displaying all Labels even in unicode, (great job by the way).
                        weather does not work when using a greek language text in rr.ini as default preset.

                        Comment


                        • #13
                          im not sure RR.ini is unicode... prob is thou

                          check it... read the vars in skintool

                          "CityWeather"
                          "CityWeatherID"

                          etc
                          -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

                          Comment


                          • #14
                            yes they display the unicode information correctly.. (when using greek text)
                            cityweatherid shows what i have selected in rr.ini..
                            so i guess rr.ini is unicode, i remember you did that a year or two back

                            Comment


                            • #15
                              yep... then it should make it into weather plugin just fine
                              -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

                              Comment

                              Working...
                              X