Register | Login
Attackpoint - performance and training tools for orienteering athletes

Discussion: ALS processing on Linux

in: Orienteering; Gear & Toys

May 30, 2018 7:36 AM # 
Ansgar:
Hi everyone,

I'd like to try Karttapullautin on some of our local ALS data. I thought getting it running under wine shouldn't be too hard, but it turns out pullauta wants to call itself (I think) repeatedly with specific parameters, and my wine installation doesn't want to resolve the path properly.
hughmac mentioned porting a perl script in this thread, but the version I have seems to be a binary. Has this changed? Did I miss something?

Thanks,

A.
Advertisement  
May 30, 2018 4:13 PM # 
xc-racer2:
Nope, it's always been a binary (that I know of). However, if you open the exe file with Ubuntu/Debian's "Archive Manager", you should find all the individual files, including the perl script (named pullautin.pl - the main.pl is just a launcher script).

Note that it requires several perl modules, notably libconfig-tiny-perl and libgd-perl on Ubuntu/Debian, as well as Geo::ShapeFile which can be installed with CPAN (see https://metacpan.org/pod/Geo%3a%3aShapeFile)

Plus, you'll have to modify the perl script. I do have a linux version of it here, but I'm hesitant to post it publicly as the license is unclear on redistribution. Basically, it involves changing the paths (forward/backward slashes), plus change all references to pullauta to the name of the script (ie puallautin.pl) (this is when it's called recursively, as you figured out).
Jun 4, 2018 8:50 PM # 
Ansgar:
Oh, I see. Thanks a lot, I'll give it a try!

Please login to add a message.