I've had a request from the editor to send him a therion map rotated 90 degrees so it fits better on the page. We can simply rotate the whole image, but it is possible to print a map with the text upright but north rotated? This is often useful for getting maps to fit on a page more efficiently (I've done it before for paper surveys), so if it's not currently a feature can we add it to the wishlist? I read the layout command, and whilst finding various fun things I didn't see a way to address this problem Wookey -- Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679 work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/
No, BUT ...
fit on a page more efficiently (I've done it before for paper surveys), so if it's not currently a feature can we add it to the wishlist?
It's already there (I should translate at least some parts of TODO from Slovak into English :)))
I read the layout command, and whilst finding various fun things I didn't see a way to address this problem
But it is still possible to do it (using very dirty trick) with your current version - you can set declination for the top-survey surrounding entire cave. -declination [90 deg] will rotate entire output 90 degrees clockwise. Hope it helps. Regards, S. P.S. What about zooming large images in xtherion. Did the new version of xtherion solved your memory problems? P.S.2. When I've tried to set -declination [90 deg] with latest version of therion (0.3.0 - will be hopefully published on Eastern) - it didn't worked. But with 0.2.19, it was OK. So you have pointed me to some serious bug I've introduced to the code :) Thanks.
+++ Stacho Mudrak [04-03-25 16:12 +0100]:
No, BUT ...
fit on a page more efficiently (I've done it before for paper surveys), so if it's not currently a feature can we add it to the wishlist?
It's already there (I should translate at least some parts of TODO from Slovak into English :)))
that would be useful - I have no idea what is currently on the list :-)
I read the layout command, and whilst finding various fun things I didn't see a way to address this problem
But it is still possible to do it (using very dirty trick) with your current version - you can set declination for the top-survey surrounding entire cave.
-declination [90 deg]
will rotate entire output 90 degrees clockwise.
thanx - that'll do for now (I get the north arrow pointing the wrong way(?) but that doesn't matter in this case) OK, that works but now I have another query. The page size of the PDF seems to be determined by the size of the background image, rather than the actual drawn lines. In the old version there was a lot of space below the cave, now there is a lot of space to the left of the cave, and this means the centred legend is hanging in a lot of whitespace. Is there a clip layout control I can use? The Thbook tells me there is age-setup for atlas mode only, and size for Map mode, but this only works is page-grid is on (I tried that and it didn't look nice on this survey - partly due to the huge white-space area) Oh yes and setting doc-title in layout doesn't change the title of the survey - it is still just the survey name 'river'. How do I specify that I want the output survey to be called 'Terikan River Cave'?
P.S. What about zooming large images in xtherion. Did the new version of xtherion solved your memory problems?
I haven't had time to try it yet - I just copied from mail to my 'therion' machine today to try. Wookey -- Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679 work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/
that would be useful - I have no idea what is currently on the list :-)
A lot of ugly things :)))
thanx - that'll do for now (I get the north arrow pointing the wrong way(?) but that doesn't matter in this case)
You can change the MP macro via layout :))) OK, it's even more dirty...
OK, that works but now I have another query. The page size of the PDF seems to be determined by the size of the background image, rather than the actual drawn lines.
This is not true.
In the old version there was a lot of space below the cave, now there is a lot of space to the left of the cave, and this means the centred legend is hanging in a lot of whitespace. Is there a clip layout control I can use?
I don't think so. I've been also asking for such a things, but this is the area of Martin and he is currently in Paris. He should be back on Monday. Anyway - as far as I remember - this was also a bug in 0.2.18 and I'm not sure, whether is was fixed in 0.2.19. It was happening, when you've been exporting atlas and map from one thconfig file. So if this is the case, just comment out the "export atlas", may be it will help. The background images have for sure nothing to do with PDF size. It is strictly determined by drawn objects. May be - there is something drawn on the map, but you can no see it (degenerated background???). I do not know? If you can send me those sources, I can have a look at it.
Oh yes and setting doc-title in layout doesn't change the title of the survey - it is still just the survey name 'river'. How do I specify that I want the output survey to be called 'Terikan River Cave'?
Doc-title was only a temporary think, it was removed in version 0.2.19. The "river" comes either from survey (most probably), or from map name. All you need to do is to specify title for survey. E.g. survey river -title "Terikan River Cave" or title for map map river -title "Terikan River Cave" Probably you are the first case. Survey and titles are shown on the "Survey structure" or "Map structure" TAB in the compiler. S.
+++ Stacho Mudrak [04-03-25 16:47 +0100]:
OK, that works but now I have another query. The page size of the PDF seems to be determined by the size of the background image, rather than the actual drawn lines.
This is not true.
I did wonder... It just seemed to be about that size 'extra'
In the old version there was a lot of space below the cave, now there is a lot of space to the left of the cave, and this means the centred legend is hanging in a lot of whitespace. Is there a clip layout control I can use?
I don't think so. I've been also asking for such a things, but this is the area of Martin and he is currently in Paris. He should be back on Monday.
Anyway - as far as I remember - this was also a bug in 0.2.18 and I'm not sure, whether is was fixed in 0.2.19. It was happening, when you've been exporting atlas and map from one thconfig file. So if this is the case, just comment out the "export atlas", may be it will help.
There is no atlas exported (it's already commented out :-) . In fact I have fixed it by changing scale and base-scale till I get something 'about right'. It works OK when cave is small in comparison to Legend, but not with big cave and tiny legend. I will investigate more.
The background images have for sure nothing to do with PDF size. It is strictly determined by drawn objects. May be - there is something drawn on the map, but you can no see it (degenerated background???). I do not know? If you can send me those sources, I can have a look at it.
I expect you are right - If I can't understand myself I'll send you a copy.
Oh yes and setting doc-title in layout doesn't change the title of the survey - it is still just the survey name 'river'. How do I specify that I want the output survey to be called 'Terikan River Cave'?
Doc-title was only a temporary think, it was removed in version 0.2.19. The "river" comes either from survey (most probably), or from map name. All you need to do is to specify title for survey. E.g.
survey river -title "Terikan River Cave"
this works, but having title "Terikan River Cave" inside this survey didn't - is that right?
map river -title "Terikan River Cave"
but this: export map -proj plan -title "Terikan River Cave (east)" -layout elevator -o soundriverpln.pdf gives the error 'unrecognised option -title' It would be nice to specify the title on the map layout in this case rather than as part of one component survey.
Probably you are the first case. Survey and titles are shown on the "Survey structure" or "Map structure" TAB in the compiler.
OK - I was avoiding loading xtherion up (takes time :-) thanx again - I've now got a survey good enough for the compass Pints front cover :-) Wookey -- Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679 work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/
In fact I have fixed it by changing scale and base-scale till I get something 'about right'. It works OK when cave is small in comparison to Legend, but not with big cave and tiny legend. I will investigate more.
Look carefully on your map - you have there a survey station 25 in the lower left corner :) You have forgotten to comment out line point 1013.0 -911.0 station -name 25 in your soundriver.th2 file.
The background images have for sure nothing to do with PDF size. It is strictly determined by drawn objects. May be - there is something drawn on the map, but you can no see it (degenerated background???). I do not know? If you can send me those sources, I can have a look at it.
I expect you are right - If I can't understand myself I'll send you a copy.
Well, I'm not rigth completely. Also objects that are clipped have impact on PDF page size. This should be probably changed.
this works, but having title "Terikan River Cave" inside this survey didn't - is that right?
Yes. Title is the property of survey and map objects.
map river -title "Terikan River Cave"
but this: export map -proj plan -title "Terikan River Cave (east)" -layout elevator -o soundriverpln.pdf
gives the error 'unrecognised option -title'
Yes. In fact, export has no title.
It would be nice to specify the title on the map layout in this case rather than as part of one component survey.
We always specify the titles for the surveys. It's allways easier to read "Passage above English hall", like "paeh" - the survey name. But there is also possibility to specify map title in the layout (but only between "layout" and "endlayout" commands). Also other things can be changed in the layout. Try to add following lines to your map layout: code tex-map \cavename={Terikan River Cave} \topotitle={Surveyed by} \cartotitle={Drawn by} \explotitle={Explored by} This is probably do, what you would like to. When I've been studying your code yesterday, I've found some thing, which I would like to comment: 1. soundriver.th 2 8 8 6 2 30 046 +9 1 6 4 4 2 0 0 0 # faked data to make therion happy 2 - - - - 30 223 -2 3 8 7 6 2 Therion would be very happy, if you would put break instead of 0 0 0 line. If there is a break in interleaved data, it should be explicitely defined in therion. 2 8 8 6 2 30 046 +9 1 6 4 4 2 break 2 - - - - 30 223 -2 3 8 7 6 2 will definitely make therion happy :))) This is because of following, assume: data normal station up down newline compass clino tape 1 2 3 2 3 4 3 4 5 4 5 6 6 7 8 5 3 4 7 8 9 10 10 10 In this case, therion is unable to say, where the break occurs. 2. All inner walls (walls that form holes in the scrap outline) must have specified -outline in. Otherwise the clipping and filling path will not be correct. And you will have also problems when 3D model will be generated from such a degenerated outline. 3. Scraps should touch each other - to look OK if they're shaded. So you should add invisible walls there (wall -subtype invisible). Thanks again for your feedback - it seems to me, that therion tutor document is more than necessary. We should probably put it on the first place in the TODO list. S. P.S. I've attached two pictures, to illustrate things I've changed in your file.
participants (2)
-
Stacho Mudrak -
Wookey