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

Discussion: KP error

in: Orienteering; General

Mar 22, 2022 3:54 PM # 
Hi KP experts!

I'm having some trouble trying to generate the vegetation with new parameters in a batch of 8 las files with karttapullautin.

I've run the entire batch successfully but when running pullauta makevegenew I get the following pop up briefly in my command window and then the whole thing quits.

"D:\MacSkimming Outdoor Ed Centre map\drive-download-20220320T163204Z-001\kp>pullauta makevegenew
..........Illegal division by zero at script/ line 3901.

D:\MacSkimming Outdoor Ed Centre map\drive-download-20220320T163204Z-001\kp>pullauta"

Does anyone with more kp experience than me know what the issue might be or where to look to figure out how to solve this?

Thanks in advance!
Mar 22, 2022 4:32 PM # 
hmm. you can hit that command succesfully only in-non batch mode after processing a tile in the non-batch mode. Maybe that is the problem.

When you hit that command KP expect there is folder "temp" with files in it. In batch mode you most likely have temp1, temp2 etc. You try can re-name one of them as temp and trying again.
Mar 22, 2022 5:03 PM # 
that is probably it Jagge. Is there a way to reprocess the vegetation for a batch of tiles at once without rerunning the entire kp processing with contours, etc.?
Mar 22, 2022 6:16 PM # 
well, no, other than writing a script to do that and that and knowing exacty how to do that.
Mar 22, 2022 6:19 PM # 
Good to know thanks!

And yes, doing as you suggested worked for the tile processed last in temp1

This discussion thread is closed.