Re: [Therion] Join 3 scraps from different maps

2021-03-05 Thread Tarquin Wilton-Jones via Therion
> Instead of joining first the 2 lines of the scrap1.1 and scrap1.2 from
> map1 in th-file1 and then join the 2 lines from scrap1.2 and scrap2.1 in
> the main-th-file I just joined the 3 lines in the main-th file.

A quick quote from the Therion book:
"
When joining more than two points or lines, use one join command for all
of them, not a sequence of join commands for pairs.
E.g. use join a b c, not join a b followed by join b c.
"

Each point/linepoint can only be referenced in a single join command.
Subsequent attempts to use that point/linepoint will be ignored (as you
found out).

> I thought this might be ignored if I only output map1, but the 2 scraps
> are joined correctly.

When you select a subset of your survey, it still processes the entire
survey data, and all scraps for the specific projection, and processes
all the joins correctly. It only *draws* the parts you select, but it
has to process the rest anyway, so that it can pull the lines into the
correct shapes (applying error correction, loop closure warping of
drawings, etc.).

If it didn't work that way, then when you rendered a subset of the map,
the now-disconnected scraps might be rendered differently than when you
render the entire survey, which would be undesirable.

In other words, as you found out; don't worry about where your joins are
specified in the data hierarchy, they will always be used correctly,
even when you are only selecting a subset of the survey below them.
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Join 3 scraps from different maps

2021-03-05 Thread Axel

sry that it is me again...

 

thx Martin, that worked (I found it out a minute ago :)
Instead of joining first the 2 lines of the scrap1.1 and scrap1.2 from map1 in th-file1 and then join the 2 lines from scrap1.2 and scrap2.1 in the main-th-file I just joined the 3 lines in the main-th file. I thought this might be ignored if I only output map1, but the 2 scraps are joined correctly.

 

thx to all for the unbelivable fast help,

Axel


 
 

Gesendet: Freitag, 05. März 2021 um 22:27 Uhr
Von: "Martin Sluka via Therion" 
An: "List for Therion users" 
Cc: "Martin Sluka" 
Betreff: Re: [Therion] Join 3 scraps from different maps


What about to joint them in survey above all of particular surveys? Just follow name space convention.
 

Martin S.
 

5. 3. 2021 v 22:12, Axel <dropst...@gmx.de>:
 




hi,

 

exactly what I tried :)

 

It is a three way junction, but knowing that this is impossible I thougt to remember that this should work with line-joins (thats why I went down that alley).
Map1 is a broad passage with a floor step(climb) in the middle. this is where the scraps join. As I need to use 'above' on one of the scraps I need that split.
The passage continues below the floor-step which is the scrap from map2. As it is, putting them together in one map is not possible as I can't change the data-structure.


Benni suggested that it might be a problem of the id's which contain a dot (eg. 123p1.2-w1) but we tried to change the id's with no success...
Also tried to define a map in the main-th-file with the three scraps and joined the lines there. But that doesn't change behaviour (supposely as the 2 scraps from map1 are still joined in the subfolder-1-file).

 

It might be as simple as it is not possible to do so, but then that would be odd as I guess others might stumble over that problem as well?

 

Axel
 


Gesendet: Freitag, 05. März 2021 um 21:35 Uhr
Von: "Bruce Mutton" <br...@tomo.co.nz>
An: "'List for Therion users'" <therion@speleo.sk>
Betreff: [Therion] Join 3 scraps from different maps




Interesting behaviour Axel

I have never had any problems joining using the end keyword or to the last point in a line, and don’t happen to have noticed anything like this that has broken with recent years releases.

From your description I think I use a similar folder and therion data structure, and usually a simple join scrap1@surveyA scrap2@surveyB is sufficient unless there is some complexity.  Seems like you tried this approach.  I don’t have any insights.

Out of interest are you joining the three scraps at the exact same location (three way junction) or are they just three scraps in a sequential line as you traverse along a single passage?

Bruce

 



From: Therion <therion-boun...@speleo.sk> On Behalf Of Axel
Sent: Saturday, 6 March 2021 09:11
To: therion@speleo.sk
Subject: [Therion] Join 3 scraps from different maps



 



good evening all,



 



