Can I rotate a map?

Stacho Mudrak s.m at speleo.sk
Fri Mar 26 09:44:41 CET 2004


> 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.









More information about the Therion mailing list