Extended Elevation, and other questions.
Hi Stacho, Here is the data off the embut de la Pinee, including whatever cause this wrong extended elevation map. I have not included any scan images (except for the ext. elevatin itself) as it would have be over 4 Mo large... I have corrected some (not all) the "scrap intersects itself" bugs in my maps (its a bit tedious, I cannot do it directly in the map editor, because of the splitline bug...). I also tried, after our discussion, to produced a large-scale "filled galeries" map, on which I wanted to have only the scal and north arrow, but no other headers... I have the feeling that I need redefine some tex-level macros for that, but th ebook is not very useful, it only specifies layout changes for the atlas. I have browsed through the tex sources, but I have nor been able to identify the layout macro (or the header macro) for Maps. I tried something like: layout shadow500 scale 1 500 legend off map-header 100 100 w symbol-hide group all symbol-show point entrance scale-bar 100 m color map-bg 100 color map-fg 0 endlayout export map -o ombre.pdf -layout shadow500 It works, but I'd like: - to remove all header texts (or eventually keep just a title) - add something like "show area water", may be in a different color... Cheers, Eric.
I'd like: - to remove all header texts (or eventually keep just a title)
Add following code inside your layout command: code tex-map \def\maplayout{ \legendbox{0}{100}{NW}{\northarrow\scalebar} \legendbox{100}{100}{NW}{\scalebar} } it produces two headers for one map (one in the upper-left, second in the upper-right corner) -- one arrow and two scale-bars -- just for an illustration. You may use any number of \legendbox'es inside of \maplayout definition. All macros and predefined boxes (like \scalebar) are described in the `Page layout in the map mode' chapter of the recent thbook.
- add something like "show area water", may be in a different color...
Again, add in layout: color map-fg 50 symbol-hide group all symbol-show area water code metapost def a_water (expr p) = T:=identity; thfill p withcolor (0.1, 0.2, 0.8); enddef; hope it helps. Martin
Eric Madelaine wrote:
Here is the data off the embut de la Pinee, including whatever cause this wrong extended elevation map. I have not included any scan images (except for the ext. elevatin itself) as it would have be over 4 Mo large...
Well, I had a look at your code, and there are several errors in the exteded elevation stations specification. point 152.0 1010.0 station -name k1@pinee8 -extend left -extend should be right, because you extend the stations to the right (k2 is on the right side of k1). Therion is not able to mirror scrap (currently). point 890.0 619.0 station -name k11@pinee8 point 890.0 619.0 station -name k11@pinee8 I'm not sure, but station k11 should be there only once, but may be, this is not an error. Main source of distortion are these lines: point 1070.0 468.0 station -name k15@pinee8 point 1224.0 338.0 station -name k16@pinee8 station k15 is on the right of station k14, therefore there should be -extend right and station k16 is on the left of k13, therefore there should be -extend [left prev k13@pinee8]. I know, in therion book this is written not very understandable way :( So the right code should be point 1070.0 468.0 station -name k15@pinee8 -extend left point 1224.0 338.0 station -name k16@pinee8 -extend [right prev k13@pinee8] After redefinition of anchor symbol, replacing the "point blocks" symbols on the floor with "wall -subtype blocks" and reparing the scrap outline, the extended elevation looks little bit better.
I also tried, after our discussion, to produced a large-scale "filled galeries" map, on which I wanted to have only the scal and north arrow, but no other headers... I have the feeling that I need redefine some tex-level macros for that, but th ebook is not very useful, it only specifies layout changes for the atlas. I have browsed through the tex sources, but I have nor been able to identify the layout macro (or the header macro) for Maps.
In the configuration file, there is also simple-map layout, where also scale-bar is redefined (it is a 50 m line in both directions). Using it, you should be able to align the cave on the topo-map (the coordinate grid will be present in some future version of therion). Using your files, I have found some another serious bugs in therion, I'll try to repair them as soon as possible. I have attached the files I have modified. Regards, S.
In the configuration file, there is also simple-map layout, where also scale-bar is redefined (it is a 50 m line in both directions). Using it, you should be able to align the cave on the topo-map (the coordinate grid will be present in some future version of therion).
It looks great !
Using your files, I have found some another serious bugs in therion, I'll try to repair them as soon as possible. I have attached the files I have modified.
Thanks a lot for your help, both of you, I'm sincerily impressed. My first -extend error seems really stupid... I suppose I would not have found the "-extend [right prev k13@pinee8]" alone (;-) By the way, as Martin mentionned today a reference to the "changing the layout in maps" section, I first though I had an older version of the book, and then discovered that I just had missed page 50 when looking exactly for that! Sorry. Anyway, your simple map layout is perfect, Stacho. I will not be able to work much more on therion for the next month, I'm quiting for family holidays on saterday, then beginning of august on our summer camp (massif du Marguareis), and back home only around the &(th of august. Cheers, Eric Madelaine.
Again, add in layout:
color map-fg 50 symbol-hide group all symbol-show area water
code metapost def a_water (expr p) = T:=identity; thfill p withcolor (0.1, 0.2, 0.8); enddef;
It would be more correct do define own symbol set than to redefine the default symbol (it has the same result, but redefining the default doesn't allow to switch among various symbol sets). So the correct solution is: ----------------------------- color map-fg 50 symbol-hide group all symbol-show area water symbol-assign area water MY code metapost def a_water_MY (expr p) = T:=identity; thfill p withcolor (0.1, 0.2, 0.8); enddef; initsymbol("a_water_MY"); ----------------------------- Now you may use the symbol-assign command to switch among all predefined symbol sets and the new set MY. Regards, Martin
participants (3)
-
Eric Madelaine -
Martin Budaj -
Stacho Mudrak