just encountered a strange behaviour with join an need some advice:



The structure of the cave is nested: The main folder contais a th-file and sub-folders of different areas with its own th-files.



In one of those subfolders I joined 2 scraps in a map, all good. Now I need to join at this position another scrap from a different subfolder in the main th-file.



As far as I remembered, I simply join that in the main th-file with one of the 2 scraps from the other folder. However, it does not join the new scrap (simply igores the comand by the look of it). Log files seem to show no error and the compiler also says OK.
I gave the lines id's and tried to join them directly, the sub-map behaves like expected but the main-map still ignores the comand. I thought maybe Therion has a problem with the :end annotation and played around with the points. It turns out, that I can join the lines at every point exept the last one (eg.: first line: point 0/ second line: (has 8 points) 0-7, no problem, 8 or end is ignored).



Now am I too stupid and that was all the time like that without me noticing, or is that a bug?



 



Am using the latest stable release 5.7.7 (2021.02.06)...



 



thanks a lot,



Axel



___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion






___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion



___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion




___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Join 3 scraps from different maps

2021-03-05 Thread Martin Sluka via Therion
What about to joint them in survey above all of particular surveys? Just follow 
name space convention.

Martin S.

> 5. 3. 2021 v 22:12, Axel :
> 
> hi,
>  
> exactly what I tried :)
>  
> It is a three way junction, but knowing that this is impossible I thougt to 
> remember that this should work with line-joins (thats why I went down that 
> alley).
> Map1 is a broad passage with a floor step(climb) in the middle. this is where 
> the scraps join. As I need to use 'above' on one of the scraps I need that 
> split.
> The passage continues below the floor-step which is the scrap from map2. As 
> it is, putting them together in one map is not possible as I can't change the 
> data-structure.
> 
> Benni suggested that it might be a problem of the id's which contain a dot 
> (eg. 123p1.2-w1) but we tried to change the id's with no success...
> Also tried to define a map in the main-th-file with the three scraps and 
> joined the lines there. But that doesn't change behaviour (supposely as the 2 
> scraps from map1 are still joined in the subfolder-1-file).
>  
> It might be as simple as it is not possible to do so, but then that would be 
> odd as I guess others might stumble over that problem as well?
>  
> Axel
>  
> Gesendet: Freitag, 05. März 2021 um 21:35 Uhr
> Von: "Bruce Mutton" 
> An: "'List for Therion users'" 
> Betreff: [Therion] Join 3 scraps from different maps
> Interesting behaviour Axel
> 
> I have never had any problems joining using the end keyword or to the last 
> point in a line, and don’t happen to have noticed anything like this that has 
> broken with recent years releases.
> 
> From your description I think I use a similar folder and therion data 
> structure, and usually a simple join scrap1@surveyA scrap2@surveyB is 
> sufficient unless there is some complexity.  Seems like you tried this 
> approach.  I don’t have any insights.
> 
> Out of interest are you joining the three scraps at the exact same location 
> (three way junction) or are they just three scraps in a sequential line as 
> you traverse along a single passage?
> 
> Bruce
> 
>  
> From: Therion  On Behalf Of Axel
> Sent: Saturday, 6 March 2021 09:11
> To: therion@speleo.sk
> Subject: [Therion] Join 3 scraps from different maps
> 
>  
> good evening all,
> 
>  
> just encountered a strange behaviour with join an need some advice:
> 
> The structure of the cave is nested: The main folder contais a th-file and 
> sub-folders of different areas with its own th-files.
> 
> In one of those subfolders I joined 2 scraps in a map, all good. Now I need 
> to join at this position another scrap from a different subfolder in the main 
> th-file.
> 
> As far as I remembered, I simply join that in the main th-file with one of 
> the 2 scraps from the other folder. However, it does not join the new scrap 
> (simply igores the comand by the look of it). Log files seem to show no error 
> and the compiler also says OK.
> I gave the lines id's and tried to join them directly, the sub-map behaves 
> like expected but the main-map still ignores the comand. I thought maybe 
> Therion has a problem with the :end annotation and played around with the 
> points. It turns out, that I can join the lines at every point exept the last 
> one (eg.: first line: point 0/ second line: (has 8 points) 0-7, no problem, 8 
> or end is ignored).
> 
> Now am I too stupid and that was all the time like that without me noticing, 
> or is that a bug?
> 
>  
> Am using the latest stable release 5.7.7 (2021.02.06)...
> 
>  
> thanks a lot,
> 
> Axel
> 
> ___ Therion mailing list 
> Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion 
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Join 3 scraps from different maps

