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.
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.
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.
Ok - cool - ty in advance
OK, slight delay, need to do a carwings demo skin..
No rush. I'm at home until Wednesday (vacation, finally).
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.
Extract to your RideRunner folder, you should now have a folder called RRSavePOI.
Carwing files are included and will be copied to riderunner\skins\Carwings_Dynamic_Lite\
Read skincommands.txt for a list of skin commands
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.
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
Downloading now - really won't be able to thoroughly test until after Wednesday.
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:
Will it write it in that format? (%1=name, %2=city)
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.
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.
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.
Ok - got it to save - found a couple small problems:
I have the file set for this format:
It's actually saving this format:
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.
Also, maybe auto-clear the data once it has been successfully saved