PostFrontal Forum
PostFrontal Forum
LK8000_Support_Forum | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 LK8000 International Support
 BUG reporting and solved list
 Android 7.4.2: Custom terrain file not working
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Rogerwii
Pulcino

France
33 Posts

Posted - 11/04/2023 :  20:28:42  Show Profile  Reply with Quote
Hi,
I had created a 30m definition file and it's not recognized anymore. (TERRAIN? is shown on the screen).

It worked well last summer.

Any reason why?
Thanks in advance

HG Sport 3

Edited by - Rogerwii on 11/04/2023 20:29:49

brunotl
Pterodattilo

France
1090 Posts

Posted - 12/04/2023 :  01:36:34  Show Profile  Reply with Quote
check the runtime.log ...

most of the time it's caused by "truncated" files ...
Go to Top of Page

Rogerwii
Pulcino

France
33 Posts

Posted - 20/04/2023 :  00:14:34  Show Profile  Reply with Quote
quote:
Originally posted by brunotl

check the runtime.log ...

most of the time it's caused by "truncated" files ...



Thanks for your help. What do you mean by truncated? Here is what I found in the runtime.log

[215662982] . Terrain Open RasterMapRaw </storage/emulated/0/Android/data/org.lk8000.beta/files/_Maps/30m.dem>
[215663001] ... Terrain size is 233323250
[215663001] ... Available memory is 355640kB
[215663001] ... Terrain : use memory mapped file
[215663001] ... Terrain RasterMapRaw load failed
[215663001] ... INVALID TERRAIN file </storage/emulated/0/Android/data/org.lk8000.beta/files/_Maps/30m.dem>

HG Sport 3

Edited by - Rogerwii on 20/04/2023 01:13:12
Go to Top of Page

brunotl
Pterodattilo

France
1090 Posts

Posted - 20/04/2023 :  12:45:44  Show Profile  Reply with Quote
Truncated = only a part of the file

reading you log your terrain file size should be 233323250 Byte ( 222 MByte) ...

Edited by - brunotl on 20/04/2023 17:17:21
Go to Top of Page

Rogerwii
Pulcino

France
33 Posts

Posted - 20/04/2023 :  22:22:47  Show Profile  Reply with Quote
Yes the file is 222 MB in the app folder. It doesn't work anymore on my friend's android app either

HG Sport 3
Go to Top of Page

brunotl
Pterodattilo

France
1090 Posts

Posted - 20/04/2023 :  22:34:02  Show Profile  Reply with Quote
can you send the file to me ?
Go to Top of Page

Rogerwii
Pulcino

France
33 Posts

Posted - 21/04/2023 :  10:52:05  Show Profile  Reply with Quote
Sure thank you for looking

https://we.tl/t-hDDzKTmoU4

HG Sport 3
Go to Top of Page

brunotl
Pterodattilo

France
1090 Posts

Posted - 21/04/2023 :  11:31:28  Show Profile  Reply with Quote
size of your file is "233 301 648 Bytes" but should be "233 323 250 Bytes" so "21 602 Bytes" are missing. it's exactly the size of one row, so it's not an accident...

how do you have made this file ?
Go to Top of Page

Rogerwii
Pulcino

France
33 Posts

Posted - 21/04/2023 :  19:57:40  Show Profile  Reply with Quote
Using QGIS using data from SRTM.

What's intriguing is that I've sent you the file that used to work, from my computer. My friend using it has the same problem and we haven't interacted since it was working.

I guess I'll have to generate it again to troubleshoot

HG Sport 3
Go to Top of Page

brunotl
Pterodattilo

France
1090 Posts

Posted - 22/04/2023 :  12:09:12  Show Profile  Reply with Quote
before version 7.3.10, file size was not checked, and it was the cause of lot of crash...
Go to Top of Page

Rogerwii
Pulcino

France
33 Posts

Posted - 06/07/2023 :  16:52:38  Show Profile  Reply with Quote
I was able to generate a custom 30m file using only one SRTM tile, maybe the problem comes from merging several tiles. I'll share investigation updates

HG Sport 3
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
PostFrontal Forum © PostFrontal - La community del Volo a Vela Go To Top Of Page
This page was generated in 0.13 seconds. Snitz Forums 2000

Since 2006, owned and maintained by PostFrontal S.A.S. di Giuliano Golfieri & c. - VAT ID: IT05264240960
THIS WEBSITE ONLY USES FUNCTIONAL COOKIES
Privacy & Cookie Policy