Symbols problems in Tunnel
From Fs_wiki
Contents |
Both ends out, should scan
When I render my survey I now see many messages like the following in the console output:
Both ends out, should scan lam scan 0.0 1.0 lam scan 0.0 0.5 lam scan 0.25 0.5 lam scan 0.25 0.375 lam scan 0.3125 0.375 lam scan 0.34375 0.375 lam scan 0.359375 0.375 lam scan 0.3671875 0.375 lam scan 0.37109375 0.375
My survey renders OK, so I don't know if this is a problem or not. What does it mean?
Scalebar symbols not working
Footleg: I am unable to get any of the scalebar symbols to render, except using style BaseBW4000. Using the latest build from CVS (24 May 2006) this style is not included. It did not render most of the text or labels anyway. When I originally started using Tunnel the scalebar symbols appeared to render OK in the other styles. Now they do not appear to work.
julian Symbolbar is only available in the "basevisiblegrid" subset. your connective line must be in that subset for it to pick it up.
- Footleg: Excellent! Now I understand this! Thanks. It is working fine in the latest source.
Attempting to make new symbols stuff
Footleg: XML is generally quite tightly defined for validation. So normally an attribute is associated with a specific element type, rather than being allowed to be placed in a number of possible places. This makes it much easier to validate the XML documents on loading.
subsets and scaling
Footleg: Is there a way to change the scale of the symbols when rendered on the survey? I am drawing up a large cave system, and the symbols appear so small at the scale I am printing at (1:3000) that the streamway arrows are barely visible and the stripes on puddles look like solid fill. A scale factor of rending the symbols would be very useful. (Or maybe one could be calculated automatically based on the scale which is being output? But that may be difficult to preview on screen where the output scale is not known). Footleg: How do I use subsets and styles? What are they for exactly? I have not found any documentation on these.
Julian: Documentation is not written because UI is workable but not satisfying. Can you help?
The key to everything is the "fontcolours.xml" file in the symbols directory. Change the attribute groupsubsetselectable="no" to groupsubsetselectable="yes", and then you will be able to select these subset-styles on the subset pane. They will let you see the different types of rendering, including Black-and-White styles that can enable large surveys to show on an A4 sheet for publication.
The named subsets are declared in a local copy of "fontcolours.xml" file, and you can then associate different parts of the cave to the different subsets. Look in the inlet7 example for details.
- Footleg: OK, I've had a quick play with this. I can see how to change the drawing settings for my entire survey. I think what I need to do next is to create a new subset, and then add items to it? Is there an easy way to select a large area of my survey and add it to a subset? Can I create new subsets through the UI? Or do I need to hand edit the "fontcolours.xml" file in order to do this?
Julian: No interface for managing subsets. Look at "fontcoloursinlet7.xml" in the example and make one of your own in your top-level directory. The "importgroupsubsetattr" XML command helps you derive from a previous set of settings. You have to declare the subsets you want to use with the subsetattr name="yournewsubsetname" command.
There are ways to add in large areas into subsets, but it's tricky. Best is to do them one by one, or use select areas (Shift right mouse button) and add batches. Usually not that many to do.