Long of the round and other infos

10 views
Skip to first unread message

fbe66

unread,
Jul 16, 2010, 9:54:03 AM7/16/10
to Golf Markup Language
Hi,

I would like record in the XML :
- if the round is a friendly game or a tournament
- the Holes number of the round (for ex : Record 9 for a round of 9
holes)
- the starting hour of the round
- If the player is left-hander or right-hander
- the length of time for each hole and of the round

Is it possible ?

Do you want a translation in french of your help ?

Thank you very much for your response
Fbe66

Pierre M

unread,
Jul 16, 2010, 11:16:58 AM7/16/10
to Golf Markup Language
Hi,
Yes, most of your request are ok. See discussion below:

> - if the round is a friendly game or a tournament
Sure. I suggest we add an element called round-type of type
golfml:RoundType which is an enumeration (list of values).
We add values tournament, practice, friends. Do you have other
suggestions?

> - the Holes number of the round (for ex : Record 9 for a round of 9 holes)
I do not understand what you mean here.

> - the starting hour of the round
The round element contains a date element. The format of the date
element is date+time as in "2009-09-22T11:00:00".

> - If the player is left-hander or right-hander
We are definitively missing this one. Good point. Let us add a "hand"
attribute of type golfml:Dexterity. golfml:Dexterity is a list of
value left, right, ambidexter.

> - the length of time for each hole and of the round
Here, we have numerous possibilities.
At hole level we can add an element "duration", or we can add a
statistic called hole-duration (to be added to the HoleScore/
statistics element).

At a finer level, we can conceivably add an element time (which
contains time only information "17:35") at the stroke-detail level.
Hole duration would be deduced from the time of the first and last
strokes.

I personally use a gps device on which I hit a button at each ball
position. Therefore there is a timestamp information for each stroke.

We can also add both, in which case stoke-detail information would
contains the finest detail of a round, while HoleScore/Statistics
would contain a denormalized value for the duration of the whole
hole).

Similarly, we should either add a duration element to the RoundSummary
element or use a duration statistics in the RoundSummary/Statistic
element.

My preference would be to use the statistics element (this does not
require any modification of the model), but also add a time element to
each individual stroke.

Best regards,

Pierre

Pierre Mareschal

unread,
Jul 16, 2010, 11:17:04 AM7/16/10
to golf-marku...@googlegroups.com
bonjour,

Merci de votre intérêt pour golfml.

J'ai répondu à votre post dans le forum.
Je suis francophone. Donc cela devrait aller pour la traduction... par contre, si un anglophone pouvait corriger le texte, le rendre plus précis, plus formel, cela aiderait.

Puis-je vous demander pourquoi vous utilisez le golfml?

Puisqu'il s'agit là de mon travail seul, on peut ajuster tout ce que vous souhaitez pour autant qu'on respecte l'esprit de départ.

Merci d'avance.

Pierre

> --
> You received this message because you are subscribed to the Google Groups "Golf Markup Language" group.
> To post to this group, send email to golf-marku...@googlegroups.com.
> To unsubscribe from this group, send email to golf-markup-lang...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/golf-markup-language?hl=en.
>

Pierre Mareschal

unread,
Jul 17, 2010, 2:36:25 AM7/17/10
to golf-marku...@googlegroups.com
Are you in a hurry? (I am now leaving for 3 weeks holiday.)

I applied corrections as suggested in post but I need little time to run all tests and modify some of them.
I do not want to post changes before I run tests on them. I can send you directly the untested modified schema.

Pierre

Le 16 juil. 2010 à 15:54, fbe66 a écrit :

Reply all
Reply to author
Forward
0 new messages