This object is in archive! 

KMZ image pyramid as map item overlay renders way too much

joeloc shared this problem 7 years ago
Solved

I have a kml image pyramid map created with GlobalMapper. It has transparency at the borders (png tiles), so it actually allows to see a possible Locus map item rendering problem: It appears that Locus renders *all* images in a pyramid on top of each other, instead of just the one that fits the current resolution (minLodPixels and maxLodPixels). You can see this at the righthand side where there are different resolution versions of the mountain names (eg "Pathibara"). Its there at least 3 times, from lowres to hires, stacked on top of each other.


That would also explain why Locus gets so super-slow when image pyramids are used in an overlay. Obviously, when you always render every single image, things get pretty ugly pretty quickly.


The data displays fine in GoogleEarth.


94376938163fa5f07fbfcb92ea5a128c

Replies (5)

photo
1

Hello joeloc,

may you please share with me again some file for testing? Map should be faster with latest version (home it is even for you) anyway if there is unneeded rendering of some part of maps, that it should be definitely fixed! Thanks

photo
1

Hi,

thanks for a file, it helped a lot. Locus was currently not handling "region" containers attached to folders, only attached directly to GroundOverlay items.

I've fixed this issue and together with some speed improvements in latest beta, overlays seems to be quite fast now. Thanks!

photo
1

Looks a lot better now... almost as fast as a dedicated sqlite map. Image pyramids from global mapper exports are finally usable... thanks!


I still find the UI concept of first "loading" something in one place and then showing/hiding it in a different place utterly confusing and quite unfortunate... but thats another topic :-).

photo
1

Btw... is there a way to change the order of those layers? Like when you have an overlay "Nepal.kmz" and a higher resolution "Annapurna.kmz", you want Annapurna.kmz to render after Nepal.kmz. I haven't really figured out how to do this...

photo
1

Hello,

glad to hear it, perfect.

Order of rendering currently cannot be changed anyway it should work as "first loaded, first draw", so try to load items in order you wants to render them.

I see separating of "Items" screen and side "Active items" useful mainly because "Active items" really only display currently loaded items, not a bigger mess of many folders/items that usually are not needed. I can imagine to remove "Active items" tab and it's content integrate directly into "Items" screen, but does this make more usable? Maybe more logical, but definitely not more usable.

Replies have been locked on this page!