Hi David,

I'm glad I could express myself a bit clearer this time:)))

IMHO there's another argument: Remember how often people (me included ;)
had corruptive DBs. Such exports can make inspections less painful.

> Fine. Are you aware of any (more or less widespread) no xml based
> format (I am not sure if there is an standard) which would fit here?

you mean in general or sport/geo-specific? Well in general:

JSON
http://en.wikipedia.org/wiki/JSON
could fit. (I prefer to use it for my work / projects, where before
often CSV was established for data exchange)

Pros:
- objects with their data attributes can easily be mapped to
- today python supports JSON out of the box, very easy to parse i.e. map
back to dictionaries etc.
- more human readable than XML (three exclamation marks ;)
- well established, non-exotic

Cons:
- unlike CSV you cannot directly load it into some spreadsheet. So CSV
could still be useful.

> If not, there is always the option to export into GPX+ format
> including extensions for data like equipment.

Good point, also thought about that.
Question: is a GPX+ without any geodata (ie waypoints) but extensions
also a valid one? If so one had to define a new schema to put in
<extensions>.
Nice about this approach is that all data of an activity would be
combined. Not so nice: this could become a real Frankenstein-GPX+ ;)
Hard to read and parse :/

another option is:
YAML
http://en.wikipedia.org/wiki/YAML
pro & con somehow similar to JSON, but there is one interesting
difference: one can include any XML (e.g. gpx) *as is* into YAML. (in
JSON all " and \ will become escaped)

I also wonder whether other software (eg SportTracks) does have some
kind of exchange formats.

Regards,
Arnd

------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to