BudWalkerJava / DatCon

Other
29 stars 19 forks source link

Command line? #2

Open vmiceli opened 6 years ago

vmiceli commented 6 years ago

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 commented 5 years ago

+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 commented 5 years ago

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

Taylormade11 commented 5 years ago

@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 commented 5 years ago

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 commented 5 years ago

How can we message Rowland Johnson? Is it possible?

BudWalkerJava commented 5 years ago

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 commented 5 years ago

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

yvonperr commented 5 years ago

@jothanna,

I did some work with DatCon for my then company a few months ago. It works well for us, so I need to contribute my code back to the project.

If you can send me your preferred email address, I will send you an email explaining my modified jar file and source code, which will be attached

— Yvon Perreault

On Jun 11, 2019, at 9:35 AM, jothanna notifications@github.com wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BudWalkerJava/DatCon/issues/2?email_source=notifications&email_token=AK674FU4YUUPJRLRIXWROULPZ6S2NA5CNFSM4FICZKXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXNEKZQ#issuecomment-500843878, or mute the thread https://github.com/notifications/unsubscribe-auth/AK674FQVIEXJLD4Q25PWK63PZ6S2NANCNFSM4FICZKXA.

yvonperr commented 5 years ago

Unfortunately, icloud won’t let me include any jar file or zip file. Researching…

-Y-

On Jun 11, 2019, at 3:19 PM, jothanna notifications@github.com wrote:

@yvonperr https://github.com/yvonperr, thank you for your help. Here my email address: j.redelstein(at)gmx.de.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BudWalkerJava/DatCon/issues/2?email_source=notifications&email_token=AK674FRZJVWA54H6RU4JIVTPZ73EHA5CNFSM4FICZKXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXOGZSA#issuecomment-500985032, or mute the thread https://github.com/notifications/unsubscribe-auth/AK674FTXPYEGR5QNF2BVS2DPZ73EHANCNFSM4FICZKXA.

chkop commented 5 years ago

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 commented 5 years ago

Any progress on this front?

munsanje commented 5 years ago

@yvonperr are you still able to share your code?

munsanje commented 5 years ago

@yvonperr are you still able to share your code?

yvonperr commented 5 years ago

Yes I can. Give me a few minutes...

Sent from the yPhone

On Sep 11, 2019, at 5:08 AM, Munsanje Mweene notifications@github.com wrote:

@yvonperr are you still able to share your code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

yvonperr commented 5 years ago

Munsanje,

Can you provide your email address at yvon.at.mac.com? I will share like I did with #jothanna.

On Sep 11, 2019, at 5:08 AM, Munsanje Mweene notifications@github.com wrote:

@yvonperr are you still able to share your code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

TopHatTommy2 commented 4 years ago

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 commented 4 years ago

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?