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

Thread: Request: SaveLocation

  1. #1
    Low Bitrate
    Join Date
    Oct 2006
    Posts
    103

    Request: SaveLocation

    I'm in the process of switching/learning RR, but have a request for a plugin to save my location to a CSV file.

    What I need is something like this:
    • Just before I pull into a new location, I open the plugin from RR
    • The plugin would show my info, along with a button to "lock" in the coordinates
    • Once it's "locked", I could then enter any needed info, mainly the name of the location and the city I'm in (I can manually type both of these)
    • I can then hit the "save" button to write to a specified file (If possible, disable "save" until coordinates are locked and any manually requested data has been entered) - Once written, pop up a window stating it's been saved with an "Ok" button. After this, exit the plugin
    • Include a "cancel" button to exit out of the plugin


    The reason for the "lock" is that many times I can't stop and enter the name of where I am until I've driven around in their parking lot, some of which can be over a mile across.

    Someone wrote a plugin for me for Centrafuse that was about 95% perfect for this. However, they don't seem to be active with CF any longer, meaning I can't use the plugin with the latest CF release.

    The CF version allowed for a custom format, such as this: %long, %lat, %1 (%2), where %long=longitude, %lat=latitude, %1=Name and %2=City.

    Here's a link to the original CF plugin to get more info: http://forums.fluxmedia.net/download...e-location-55/

    Suggested "built in" fields:
    • %lng - Longitude
    • %lat - Latitude
    • %time - Current time (24hr format)
    • %date - Current date (yyyy-mm-dd format)
    • %1-%9 - Custom user-specified data fields

    If possible to pull data from internet connection (or other):
    • %address - Current street address
    • %city - Current city
    • %state - Current state


    Hope someone can help me out on this one. I've been missing this plugin for months and hating life now.
    Last edited by Malaki86; 04-21-2011 at 07:03 AM.

  2. #2
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,613
    he he

    My FuelPrices plugin has something similar to this as a sub function, although it saves the info it needs only for itself later.


    Might be able to do a spin off.



    I remember seeing your original request for this on CF and diablo beat me to it.

  3. #3
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,613
    Should have something for you to test tomorrow.

    It will be basic save GPS with a name.

    If it works for you then we can look into making it more customiseable.

  4. #4
    Low Bitrate
    Join Date
    Oct 2006
    Posts
    103
    Ok - cool - ty in advance

  5. #5

  6. #6
    Low Bitrate
    Join Date
    Oct 2006
    Posts
    103
    No rush. I'm at home until Wednesday (vacation, finally).

  7. #7
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,613
    OK here goes Alpha 1


    It's built basically on the model you requested.

    Further expansion will include one touch POI creation for specific types, ie Speed Cameras

    Currently saves in CSV format, but future versions will have a choice, ie KML etc for navigation programs.



    Installation
    ------------

    Extract to your RideRunner folder, you should now have a folder called RRSavePOI.

    Run register.bat.


    Carwing files are included and will be copied to riderunner\skins\Carwings_Dynamic_Lite\

    Read skincommands.txt for a list of skin commands



    Running
    -------

    You will need to add a button with the code rrsp, this will bring up the RRsavePoi screen.

    Lock - locks the current GPS coords and display time and date it was done.
    Save - will bring up the OSk and allow you to enter a description.
    Clear - clears the locked GPS coords.


    If you press save without first pressing lock the coords saved will be those that are displayed on pressing save.




    Settings
    --------

    SavePOI.ini


    GPSOveride=true - Overide GPS signal validation
    SavePath= - Path to save poi file (Default is Application Data Path)
    Filename=poi.csv - Filename of poi file (Defualt is poi.csv)
    FileFormat=%date|%time|%lat|%lon|%1 Elements to have in file and order
    Attached Files Attached Files

  8. #8
    Low Bitrate
    Join Date
    Oct 2006
    Posts
    103
    Downloading now - really won't be able to thoroughly test until after Wednesday.

    Major thanks

    Edit:

    FileFormat=%date|%time|%lat|%lon|%1

    Are the |'s replaced by comma's when the file is written, or does it write it exactly as shown? Meaning, if I change to this:
    FileFormat=%lat,%lon,%1 (%2),%date,%time
    Will it write it in that format? (%1=name, %2=city)

    Edit2:
    When I installed RR, it put the carwing skin folder and it's plugins in my documents folder. I extracted the files to that location, but RR isn't seeing it. I then tried putting it in the main RR folder, but no-go there either. Neither location is showing it in the plugin manager screen. Do I need to do anything else? I'm still really new at RR, so please be gentle.

    Edit3:
    I figured out how to get the plugin to show in RR (edited the ExecTBL.ini file). It shows up fine, but I don't have a GPS puck on the home pc. Might have to go snag a spare out of the truck. Looks like I can't do a test without the gps hooked up. Even if I remove the %lat & %lon from the fileformat, it won't do anything when I try to save.
    Last edited by Malaki86; 04-25-2011 at 07:43 AM.

  9. #9
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,613
    in the ini file the '|'s are just my separating characters.

    When written to the CSV the items are separated by ','s



    OK, so you are running in profile mode.

    You will need to extract twice then.

    Once to the riderunner folder in program files.

    and once to the riderunner folder in your documents folder.


    *edit, you will also need to run the register.bat found in the program files\riderunner\plugins\RRsavePOI\ folder

    When I do a proper release it will come with an installer which will sort all that out.

    ---------- Post added at 01:46 PM ---------- Previous post was at 01:30 PM ----------

    Noticed there is an error in the savepoi.skin in that it doesn't display the current GPS coords.

    Have uploaded a corrected version.

  10. #10
    Low Bitrate
    Join Date
    Oct 2006
    Posts
    103
    Ok - got it to save - found a couple small problems:

    I have the file set for this format:
    %lon|%lat|%1 (%2)|%date|%time

    It's actually saving this format:
    %lon|%lat|%date|%time

    The plugin prompted me to enter the %1 data, but not the %2

    Also, when setting the save location, I forgot to put the trailing '\' on the path. Maybe have the program make sure the trailing backslash is present.

    Edit:
    Also, maybe auto-clear the data once it has been successfully saved
    Last edited by Malaki86; 04-25-2011 at 08:04 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Request
    By tn6478 in forum StreetDeck
    Replies: 1
    Last Post: 07-20-2006, 06:31 PM
  2. Request
    By drewdizzy in forum Road Runner
    Replies: 5
    Last Post: 01-25-2006, 01:17 AM
  3. A bug and a request...
    By garo in forum Road Runner
    Replies: 6
    Last Post: 03-14-2005, 12:52 PM
  4. 1 more request
    By pimpJ in forum FrodoPlayer
    Replies: 0
    Last Post: 08-11-2004, 02:59 PM
  5. request....
    By reda4 in forum Software & Software Development
    Replies: 1
    Last Post: 11-06-2003, 03:26 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
  •