[Therion] Need help producing scraps.kml without white blobs
Bruce Mutton
bruce at tomo.co.nz
Tue Apr 20 21:28:06 CEST 2021
Hi Michael
As Tarquin mentioned, I have found that stopping the walls on both sides of the passage in a single scrap will upset kml generation.
Maybe pictures are clearer.
In the scenarios pictured below you need to create separate scraps each side of the gap. So in your example there should be at least three plan scraps.
Personally I prefer much shorter scraps, I find 250 m to be very long, but other than making debugging a little harder, excessive scrap length/size should not be a cause of your problems.
Bruce
From: Therion <therion-bounces at speleo.sk> On Behalf Of Michael Ross
Sent: Tuesday, 20 April 2021 22:58
To: 'List for Therion users' <therion at speleo.sk>
Subject: Re: [Therion] Need help producing scraps.kml without white blobs
Dear Stacho, Bruce, Martin,
Thanks for your replies.
The low hanging fruits have been picked already long time ago:
Yellow ticks checked, outline parms checked, passage fills are displayed correctly in PDF.
Perhaps it displays differently in GoogleEarth compared to other GIS? (Have not yet used OpenGIS or ArcGIS).
I think, Stacho is closest to a potential cause.
It appears to me that the code path for kml generation is different from the codepath for PDF generation
and follows different heuristics.
For example, kml generation seems to be agnostic of "outline" parameters and direction of yellow sticks.
I produced subsections by selecting small maps for the output, the behaviour is the same, i.e., no scalability / interdependency problem.
I attach one of the scraps and the resulting map in kml.
I cannot easily extract a data sample for replay by you,
but I'm happy to provide the complete data to anyone who is willing to dive into this problem.
As already said, a post-processing hint (replacing colours in the kml) would also help.
Cheers, Michael.
Von: Therion [mailto:therion-bounces at speleo.sk] Im Auftrag von Stacho Mudrak
Gesendet: Montag, 19. April 2021 19:25
Cc: List for Therion users <therion at speleo.sk <mailto:therion at speleo.sk> >
Betreff: Re: [Therion] Need help producing scraps.kml without white blobs
Hi Michael,
I have found one issue with the current version of Google Earth - it was ignoring (not filling) polygons, where the last point was not equal to the first point.
It is fixed in <https://github.com/therion/therion/commit/18eca78edd9dab377a0aa585a61a273d81024afe> 18eca78, but I am not sure, it if will fix your issues.
S.
On Mon, 19 Apr 2021 at 16:44, Stacho Mudrak <lists at group-s.sk <mailto:lists at group-s.sk> > wrote:
Hi Michael,
it looks to me like it is some kind of inner/outer ring problem. Are you able to isolate and post some minimal sample, where this problem happens? It would help a lot.
Thanks, S.
On Mon, 19 Apr 2021 at 16:26, Michael Ross <knollesimage at t-online.de <mailto:knollesimage at t-online.de> > wrote:
Hello there,
I "own" a fairly large dataset of a maze cave.
Producing PDF output works well,
but when producing kml using
export map -projection plan -output Scraps.kml
I get large white blobs where there should be transparency. See attachment.
First assumption was that Therion needs some help by marking certain walls "outline in".
But that didn't help.
Then I tried redrawing the walls of the affected passages to get long lines of walls rather than
concatenated short sections of walls, assuming that would help Therion to better understand.
Didn't help.
Anyone had this problem so far?
If there is a way to post-process the kml file to remove the white areas, that would also help.
Or any other hint to systematically track this down.
Kind Regards,
Michael
_______________________________________________
Therion mailing list
Therion at speleo.sk <mailto:Therion at speleo.sk>
https://mailman.speleo.sk/listinfo/therion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20210421/c9bf2bfb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 28226 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20210421/c9bf2bfb/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 11667 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20210421/c9bf2bfb/attachment-0003.png>
More information about the Therion
mailing list