![]() |
Calculated Fieldsby camel Downloads: 23,661 •
|
|
texmurphy wrote:Enum(List) would be useful where the number of items in the list are returned to a custom field.
Usage example: I lead a ride with 15 riders and I log their names in the Notes section: "Riders=TexM, Camel, Admin, POC, omb, ..."
Enum(Riders) would fill the custom field with "15".
texmurphy wrote:Enum(List) would be useful where the number of items in the list are returned to a custom field.
Usage example: I lead a ride with 15 riders and I log their names in the Notes section: "Riders=TexM, Camel, Admin, POC, omb, ..."
Enum(Riders) would fill the custom field with "15".
camel wrote:You will at first create enum (something similar like formula):
{Riders} = "TexM, Camel, Admin, POC, omb"
And then use it in your formula for custom field CustomNotes for example:
"I have ride with those friends: " + {Riders} + "additional text"
To make it more powerful I'll try to implement nested formulas too.
Also might be useful to be able to return elements of a list (car/cdr/...)
Example - I use a colon delimited hierarchy for Location (effectively a list) which often contains city or street names. So I might want Rides with POC including "Quebec"
hubrat wrote:Would love to see a vertical ascent speed for hill climbs, both at any point for charting and as an average per lap/split. A common unit is elevation in meters per hour. Let me know if you need a formula but it should be straight forward.
camel wrote:It's purpose is to enable some new features for activities wide analysis.
Not about detailed analysis of single activity, there are many other plugins for that.
yoeddy0420 wrote:here is an example of something that I have been doing an not sure if the plugin would handle this.
So I populate the Weather data with OMB weather plugin. After I Find the Weather my weather field will have the following values in it
64 °F. Wind Speed: 1.8; Precipitation: 0.0mm/h
For whatever reason, I have created two custom fields Average Temp, Avg Wind.
I have basically been going down my list of activities and filling these two fields in manually from the data that is stored in the Weather field. I was wondering if your plugin might be able to parse out the pieces and fill them in automatically.
Peter, I think if your purpose is to use Trails to select a segment of a run (bike) workout and compare the statistics for that segment across all other activities where that segment is also included, then you have a winner.
I think that might have been gerhard's plan too, so you might check with him.
GaryS wrote:Peter, I think if your purpose is to use Trails to select a segment of a run (bike) workout and compare the statistics for that segment across all other activities where that segment is also included, then you have a winner.
I think that might have been gerhard's plan too, so you might check with him.
camel wrote:I have asked Gerhard about pre-acceptance of course. This feature is made by integration with Trails plugin in fact. (all of the calculations are made in Trails plugin)
As I have talked with Gerhard, Trails is his plugin, he has last word and I want to have explicit acceptance from him after he will see finished plugin.
If he'll doesn't like final result, I will not use it. And I'll be ok with it.
I don't want to break philosophy of existing plugins and I understand that.
Now I'm showing only concept, to get feedback from users. Because now all of the things could be easily changed. After releasing it, I'll need to solve compatibility issues after breaking changes in architecture of plugin.
So I want to do it correct, right on start.
Trails was written by "brendan", all credit to him. I got involved primarily to port the plugin to ST3, as he could not continue development. (I have done some dev and fixes since.)
I like to compare activities, there are more than one way. Of course I support this change. (I will maybe have opinions about how it is done).
Now weather notes field is not supported, but I'll add it to list.
And yes, this could be easily done with use of regular expressions in formula. Now I don't want to confuse users with more advanced syntax, but yes it could be done. I'll gladly help you with creating this formula when right time comes. Perhaps in few weeks.
I have now support for automatic calculations of fields after import. So after you manualy calculate old values, for new activities it'll be done without your manual effort when importing.
camel wrote:Now I plan to support only calculations of custom fields values on activities.
Are there some users with need of filling calculated values for Athlete, Route or Equipment custom fields?
Now I don't have interesting example of usage, so for now I don't plan to support it. But if someone have...
Thanks
Peter
camel wrote:
Are there some users with need of filling calculated values for Athlete, Route or Equipment custom fields?
Now I don't have interesting example of usage, so for now I don't plan to support it. But if someone have...
I vote for Athlete fields. Would be very intresting to see a comparison of weight,sleep hours,avg hr and speed on a hill.
For those of us with several pairs of running shoes, it might be interesting to see where each model is most effective for us (ie on hills, flats, fireroads, technical trails, longer distances, rocks, etc.). Depending on the terrain, surface and elevation of the trail races I run, I'll choose one set of shoes over another on race day. Might be nice to have some training data to help make that decision.
Users browsing this forum: No registered users and 1 guest