Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: php fit 2 ways #43

Open
benjamin-rty opened this issue Apr 27, 2017 · 3 comments
Open

question: php fit 2 ways #43

benjamin-rty opened this issue Apr 27, 2017 · 3 comments

Comments

@benjamin-rty
Copy link

It's great that your code analyse fit files.
is the opposite diretion possible: Is there a possibility to create fit files starting from some coordinates ?

@adriangibbons
Copy link
Owner

Hi @bvbever

It is definitely possible to create (encode) a FIT file programmatically but this class does not do that. You'd use PHP's pack() rather than unpack() as this class does.

I'm pretty sure there are other projects here that enable you to encode a FIT file, though they may be in another language.

Do you need this functionality in PHP? What's the use case you want to do this for?

If there's nothing out there then I could potentially be tempted to collaborate with you.

Cheers

@benjamin-rty
Copy link
Author

benjamin-rty commented Apr 27, 2017

Hi @adriangibbons
There are indeed other projects that encodes a FIT file, but I need it in PHP. Our entire framework uses PHP.
There is something like https://github.com/krwes/fit-php that uses somekind of older library.
For the moment I uses your code to go from FIT to GPX.

cheers,

@adriangibbons
Copy link
Owner

Hi @bvbever
What's the framework? I went to your Github page but can't see your repos.
Cheers, Adrian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants