Skip to content

Command line? #2

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

Open
vmiceli opened this issue Jul 3, 2018 · 17 comments
Open

Command line? #2

vmiceli opened this issue Jul 3, 2018 · 17 comments

Comments

@vmiceli
Copy link

vmiceli commented Jul 3, 2018

Hello and thanks for the great software that DatCon is. If I wanted to automate file conversions with a script, can I use DatCon from command line?

Thanks!

Vincenzo

@Taylormade11
Copy link

+1 @BudWalkerJava Is this doable? I've been trying to figure out how to call the DatConvert functionality on a DatFile from command line or via bash script with no success

@BudWalkerJava
Copy link
Owner

Not currently. But, you could easily modify the code to create a command line app.

@Taylormade11
Copy link

@BudWalkerJava I have a lot of work to do before this is an easy task for me lol but with work, I'll get there. Do you know where I might start in learning to tackle this type of problem? I'm having trouble understanding how you are getting the filename from 'file being used' and then actually executing the conversion. Ideally, I'd like to be able to iterate through a directory of .dat files by passing the directory as an argument from the command line.

Thank you all so much for your hard work in providing everyone with this great software. It's been a huge help and has saved so much time!

@yvonperr
Copy link

The currently committed github version (3.5.0) has a lot of java compile errors (many because of lines commented out in AxesAndSigs.java, for example). Is it possible to have a code version that compiles, or actually, the code version that actually produced the current DatCon? It's hard to make assumptions and just uncomment lines, and so on.

@yvonperr
Copy link

How can we message Rowland Johnson? Is it possible?

@BudWalkerJava
Copy link
Owner

BudWalkerJava commented Jan 24, 2019

The currently committed github version (3.5.0) has a lot of java compile errors (many because of lines commented out in AxesAndSigs.java, for example). Is it possible to have a code version that compiles, or actually, the code version that actually produced the current DatCon? It's hard to make assumptions and just uncomment lines, and so on.

Try it now, I just updated the source.

@jothanna
Copy link

I'd also like to convert a larger amount of data from the command line. Has anyone changed the program in this respect?

@yvonperr
Copy link

yvonperr commented Jun 11, 2019 via email

@yvonperr
Copy link

yvonperr commented Jun 12, 2019 via email

@chkop
Copy link

chkop commented Jul 8, 2019

I agree... A command line option would be great, specially to be able to batch process files.
Also an option for batch processing inside the gui could be helpful.

@munsanje
Copy link

Any progress on this front?

@munsanje
Copy link

@yvonperr are you still able to share your code?

1 similar comment
@munsanje
Copy link

@yvonperr are you still able to share your code?

@yvonperr
Copy link

yvonperr commented Sep 11, 2019 via email

@yvonperr
Copy link

yvonperr commented Sep 11, 2019 via email

@TopHatTommy2
Copy link

I'm hoping that this can be done with Python. I'm commenting more to follow the discussion but:
I am using a DJI Inspire 1 for Search and Rescue (SAR) operations. I need to be able to batch the files, then process the csv's to strip multiple columns of data, then I can process it into a table that can be turned into a shapefile for use in our GIS. I know Python. I don't know Java.

@nbeyne1998
Copy link

Has anyone maybe tried implementing this into a asp.net mvc web application, and if one of you did, could you give me some tips to do the same?

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

No branches or pull requests

9 participants