No release in over 3 years
Low commit activity in last 3 years
Calculates the initial indicator value (z-value) according to ISO 11088 standard.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.2.1
~> 2.14.1
~> 0.7.1
~> 0.9.2
~> 0.6.3

Runtime

>= 3.2.13
 Project Readme

#Ski Binding Release Value Calculator Gem Version Dependency Status Build Status

Calculates the initial indicator value (z-value) according to ISO 11088 standard.

Installation

Add to your Gemfile: gem ski_binding_calculator, run $ bundle install.

Even though not version 1.x this gem is stable and fully tested. Productive use is possible but at your own risk.

The gem is not version 1.x because some features are missing. According to ISO 11088 there are beside the indicator release value also twist and forward lean tolerances. Those are missing and will be implemented one day.

Usage

You can give the calculator a hash with the following key value pairs:

key value
weight float, string
height float, string
sole_length float, string
birthday_year int, string
birthday_month int, string
birthday_day int, string
type string

A key can be a string or symbol.

Measuring Units & Formats

The measuring units and formats of the attributes are as follows:

attribute unit
weight [kg]
height [cm]
sole_length [mm]
birthday_year [yyyy]
birthday_month [mm]
birthday_day [dd]
type ["Type1-", "Type1", "Type2", "Type3", "Type3+"]

Example

Regarding the last two sections a hash could look like that:

{ :type => "Type2", 
  :weight => "70", 
  :height => "170", 
  :sole_length => "315", 
  :birthday_year => "1983", 
  :birthday_month => "01", 
  :birthday_day => "01" }

Codes

In ISO 11088 table B.1 are codes defined. We map the codes to digits as follows:

code digit
A 0
B 1
C 2
D 3
E 4
F 5
G 6
H 7
I 8
J 9
K 10
L 11
M 12
N 13
O 14
P 15

The mappings allow us to use the codes as array indexes in the yaml files.

Feedback

If you have questions or suggestions don't hesitate open an issue.

Copyright

Copyright © 2013 Fadendaten GmbH. See MIT-LICENSE for details.