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


 All Forums
 LK8000 International Support
 Change requests and new features list
 Terrain without the sea.
 New Topic  Reply to Topic
Author  Topic Next Topic  

ryszard_lewandowski
Pulcino

Poland
40 Posts

Posted - 24/09/2020 :  01:10:03  Show Profile  Visit ryszard_lewandowski's Homepage  Reply with Quote
Hi, currently DEM file contains 0m ASL area shows nice blue water. Unfortunately, in Poland we have a few quite huge depression area (<=0m AMSL). LK shows that area as a sea what is wrong.

I think that we have two - easy to implementation - alternative solutions:

1. LK shows sea ONLY for 0m AMSL - but not for <0m AMSL. I can prepare DEM file with sea with 0m AMSL and <0m AMSL for depression area.

2. LK has additional config parameter, something like "Display sea for 0m AMSL". So - I can turn it off and prepare map (not terrain) with additional layer contains sea.


I think - both solutions maintain backward compatibility with old maps.
Regards
Ryszard.

http://lotynamotolotni.pl

Edited by - ryszard_lewandowski on 24/09/2020 01:11:36

brunotl
Pterodattilo

France
765 Posts

Posted - 24/09/2020 :  17:22:39  Show Profile  Reply with Quote
it depend of LKM file you use, if it include water area, altitude is not used to paint water...

what lkm file do you use ?
Go to Top of Page

ryszard_lewandowski
Pulcino

Poland
40 Posts

Posted - 27/09/2020 :  18:59:15  Show Profile  Visit ryszard_lewandowski's Homepage  Reply with Quote
quote:
Originally posted by brunotl

it depend of LKM file you use, if it include water area, altitude is not used to paint water...



Are you sure? I think that terrain matters. Take a look:

Terrain OFF:


Terrain ON:


I'm using my own LKM file and there is no sea layer.

http://lotynamotolotni.pl
Go to Top of Page

brunotl
Pterodattilo

France
765 Posts

Posted - 28/09/2020 :  11:21:28  Show Profile  Reply with Quote
yes i'm sure, it's due to your LKM.
but you right, missing layer is not "water_area" but "coast_area".

you can try this lkm file : https://drive.google.com/file/d/19cvcYDO7JInz8CiJFA-BYSHotauPshkI/view?usp=sharing

Edited by - brunotl on 28/09/2020 13:16:35
Go to Top of Page

ryszard_lewandowski
Pulcino

Poland
40 Posts

Posted - 28/09/2020 :  15:19:57  Show Profile  Visit ryszard_lewandowski's Homepage  Reply with Quote
quote:
Originally posted by brunotl

yes i'm sure, it's due to your LKM.



Have you seen my previous JPGs? Another version. I have deleted LKM file from LK config - just to be sure. So there are no LKM layers.

Map with terrain ON.




Map with terrain OFF.



http://lotynamotolotni.pl
Go to Top of Page

brunotl
Pterodattilo

France
765 Posts

Posted - 28/09/2020 :  17:31:11  Show Profile  Reply with Quote
yes i have seen, maybe my first answer is not very clear, i will try to explain...

in very first version of LK8000, terrain altitude < 0 was used to paint sea, but that don't work for lot of country with negative altitude.
to solve this problem, we have include coast_area in topology file and terrain altitude is no more used to paint sea area.
but to maintain backward compatility with hold maps, if coast_area is not found in topology file ( or no topology file configured ) terrain altitude is used to paint sea area.


in your initial post you ask for solution to not paint negative altitude as sea area, answer is simple :
update your topology file to include coast layer, like it's made in this lkm file : https://drive.google.com/file/d/19cvcYDO7JInz8CiJFA-BYSHotauPshkI/view?usp=sharing

Edited by - brunotl on 28/09/2020 17:31:45
Go to Top of Page

ryszard_lewandowski
Pulcino

Poland
40 Posts

Posted - 28/09/2020 :  21:00:04  Show Profile  Visit ryszard_lewandowski's Homepage  Reply with Quote
quote:
if coast_area is not found in topology file ( or no topology file configured ) terrain altitude is used to paint sea area.


Excellent - it's solution for me. I didn't know about that dependence.

Thanks!

http://lotynamotolotni.pl
Go to Top of Page
   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.19 seconds. Snitz Forums 2000

Suggerimenti dello staff:

                                         

Note legali (italiano):
Privacy Policy Cookie Policy
Legal notice (english):
Privacy Policy Cookie Policy

PostFrontal S.A.S. di Giuliano Golfieri & c. - P.I. 05264240960