2021-03-05 Thread Axel
hi,

 

exactly what I tried :)

 

It is a three way junction, but knowing that this is impossible I thougt to remember that this should work with line-joins (thats why I went down that alley).
Map1 is a broad passage with a floor step(climb) in the middle. this is where the scraps join. As I need to use 'above' on one of the scraps I need that split.
The passage continues below the floor-step which is the scrap from map2. As it is, putting them together in one map is not possible as I can't change the data-structure.


Benni suggested that it might be a problem of the id's which contain a dot (eg. 123p1.2-w1) but we tried to change the id's with no success...
Also tried to define a map in the main-th-file with the three scraps and joined the lines there. But that doesn't change behaviour (supposely as the 2 scraps from map1 are still joined in the subfolder-1-file).

 

It might be as simple as it is not possible to do so, but then that would be odd as I guess others might stumble over that problem as well?

 

Axel
 


Gesendet: Freitag, 05. März 2021 um 21:35 Uhr
Von: "Bruce Mutton" 
An: "'List for Therion users'" 
Betreff: [Therion] Join 3 scraps from different maps




Interesting behaviour Axel

I have never had any problems joining using the end keyword or to the last point in a line, and don’t happen to have noticed anything like this that has broken with recent years releases.

From your description I think I use a similar folder and therion data structure, and usually a simple join scrap1@surveyA scrap2@surveyB is sufficient unless there is some complexity.  Seems like you tried this approach.  I don’t have any insights.

Out of interest are you joining the three scraps at the exact same location (three way junction) or are they just three scraps in a sequential line as you traverse along a single passage?

Bruce

 



From: Therion  On Behalf Of Axel
Sent: Saturday, 6 March 2021 09:11
To: therion@speleo.sk
Subject: [Therion] Join 3 scraps from different maps



 



good evening all,



 



just encountered a strange behaviour with join an need some advice:



The structure of the cave is nested: The main folder contais a th-file and sub-folders of different areas with its own th-files.



In one of those subfolders I joined 2 scraps in a map, all good. Now I need to join at this position another scrap from a different subfolder in the main th-file.



As far as I remembered, I simply join that in the main th-file with one of the 2 scraps from the other folder. However, it does not join the new scrap (simply igores the comand by the look of it). Log files seem to show no error and the compiler also says OK.
I gave the lines id's and tried to join them directly, the sub-map behaves like expected but the main-map still ignores the comand. I thought maybe Therion has a problem with the :end annotation and played around with the points. It turns out, that I can join the lines at every point exept the last one (eg.: first line: point 0/ second line: (has 8 points) 0-7, no problem, 8 or end is ignored).



Now am I too stupid and that was all the time like that without me noticing, or is that a bug?



 



Am using the latest stable release 5.7.7 (2021.02.06)...



 



thanks a lot,



Axel



___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion




___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Join 3 scraps from different maps

2021-03-05 Thread Tarquin Wilton-Jones via Therion
> In one of those subfolders I joined 2 scraps in a map, all good. Now I
> need to join at this position another scrap from a different subfolder

"at this position"

You cannot join 3 scraps at the same place using automatic scrap joins,
since there is no "open end" for it to join the third scrap to after it
has joined the first 2 scraps.

In this case, I would be joining the lines instead of the scraps. With a
line join, you can join as many lines as you want at the same time.

Give each wall an ID if it needs to be included in the join, then
join lineid@survey1:0 otherlineid@survey2:end thirdlineid@survey3:0

Each connection set must be in a single command. Use "0" or "end" (or
the specific point number) depending on which end of the lines are being
joined where.

(Alternatively, if you want to make maintenance difficult for yourself,
you can give the individual linepoints their own ID and join those.)

Hope this clarifies things for you. Please let me know if I
misunderstood your use-case.

Cheers,

Tarquin
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion