progressing
This commit is contained in:
@@ -85,6 +85,182 @@ stravamapping = {
|
||||
|
||||
}
|
||||
|
||||
stmapping = {
|
||||
'water':'Rowing',
|
||||
'rower':'Rowing',
|
||||
'skierg':'Skiing:Nordic',
|
||||
'bike':'Cycling',
|
||||
'dynamic':'Rowing',
|
||||
'slides':'Rowing',
|
||||
'paddle':'Other:Paddling',
|
||||
'snow':'Skiing:Nordic',
|
||||
'coastal':'Rowing',
|
||||
'c-boat':'Rowing',
|
||||
'churchboat':'Rowing',
|
||||
'Ride':'Cycling',
|
||||
'Kitesurf':'Other:Kitesurf',
|
||||
'Run':'Running',
|
||||
'NordicSki':'Skiing:Nordic',
|
||||
'Swim':'Swimming',
|
||||
'RockClimbing':'Other:RockClimbing',
|
||||
'Hike':'Hiking',
|
||||
'RollerSki':'Other:RollerSki',
|
||||
'Walk':'Other:Walk',
|
||||
'AlpineSki':'Skiing:AlpineSki',
|
||||
'Snowboard':'Other:Snowboard',
|
||||
'BackcountrySki':'Skiing:BackcountrySki',
|
||||
'Snowshoe':'Other:Snowshoe',
|
||||
'Canoeing':'Other:Canoeing',
|
||||
'StairStepper':'Other:StairStepper',
|
||||
'Crossfit':'Other:Crossfit',
|
||||
'StandUpPaddling':'Other:StandUpPaddling',
|
||||
'EBikeRide':'Cycling:EBikeRide',
|
||||
'Surfing':'Other:Surfing',
|
||||
'Elliptical':'Other:Elliptical',
|
||||
'VirtualRide':'Cycling:VirtualRide',
|
||||
'IceSkate':'Skating',
|
||||
'WeightTraining':'Other:WeightTraining',
|
||||
'InlineSkate':'Skating:InlineSkate',
|
||||
'Windsurf':'Other:Windsurf',
|
||||
'Kayaking':'Other:Kayaking',
|
||||
'Workout':'Other:Workout',
|
||||
'Yoga':'Other:Yoga',
|
||||
'other':'Other',
|
||||
|
||||
}
|
||||
|
||||
rkmapping = {
|
||||
'water':'Rowing',
|
||||
'rower':'Rowing',
|
||||
'skierg':'Cross-Country Skiing',
|
||||
'bike':'Cycling',
|
||||
'dynamic':'Rowing',
|
||||
'slides':'Rowing',
|
||||
'paddle':'Other:Paddling',
|
||||
'snow':'Cross-Country Skiing',
|
||||
'coastal':'Rowing',
|
||||
'c-boat':'Rowing',
|
||||
'churchboat':'Rowing',
|
||||
'Ride':'Cycling',
|
||||
'Kitesurf':'Other',
|
||||
'Run':'Running',
|
||||
'NordicSki':'Cross-Country Skiing',
|
||||
'Swim':'Swimming',
|
||||
'RockClimbing':'Other',
|
||||
'Hike':'Hiking',
|
||||
'RollerSki':'Other:RollerSki',
|
||||
'Walk':'Walking',
|
||||
'AlpineSki':'Downhill Skiing',
|
||||
'Snowboard':'Snowboarding',
|
||||
'BackcountrySki':'Downhill Skiing',
|
||||
'Snowshoe':'Other',
|
||||
'Canoeing':'Other',
|
||||
'StairStepper':'Stairmaster',
|
||||
'Crossfit':'CrossFit',
|
||||
'StandUpPaddling':'Other',
|
||||
'EBikeRide':'Cycling',
|
||||
'Surfing':'Other',
|
||||
'Elliptical':'Elliptical',
|
||||
'VirtualRide':'Cycling',
|
||||
'IceSkate':'Skating',
|
||||
'WeightTraining':'Other',
|
||||
'InlineSkate':'Skating',
|
||||
'Windsurf':'Other',
|
||||
'Kayaking':'Other',
|
||||
'Workout':'Other',
|
||||
'Yoga':'Yoga',
|
||||
'other':'Other',
|
||||
|
||||
}
|
||||
|
||||
polarmapping = {
|
||||
'water':'Rowing',
|
||||
'rower':'Rowing',
|
||||
'skierg':'Skiing',
|
||||
'bike':'Cycling',
|
||||
'dynamic':'Rowing',
|
||||
'slides':'Rowing',
|
||||
'paddle':'Other Outdoor',
|
||||
'snow':'Skiing',
|
||||
'coastal':'Rowing',
|
||||
'c-boat':'Rowing',
|
||||
'churchboat':'Rowing',
|
||||
'Ride':'Cycling',
|
||||
'Kitesurf':'Kitesurfing',
|
||||
'Run':'Running',
|
||||
'NordicSki':'Skiing',
|
||||
'Swim':'Swimming',
|
||||
'RockClimbing':'Other Outdoor',
|
||||
'Hike':'Hiking',
|
||||
'RollerSki':'Other Outdoor',
|
||||
'Walk':'Walking',
|
||||
'AlpineSki':'Downhill skiing',
|
||||
'Snowboard':'Snowboarding',
|
||||
'BackcountrySki':'Downhill skiing',
|
||||
'Snowshoe':'Snowshoe trekking',
|
||||
'Canoeing':'Canoeing',
|
||||
'StairStepper':'Other Indoor',
|
||||
'Crossfit':'Crossfit',
|
||||
'StandUpPaddling':'Other Outdoor',
|
||||
'EBikeRide':'Cycling',
|
||||
'Surfing':'Surfing',
|
||||
'Elliptical':'Other Indoor',
|
||||
'VirtualRide':'Cycling',
|
||||
'IceSkate':'Skating',
|
||||
'WeightTraining':'Other Indoor',
|
||||
'InlineSkate':'Skating',
|
||||
'Windsurf':'Windsurfing',
|
||||
'Kayaking':'Kayaking',
|
||||
'Workout':'Other Indoor',
|
||||
'Yoga':'Yoga',
|
||||
'other':'Other Indoor',
|
||||
|
||||
}
|
||||
|
||||
tpmapping = {
|
||||
'water':'rowing',
|
||||
'rower':'rowing',
|
||||
'skierg':'xc-ski',
|
||||
'bike':'bike',
|
||||
'dynamic':'rowing',
|
||||
'slides':'rowing',
|
||||
'paddle':'other',
|
||||
'snow':'xc-ski',
|
||||
'coastal':'rowing',
|
||||
'c-boat':'rowing',
|
||||
'churchboat':'rowing',
|
||||
'Ride':'cycling',
|
||||
'Kitesurf':'other',
|
||||
'Run':'run',
|
||||
'NordicSki':'xc-ski',
|
||||
'Swim':'swim',
|
||||
'RockClimbing':'other',
|
||||
'Hike':'other',
|
||||
'RollerSki':'other',
|
||||
'Walk':'walk',
|
||||
'AlpineSki':'other',
|
||||
'Snowboard':'other',
|
||||
'BackcountrySki':'other',
|
||||
'Snowshoe':'other',
|
||||
'Canoeing':'other',
|
||||
'StairStepper':'other',
|
||||
'Crossfit':'other',
|
||||
'StandUpPaddling':'other',
|
||||
'EBikeRide':'other',
|
||||
'Surfing':'other',
|
||||
'Elliptical':'other',
|
||||
'VirtualRide':'bike',
|
||||
'IceSkate':'other',
|
||||
'WeightTraining':'strength',
|
||||
'InlineSkate':'other',
|
||||
'Windsurf':'other',
|
||||
'Kayaking':'other',
|
||||
'Workout':'other',
|
||||
'Yoga':'other',
|
||||
'other':'other',
|
||||
|
||||
}
|
||||
|
||||
c2mapping = {
|
||||
'water':'water',
|
||||
'rower':'rower',
|
||||
@@ -133,6 +309,12 @@ c2mappinginv = {value:key for key,value in c2mapping.iteritems() if value is not
|
||||
|
||||
stravamappinginv = {value:key for key,value in stravamapping.iteritems() if value is not None}
|
||||
|
||||
stmappinginv = {value:key for key,value in stmapping.iteritems() if value is not None}
|
||||
|
||||
rkmappinginv = {value:key for key,value in rkmapping.iteritems() if value is not None}
|
||||
|
||||
polarmappinginv = {value:key for key,value in polarmapping.iteritems() if value is not None}
|
||||
|
||||
otwtypes = (
|
||||
'water',
|
||||
'coastal',
|
||||
|
||||
Reference in New Issue
Block a user