Fix punctuation typo
[survex.git] / doc / manual.sgml
blob3d391c9a2e9d45e0c129e8fd063ff6cbd345239c
1 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2 <!ENTITY man.aven SYSTEM "aven.sgml">
3 <!ENTITY man.cavern SYSTEM "cavern.sgml">
4 <!ENTITY man.diffpos SYSTEM "diffpos.sgml">
5 <!ENTITY man.dump3d SYSTEM "dump3d.sgml">
6 <!ENTITY man.extend SYSTEM "extend.sgml">
7 <!ENTITY man.sorterr SYSTEM "sorterr.sgml">
8 <!ENTITY man.survexport SYSTEM "survexport.sgml">
9 ]>
11 <!--
12 FIXME:
14 3dfile title:
15 defaults to a list of the leafnames of the <filename>.svx</filename> files specified on the
16 command line (with any paths and extensions removed).
18 e.g.: cavern entrance.svx \data\2ndpart.svx
20 would give a surveytitle of 'entrance 2ndpart'.
22 but this may change...
24 FIXME todo:
25 mark-up of Windows Windows NT etc?
26 section on "design philosophy"
28 level sump fudge:
30 *begin
31 *data cartesian from to dx dy dz
32 *sd dx dy 100 metres
33 *sd dz 0.001 metres
34 ; upstream - downstream
35 nuiping.gowiththeflow.129 dachao.upstream.105 0 0 0 ; last number is drop in height across the sump
36 *end
38 ``Quick start'' section
40 - install (by OS): unpacking, configuration (language, where support files live)
42 - lead people through entering and processing
43 a sample survey. Take examples from surveying books and real surveys.
46 <Para>The other really important commands apart from *BEGIN, *END, and
47 *INCLUDE are *EQUATE and *FIX.
48 </Para>
50 <Para>*EQUATE is used to join surveys together, e.g.
51 </Para>
53 <programlisting>*equate entrance.6 adrian.1</programlisting>
55 <Para>
56 indicates that station 6 of the entrance survey was used as
57 the station 1 of the Adrian's Route survey.
58 </Para>
60 <Para>*FIX is for fixing control points - for example:
61 </Para>
63 <programlisting>
64 *fix 161.entrance.1 0 0 1780</programlisting>
66 <Para>fixes the 1st point of the 'entrance' survey at the coordinates
67 0 (east-west), 0 (north-south), 1780 (altitude).
68 </Para>
71 <term>node</term>
72 <listitem><para>when talking about the survey network, we talk about an
73 <emphasis>n</emphasis>-node to describe the number of connections to
74 a station. So a 1-node is a station with only 1 leg to or from it
75 - i.e. The end of a passage or survey. A
76 2-node is a typical station along a passage with a survey leg coming
77 into it, and one going out. A 3-node is a station with three legs
78 joining it, e.g. at a T-junction. And so on.
79 </para>
81 -->
83 <article Status="draft" id="index">
84 <articleinfo>
85 <Title><Application>Survex</Application> <!--VERSION-->1.4.8 Manual</Title>
86 <AuthorGroup>
87 <Author>
88 <FirstName>Olly</FirstName>
89 <SurName>Betts</SurName>
90 <AuthorBlurb><Para>
91 Olly Betts wrote most of <Application>Survex</Application>.
92 </Para></AuthorBlurb>
93 <Affiliation>
94 <Address><Email>olly@survex.com</Email></Address>
95 </Affiliation>
96 </Author>
97 <Author>
98 <SurName>Wookey</SurName>
99 <AuthorBlurb><Para>
100 Wookey is a small furry creature.
101 </Para></AuthorBlurb>
102 <Affiliation>
103 <Address><Email>wookey@survex.com</Email></Address>
104 </Affiliation>
105 </Author>
106 </AuthorGroup>
107 <copyright>
108 <year>1998-2018</year>
109 <holder role="mailto:olly@survex.com">Olly Betts</holder>
110 </copyright>
111 <Abstract>
112 <Para>
113 This is the manual for <Application>Survex</Application> - an open-source software package for
114 cave surveyors.
115 </Para>
116 </Abstract>
117 </articleinfo>
119 <Sect1><Title>Introduction</Title>
120 <?dbhtml filename="intro.htm">
122 <Para>
123 This section describes what <Application>Survex</Application> is, and outlines the scope of this
124 manual.
125 </Para>
127 <Sect2><Title>About <Application>Survex</Application></Title>
129 <Para><Application>Survex</Application> is a multi-platform open-source cave surveying
130 package.
131 Versions 1.2 and later run on UNIX, Microsoft Windows, and macOS.
132 We're investigating support for phones and tablets.
133 </Para>
135 <Para>We are well aware that not everyone has access to super hardware
136 - often surveying projects are run on little or no budget and any
137 computers used are donated. We aim to ensure that <Application>Survex</Application> is
138 feasible to use on low-spec machines. Obviously it won't be as
139 responsive, but we intend it to be usable.
140 Please help us to achieve this by giving us some feedback
141 if you use <Application>Survex</Application> on a slow machine.</Para>
143 <Para><Application>Survex</Application> is capable of processing extremely complex caves very
144 quickly and has a very effective, real-time cave viewer which allows
145 you to rotate, zoom, and pan the cave using mouse or keyboard. We have
146 tested it extensively using <Acronym>CUCC</Acronym> and <Acronym>ARGE</Acronym>'s surveys of the caves
147 under the Loser Plateau in Austria (over 25,000 survey legs, and over
148 140km of underground survey data). This can all be processed in around
149 10 seconds on a low-end netbook.
150 Survex is also used by many other survey projects around the world,
151 including the
152 <ulink url="http://www.oucc.org.uk/draenen/draenenmain.htm"
153 >Ogof Draenen</ulink> survey, the
154 <ulink url="http://www.easegill.org.uk/">Easegill</ulink> resurvey project,
155 the <Acronym>OFD</Acronym> survey, the
156 <!-- url="http://milos2.zoo.ox.ac.uk/~oucc/reports/surveys/surveys.htm" -->
157 <ulink url="http://www.oucc.org.uk/reports/surveys/surveys.htm"
158 ><Acronym>OUCC</Acronym> Picos expeditions</ulink>, and the
159 <ulink url="http://www.hongmeigui.net/">Hong Meigui China
160 expeditions</ulink>. <!-- FIXME more? --></Para>
162 <Para><Application>Survex</Application> is still actively being worked on. Version 1.0 was
163 complete in some sense, but development continues - initially in reshaping
164 Survex into a more integrated GUI package.</Para>
166 <Para>We encourage feedback from users on important features or problems,
167 which will help to direct future development. See the "Mailing List" section
168 of this manual for the best way to contact us.</Para>
170 </Sect2>
172 <!--
173 <Para>Because <Application>Survex</Application> is still being actively developed, this document
174 has an unfortunate tendency to lag slightly behind the capabilities of the
175 software. The latest version is now available on the web at <ulink
176 url="https://survex.com/">https://survex.com/</ulink> - check there for latest info.
177 </Para>
180 <!--
181 <Sect2><Title>Other Documentation</Title>
183 <variablelist>
184 <varlistentry>
185 <term>NEWS or NEWS.txt</term>
186 <listitem><Para>a list of changes of interest to
187 <Application>Survex</Application> users, broken down by version number. Consult this file
188 when upgrading to find out what has changed since the version you were
189 using previously.
190 </Para></listitem>
191 </varlistentry>
193 <varlistentry>
194 <term>ChangeLog or CHANGES.txt</term>
195 <listitem><Para>a much more detailed list of changes, aimed at developers
196 rather than end users.
197 </Para></listitem>
198 </varlistentry>
200 <varlistentry>
201 <term>BUGS or BUGS.txt</term>
202 <listitem><Para>a list of known bugs.
203 </Para></listitem>
204 </varlistentry>
206 <varlistentry>
207 <term>TODO or TODO.txt</term>
208 <listitem><Para>planned changes and enhancements.
209 </Para></listitem>
210 </varlistentry>
212 FIXME: merge INSTALL* into here, then process separately and textify
213 to produce INSTALL*
215 <varlistentry>
216 <term>INSTALL or INSTALL.txt</term>
217 <listitem><Para>instructions for installing <Application>Survex</Application>. The
218 Microsoft Windows version comes packaged up with an installation wizard,
219 so this file doesn't exist there (you just run the package and follow
220 the on-screen instructions).
221 </Para></listitem>
222 </varlistentry>
223 </variablelist>
225 </Sect2>
228 <Sect2><Title>About this Manual</Title>
230 <Para>
231 If there's a part of this manual you find hard to understand, please do
232 let us know. We already know Survex well, so it can be hard for us
233 to spot areas where the manual doesn't given enough information, or
234 doesn't explain things clearly enough to follow when you don't know what's
235 going on. It's helpful is you can suggest a better wording, but don't worry
236 if you can't, just explain the problem as precisely as you can.
237 </Para>
239 <Para>
240 The master version of this manual is an <acronym>SGML</acronym>
241 document written using the <ulink url="http://www.docbook.org/">docbook
242 <acronym>DTD</acronym></ulink>,
243 and automatically converted to a number of other formats. If
244 you are going to send us <emphasis>major</emphasis> changes, it's much easier
245 to include them if you work from this master. You can get it
246 from the source archive (docs/manual.sgml) or from <ulink
247 url="https://survex.com/docs.html">the Survex website</ulink>.
248 </Para>
250 <Sect3><Title>Terminology</Title>
252 <Para>Throughout this document we use British terminology for
253 surveying.</Para>
255 <variablelist>
256 <varlistentry>
257 <term>station</term>
258 <listitem><para>a point in the cave that you survey from and/or to
259 </para></listitem></varlistentry>
261 <varlistentry>
262 <term>leg</term>
263 <listitem><para>a line joining two stations
264 </para></listitem></varlistentry>
266 <varlistentry>
267 <term>survey</term>
268 <listitem><para>a group of legs surveyed on the same trip
269 </para></listitem></varlistentry>
271 </variablelist>
273 </Sect3>
275 </Sect2>
277 <!-- FIXME: Further sources of info: website, mailing lists, other docs -->
279 </Sect1>
281 <Sect1><Title>Getting Started</Title>
282 <?dbhtml filename="getstart.htm">
284 <Para>This section covers how to obtain the software, and how to unpack and
285 install it, and how to configure it.</Para>
287 <Sect2><Title>Obtaining <Application>Survex</Application></Title>
289 <Para>The latest version is available from the <Application>Survex</Application> website:
290 <ulink url="https://survex.com/">https://survex.com/</ulink>. It is also
291 freely redistributable, so you welcome to get a copy from someone else
292 who has already downloaded it.</Para>
294 <Para>If you want some sample data to experiment with, you can download some
295 from the Survex website too:
296 <ulink url="https://survex.com/software/sample.tar.gz">https://survex.com/software/sample.tar.gz</ulink></Para>
298 </Sect2>
300 <Sect2><Title>Installing <Application>Survex</Application></Title>
302 <Para>The details of installation depend greatly on what platform you
303 are using, so there is a separate section below for each platform.</Para>
305 <Sect3><Title>Linux</Title>
307 <Para>
308 Pre-built versions of Survex are available for some Linux distributions.
309 See the <ulink url="https://survex.com/download.html?platform=linux">Survex
310 for Linux download page</ulink> on our website for up-to-date information.
311 </Para>
313 <Para>
314 You'll need root access to install these prebuilt packages.
315 If you don't have root access you will need to build from source
316 (see the next section).
317 </Para>
319 <!-- FIXME Add Gnome file association note for Linux/Unix
320 <Para>On Microsoft Windows, <Application>Survex</Application> installs with
321 suitable file associations so that you can drive it from the GUI.
322 On UNIX you need to drive <Application>Survex</Application> from a command-line
323 prompt (or set some a filemanager or graphics shell).
324 </Para>
327 </Sect3>
329 <Sect3><Title>macOS</Title>
331 <Para>
332 The easiest way to install a recent release of Survex on macOS is by using
333 the Homebrew package manager. If you don't already use Homebrew, you'll
334 need to install it first. See the
335 <ulink url="https://survex.com/download.html?platform=macosx">macOS
336 download page on the website</ulink> for installation instructions.
337 </Para>
339 </Sect3>
341 <Sect3><Title>Other versions of UNIX</Title>
343 <Para>For other UNIX versions you'll need to get the source code
344 and compile it on your system. Unpack the sources and read
345 the file called INSTALL in the top level for details about building
346 from source.
347 </Para>
349 </Sect3>
351 <Sect3><Title>Microsoft Windows</Title>
353 <Para>
354 This version comes packaged with an installation wizard. Just
355 run the downloaded package and it will lead you through the
356 installation process.
357 </Para>
359 <Para>
360 Survex 1.4.8 and later support installing for all users (which requires
361 administrator rights) or just for the current user (which doesn't).
362 If installed for just the current user, other user accounts won't see
363 the file associations, menu entries, desktop icons, etc for Survex.
364 </Para>
366 <Para>
367 Note that if you have an existing installation the installer will see
368 it and try to upgrade it, and if that installation was done with administrator
369 rights (which any installation of 1.4.7 or earlier will be) you'll also
370 need administrator rights to upgrade. To change to a non-admin installation
371 you need to first uninstall the existing admin install (which will need admin
372 rights) then install the new version.
373 </Para>
375 <Para>
376 The survey viewer that's part of <Application>Survex</Application> is called
377 aven, and uses OpenGL for 3d rendering.
378 </Para>
380 <Para>
381 If you find that 3D rendering is sometimes very slow (e.g. one user reported
382 very slow performance when running full screen, while running in a window
383 was fine) then try installing the OpenGL driver supplied by the manufacturer
384 of your graphics card rather than the driver Microsoft supply.
385 </Para>
387 <Para>
388 The installer creates a Survex group in the Programs sub-menu of the
389 Start menu containing the following items:
390 </Para>
392 <ItemizedList>
394 <ListItem><Para>Aven</Para></ListItem>
396 <ListItem><Para>Documentation</Para></ListItem>
398 <ListItem><Para>Uninstall Survex</Para></ListItem>
400 </ItemizedList>
402 <Para>
403 Icons are installed for <filename>.svx</filename>, <filename>.3d</filename>, <filename>.err</filename>, and <filename>.pos</filename> files, and also for
404 Compass Plot files (<filename>.plt</filename> and <filename>.plf</filename>)
405 (which Survex can read). <!-- FIXME XYZ -->
406 Double-clicking on a <filename>.svx</filename> file loads it for editing. To process it to
407 produce a <filename>.3d</filename> file, right click and choose "Process" from
408 the menu - this runs aven to process the <filename>.svx</filename> file and
409 automatically load the resultant <filename>.3d</filename> file.
410 All the <Application>Survex</Application> file types can be right clicked on to give a menu of
411 possible actions.
412 </Para>
414 <VariableList>
415 <VarListEntry><Term><filename>.svx</filename></Term>
416 <ListItem>
417 <VariableList>
418 <VarListEntry><Term>Process</Term>
419 <ListItem><Para>
420 Process file with aven to produce <filename>.3d</filename> file (and <filename>.err</filename> file)
421 </Para></ListItem>
422 </VarListEntry>
423 </VariableList>
424 </ListItem>
425 </VarListEntry>
427 <VarListEntry><Term><filename>.3d</filename></Term>
428 <ListItem>
429 <VariableList>
430 <VarListEntry><Term>Open</Term>
431 <ListItem><Para>
432 Load file into Aven
433 </Para></ListItem>
434 </VarListEntry>
435 <VarListEntry><Term>Print</Term>
436 <ListItem><Para>
437 Print the file via Aven
438 </Para></ListItem>
439 </VarListEntry>
440 <VarListEntry><Term>Extend</Term>
441 <ListItem><Para>
442 Produce extended elevation
443 </Para></ListItem>
444 </VarListEntry>
445 <VarListEntry><Term>Convert to DXF</Term>
446 <ListItem><Para>
447 This entry used to be provided to allow converting to a DXF file (suitable
448 for importing into many CAD packages) but this functionality is now available
449 from inside Aven with the ability to control what is exported, and this entry
450 was dropped in 1.2.35.
451 </Para></ListItem>
452 </VarListEntry>
453 <VarListEntry><Term>Convert for hand plotting</Term>
454 <ListItem><Para>
455 This entry used to be provided to allow converting to a <filename>.pos</filename> file
456 listing all the stations and their coordinates, but this functionality is now
457 available from inside Aven with the ability to control what is exported, and
458 this entry was dropped in 1.2.35.
459 </Para></ListItem>
460 </VarListEntry>
461 </VariableList>
462 </ListItem>
463 </VarListEntry>
465 <VarListEntry><Term><filename>.err</filename></Term>
466 <ListItem>
467 <VariableList>
468 <VarListEntry><Term>Open</Term>
469 <ListItem><Para>
470 Load file into Notepad
471 </Para></ListItem>
472 </VarListEntry>
473 <VarListEntry><Term>Sort by Error</Term>
474 <ListItem><Para>
475 Sort <filename>.err</filename> file by the error in each traverse
476 </Para></ListItem>
477 </VarListEntry>
478 <VarListEntry><Term>Sort by Horizontal Error</Term>
479 <ListItem><Para>
480 Sort <filename>.err</filename> file by the horizontal error in each traverse
481 </Para></ListItem>
482 </VarListEntry>
483 <VarListEntry><Term>Sort by Vertical Error</Term>
484 <ListItem><Para>
485 Sort <filename>.err</filename> file by the vertical error in each traverse
486 </Para></ListItem>
487 </VarListEntry>
488 <VarListEntry><Term>Sort by Percentage Error</Term>
489 <ListItem><Para>
490 Sort <filename>.err</filename> file by the percentage error in each traverse
491 </Para></ListItem>
492 </VarListEntry>
493 <VarListEntry><Term>Sort by Error per Leg</Term>
494 <ListItem><Para>
495 Sort <filename>.err</filename> file by the error per leg in each traverse
496 </Para></ListItem>
497 </VarListEntry>
498 </VariableList>
499 </ListItem>
500 </VarListEntry>
501 </VariableList>
503 </Sect3>
505 </Sect2>
507 <Sect2><Title>Configuration</Title>
509 <Sect3><Title>Selecting Your Preferred Language</Title>
511 <Para>Survex has extensive internationalisation capabilities. The
512 language used for messages from Survex and most of the library calls
513 it uses can be changed. By default this is picked up from the
514 language the operating system is set to use (from "Regional Settings"
515 in Control Panel on Microsoft Windows, from the
516 <systemitem>LANG</systemitem> environment variable on UNIX
517 If no setting
518 is found, or <Application>Survex</Application> hasn't been translated into the
519 requested language, UK English is used.</Para>
521 <Para>
522 However you may want to override the language manually -
523 for example if Survex isn't available in your native language
524 you'll want to choose the supported language you understand best.
525 </Para>
527 <Para>
528 To do this, you set the
529 <systemitem>SURVEXLANG</systemitem> environment variable. Here's a list
530 of the codes currently supported:</Para>
532 <informaltable frame="all">
533 <tgroup cols="2">
534 <thead>
535 <row><entry>Code</entry><entry>Language</entry></row>
536 </thead>
537 <tbody>
538 <row><entry>en</entry><entry>International English</entry></row>
539 <row><entry>en_US</entry><entry>US English</entry></row>
540 <row><entry>bg</entry><entry>Bulgarian</entry></row>
541 <row><entry>ca</entry><entry>Catalan</entry></row>
542 <row><entry>de</entry><entry>German</entry></row>
543 <row><entry>de_CH</entry><entry>Swiss German</entry></row>
544 <row><entry>el</entry><entry>Greek</entry></row>
545 <row><entry>es</entry><entry>Spanish</entry></row>
546 <row><entry>fr</entry><entry>French</entry></row>
547 <row><entry>hu</entry><entry>Hungarian</entry></row>
548 <row><entry>id</entry><entry>Indonesian</entry></row>
549 <row><entry>it</entry><entry>Italian</entry></row>
550 <row><entry>pl</entry><entry>Polish</entry></row>
551 <row><entry>pt</entry><entry>Portuguese</entry></row>
552 <row><entry>pt_BR</entry><entry>Brazillian Portuguese</entry></row>
553 <row><entry>ro</entry><entry>Romanian</entry></row>
554 <row><entry>ru</entry><entry>Russian</entry></row>
555 <row><entry>sk</entry><entry>Slovak</entry></row>
556 <row><entry>zh_CN</entry><entry>Chinese (Simplified)</entry></row>
557 </tbody>
558 </tgroup>
559 </informaltable>
561 <Para>Here are examples of how to set this environment variable to give
562 messages in French (language code fr):</Para>
564 <VariableList>
565 <VarListEntry><Term>Microsoft Windows</Term>
566 <ListItem><Para>
567 For MS Windows proceed as follows (this description was written from
568 MS Windows 2000, but it should be fairly similar in other versions): Open the
569 Start Menu, navigate to the Settings sub-menu, and
570 open Control Panel. Open System (picture of a computer) and click on the
571 Advanced tab. Choose `Environmental Variables', and create a new one: name
572 <systemitem>SURVEXLANG</systemitem>, value <systemitem>fr</systemitem>.
573 Click OK and the new value should be effective immediately.
574 </Para></ListItem>
575 </VarListEntry>
576 <VarListEntry><Term>UNIX - csh/tcsh</Term>
577 <ListItem><Para><userinput>setenv SURVEXLANG fr</userinput></Para></ListItem>
578 </VarListEntry>
579 <VarListEntry><Term>UNIX - sh/bash</Term>
580 <ListItem><Para><userinput>SURVEXLANG=fr ; export SURVEXLANG</userinput></Para></ListItem>
581 </VarListEntry>
582 </VariableList>
584 <Para>If <Application>Survex</Application> isn't available in your language, you could
585 help out by providing a translation. The initial translation is
586 likely to be about a day's work; after that translations for
587 new or changed messages are occasionally required. Contact us for details
588 if you're interested.</Para>
590 </Sect3>
592 </Sect2>
594 <Sect2><Title>Using <Application>Survex</Application></Title>
596 <Para>
597 Most common tasks can now be accomplished through Aven - processing survey
598 data, viewing the processed data, printing, exporting to other formats,
599 and producing simple extended elevations.
600 </Para>
602 <Para>
603 A few tasks still require you to use the command line. And some functionality
604 is available both via aven and from the command line, which allows it to be
605 scripted.
606 </Para>
608 <Para>
609 The command line programs that come with Survex are:
610 </Para>
612 <VariableList>
614 <VarListEntry><Term>extend</Term>
615 <listitem><Para>
616 Produces extended elevations - this is probably the most useful of
617 these command line tools. Since version 1.2.27 you can produce simple
618 extended elevations from Aven using the "Extended Elevation" function.
619 However the command line tool allows you to specify a spec file to
620 control how the survey is extended, which you can't currently do via
621 Aven.
622 </Para></listitem>
623 </VarListEntry>
625 <VarListEntry><Term>diffpos</Term>
626 <listitem><Para>
627 Compares the positions of stations in two .3d, .pos, etc files.
628 </Para></listitem>
629 </VarListEntry>
631 <VarListEntry><Term>sorterr</Term>
632 <listitem><Para>
633 Sorts a .err file by a specified field.
634 </Para></listitem>
635 </VarListEntry>
637 <VarListEntry><Term>survexport</Term>
638 <listitem><Para>
639 Provides access to Aven's "Export" functionality from the command line,
640 which can be useful in scripts.
641 </Para></listitem>
642 </VarListEntry>
644 <VarListEntry><Term>cavern</Term>
645 <listitem><Para>
646 Processes survey data, but since version 1.2.3 you can process .svx
647 files by simply opening them with Aven, so you no longer need to run
648 cavern from the command line. The main reason to run cavern directly
649 is for use in scripts.
650 </Para></listitem>
651 </VarListEntry>
653 <VarListEntry><Term>dump3d</Term>
654 <listitem><Para>
655 Dumps out a list of the items in a .3d file - it's mainly useful for
656 debugging.
657 </Para></listitem>
658 </VarListEntry>
660 </VariableList>
662 </Sect2>
664 </Sect1>
666 <!-- FIXME
668 type in .svx file
670 run cavern (through aven)
672 run aven
674 how to print/export etc
678 <!-- FIXME perhaps move this after data files section? -->
679 <Sect1><Title>Survex Programs</Title>
680 <?dbhtml filename="cmdline.htm">
682 <Sect2><Title>Standard Options</Title>
684 <Para>All <Application>Survex</Application> programs respond to the following command line options:
685 </Para>
687 <VariableList>
689 <VarListEntry><Term>--help</Term><listitem><Para>
690 display option summary and exit
691 </Para></listitem></VarListEntry>
693 <VarListEntry><Term>--version</Term><listitem><Para>
694 output version information and exit
695 </Para></listitem></VarListEntry>
697 </VariableList>
699 </Sect2>
701 <Sect2><Title>Short and Long Options</Title>
703 <Para>
704 Options have two forms: short (a dash followed by a single letter e.g.
705 <command>cavern -q</command>) and long (two dashes followed by one or more words e.g.
706 <command>cavern --quiet</command>). The long form is generally easier to
707 remember, while the short form is quicker to type. Options are often
708 available in both forms.
709 </Para>
711 <Note><Para>Command line options are case sensitive, so "-B" and "-b"
712 are different (this didn't used to be the case before Survex 0.90). Case
713 sensitivity doubles the number of available short options (and is also the
714 norm on UNIX).
715 </Para></Note>
716 </Sect2>
718 <Sect2><Title>Filenames on the Command Line</Title>
720 <Para>Filenames with spaces can be processed (provided your operating system
721 supports them - UNIX does, and so do modern versions of Microsoft
722 Windows). You need to enclose the filename in quotes like so:
723 <userinput>cavern "Spider Cave"</userinput>
724 </Para>
726 <Para>A file specified on the command line of any of the <Application>Survex</Application> suite
727 of programs will be looked for as specified. If it is not found, then the
728 file is looked for with the appropriate extension appended. So
729 <userinput>cavern survey</userinput> will look first for
730 <filename>survey</filename>, then for <filename>survey.svx</filename>.
731 </Para>
733 </Sect2>
735 <Sect2><title>Command Reference</title>
737 <refentry id="cavern">
738 <?dbhtml filename="cavern.htm">
739 &man.cavern;
740 </refentry>
741 <refentry id="aven">
742 <?dbhtml filename="aven.htm">
743 &man.aven;
744 </refentry>
745 <refentry id="diffpos">
746 <?dbhtml filename="diffpos.htm">
747 &man.diffpos;
748 </refentry>
749 <refentry id="extend">
750 <?dbhtml filename="extend.htm">
751 &man.extend;
752 </refentry>
753 <refentry id="sorterr">
754 <?dbhtml filename="sorterr.htm">
755 &man.sorterr;
756 </refentry>
757 <refentry id="survexport">
758 <?dbhtml filename="survexport.htm">
759 &man.survexport;
760 </refentry>
762 </Sect2>
764 </Sect1>
766 <Sect1><Title><Application>Survex</Application> data files</Title>
767 <?dbhtml filename="datafile.htm">
769 <Para>Survey data is entered in the form of text files. You can use any
770 text editor you like for this, so long as it has the capability of
771 writing a plain ASCII text file. The data format is very flexible;
772 unlike some other cave surveying software, Survex does not require
773 survey legs to be rearranged to suit the computer, and the ordering
774 of instrument readings on each line is fully specifiable. So you can enter
775 your data much as it appears on the survey notes, which is important
776 in reducing the opportunities for transcription errors.
777 </Para>
779 <Para>
780 Also all the special characters are user-definable - for example,
781 the separators can be spaces and tabs, or commas (e.g. when exporting from a
782 spreadsheet), etc; the decimal point can be a slash (for clarity), a comma
783 (as used in continental Europe), or anything else you care to choose.
784 This flexibility
785 means that it should be possible to read in data from almost any sort of
786 survey data file without much work.
787 </Para>
789 <Para><Application>Survex</Application> places no restrictions on you in terms of the ordering
790 of survey legs. You can enter or process data in any order and <Application>Survex</Application> will
791 read it all in before determining how it is connected. You can also use the
792 hierarchical naming so that you do not need to worry about using the same
793 station name twice.
794 </Para>
796 <!-- FIXME don't encourage separate processing -->
797 <Para>The usual arrangement is to have one file which lists all the others
798 that are included (e.g., <filename>161.svx</filename>). Then
799 <command>cavern 161</command> will process all your data. To just process a
800 section use the filename for that section, e.g. <command>cavern dtime</command>
801 will process the dreamtime file/section of Kaninchenh&ouml;hle. To
802 help you out, if all legs in a survey are connected to one another
803 but the survey has no fixed points, cavern
804 will 'invent' a fixed point and print a warning message to this
805 effect.
806 </Para>
808 <Para>
809 It is up to you what data you put in which files. You
810 can have one file per trip, or per area of the cave, or just one
811 file for the whole cave if you like.
812 On a large survey project it makes sense to group related surveys in the
813 same file or directory.
814 </Para>
815 <!-- FIXME: wook sez:
817 Point out in documentation that file structure and survey structure don't
818 have to be the same. And in particular that folder/directory names can be
819 different.
821 Which is partly covered above, though the last bit isn't...
824 <!-- FIXME "Anatomy of a Survey" section -->
825 <Sect2><Title>Readings</Title>
827 <Para>Blank lines (i.e. lines consisting solely of BLANK characters)
828 are ignored. The last line in the file need not be terminated by
829 an end of line character. All fields on a line must be separated
830 by at least one BLANK character. An OMIT character
831 (default '-') indicates that a field is unused. If the field is
832 not optional, then an error is given.
833 </Para>
835 </Sect2>
837 <Sect2><Title>Survey Station Names</Title>
839 <Para><Application>Survex</Application> has a powerful system for naming stations. It
840 uses a hierarchy of survey names, similar to the nested folders
841 your computer stores files in.
842 So point 6 in the entrance survey of Kaninchenh&ouml;hle
843 (cave number 161) is referred to as: 161.entrance.6
844 </Para>
846 <Para>This seems a natural way to refer to station names. It also
847 means that it is very easy to include more levels, for example if you
848 want to plot all the caves in the area you just list them all in
849 another file, specifying a new prefix. So to group 3 nearby caves
850 on the Loser Plateau you would use a file like
851 this:
852 </Para>
854 <programlisting>
855 *begin Loser
856 *include 161
857 *include 2YrGest
858 *include 145
859 *end Loser</programlisting>
861 <Para>
862 The entrance series point mentioned above would now be referred
863 to as: Loser.161.entrance.6
864 </Para>
866 <!--
867 <Para>This may seem a tad complex but is really very natural once you
868 get the hang of it.
869 </Para>
871 <Para>You do not have to use this system at all, and can just give all
872 stations unique identifiers if you like:
873 </Para>
875 <Para>1, 2, 3, 4, 5, ... 1381, 1382
876 </Para>
878 <Para>or
879 </Para>
881 <Para>AA06, AA07, P34, ZZ6, etc.
882 </Para>
884 <!-- FIXME:
885 <Para>However you'll loose the ability to handle subsurveys if you do.
886 </Para>
889 <Para>Station and survey names may contain any alphanumeric characters and
890 additionally any characters in NAMES (default `_' and `-'). Alphabetic
891 characters may be forced to upper or lower case by using the *case
892 command. Station names may be any length - if you want to only treat
893 the first few characters as significant you can get cavern to truncate
894 the names using the *truncate command.
895 </Para>
897 <Sect3><Title>Anonymous Stations</Title>
899 <Para>
900 Survex supports the concept of anonymous survey stations. That is
901 survey stations without a name. Each time an anonymous station name is
902 used it represents a different point. Currently three types of anonymous
903 station are supported, referred to by one, two or three separator characters
904 - with the default separator of '.', that means '.', '..', and '...' are
905 anonymous stations. Their meanings are:</Para>
907 <VariableList>
908 <VarListEntry><Term>Single separator ('.' by default)</Term>
909 <ListItem><Para>
910 An anonymous non-wall point at the end of an implicit splay.
911 </Para></ListItem></VarListEntry>
913 <VarListEntry><Term>Double separator ('..' by default)</Term>
914 <ListItem><Para>
915 An anonymous wall point at the end of an implicit splay.
916 </Para></ListItem></VarListEntry>
918 <VarListEntry><Term>Triple separator ('...' by default)</Term>
919 <ListItem><Para>
920 an anonymous point with no implicit flags on the leg (intended for cases like
921 a disto leg along a continuing passage).
922 </Para></ListItem></VarListEntry>
923 </VariableList>
925 <Para>
926 You can map '-' to '..' (for compatibility with data from pocket topo) using
927 the command:
928 </Para>
930 <programlisting>
931 *alias station - ..
932 </programlisting>
934 <Para>Support for anonymous stations and for '*alias station - ..' was added in
935 Survex 1.2.7.</Para>
937 </Sect3>
939 </Sect2>
941 <Sect2><Title>Numeric fields</Title>
943 <Para>[&lt;MINUS&gt;|&lt;PLUS&gt;] &lt;integer part&gt; [ &lt;DECIMAL&gt;
944 [ &lt;decimal fraction&gt; ] ]
945 </Para>
947 <Para>
948 or [&lt;MINUS&gt;|&lt;PLUS&gt;] &lt;DECIMAL&gt; &lt;dec fraction&gt;
949 </Para>
951 <Para><!-- FIXME: put informal description first -->
952 i.e. optional PLUS or MINUS sign in front, with
953 optional DECIMAL character (default '.'), which may be
954 embedded, leading or trailing. No spaces are allowed between the
955 various elements.
956 </Para>
958 <Para>
959 All of these are valid examples: +47, 23, -22, +4.5, 1.3, -0.7, +.15, .4,
960 -.05
961 </Para>
963 </Sect2>
965 <Sect2><Title>Accuracy</Title>
967 <Para>Accuracy assessments may be provided or defaulted for any survey
968 leg. These determine the distribution of loop closure errors over the
969 legs in the loop. See *SD for more information.
970 </Para>
972 </Sect2>
974 <!--
975 <Sect2><Title>Survey Coordinate Range</Title>
977 <Para>
978 If we store distances to nearest 10um (0.01mm) in 4 bytes, this
979 gives a range of ~20 km. This method is currently not used, but
980 has several advantages (data storage space [double uses 8 bytes
981 - with my C compiler], speed (unless your FP chip works in parallel
982 with your CPU [e.g. the new Acorn FPU for the ARM], and numerical
983 accuracy [compared to using floats at least]) and so may be adopted
984 in future). Nearest 0.1mm gives -200 km, which is enough for most
985 people, but may mean rounding errors become significant.
986 </Para>
988 <Para>
989 I will have to do some sums...
990 </Para>
992 </Sect2>
996 <Sect2><Title>Cavern Commands</Title>
998 <Para>Commands in <filename>.svx</filename> files are introduced by an asterisk
999 (by default - this can be changed using the <command>set</command> command).
1000 </Para>
1002 <Para>The commands are documented in a common format:
1003 </Para>
1005 <!-- FIXME: make this a RefGroup (or whatever that's called) of RefEntry-s? -->
1006 <itemizedlist>
1007 <listitem><para>Command Name</para></listitem>
1008 <listitem><para>Syntax</para></listitem>
1009 <listitem><para>Example</para></listitem>
1010 <listitem><para>Validity</para></listitem>
1011 <!-- FIXME
1012 anywhere, in a block, at start of a block, after a begin (for *end)
1014 <listitem><para>Description</para></listitem>
1015 <listitem><para>Caveats</para></listitem>
1016 <listitem><para>See Also</para></listitem>
1017 <!-- FIXME
1018 "Usefulness" - or status maybe?
1019 deprecated, esoteric (*set), useful, vital
1021 </itemizedlist>
1023 <Sect3><Title>ALIAS</Title>
1025 <VariableList>
1027 <VarListEntry><Term>Syntax</Term>
1029 <listitem><Para>*alias station &lt;alias&gt; [&lt;target&gt;]</Para></listitem>
1031 </VarListEntry>
1033 <VarListEntry><Term>Example</Term>
1035 <listitem>
1036 <Para>
1037 <programlisting>
1038 *begin parsons_nose
1039 *alias station - ..
1040 1 2 12.21 073 -12
1041 2 - 4.33 011 +02
1042 2 - 1.64 180 +03
1043 2 3 6.77 098 -04
1044 *end parsons_nose</programlisting>
1045 </Para>
1046 </listitem>
1048 </VarListEntry>
1050 <VarListEntry><Term>Description</Term>
1052 <listitem><Para>*alias allows you to map a station name which appears in
1053 the survey data to a different name internally. At present, you can only
1054 create an alias of '-' to '..', which is intended to support the pocket topo
1055 style notation of '-' being a splay to an anonymous point on the cave wall.
1056 And you can unalias '-' with '*alias station -'.
1057 </Para>
1059 <Para>
1060 Aliases are scoped by *begin/*end blocks - when a *end is reached, the aliases
1061 in force at the corresponding begin are restored.
1062 </Para>
1064 <Para>
1065 *alias was added in Survex 1.2.7.
1066 </Para></listitem>
1068 </VarListEntry>
1070 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1072 <VarListEntry><Term>See Also</Term>
1074 <listitem><Para>*begin, *end</Para></listitem>
1076 </VarListEntry>
1078 </VariableList>
1080 </Sect3>
1082 <Sect3><Title>BEGIN</Title>
1084 <VariableList>
1086 <VarListEntry><Term>Syntax</Term>
1088 <listitem><Para>*begin [&lt;survey&gt;]</Para></listitem>
1090 </VarListEntry>
1092 <VarListEntry><Term>Example</Term>
1094 <listitem>
1095 <Para>
1096 <programlisting>
1097 *begin littlebit
1098 1 2 10.23 106 -02
1099 2 3 1.56 092 +10
1100 *end littlebit</programlisting>
1102 <programlisting>
1103 ; length of leg across shaft estimated
1104 *begin
1105 *sd tape 2 metres
1106 9 10 6. 031 -07
1107 *end</programlisting>
1108 </Para>
1109 </listitem>
1111 </VarListEntry>
1113 <VarListEntry><Term>Description</Term>
1115 <listitem><Para>*begin stores the current values of the current settings
1116 such as instrument calibration, data format, and so on.
1117 These stored values are restored after the corresponding *end.
1118 If a survey name is given, this is used inside the *begin/*end block,
1119 and the corresponding *end should have the same survey name.
1120 *begin/*end blocks may be nested to indefinite depth.
1121 </Para></listitem>
1123 </VarListEntry>
1125 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1127 <VarListEntry><Term>See Also</Term>
1129 <listitem><Para>*end, *prefix</Para></listitem>
1131 </VarListEntry>
1133 </VariableList>
1135 </Sect3>
1137 <Sect3><Title>CALIBRATE</Title>
1139 <VariableList>
1141 <VarListEntry><Term>Syntax</Term>
1143 <listitem>
1144 <Para>*calibrate &lt;quantity list&gt; &lt;zero error&gt; [&lt;scale&gt;]
1145 </Para>
1146 <Para>*calibrate &lt;quantity list&gt; &lt;zero error&gt; &lt;units&gt; [&lt;scale&gt;]
1147 </Para>
1148 <Para>*calibrate default
1149 </Para>
1150 </listitem>
1152 </VarListEntry>
1154 <VarListEntry><Term>Example</Term>
1156 <listitem>
1157 <Para>
1158 <programlisting>
1159 *calibrate tape +0.3
1160 </programlisting>
1161 </Para>
1162 </listitem>
1164 </VarListEntry>
1166 <VarListEntry><Term>Description</Term>
1168 <listitem>
1170 <Para>
1171 *calibrate is used to specify instrument calibrations, via a zero error
1172 and an optional scale factor (which defaults to 1.0 if not specified).
1173 Without an explicit calibration the zero error is 0.0 and the scale factor is
1174 1.0.
1175 </Para>
1177 <Para>
1178 &lt;quantity list&gt; is one or more of:
1179 </Para>
1181 <informaltable frame="all">
1182 <tgroup cols="2">
1183 <thead>
1184 <row><entry>Quantity</entry><entry>Aliases</entry></row>
1185 </thead>
1186 <tbody>
1187 <row><entry>LENGTH</entry><entry>TAPE</entry></row>
1188 <row><entry>BEARING</entry><entry>COMPASS</entry></row>
1189 <row><entry>GRADIENT</entry><entry>CLINO</entry></row>
1190 <row><entry>BACKLENGTH</entry><entry>BACKTAPE</entry></row>
1191 <row><entry>BACKBEARING</entry><entry>BACKCOMPASS</entry></row>
1192 <row><entry>BACKGRADIENT</entry><entry>BACKCLINO</entry></row>
1193 <row><entry>COUNT</entry><entry>COUNTER</entry></row>
1194 <row><entry>LEFT</entry><entry></entry></row>
1195 <row><entry>RIGHT</entry><entry></entry></row>
1196 <row><entry>UP</entry><entry>CEILING</entry></row>
1197 <row><entry>DOWN</entry><entry>FLOOR</entry></row>
1198 <row><entry>DEPTH</entry><entry></entry></row>
1199 <row><entry>DECLINATION</entry><entry></entry></row>
1200 <row><entry>EASTING</entry><entry>DX</entry></row>
1201 <row><entry>NORTHING</entry><entry>DY</entry></row>
1202 <row><entry>ALTITUDE</entry><entry>DZ</entry></row>
1203 <row><entry>DECLINATION</entry><entry></entry></row>
1204 </tbody>
1205 </tgroup>
1206 </informaltable>
1208 <Para>
1209 The specified calibration is applied to each quantity in the list, which
1210 is handy if you use the same instrument to measure several things, for
1211 example:
1212 </Para>
1214 <programlisting>*calibrate left right up down +0.1</programlisting>
1216 <Para>
1217 You need to be careful about the sign of the ZeroError. Survex follows
1218 the convention used with scientific instruments - the ZeroError is what
1219 the instrument reads when measuring a reading which should be zero. So
1220 for example, if your tape measure has the end missing, and you are using the
1221 30cm mark to take all measurements from, then a zero distance would be measured
1222 as 30cm and you would correct this with:
1223 </Para>
1225 <programlisting>*CALIBRATE tape +0.3</programlisting>
1227 <Para>If you tape was too long, starting at -20cm (it does happen!)
1228 then you can correct it with:
1229 </Para>
1231 <programlisting>*CALIBRATE tape -0.2</programlisting>
1233 <Para>Note: ZeroError is irrelevant for Topofil counters and depth
1234 gauges since pairs of readings are subtracted.
1235 </Para>
1237 <Para>
1238 In the first form in the synopsis above, the zero error is measured by the
1239 instrument itself (e.g. reading off the number where a truncated tape now ends)
1240 and any scale factor specified applies to it, like so:
1241 </Para>
1243 <Para>
1244 Value = ( Reading - ZeroError ) * Scale (Scale defaults to 1.0)
1245 </Para>
1247 <Para>
1248 In the second form above (supported since Survex 1.2.21), the zero error has
1249 been measured externally (e.g. measuring how much too long your tape is with
1250 a ruler) - the units of the zero error are explicitly specified and any scale
1251 factor isn't applied to it:
1252 </Para>
1254 <Para>
1255 Value = ( Reading * Scale ) - ZeroError (Scale defaults to 1.0)
1256 </Para>
1258 <Para>
1259 If the scale factor is 1.0, then the two forms are equivalent, though they
1260 still allow you to differentiate between how the zero error has been determined.
1261 </Para>
1263 <Para>
1264 With older Survex versions, you would specify the magnetic declination
1265 (difference between True North and Magnetic North) by using *calibrate
1266 declination to set an explicit value (with no scale factor allowed). Since
1267 Survex 1.2.22, it's recommended to instead use the new *declination command
1268 instead - see the documentation of that command for more details.
1269 </Para>
1271 </listitem>
1273 </VarListEntry>
1275 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1277 <VarListEntry><Term>See Also</Term>
1279 <listitem><Para>*declination, *units</Para></listitem>
1281 </VarListEntry>
1283 </VariableList>
1285 </Sect3>
1287 <Sect3><Title>CASE</Title>
1289 <VariableList>
1291 <VarListEntry><Term>Syntax</Term>
1293 <listitem><para>*case preserve|toupper|tolower</para></listitem>
1295 </VarListEntry>
1297 <VarListEntry><Term>Example</Term>
1299 <listitem>
1300 <Para>
1301 <programlisting>
1302 *begin bobsbit
1303 ; Bob insists on using case sensitive station names
1304 *case preserve
1305 1 2 10.23 106 -02
1306 2 2a 1.56 092 +10
1307 2 2A 3.12 034 +02
1308 2 3 8.64 239 -01
1309 *end bobsbit</programlisting>
1310 </Para>
1311 </listitem>
1313 </VarListEntry>
1315 <VarListEntry><Term>Description</Term>
1317 <listitem><Para>*case determines how the case of letters in survey names is
1318 handled. By default all names are forced to lower case (which gives a case
1319 insensitive match, but you can tell cavern to force to upper case, or leave
1320 the case as is (in which case '2a' and '2A' will be regarded as different).
1321 </Para></listitem>
1323 </VarListEntry>
1325 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1327 <VarListEntry><Term>See Also</Term>
1329 <listitem><Para>*truncate</Para></listitem>
1331 </VarListEntry>
1333 </VariableList>
1335 <!-- FIXME - work this text in here or elsewhere
1337 What I mean (though failed to express very well) is that a dataset without
1338 this information isn't the same dataset (in general anyway). For example:
1340 A1 a2 10.32 140 -05
1341 a2 a3 4.91 041 -01
1342 a1 a3 7.01 206 02
1344 is either a traverse of 3 legs or a (probably badly misclosed) loop. If
1345 these names are on the original survey notes, the surveyors ought to say
1346 whether "A1" is the same as "a1" (although the usual case for using this
1347 feature is probably for importing data from elsewhere). Similarly for
1348 truncation. Whether a clino of +/-90 degrees (or +/-100 grad, etc) is
1349 interpreted as a plumb is something that should have been noted in the cave
1350 (unless it's implicit because it's standard practice for a survey project).
1352 It's a similar issue to calibration data in many ways. You can argue it's
1353 not part of "the survey", but without it the survey won't be the same shape,
1354 and it's not useful to process the same survey with different settings for
1355 compass calibration or name case sensitivity.
1357 >Clearly that is unhelpfully strict, but it is
1358 >important to be semantically clear about what is 'data' and what is 'commands
1359 >or meta-data' which describe what to do with/how to interpret that data.
1361 Think of the lines starting with a "*" as "command or meta-data".
1363 >The most-correct solution to this is (I believe) Martin Heller's idea about
1364 >including 'rules' in the datastream, but that's too big a subject for right
1365 >now.
1367 >The reason '-C' was made into a command-line option, was that it made very
1368 >little sense to change it part way though a dataset. What exactly happens if
1369 >you suddenly tell cavern to become case-sensitive halfway through a run?
1371 -C has always had 3 settings - "leave case alone", "force to lower", and
1372 "force to upper". It doesn't really mean "case sensitivity" but rather
1373 something like "case processing". So you can usefully change it during a
1374 run. So if my dataset treats "NoTableChamber" (so named because it was
1375 lacking in furniture) as different from "NotableChamber" (which was notable
1376 for other reasons) I can process it with a dataset from someone else which
1377 needs to be treated as case insensitive like so:
1379 *begin my_cave
1380 *include my_dataset
1381 *end my_cave
1383 *equate my_cave.NoTableChamber.14 your_cave.linkpassage.13
1385 *begin your_cave
1386 *case tolower
1387 *include your_dataset
1388 *end your_cave
1390 You may be thinking of -U<n>, which used to mean "only compare the first n
1391 characters of station names", but that doesn't allow arbitrary datasets to
1392 be processed together.
1394 So we changed it to mean "truncate station names to n characters", and
1395 allowed it to be changed at any point, rather than being set once for the
1396 whole run.
1400 </Sect3>
1402 <Sect3><Title>COPYRIGHT</Title>
1404 <VariableList>
1406 <VarListEntry><Term>Syntax</Term>
1408 <listitem><Para>*copyright &lt;date&gt; &lt;text&gt;</Para></listitem>
1410 </VarListEntry>
1412 <VarListEntry><Term>Example</Term>
1414 <listitem>
1415 <Para>
1416 <programlisting>
1417 *begin littlebit
1418 *copyright 1983 CUCC
1419 1 2 10.23 106 -02
1420 2 3 1.56 092 +10
1421 *end littlebit</programlisting>
1422 </Para>
1423 </listitem>
1425 </VarListEntry>
1427 <VarListEntry><Term>Validity</Term>
1429 <listitem><Para>valid at the start of a *begin/*end block.
1430 </Para></listitem>
1432 </VarListEntry>
1434 <VarListEntry><Term>Description</Term>
1436 <listitem><Para>*copyright allows the copyright information to be
1437 stored in a way that can be automatically collated.
1438 </Para></listitem>
1440 </VarListEntry>
1442 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1444 <VarListEntry><Term>See Also</Term>
1446 <listitem><Para>*begin</Para></listitem>
1448 </VarListEntry>
1450 </VariableList>
1452 </Sect3>
1454 <Sect3><Title>CS</Title>
1456 <VariableList>
1458 <VarListEntry><Term>Syntax</Term>
1460 <listitem><Para>*cs [out] &lt;coordinate system&gt;</Para></listitem>
1462 </VarListEntry>
1464 <VarListEntry><Term>Example</Term>
1466 <listitem>
1467 <Para>
1468 <programlisting>
1469 *cs UTM60S
1470 *fix beehive 313800 5427953 20</programlisting>
1471 </Para>
1473 <Para>
1474 <programlisting>
1475 ; Output in the coordinate system used in the Totes Gebirge in Austria
1476 *cs out custom "+proj=tmerc +lat_0=0 +lon_0=13d20 +k=1 +x_0=0 +y_0=-5200000 +ellps=bessel +towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232"</programlisting>
1477 </Para>
1478 </listitem>
1480 </VarListEntry>
1482 <VarListEntry><Term>Description</Term>
1484 <listitem><Para>*cs allows the coordinate systems used for fixed points and for
1485 processed survey data to be specified.
1486 </Para>
1488 <Para>
1489 The "input" coordinate system is set with <command>*cs</command> and you can
1490 change it between fixed points if you have some fixed points in different
1491 coordinate systems to others.
1492 </Para>
1494 <Para>
1495 The "output" coordinate system is set with <command>*cs out</command> and is
1496 what the survey data is processed in and the coordinate system used for
1497 resultant <command>.3d</command> file. The output coordinate system must be
1498 in metres with axis order (East, North, Up), so for example
1499 <command>*cs out long-lat</command> isn't valid.
1500 </Para>
1502 <Para>
1503 *cs was added in Survex 1.2.14, but handling of fixed points specified with
1504 latitude and longitude didn't work until 1.2.21. Also *fix with standard
1505 deviations specified also didn't work until 1.2.21.
1506 </Para>
1508 <Para>
1509 The currently supported coordinate systems are:
1510 </Para>
1512 <Para>CUSTOM followed by a PROJ string (like in the example above).</Para>
1514 <Para>EPSG: followed by a positive integer code. EPSG codes cover most
1515 coordinate systems in use, and PROJ supports many of these. The website
1516 <ulink url="https://epsg.io/">https://epsg.io/</ulink> is a useful resource for
1517 finding the EPSG code you want. For example, <command>EPSG:4167</command> is
1518 NZGD2000. Supported since Survex 1.2.15.</Para>
1520 <Para>ESRI: followed by a positive integer code. ESRI codes are used by
1521 ArcGIS to specify coordinate systems (in a similar way to EPSG codes), and PROJ
1522 supports many of them. Supported since Survex 1.2.15.</Para>
1524 <Para>EUR79Z30 for UTM zone 30, EUR79 datum. Supported since Survex 1.2.15.
1525 </Para>
1527 <Para>IJTSK for the modified version of the Czechoslovak S-JTSK system where
1528 the axes point East and North. Supported since Survex 1.2.15.</Para>
1530 <Para>IJTSK03 for a variant of IJTSK. Supported since Survex 1.2.15.</Para>
1532 <Para>JTSK for the Czechoslovak S-JTSK system. Its axes point West
1533 and South, so it's not supported as an output coordinate system.
1534 Supported since Survex 1.2.16.</Para>
1536 <Para>JTSK03 for a variant of JTSK. Supported since Survex 1.2.16.</Para>
1538 <Para>LONG-LAT for longitude/latitude. The WGS84 datum is assumed.
1539 NB <command>*fix</command> expects the coordinates in the order x,y,z which
1540 means longitude (i.e. E/W), then latitude (i.e. N/S), then altitude.
1541 Supported since Survex 1.2.15.</Para>
1543 <Para>OSGB: followed by a two letter code for the UK Ordnance Survey National
1544 Grid. The first letter should be 'H', 'N', 'O', 'S' or 'T'; the second any
1545 letter except 'I'. For example, <command>OSGB:SD</command>.
1546 Supported since Survex 1.2.15.</Para>
1548 <Para>S-MERC for the "Web Mercator" spherical mercator projection, used by
1549 online map sites like OpenStreetMap, Google maps, Bing maps, etc. Supported
1550 since Survex 1.2.15.
1551 </Para>
1553 <Para>UTM followed by a zone number (1-60), optionally followed by "N" or "S"
1554 (default is North). The WGS84 datum is assumed.</Para>
1556 <Para>
1557 By default, Survex works in an unspecified coordinate system (and this was the
1558 only option before *cs was added). However, it's useful for the coordinate
1559 system which the processed survey data is in to be specified if you want to use
1560 the processed data in ways which required knowing the coordinate system (such as
1561 exporting a list of entrances for use in a GPS). You can now do this by using
1562 "*cs out".
1563 </Para>
1565 <Para>
1566 It is also useful to be able to take coordinates for fixed points in whatever
1567 coordinate system you receive them in and put them directly into Survex, rather
1568 than having to convert with an external tool. For example, you may have your
1569 GPS set to show coordinates in UTM with the WGS84 datum, even though you want
1570 the processed data to be in some local coordinate system. And someone else
1571 may provide GPS coordinates in yet another coordinate system. You just need
1572 to set the appropriate coordinate system with "*cs" before each group of "*fix"
1573 commands in a particular coordinate system.
1574 </Para>
1576 <Para>
1577 If you're going to make use of "*cs", then the coordinate system must be
1578 specified for everything, so a coordinate system must be in effect for all
1579 "*fix" commands, and you must set the output coordinate system before any
1580 points are fixed.
1581 </Para>
1583 <Para>
1584 Also, if "*cs" is in use, then you can't omit the coordinates in a "*fix"
1585 command, and a fixed point won't be invented if none exists.
1586 </Para>
1588 <Para>
1589 If you use "*cs out" more than once, the second and subsequent commands are
1590 silently ignored - this makes it possible to combine two datasets with
1591 different "*cs out" settings without having to modify either of them.
1592 </Para>
1594 <Para>
1595 Something to be aware of with "*cs" is that altitudes are currently assumed to
1596 be "height above the ellipsoid", whereas GPS units typically give you "height
1597 above sea level", or more accurately "height above a particular geoid". This
1598 is something we're looking at how best to address, but you shouldn't need to
1599 worry about it if your fixed points are in the same coordinate system as your
1600 output, or if they all use the same ellipsoid. For a more detailed discussion
1601 of this, please see: http://expo.survex.com/handbook/survey/coord.htm
1602 </Para>
1603 </listitem>
1605 </VarListEntry>
1607 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1609 <VarListEntry><Term>See Also</Term>
1611 <listitem><Para>*fix</Para></listitem>
1613 </VarListEntry>
1615 </VariableList>
1617 </Sect3>
1618 <Sect3><Title>DATA</Title>
1620 <VariableList>
1622 <VarListEntry><Term>Syntax</Term>
1624 <listitem>
1625 <Para>*data &lt;style&gt; &lt;ordering&gt;</Para>
1626 <Para>*data</Para>
1627 </listitem>
1629 <!-- BACKCOMPASS BACKCLINO -->
1630 </VarListEntry>
1632 <VarListEntry><Term>Example</Term>
1634 <listitem>
1635 <Para>
1636 <programlisting>
1637 *data normal from to compass tape clino</programlisting>
1638 </Para>
1640 <Para>
1641 <programlisting>
1642 *data normal station ignoreall newline compass tape clino</programlisting>
1643 </Para>
1644 </listitem>
1646 </VarListEntry>
1648 <VarListEntry><Term>Description</Term>
1650 <listitem><Para>
1651 &lt;style&gt; = DEFAULT|NORMAL|DIVING|CARTESIAN|TOPOFIL|CYLPOLAR|NOSURVEY|PASSAGE
1652 </Para>
1654 <Para>
1655 &lt;ordering&gt; = ordered list of instruments - which are valid depends on the
1656 style.
1657 </Para>
1659 <Para>
1660 In Survex 1.0.2 and later, TOPOFIL is simply a synonym for NORMAL, left in to
1661 allow older data to be processed without modification. Use the name NORMAL
1662 by preference.
1663 </Para>
1665 <Para>
1666 There are two variants of each style - interleaved and non-interleaved.
1667 Non-interleaved is "one line per leg", interleaved has a line for the data
1668 shared between two legs (e.g. STATION=FROM/TO, DEPTH=FROMDEPTH/TODEPTH,
1669 COUNT=FROMCOUNT/TOCOUNT). Note that not all readings that can be shared
1670 have to be, for example here the to/from station name is shared but the
1671 depth gauge readings aren't:
1673 <programlisting>
1674 *data diving station newline fromdepth compass tape todepth</programlisting>
1676 In addition, interleaved data can have a DIRECTION reading, which can be "F"
1677 for a foresight or "B" for a backsight (meaning the direction of the leg is
1678 reversed).
1679 </Para>
1681 <Para>
1682 In interleaved data, a blank line (one which contains only characters which
1683 are set as BLANK) ends the current traverse so can be used to handle
1684 branches in the survey, e.g.:
1685 <programlisting>
1686 *data normal station newline tape compass clino
1689 9.34 087 -05
1691 ; single leg up unexplored side passage
1692 4.30 002 +06
1696 ; and back to the main package
1697 6.29 093 -02
1698 4</programlisting>
1699 </Para>
1701 <Para>
1702 In data styles which include a TAPE reading (i.e. NORMAL, DIVING, and CYLPOLAR
1703 data styles), TAPE may be replaced by FROMCOUNT/TOCOUNT (or COUNT in
1704 interleaved data) to allow processing of surveys performed with a Topofil
1705 instead of a tape.
1706 </Para>
1708 <Para>
1709 In Survex 1.2.44 and later, you can use <command>*data</command> without any
1710 arguments to keep the currently set data style, but resetting any state. This
1711 is useful when you're entering passage tubes with branches - see the description
1712 of the "PASSAGE" style below. (This feature was originally added in 1.2.31,
1713 but was buggy until 1.2.44 - any data up to the next <command>*data</command>
1714 gets quietly ignored).
1715 </Para>
1717 <VariableList>
1719 <VarListEntry><Term>DEFAULT</Term>
1720 <listitem><Para>Select the default data style and ordering (NORMAL style, ordering: from to tape compass clino).</Para></listitem>
1721 </VarListEntry>
1723 <VarListEntry><Term>NORMAL</Term>
1724 <listitem><Para>The usual tape/compass/clino centreline survey.
1725 For non-interleaved data the allowed readings are:
1726 FROM TO TAPE COMPASS CLINO BACKCOMPASS BACKCLINO;
1727 for interleaved data the allowed readings are:
1728 STATION DIRECTION TAPE COMPASS CLINO BACKCOMPASS BACKCLINO.
1729 The CLINO/BACKCLINO reading is not required - if it's not given, the vertical
1730 standard deviation is taken to be proportional to the tape measurement.
1731 Alternatively, individual clino readings can be given as OMIT (default "-")
1732 which allows for data where only some clino readings are missing.
1733 E.g.:
1735 <programlisting>
1736 *data normal from to compass clino tape
1737 1 2 172 -03 12.61</programlisting>
1739 <programlisting>
1740 *data normal station newline direction tape compass clino
1742 F 12.61 172 -03
1743 2</programlisting>
1745 <programlisting>
1746 *data normal from to compass clino fromcount tocount
1747 1 2 172 -03 11532 11873</programlisting>
1749 <programlisting>
1750 *data normal station count newline direction compass clino
1751 1 11532
1752 F 172 -03
1753 2 11873</programlisting>
1755 </Para></listitem>
1756 </VarListEntry>
1758 <VarListEntry><Term>DIVING</Term>
1759 <listitem><Para>
1760 An underwater survey where the vertical information is from a diver's depth
1761 gauge. This style can also be also used for an above-water survey where the
1762 altitude is measured with an altimeter. DEPTH is defined as the altitude (Z)
1763 so increases upwards by default. So for a diver's depth gauge, you'll need to
1764 use *CALIBRATE with a negative scale factor (e.g. *calibrate depth 0 -1).
1765 </Para>
1767 <Para>For non-interleaved data the allowed readings are:
1768 FROM TO TAPE COMPASS CLINO BACKCOMPASS BACKCLINO FROMDEPTH TODEPTH DEPTHCHANGE (the vertical
1769 can be given as readings at each station, (FROMDEPTH/TODEPTH) or as a change
1770 along the leg (DEPTHCHANGE)).</Para>
1772 <Para>Survex 1.2.20 and later allow an optional CLINO and/or BACKCLINO reading
1773 in DIVING style. At present these extra readings are checked for syntactic
1774 validity, but are otherwise ignored. The intention is that a future version
1775 will check them against the other readings to flag up likely blunders, and
1776 average with the slope data from the depth gauge and tape reading.</Para>
1778 <Para>For interleaved data the allowed readings are:
1779 STATION DIRECTION TAPE COMPASS BACKCOMPASS DEPTH DEPTHCHANGE.
1780 (the vertical change can be given as a reading at the station (DEPTH) or as a change along the leg (DEPTHCHANGE)).
1782 <programlisting>
1783 *data diving from to tape compass fromdepth todepth
1784 1 2 14.7 250 -20.7 -22.4</programlisting>
1786 <programlisting>
1787 *data diving station depth newline tape compass
1788 1 -20.7
1789 14.7 250
1790 2 -22.4</programlisting>
1792 <programlisting>
1793 *data diving from to tape compass depthchange
1794 1 2 14.7 250 -1.7</programlisting>
1795 </Para>
1796 </listitem>
1797 </VarListEntry>
1799 <VarListEntry><Term>CARTESIAN</Term>
1800 <listitem><Para>
1801 Cartesian data style allows you to specify the (x,y,z) changes between
1802 stations. It's useful for digitising surveys where the original survey
1803 data has been lost and all that's available is a drawn up version.
1805 <programlisting>
1806 *data cartesian from to northing easting altitude
1807 1 2 16.1 20.4 8.7</programlisting>
1809 <programlisting>
1810 *data cartesian station newline northing easting altitude
1812 16.1 20.4 8.7
1813 2</programlisting>
1815 <!--FIXME: dx dy dz-->
1816 </Para>
1818 <Note><Para>
1819 Cartesian data are relative to <emphasis>true</emphasis> North not
1820 <emphasis>magnetic</emphasis> North (i.e. they are unaffected by
1821 <command>*calibrate declination</command>).
1822 </Para></Note>
1823 </listitem>
1824 </VarListEntry>
1826 <VarListEntry><Term>CYLPOLAR</Term>
1827 <listitem><Para>
1828 A CYLPOLAR style survey is very similar to a diving survey, except that the tape
1829 is always measured horizontally rather than along the slope of the leg.
1831 <programlisting>
1832 *data cylpolar from to tape compass fromdepth todepth
1833 1 2 9.45 311 -13.3 -19.0</programlisting>
1835 <programlisting>
1836 *data cylpolar station depth newline tape compass
1837 1 -13.3
1838 9.45 311
1839 2 -19.0</programlisting>
1841 <programlisting>
1842 *data cylpolar from to tape compass depthchange
1843 1 2 9.45 311 -5.7</programlisting>
1844 </Para></listitem>
1845 </VarListEntry>
1847 <VarListEntry><Term>NOSURVEY</Term>
1848 <listitem><Para>
1849 A NOSURVEY survey doesn't have any measurements - it merely indicates that
1850 there is line of sight between the pairs of stations.
1852 <programlisting>
1853 *data nosurvey from to
1856 9 11</programlisting>
1858 <programlisting>
1859 *data nosurvey station
1864 *data nosurvey station
1866 11</programlisting>
1867 </Para></listitem>
1868 </VarListEntry>
1870 <VarListEntry><Term>PASSAGE</Term>
1871 <listitem><Para>
1872 This survey style defines a 3D "tube" modelling a passage in the cave.
1873 The tube uses the survey stations listed in the order listed. It's
1874 permitted to use survey stations which aren't directly linked by
1875 the centre-line survey. This can be useful - sometimes the centreline
1876 will step sideways or up/down to allow a better sight for the next
1877 leg and you can ignore the extra station. You can also define tubes
1878 along unsurveyed passages, akin to "nosurvey" legs in the centreline
1879 data.</Para>
1881 <Para>This means that you need to split off side passages into separate
1882 tubes, and hence separate sections of passage data, starting with
1883 a new *data command.</Para>
1885 <Para>
1886 Simple example of how to use this data style (note the use of ignoreall
1887 to allow a free-form text description to be given):
1889 <programlisting>
1890 *data passage station left right up down ignoreall
1891 1 0.1 2.3 8.0 1.4 Sticking out point on left wall
1892 2 0.0 1.9 9.0 0.5 Point on left wall
1893 3 1.0 0.7 9.0 0.8 Highest point of boulder
1894 </programlisting>
1896 Each <command>*data passage</command> data block describes a single continuous
1897 tube - to break a tube or to enter a side passage you need to have a second
1898 block. With Survex 1.2.30 and older, you had to repeat the entire
1899 <command>*data passage</command> line to start a new tube, but in Survex 1.2.31
1900 and later, you can just use <command>*data</command> without any arguments.
1901 </Para>
1903 <Para>
1904 For example here the main passage is 1-2-3 and a side passage is 2-4:
1906 <programlisting>
1907 *data passage station left right up down ignoreall
1908 1 0.1 2.3 8.0 1.4 Sticking out point on left wall
1909 2 0.0 1.9 9.0 0.5 Point on left wall opposite side passage
1910 3 1.0 0.7 9.0 0.8 Highest point of boulder
1911 ; If you're happy to require Survex 1.2.31 or later, you can just use
1912 ; "*data" here instead.
1913 *data passage station left right up down ignoreall
1914 2 0.3 0.2 9.0 0.5
1915 4 0.0 0.5 6.5 1.5 Fossil on left wall
1916 </programlisting>
1917 </Para>
1918 </listitem>
1919 </VarListEntry>
1920 </VariableList>
1922 <Para>
1923 IGNORE skips a field (it may be used any number of times),
1924 and IGNOREALL may be used last to ignore the rest of the data line.
1925 </Para>
1927 <Para>
1928 LENGTH is a synonym for TAPE; BEARING for COMPASS; GRADIENT for CLINO; COUNT for COUNTER.<!--FIXME : others?-->
1929 </Para>
1931 <Para>
1932 The units of each quantity may be set with the UNITS command.
1933 </Para>
1935 <!-- FIXME: plumbed diving legs -->
1937 <!--FIXME:
1938 <Para>
1939 Uses for CYLPOLAR:
1940 Perhaps a Grade 3 survey, or when surveying with a level and stick (?)
1941 [note - UBSS use it for the old County Clare data]
1942 </Para>
1945 </listitem>
1947 </VarListEntry>
1949 </VariableList>
1951 </Sect3>
1953 <Sect3><Title>DATE</Title>
1954 <VariableList>
1956 <VarListEntry><Term>Syntax</Term>
1958 <listitem><Para>*date &lt;year&gt;[.&lt;month&gt;[.&lt;day&gt;]][-&lt;year&gt;[.&lt;month&gt;[.&lt;day&gt;]]]</Para></listitem>
1960 </VarListEntry>
1962 <VarListEntry><Term>Example</Term>
1964 <listitem>
1965 <Para>
1966 <programlisting>
1967 *date 2001</programlisting>
1969 <programlisting>
1970 *date 2000.10</programlisting>
1972 <programlisting>
1973 *date 1987.07.27</programlisting>
1975 <programlisting>
1976 *date 1985.08.12-1985.08.13</programlisting>
1977 </Para>
1978 </listitem>
1980 </VarListEntry>
1982 <VarListEntry><Term>Validity</Term>
1984 <listitem><Para>valid at the start of a *begin/*end block.
1985 </Para></listitem>
1987 </VarListEntry>
1989 <VarListEntry><Term>Description</Term>
1991 <listitem><Para>
1992 *date specifies the date that the survey was done. A range of dates
1993 can be specified (useful for overnight or multi-day surveying trips).
1994 </Para></listitem>
1996 </VarListEntry>
1998 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2000 <VarListEntry><Term>See Also</Term>
2002 <listitem><Para>*begin, *instrument, *team</Para></listitem>
2004 </VarListEntry>
2006 </VariableList>
2008 </Sect3>
2010 <Sect3><Title>DECLINATION</Title>
2012 <VariableList>
2014 <VarListEntry><Term>Syntax</Term>
2016 <listitem>
2017 <Para>*declination auto &lt;x&gt; &lt;y&gt; &lt;z&gt;</Para>
2018 <Para>*declination &lt;declination&gt; &lt;units&gt;</Para>
2019 </listitem>
2021 </VarListEntry>
2023 <VarListEntry><Term>Description</Term>
2025 <listitem>
2027 <Para>
2028 The *declination command is the modern way to specify magnetic declinations in
2029 Survex. Magnetic declination is the difference between Magnetic North and True
2030 North. It varies over time as the Earth's magnetic field moves, and also with
2031 location. Compass bearings are measured relative to Magnetic North - adding the
2032 magnetic declination gives bearings relative to True North.
2033 </Para>
2035 <Para>
2036 Prior to 1.2.22, *calibrate declination was used instead. If you
2037 use a mixture of *calibrate declination and *declination, they interact in
2038 the natural way - whichever was set most recently is used for each compass
2039 reading (taking into account survey scope). We don't generally recommend
2040 mixing the two, but it's useful to understand how they interact if you want to
2041 combine datasets using the old and new commands, and perhaps if you have a
2042 large existing dataset and want to migrate it without having to change
2043 everything at once.
2044 </Para>
2046 <Para>
2047 Note that the value specified uses the conventional sign for magnetic
2048 declination, unlike the old *calibrate declination which needed a value with
2049 the opposite sign (because *calibrate specifies a zero error), so take care
2050 when updating old data, or if you're used to the semantics of *calibrate
2051 declination.
2052 </Para>
2054 <Para>
2055 If you have specified the output coordinate system (using *cs out) then you can
2056 use *declination auto (and we recommend that you do). This is supported since
2057 Survex 1.2.21 and automatically calculates magnetic declinations based on the
2058 IGRF (International Geomagnetic Reference Field) model. A revised version of
2059 the IGRF model is usually issued every 5 years, and calculates values using a
2060 model based on observations for years before it is issued, and on predictions
2061 for 5 years after it is issued. Survex 1.2.43 updated to using version 13 in
2062 early 2020.
2063 </Para>
2065 <Para>
2066 The IGRF model takes a date and a location as inputs. Survex uses the
2067 specified date of the survey, and uses the "x y z" coordinates specified
2068 in the *declination auto command as the location in the current input
2069 coordinate system (as set by *cs). Most users can just specify a single
2070 representative location somewhere in the area of the cave. If you're
2071 not sure what to use pick some coordinates roughly in the middle of
2072 the bounding box of the cave - it doesn't need to be a fixed point or a known
2073 refindable location, though it can be if you prefer.
2074 </Para>
2076 <Para>
2077 For each *declination auto command cavern will (since Survex 1.4.2) report
2078 the range of calculated declination values and the dates at which the ends of
2079 the range were obtained, and also the grid convergence (which doesn't vary with
2080 time). This appears in the log - if you processed the data with aven you can
2081 view this by using "File->View Log". It looks like this:
2082 </Para>
2084 <programlisting>
2085 /home/ol/1623.svx:20: info: Declination: -0.4° @ 1977-07-02 / 3.8° @ 2018-07-21, grid convergence: -0.9°
2086 *declination auto 36670.37 83317.43 1903.97
2087 </programlisting>
2089 <Para>
2090 You might wonder why Survex needs a representative location instead of
2091 calculating the magnetic declination and grid convergence for the actual
2092 position of each survey station. The reason is that we need to adjust the
2093 compass bearings before we can solve the network to find survey station
2094 locations. Both magnetic declination and grid convergence don't generally vary
2095 significantly over the area of a typical cave system - if you are mapping a
2096 very large cave system, or caves over a wide area, or are working close to a
2097 magnetic pole or where the output coordinate system is rather distorted, then
2098 you can specify *declination auto several times with different representative
2099 locations for different areas of the cave system - the one currently in effect
2100 is used for each survey leg.
2101 </Para>
2103 <Para>
2104 Survex 1.2.27 and later also automatically correct for grid convergence (the
2105 difference between Grid North and True North) when *declination auto is in use,
2106 based on the same specified representative location.
2107 </Para>
2109 <Para>
2110 Generally it's best to specify a suitable output coordinate system, and use
2111 *declination auto so Survex corrects for magnetic declination and grid
2112 convergence for you. Then Aven knows how to translate coordinates to allow
2113 export to formats such as GPX and KML, and to overlay terrain data.
2114 </Para>
2116 <Para>
2117 If you don't specify an output coordinate system, but fix one or more points
2118 then Survex works implicitly in the coordinate system your fixed points were
2119 specified in. This mode of operation is provided for compatibility with
2120 datasets from before support for explicit coordinate systems was added to
2121 Survex - it's much better to specify the output coordinate system as above.
2122 But if you have a survey of a cave which isn't connected to any known fixed
2123 points then you'll need to handle it this way, either fixing an entrance
2124 to some arbitrary coordinates (probably (0,0,0)) or letting Survex pick a
2125 station as the origin. If the survey was all done in a short enough period
2126 of time that the magnetic declination won't have changed significantly, you
2127 can just ignore it and Grid North in the implicit coordinate system will be
2128 Magnetic North at the time of the survey. If you want to correct for magnetic
2129 declination, you can't use *declination auto because the IGRF model needs the
2130 real world coordinates, but you can specify literal declination values for each
2131 survey using *declination &lt;declination&gt; &lt;units&gt;. Then Grid North
2132 in the implicit coordinate system is True North.
2133 </Para>
2135 </listitem>
2137 </VarListEntry>
2139 <VarListEntry><Term>See Also</Term>
2141 <listitem><Para>*calibrate</Para></listitem>
2143 </VarListEntry>
2145 </VariableList>
2147 </Sect3>
2149 <Sect3><Title>DEFAULT</Title>
2151 <VariableList>
2153 <VarListEntry><Term>Syntax</Term>
2155 <listitem><Para>*default &lt;settings list&gt;|all</Para></listitem>
2157 </VarListEntry>
2159 <VarListEntry><Term>Description</Term>
2161 <listitem><Para>
2162 The valid settings are CALIBRATE, DATA, and UNITS.
2163 </Para>
2165 <Para>
2166 *default restores defaults for given settings. This command is deprecated -
2167 you should instead use: *calibrate default, *data default, *units default.
2168 </Para></listitem>
2170 </VarListEntry>
2172 <VarListEntry><Term>See Also</Term>
2174 <listitem><Para>*calibrate, *data, *units</Para></listitem>
2176 </VarListEntry>
2178 </VariableList>
2180 </Sect3>
2182 <Sect3><Title>END</Title>
2184 <VariableList>
2186 <VarListEntry><Term>Syntax</Term>
2188 <listitem><Para>*end [&lt;survey&gt;]</Para></listitem>
2190 </VarListEntry>
2192 <VarListEntry><Term>Validity</Term>
2194 <listitem><Para>valid for closing a block started by *begin in the same file.
2195 </Para></listitem>
2197 </VarListEntry>
2199 <VarListEntry><Term>Description</Term>
2201 <listitem><Para>
2202 Closes a block started by *begin.
2203 </Para></listitem>
2205 </VarListEntry>
2207 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2209 <VarListEntry><Term>See Also</Term>
2211 <listitem><Para>*begin</Para></listitem>
2213 </VarListEntry>
2215 </VariableList>
2217 </Sect3>
2219 <Sect3><Title>ENTRANCE</Title>
2221 <VariableList>
2223 <VarListEntry><Term>Syntax</Term>
2225 <listitem><Para>*entrance &lt;station&gt;</Para></listitem>
2227 </VarListEntry>
2229 <VarListEntry><Term>Example</Term>
2231 <listitem>
2232 <Para>
2233 <programlisting>
2234 *entrance P163</programlisting>
2235 </Para>
2236 </listitem>
2238 </VarListEntry>
2240 <VarListEntry><Term>Description</Term>
2242 <listitem><Para>
2243 *entrance sets the <emphasis>entrance</emphasis> flag for a station.
2244 This information is used by aven to allow entrances to be highlighted.
2245 </Para>
2247 <!-- FIXME:
2248 (could be inferred from surface/ug join, but better to specify because
2249 of caves with no surf svy (or no underground survey)
2250 and also situations in which multiple surveys leave through an entrance)
2252 </listitem>
2254 </VarListEntry>
2256 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2258 <!-- <VarListEntry><Term>See Also</Term>
2260 <listitem><Para></Para></listitem>
2262 </VarListEntry>
2265 </VariableList>
2267 </Sect3>
2269 <Sect3><Title>EQUATE</Title>
2271 <VariableList>
2273 <VarListEntry><Term>Syntax</Term>
2275 <listitem><Para>*equate &lt;station&gt; &lt;station&gt;...</Para></listitem>
2277 </VarListEntry>
2279 <VarListEntry><Term>Example</Term>
2281 <listitem>
2282 <Para>
2283 <programlisting>
2284 *equate chosspot.1 triassic.27</programlisting>
2285 </Para>
2286 </listitem>
2288 </VarListEntry>
2290 <VarListEntry><Term>Description</Term>
2292 <listitem><Para>
2293 *equate specifies that the station names in the list refer to the
2294 same physical survey station. An error is given if there is only one station
2295 listed.
2296 </Para>
2298 <!-- FIXME:
2299 <Para>
2300 I think this is preferable to using:
2301 </Para>
2303 <programlisting> a b 0.00 0 0</programlisting>
2305 <Para>
2306 as EQUATE does not add in an extra position error. It is also clearer than
2307 substituting in the original name wherever passages are linked. If you
2308 disagree, you can always use one of the other methods!
2309 </Para>
2311 </listitem>
2313 </VarListEntry>
2315 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2317 <VarListEntry><Term>See Also</Term>
2319 <listitem><Para>*infer equates</Para></listitem>
2321 </VarListEntry>
2323 </VariableList>
2325 </Sect3>
2327 <Sect3><Title>EXPORT</Title>
2329 <VariableList>
2331 <VarListEntry><Term>Syntax</Term>
2333 <listitem><Para>*export &lt;station&gt;...</Para></listitem>
2335 </VarListEntry>
2337 <VarListEntry><Term>Example</Term>
2339 <!-- FIXME better example -->
2340 <listitem>
2341 <Para>
2342 <programlisting>
2343 *export 1 6 17</programlisting>
2344 </Para>
2345 </listitem>
2347 </VarListEntry>
2349 <VarListEntry><Term>Validity</Term>
2351 <listitem><Para>valid at the start of a *begin/*end block.
2352 </Para></listitem>
2354 </VarListEntry>
2356 <VarListEntry><Term>Description</Term>
2358 <listitem><Para>
2359 *export marks the stations named as referable to from the enclosing
2360 survey. To be able to refer to a station from a survey several levels
2361 above, it must be exported from each enclosing survey.
2362 </Para>
2364 <!-- FIXME:
2365 <Para>
2366 I think this is preferable to using:
2367 </Para>
2369 <programlisting> a b 0.00 0 0</programlisting>
2371 <Para>
2372 as EQUATE does not add in an extra position error. It is also clearer than
2373 substituting in the original name wherever passages are linked. If you
2374 disagree, you can always use one of the other methods!
2375 </Para>
2377 </listitem>
2379 </VarListEntry>
2381 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2383 <VarListEntry><Term>See Also</Term>
2385 <listitem><Para>*begin, *infer exports</Para></listitem>
2387 </VarListEntry>
2389 </VariableList>
2391 </Sect3>
2393 <Sect3><Title>FIX</Title>
2395 <VariableList>
2397 <VarListEntry><Term>Syntax</Term>
2399 <listitem><Para>*fix &lt;station&gt; [reference]
2400 [ &lt;x&gt; &lt;y&gt; &lt;z&gt;
2401 [ &lt;x std err&gt; &lt;y std err&gt; &lt;z std err&gt;
2402 [ &lt;cov(x,y)&gt; &lt;cov(y,z)&gt; &lt;cov(z,x)&gt; ] ] ]
2403 </Para></listitem>
2405 </VarListEntry>
2407 <VarListEntry><Term>Example</Term>
2409 <listitem>
2410 <Para>
2411 <programlisting>
2412 *fix entrance.0 32768 86723 1760</programlisting>
2414 <programlisting>
2415 *fix KT114_96 reference 36670.37 83317.43 1903.97</programlisting>
2416 </Para>
2417 </listitem>
2419 </VarListEntry>
2421 <VarListEntry><Term>Description</Term>
2423 <listitem>
2424 <Para>
2425 *fix fixes the position of &lt;station&gt; at the given coordinates.
2426 If you haven't specified the coordinate system with "*cs", you can
2427 omit the position and it will default to (0,0,0). The standard errors default
2428 to zero (fix station exactly). cavern will give an error if you attempt to fix
2429 the same survey station twice at different coordinates, or a warning if you fix
2430 it twice with matching coordinates.
2431 </Para>
2433 <Para>
2434 You can also specify just one standard error (in which case it is assumed
2435 equal in X, Y, and Z) or two (in which case the first is taken as the
2436 standard error in X and Y, and the second as the standard error in Z).
2437 </Para>
2439 <Para>
2440 If you have covariances for the fix, you can also specify these - the
2441 order is cov(x,y) cov(y,z) cov(z,x).
2442 </Para>
2444 <Para>
2445 If you've specified a coordinate system (see <command>*cs</command>) then
2446 that determines the meaning of X, Y and Z (if you want to specify the
2447 units for altitude, note that using a PROJ string containing
2448 <command>+vunits</command> allows this - e.g. <command>+vunits=us-ft</command>
2449 for US survey feet). If you don't specify a coordinate system, then the
2450 coordinates must be in metres. The standard deviations must always be
2451 in metres (and the covariances in metres squared).
2452 </Para>
2454 <Para>
2455 You can fix as many stations as you like - just use a *fix command for each
2456 one. Cavern will check that all stations are connected to
2457 at least one fixed point so that co-ordinates can be calculated for all
2458 stations.
2459 </Para>
2461 <Para>
2462 By default cavern will warn about stations which have been FIX-ed but
2463 not used otherwise, as this might be due to a typo in the station
2464 name. This is unhelpful if you want to include a standard file of benchmarks,
2465 some of which won't be used. In this sort of situation, specify "REFERENCE"
2466 after the station name in the FIX command to suppress this warning for a
2467 particular station.
2468 </Para>
2470 <Note><Para>
2471 X is Easting, Y is Northing, and Z is altitude. This convention was chosen
2472 since on a map, the horizontal (X) axis is usually East, and the vertical
2473 axis (Y) North. The choice of altitude (rather than depth) for Z is taken
2474 from surface maps, and makes for less confusion when dealing with cave
2475 systems with more than one entrance. It also gives a right-handed
2476 set of axes.
2477 </Para></Note>
2479 </listitem>
2480 </VarListEntry>
2482 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2484 <!-- <VarListEntry><Term>See Also</Term>
2486 <listitem><Para></Para></listitem>
2488 </VarListEntry>
2491 </VariableList>
2493 </Sect3>
2495 <!--
2496 <Sect3><Title></Title>
2498 <VariableList>
2500 <VarListEntry><Term>Syntax</Term>
2502 <listitem><Para>*</Para></listitem>
2504 </VarListEntry>
2506 <VarListEntry><Term>Example</Term>
2508 <listitem>
2509 <Para>
2510 <programlisting>
2511 *</programlisting>
2512 </Para>
2513 </listitem>
2515 </VarListEntry>
2517 <VarListEntry><Term>Description</Term>
2519 <listitem><Para>
2520 </Para></listitem>
2522 </VarListEntry>
2524 <VarListEntry><Term>Caveats </Term> </VarListEntry>
2526 <VarListEntry><Term>See Also</Term>
2528 <listitem><Para></Para></listitem>
2530 </VarListEntry>
2532 </VariableList>
2534 </Sect3>
2537 <Sect3><Title>FLAGS</Title>
2539 <VariableList>
2541 <VarListEntry><Term>Syntax</Term>
2543 <listitem><Para>*flags &lt;flags&gt;</Para></listitem>
2545 </VarListEntry>
2547 <VarListEntry><Term>Example</Term>
2549 <listitem>
2550 <Para>
2551 <programlisting>
2552 *flags duplicate not surface</programlisting>
2553 </Para>
2554 </listitem>
2556 </VarListEntry>
2558 <VarListEntry><Term>Description</Term>
2560 <listitem><Para>
2561 *flags updates the current flag settings.
2562 Flags not mentioned retain their previous state. Valid flags
2563 are DUPLICATE, SPLAY, and SURFACE, and a flag may be preceded with NOT to
2564 turn it off.
2565 </Para>
2567 <Para>
2568 Survey legs marked SURFACE are hidden from plots by default, and not
2569 included in cave survey length calculations. Survey legs marked as
2570 DUPLICATE or SPLAY are also not included in cave survey length
2571 calculations; legs marked SPLAY are ignored by the extend program.
2572 DUPLICATE is intended for the case when if you have two different
2573 surveys along the same section of passage (for example to tie two
2574 surveys into a permanent survey station); SPLAY is intended for
2575 cases such as radial legs in a large chamber.
2576 </Para>
2577 </listitem>
2579 </VarListEntry>
2581 <VarListEntry><Term>See Also</Term>
2583 <listitem><Para>*begin</Para></listitem>
2585 </VarListEntry>
2587 </VariableList>
2589 </Sect3>
2591 <Sect3><Title>INCLUDE</Title>
2593 <VariableList>
2595 <VarListEntry><Term>Syntax</Term>
2597 <listitem><Para>*include &lt;filename&gt;</Para></listitem>
2599 </VarListEntry>
2601 <VarListEntry><Term>Example</Term>
2603 <listitem>
2604 <Para>
2605 <programlisting>
2606 *include mission</programlisting>
2608 <programlisting>
2609 *include "the pits"</programlisting>
2610 </Para>
2611 </listitem>
2613 </VarListEntry>
2615 <VarListEntry><Term>Description</Term>
2617 <listitem><Para>
2618 *include processes &lt;filename&gt; as if it were inserted at this
2619 place in the current file. (i.e. The current settings are carried
2620 into &lt;filename&gt;, and any alterations to settings in &lt;filename&gt;
2621 will be carried back again). There's one exception to this (for
2622 obscure historical reasons) which is that the survey prefix is
2623 restored upon return to the original file. Since *begin and *end
2624 nesting cannot cross files, this can only make a difference if you
2625 use the deprecated *prefix command.
2626 </Para>
2628 <Para>If &lt;filename&gt; contains spaces, it must be enclosed in quotes.
2629 </Para>
2631 <Para>An included file which does not have a complete path
2632 is resolved relative to the directory which the parent file is in
2633 (just as relative HTML links do). Cavern will try adding a <filename>.svx</filename>
2634 extension, and will also try translating "\" to "/".
2635 </Para>
2637 <Para>
2638 To help users wanting to take a dataset from a platform where filenames
2639 are case-insenstive and process it on a platform where filenames are
2640 case-sensitive, if the file isn't found cavern will try a few variations of the
2641 case. First it will try all lower case (in Survex 1.4.5 and older this was
2642 the only case variant tried), then all lower case except with the first
2643 character of the leafname upper case, and finally all upper case. These
2644 different variants are only tried if the case as given doesn't match
2645 so there's no overhead in the normal situation.
2646 </Para>
2648 <Para>
2649 One specific trick this enables which is worth noting is that if you're using
2650 Unix and someone sends you a DOS/Windows dataset with mismatched filename case,
2651 you can unzip it using <command>unzip -L</command> to unpack all the filenames
2652 in lower case and UNIX cavern should successfully process it.
2653 </Para>
2655 <Para>
2656 The depth to which you can nest include files may be limited by the operating
2657 system you use. Usually the limit is fairly high (>30), but if you want to be
2658 able to process your dataset with <Application>Survex</Application> on any
2659 supported platform, it would be prudent not to go overboard with deeply nested
2660 include files.
2661 </Para>
2662 </listitem>
2663 </VarListEntry>
2665 </VariableList>
2667 </Sect3>
2669 <Sect3><Title>INFER</Title>
2671 <VariableList>
2673 <VarListEntry><Term>Syntax</Term>
2675 <listitem>
2676 <Para>*infer plumbs on|off</Para>
2678 <Para>*infer equates on|off</Para>
2680 <Para>*infer exports on|off</Para>
2681 </listitem>
2683 </VarListEntry>
2685 <!--
2686 <VarListEntry><Term>Example</Term>
2688 <listitem>
2689 <programlisting>
2690 </programlisting>
2692 </listitem>
2694 </VarListEntry>
2697 <VarListEntry><Term>Description</Term>
2699 <listitem>
2700 <Para>"*infer plumbs on" tells cavern to interpret gradients of +/- 90
2701 degrees as UP/DOWN (so it
2702 will not apply the clino correction to them). This is useful when
2703 the data has not been converted to have UP and DOWN in it.
2704 </Para>
2706 <para>"*infer equates on" tells cavern to interpret a leg with
2707 a tape reading of zero as a *equate. this prevents tape corrections
2708 being applied to them.
2709 </para>
2711 <para>"*infer exports on" is necessary when you have a dataset which is
2712 partly annotated with *export. It tells cavern not to complain about
2713 missing *export commands in part of the dataset. Also stations which
2714 were used to join surveys are marked as exported in the 3d file.
2715 </para>
2716 </listitem>
2718 </VarListEntry>
2720 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2722 <!--
2723 <VarListEntry><Term>See Also</Term>
2725 <listitem><Para>*end, *prefix</Para></listitem>
2727 </VarListEntry>
2730 </VariableList>
2732 </Sect3>
2734 <Sect3><Title>INSTRUMENT</Title>
2736 <VariableList>
2738 <VarListEntry><Term>Syntax</Term>
2740 <listitem><Para>*instrument &lt;instrument&gt; &lt;identifier&gt;</Para></listitem>
2742 </VarListEntry>
2744 <VarListEntry><Term>Example</Term>
2746 <listitem>
2747 <Para>
2748 <programlisting>
2749 *instrument compass "CUCC 2"
2750 *instrument clino "CUCC 2"
2751 *instrument tape "CUCC Fisco Ranger open reel"</programlisting>
2752 </Para>
2753 </listitem>
2755 </VarListEntry>
2757 <VarListEntry><Term>Validity</Term>
2759 <listitem><Para>valid at the start of a *begin/*end block.
2760 </Para></listitem>
2762 </VarListEntry>
2764 <VarListEntry><Term>Description</Term>
2766 <listitem><Para>
2767 *instrument specifies the particular instruments used to perform a
2768 survey.
2769 </Para></listitem>
2771 </VarListEntry>
2773 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2775 <VarListEntry><Term>See Also</Term>
2777 <listitem><Para>*begin, *date, *team</Para></listitem>
2779 </VarListEntry>
2781 </VariableList>
2783 </Sect3>
2785 <Sect3><Title>PREFIX</Title>
2787 <VariableList>
2789 <VarListEntry><Term>Syntax</Term>
2791 <listitem><Para>*prefix &lt;survey&gt;</Para></listitem>
2793 </VarListEntry>
2795 <VarListEntry><Term>Example</Term>
2797 <listitem>
2798 <Para>
2799 <programlisting>
2800 *prefix flapjack</programlisting>
2801 </Para>
2802 </listitem>
2804 </VarListEntry>
2806 <VarListEntry><Term>Description</Term>
2808 <listitem><Para>
2809 *prefix sets the current survey.
2810 </Para></listitem>
2812 </VarListEntry>
2814 <VarListEntry><Term>Caveats </Term>
2816 <listitem><Para>*prefix is deprecated - you should use *begin and *end
2817 instead.</Para></listitem>
2819 </VarListEntry>
2821 <VarListEntry><Term>See Also</Term>
2823 <listitem><Para>*begin, *end</Para></listitem>
2825 </VarListEntry>
2827 </VariableList>
2829 </Sect3>
2831 <Sect3><Title>REF</Title>
2833 <VariableList>
2835 <VarListEntry><Term>Syntax</Term>
2837 <listitem><Para>*ref &lt;string&gt;</Para></listitem>
2839 </VarListEntry>
2841 <VarListEntry><Term>Example</Term>
2843 <listitem>
2844 <Para>
2845 <programlisting>
2846 *ref "survey folder 2007#12"
2847 </programlisting>
2848 </Para>
2849 </listitem>
2851 </VarListEntry>
2853 <VarListEntry><Term>Validity</Term>
2855 <listitem><Para>valid at the start of a *begin/*end block.
2856 </Para></listitem>
2858 </VarListEntry>
2860 <VarListEntry><Term>Description</Term>
2862 <listitem><Para>
2863 *ref allows you to specify a reference. If the reference contains spaces, you
2864 must enclose it in double quotes. Survex doesn't try to interpret the
2865 reference in any way, so it's up to you how you use it - for example it could
2866 specify where the original survey notes can be found.
2867 </Para>
2869 <Para>
2870 *ref was added in Survex 1.2.23.
2871 </Para></listitem>
2873 </VarListEntry>
2875 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2877 <VarListEntry><Term>See Also</Term>
2879 <listitem><Para>*begin, *date, *instrument, *team</Para></listitem>
2881 </VarListEntry>
2883 </VariableList>
2885 </Sect3>
2887 <Sect3><Title>REQUIRE</Title>
2889 <VariableList>
2891 <VarListEntry><Term>Syntax</Term>
2893 <listitem><Para>*require &lt;version&gt;</Para></listitem>
2895 </VarListEntry>
2897 <VarListEntry><Term>Example</Term>
2899 <listitem>
2900 <Para>
2901 <programlisting>
2902 *require 0.98</programlisting>
2903 </Para>
2904 </listitem>
2906 </VarListEntry>
2908 <VarListEntry><Term>Description</Term>
2910 <listitem><Para>
2911 *require checks that the version of cavern in use is at least
2912 &lt;version&gt; and stops with an error if not.
2913 So if your dataset requires a feature
2914 introduced in a particular version, you can add a *require command and
2915 users will know what version they need to upgrade to, rather than
2916 getting an error message and having to guess what the real problem is.
2917 </Para></listitem>
2919 </VarListEntry>
2921 </VariableList>
2923 </Sect3>
2925 <Sect3><Title>SD</Title>
2927 <VariableList>
2929 <VarListEntry><Term>Syntax</Term>
2931 <listitem><Para>*sd &lt;quantity list&gt; &lt;standard deviation&gt;
2932 </Para></listitem>
2934 </VarListEntry>
2936 <VarListEntry><Term>Example</Term>
2938 <listitem>
2939 <Para>
2940 <programlisting>
2941 *sd tape 0.15 metres</programlisting>
2942 </Para>
2943 </listitem>
2945 </VarListEntry>
2947 <VarListEntry><Term>Description</Term>
2949 <listitem><Para>
2950 *sd sets the standard deviation of a measurement.
2951 </Para>
2953 <Para>
2954 &lt;quantity&gt; is one of (each group gives alternative names for the same
2955 quantity):
2956 </Para>
2958 <ItemizedList>
2959 <listitem><para>TAPE, LENGTH</para></listitem>
2960 <listitem><para>BACKTAPE, BACKLENGTH (added in Survex 1.2.25)</para></listitem>
2961 <listitem><para>COMPASS, BEARING</para></listitem>
2962 <listitem><para>BACKCOMPASS, BACKBEARING</para></listitem>
2963 <listitem><para>CLINO, GRADIENT</para></listitem>
2964 <listitem><para>BACKCLINO, BACKGRADIENT</para></listitem>
2965 <listitem><para>COUNTER, COUNT</para></listitem>
2966 <listitem><para>DEPTH</para></listitem>
2967 <listitem><para>DECLINATION</para></listitem>
2968 <listitem><para>DX, EASTING</para></listitem>
2969 <listitem><para>DY, NORTHING</para></listitem>
2970 <listitem><para>DZ, ALTITUDE</para></listitem>
2971 <listitem><para>LEFT</para></listitem>
2972 <listitem><para>RIGHT</para></listitem>
2973 <listitem><para>UP, CEILING</para></listitem>
2974 <listitem><para>DOWN, FLOOR</para></listitem>
2975 <listitem><para>LEVEL</para></listitem>
2976 <listitem><para>PLUMB</para></listitem>
2977 <listitem><para>POSITION</para></listitem>
2978 </ItemizedList>
2980 <Para>
2981 &lt;standard deviation&gt; must include units and thus is typically
2982 "0.05 metres", or "0.02 degrees". See *units below for full list
2983 of valid units.
2984 </Para>
2986 <!-- FIXME mention central limit theorem -->
2987 <Para>
2988 To utilise this command fully you need to understand what a
2989 <emphasis>standard deviation</emphasis> is.
2990 It gives a value to the 'spread' of the errors
2991 in a measurement. Assuming that these are normally distributed
2992 we can say that 95.44% of the actual lengths will fall within two
2993 standard deviations of the measured length. i.e. a tape SD of
2994 0.25 metres means that the actual length of a tape measurement
2995 is within + or - 0.5 metres of the recorded value 95.44% of the time.
2996 So if the measurement is 7.34m then the actual length is very
2997 likely to be between 6.84m and 7.84m. This example corresponds
2998 to BCRA grade 3. Note that this is just one interpretation of
2999 the BCRA standard, taking the permitted error values as 2SD 95.44%
3000 confidence limits. If you want to take the readings as being some
3001 other limit (e.g. 1SD = 68.26%) then you will need to change the BCRA3
3002 and BCRA5 files accordingly. This issue is explored in more
3003 detail in various surveying articles.
3004 <!--
3005 2.565 sd 99%
3006 2.5 sd 98.76%
3007 2 sd 95.44%
3008 1 sd 68.26%
3009 .97 sd 66.67%
3010 1.15 sd 75%
3012 </Para></listitem>
3014 </VarListEntry>
3016 <VarListEntry><Term>See Also</Term>
3018 <listitem><Para>*units</Para></listitem>
3020 </VarListEntry>
3022 </VariableList>
3024 </Sect3>
3026 <Sect3><Title>SET</Title>
3028 <VariableList>
3030 <VarListEntry><Term>Syntax</Term>
3032 <listitem><Para>*set &lt;item&gt; &lt;character list&gt;</Para></listitem>
3034 </VarListEntry>
3036 <VarListEntry><Term>Example</Term>
3038 <listitem>
3039 <Para>
3040 <programlisting>
3041 *set blank x09x20
3042 *set decimal ,</programlisting>
3044 Note that you need to eliminate comma from being a blank before setting it as
3045 a decimal - otherwise the comma in "*set decimal ," is parsed as a blank, and
3046 you set decimal to not have any characters representing it.
3047 </Para>
3048 </listitem>
3050 </VarListEntry>
3052 <VarListEntry><Term>Description</Term>
3054 <listitem><Para>
3055 *set sets the specified &lt;item&gt; to the character or characters
3056 given in &lt;character list&gt;. The example sets the decimal
3057 separator to be a comma.
3058 </Para>
3060 <Para>
3061 xAB means the character with hex value AB. Eg x20 is a space.
3062 </Para>
3064 <Para>
3065 The complete list of items that can be set, the defaults (in
3066 brackets), and the meaning of the item, is:
3067 </Para>
3069 <ItemizedList>
3071 <ListItem><Para>
3072 BLANK (x09x20,) Separates fields
3073 </Para></ListItem>
3075 <ListItem><Para>
3076 COMMENT (;) Introduces comments
3077 </Para></ListItem>
3079 <ListItem><Para>
3080 DECIMAL (.) Decimal point character
3081 </Para></ListItem>
3083 <ListItem><Para>
3084 EOL (x0Ax0D) End of line character
3085 </Para></ListItem>
3087 <ListItem><Para>
3088 KEYWORD (*) Introduces keywords
3089 </Para></ListItem>
3091 <ListItem><Para>
3092 MINUS (-) Indicates negative number
3093 </Para></ListItem>
3095 <ListItem><Para>
3096 NAMES (_-) Non-alphanumeric chars permitted in station
3097 names (letters and numbers are always permitted).
3098 </Para></ListItem>
3100 <ListItem><Para>
3101 OMIT (-) Contents of field omitted (e.g. in plumbed legs)
3102 </Para></ListItem>
3104 <ListItem><Para>
3105 PLUS (+) Indicates positive number
3106 </Para></ListItem>
3108 <ListItem><Para>
3109 ROOT (\) Prefix in force at start of current file (use of ROOT is deprecated)
3110 </Para></ListItem>
3112 <ListItem><Para>
3113 SEPARATOR (.) Level separator in prefix hierarchy
3114 </Para></ListItem>
3116 <!-- FIXME OPEN ({) and CLOSE (}) -->
3117 </ItemizedList>
3119 <Para>
3120 The special characters may not be alphanumeric.
3121 </Para>
3123 </listitem>
3125 </VarListEntry>
3127 </VariableList>
3129 </Sect3>
3131 <Sect3><Title>SOLVE</Title>
3133 <VariableList>
3135 <VarListEntry><Term>Syntax</Term>
3137 <listitem><Para>*solve</Para></listitem>
3139 </VarListEntry>
3141 <VarListEntry><Term>Example</Term>
3143 <listitem>
3144 <Para>
3145 <programlisting>
3146 *include 1997data
3147 *solve
3148 *include 1998data
3149 </programlisting>
3150 </Para>
3151 </listitem>
3153 </VarListEntry>
3155 <VarListEntry><Term>Description</Term>
3157 <listitem><Para>
3158 Distributes misclosures around any loops in the survey and fixes
3159 the positions of all existing stations. This command is intended
3160 for situations where you have some new surveys adding extensions
3161 to an already drawn-up survey which you wish to avoid completely
3162 redrawing. You can read in the old data, use *SOLVE to fix it, and then
3163 read in the new data. Then old stations will be in the same
3164 positions as they are in the existing drawn up survey, even if new loops
3165 have been formed by the extensions.
3166 </Para></listitem>
3168 </VarListEntry>
3170 </VariableList>
3172 </Sect3>
3174 <Sect3><Title>TEAM</Title>
3176 <VariableList>
3178 <VarListEntry><Term>Syntax</Term>
3180 <listitem><Para>*team &lt;person&gt; [&lt;role&gt;...]</Para></listitem>
3182 </VarListEntry>
3184 <VarListEntry><Term>Example</Term>
3186 <listitem>
3187 <Para>
3188 <programlisting>
3189 *team "Nick Proctor" compass clino tape
3190 *team "Anthony Day" notes pictures tape
3191 </programlisting>
3192 </Para>
3193 </listitem>
3195 </VarListEntry>
3197 <VarListEntry><Term>Validity</Term>
3199 <listitem><Para>valid at the start of a *begin/*end block.
3200 </Para></listitem>
3201 <!-- FIXME valid roles are? -->
3203 </VarListEntry>
3205 <VarListEntry><Term>Description</Term>
3207 <listitem><Para>
3208 *team specifies the people involved in a survey and optionally what role or
3209 roles they filled during that trip. Unless the person is only identified by
3210 one name you need to put double quotes around their name.
3211 </Para></listitem>
3213 </VarListEntry>
3215 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
3217 <VarListEntry><Term>See Also</Term>
3219 <listitem><Para>*begin, *date, *instrument</Para></listitem>
3221 </VarListEntry>
3223 </VariableList>
3225 </Sect3>
3227 <Sect3><Title>TITLE</Title>
3229 <VariableList>
3231 <VarListEntry><Term>Syntax</Term>
3233 <listitem><Para>*title &lt;title&gt;</Para></listitem>
3235 </VarListEntry>
3237 <VarListEntry><Term>Example</Term>
3239 <listitem>
3240 <programlisting>
3241 *title Dreamtime</programlisting>
3243 <programlisting>
3244 *title "Mission Impossible"</programlisting>
3245 </listitem>
3247 </VarListEntry>
3249 <VarListEntry><Term>Description</Term>
3251 <listitem><Para>*title allows you to set the descriptive title for a survey.
3252 If the title contains spaces, you need to enclose it in quotes ("").
3253 If there is no *title command, the title defaults to the survey name
3254 given in the *begin command.
3255 </Para>
3256 </listitem>
3258 </VarListEntry>
3260 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
3262 <!--
3263 <VarListEntry><Term>See Also</Term>
3265 <listitem><Para>*end, *prefix</Para></listitem>
3267 </VarListEntry>
3270 </VariableList>
3272 </Sect3>
3274 <Sect3><Title>TRUNCATE</Title>
3276 <VariableList>
3278 <VarListEntry><Term>Syntax</Term>
3280 <listitem><Para>*truncate &lt;length&gt;|off</Para></listitem>
3282 </VarListEntry>
3284 <!-- FIXME:
3285 <VarListEntry><Term>Example</Term>
3287 <listitem>
3288 <programlisting>
3289 </programlisting>
3291 </listitem>
3293 </VarListEntry>
3296 <VarListEntry><Term>Description</Term>
3298 <listitem><Para>Station names may be of any length in <Application>Survex</Application>, but some
3299 other (mostly older) cave surveying software only regard the first few
3300 characters of a name as significant (e.g. "entran" and "entrance"
3301 might be treated as the same). To facilitate using data imported from
3302 such a package <Application>Survex</Application> allows you to truncate names to whatever
3303 length you want (but by default truncation is off).
3304 </Para>
3306 <Para>Figures for the number of characters which are significant in various
3307 software packages: Compass currently has a limit of 12,
3308 CMAP has a limit of 6,
3309 Smaps 4 had a limit of 8,
3310 <!-- FIXME any limits for other software, winkarst for example? -->
3311 Surveyor87/8 used 8.
3312 <Application>Survex</Application> itself used 8 per prefix
3313 level up to version 0.41, and 12 per prefix level up to 0.73 (more recent
3314 versions removed this rather archaic restriction).
3315 </Para>
3316 </listitem>
3318 </VarListEntry>
3320 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
3322 <VarListEntry><Term>See Also</Term>
3324 <listitem><Para>*case</Para></listitem>
3326 </VarListEntry>
3328 </VariableList>
3330 </Sect3>
3332 <Sect3><Title>UNITS</Title>
3334 <VariableList>
3336 <VarListEntry><Term>Syntax</Term>
3338 <listitem><Para>
3339 *units &lt;quantity list&gt; [&lt;factor&gt;] &lt;unit&gt;
3340 </Para>
3341 <Para>
3342 *units default
3343 </Para></listitem>
3345 </VarListEntry>
3347 <VarListEntry><Term>Example</Term>
3349 <listitem>
3350 <Para>
3351 <programlisting>
3352 *units tape metres</programlisting>
3354 <programlisting>
3355 *units compass backcompass clino backclino grads</programlisting>
3357 <programlisting>
3358 *units dx dy dz 1000 metres ; data given as kilometres</programlisting>
3360 <programlisting>
3361 *units left right up down feet</programlisting>
3362 </Para>
3363 </listitem>
3365 </VarListEntry>
3367 <VarListEntry><Term>Description</Term>
3369 <listitem><Para>
3370 &lt;quantity&gt; is one of the following (grouped entries are just alternative names for the same thing):
3371 TAPE/LENGTH, BACKTAPE/BACKLENGTH (added in Survex 1.2.25), COMPASS/BEARING, BACKCOMPASS/BACKBEARING, CLINO/GRADIENT, BACKCLINO/BACKGRADIENT, COUNTER/COUNT, DEPTH, DECLINATION, DX/EASTING, DY/NORTHING, DZ/ALTITUDE, LEFT, RIGHT, UP/CEILING, DOWN/FLOOR
3372 </Para>
3374 <Para>Changes current units of all the quantities listed to [&lt;factor&gt;]
3375 &lt;unit&gt;. Note that quantities can be expressed either as
3376 the instrument (e.g. COMPASS) or the measurement (e.g. BEARING).
3377 </Para>
3379 <Para>&lt;factor&gt; allows you to easy specify situations such as measuring
3380 distance with a diving line knotted every 10cm (*units distance 0.1 metres).
3381 If &lt;factor&gt; is omitted it defaults to 1.0. If specified, it must be
3382 non-zero.
3383 </Para>
3385 <Para>Valid units for listed quantities are:
3386 </Para>
3388 <Para>TAPE/LENGTH, BACKTAPE/BACKLENGTH, COUNTER/COUNT, DEPTH, DX/EASTING, DY/NORTHING, DZ/ALTITUDE
3389 in YARDS|FEET|METRIC|METRES|METERS (default: METRES)
3390 </Para>
3392 <Para>CLINO/GRADIENT, BACKCLINO/BACKGRADIENT
3393 in DEGS|DEGREES|GRADS|MINUTES|PERCENT|PERCENTAGE (default: DEGREES)
3394 </Para>
3396 <Para>COMPASS/BEARING, BACKCOMPASS/BACKBEARING, DECLINATION
3397 in DEGS|DEGREES|GRADS|MINUTES|QUADS|QUADRANTS (default: DEGREES)
3398 </Para>
3400 <Para>(360 degrees = 400 grads)
3401 </Para>
3403 <Para>
3404 QUADRANTS are a style of bearing used predominantly in land survey, and occasionally
3405 in survey with handheld instruments. All bearings are N or S, a numeric from 0 to
3406 90, followed by E or W. For example S34E to refer to 146 degrees, or 34 degrees in
3407 the SE quadrant. In this format, exact cardinal directions may be simply alphabetic.
3408 E.g. N is equivalent to N0E and E is equivalent to N90E. This unit was added in Survex
3409 1.2.44.
3410 </Para>
3412 <Para>
3413 Survex has long support MILS as an alias for GRADS. However, this seems to
3414 be a bogus definition of a "mil" which is unique to Survex (except that Therion
3415 has since copied it) - there are several different definitions of a "mil" but
3416 they vary from 6000 to 6400 in a full circle, not 400. Because of this we
3417 deprecated MILS in Survex 1.2.38 - you can still process data which uses them
3418 but you'll now get a warning, and we recommend you update your data.
3419 </Para>
3421 <Para>
3422 For example, if your data uses
3424 <programlisting>
3425 *units compass mils</programlisting>
3427 then you need to determine what the intended units actually are. If there
3428 are 400 in a full circle, then instead use this (which will work with older
3429 Survex versions too):
3431 <programlisting>
3432 *units compass grads</programlisting>
3434 If the units are actually mils, you can specify that in terms of degrees.
3435 For example, for NATO mils (6400 in a full circle) one mil is 360/6400
3436 degrees, and 360/6400=0.05625 so you can use this (which also works with older
3437 Survex versions):
3439 <programlisting>
3440 *units compass 0.05625 degrees</programlisting>
3441 </Para>
3442 </listitem>
3443 </VarListEntry>
3445 <!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
3447 <VarListEntry><Term>See Also</Term>
3449 <listitem><Para>*calibrate</Para></listitem>
3451 </VarListEntry>
3453 </VariableList>
3455 </Sect3>
3457 </Sect2>
3459 </Sect1>
3461 <!-- FIXME rename to "Cookbook"? -->
3462 <Sect1><Title>Contents of <filename>.svx</filename> files: How do I?</Title>
3463 <?dbhtml filename="svxhowto.htm">
3465 <Para>
3466 Here is some example <Application>Survex</Application> data (a very small cave numbered 1623/163):
3467 </Para>
3469 <programlisting>
3470 2 1 26.60 222 17.5
3471 2 3 10.85 014 7
3472 2 4 7.89 254 -11
3473 4 5 2.98 - DOWN
3474 5 6 9.29 271 -28.5</programlisting>
3476 <Para>
3477 You can vary the data ordering. The default is:
3478 </Para>
3480 <Para>
3481 from-station to-station tape compass clino
3482 </Para>
3484 <Para>
3485 This data demonstrates a number of useful features of <Application>Survex</Application>:
3486 </Para>
3488 <Para>
3489 Legs can be measured either way round, which allows the use of
3490 techniques like "leap-frogging" (which is where legs
3491 alternate forwards and backwards).
3492 </Para>
3494 <Para>
3495 Also notice that there is a spur in the survey (2 to 3). You
3496 do not need to specify this specially.
3497 </Para>
3499 <Para>
3500 <Application>Survex</Application> places few restrictions on station naming (see "Survey
3501 Station Names" in the previous section), so you can number the stations
3502 as they were in the original survey notes. Although not apparent from
3503 this example, there is no requirement for each leg to connect to an
3504 existing station. <Application>Survex</Application> can accept data in any order, and will
3505 check for connectedness once all the data has been read in.
3506 </Para>
3508 <Para>
3509 Each survey is also likely to have other information associated
3510 with it, such as instrument calibrations, etc. This has been
3511 omitted from this example to keep things simple.
3512 </Para>
3514 <Para>
3515 Most caves will take more than just one survey trip to map. Commonly
3516 the numbering in each survey will begin at 1, so we need to be
3517 able to tell apart stations with the same number in different
3518 surveys.
3519 </Para>
3521 <Para>
3522 To accomplish this, <Application>Survex</Application> has a very flexible system of hierarchical
3523 prefixes. All you need do is give each survey a unique name or
3524 number, and enter the data like so:
3525 </Para>
3527 <programlisting>
3528 *begin 163
3529 *export 1
3530 2 1 26.60 222 17.5
3531 2 3 10.85 014 7
3532 2 4 7.89 254 -11
3533 4 5 2.98 - DOWN
3534 5 6 9.29 271 -28.5
3535 *end 163</programlisting>
3537 <Para><Application>Survex</Application> will name the stations by attaching the current prefix.
3538 In this case, the stations will be named 163.1, 163.2, etc.
3539 </Para>
3541 <Para>We have a convention with the CUCC Austria data that the entrance survey
3542 station of a cave is named P&lt;cave number&gt;, P163 in this case. We
3543 can accomplish this like so:
3544 </Para>
3546 <programlisting>
3547 *equate P163 163.1
3548 *entrance P163
3549 *begin 163
3550 *export 1
3551 2 1 26.60 222 17.5
3552 2 3 10.85 014 7
3553 2 4 7.89 254 -11
3554 4 5 2.98 - DOWN
3555 5 6 9.29 271 -28.5
3556 *end 163</programlisting>
3558 <Sect2><Title>Specify surface survey data</Title>
3560 <Para>
3561 Say you have 2 underground surveys and 2 surface ones with 2 fixed reference
3562 points. You want to mark the surface surveys so that their length isn't
3563 included in length statistics, and so that Aven knows to display them
3564 differently. To do this you mark surface data with the "surface" flag
3565 - this is set with "*flags surface" like so:
3566 </Para>
3568 <programlisting>
3569 ; fixed reference points
3570 *fix fix_a 12345 56789 1234
3571 *fix fix_b 23456 67890 1111
3573 ; surface data (enclosed in *begin ... *end to stop the *flags command
3574 ; from "leaking" out)
3575 *begin
3576 *flags surface
3577 *include surface1
3578 *include surface2
3579 *end
3581 ; underground data
3582 *include cave1
3583 *include cave2</programlisting>
3585 <Para>
3586 You might also have a survey which starts on the surface and heads into a
3587 cave. This can be easily handled too - here's an example which goes in
3588 one entrance, through the cave, and out of another entrance:
3589 </Para>
3591 <programlisting>
3592 *begin BtoC
3593 *title "161b to 161c"
3594 *date 1990.08.06 ; trip 1990-161c-3 in 1990 logbook
3596 *begin
3597 *flags surface
3598 02 01 3.09 249 -08.5
3599 02 03 4.13 252.5 -26
3600 *end
3602 04 03 6.00 020 +37
3603 04 05 3.07 329 -31
3604 06 05 2.67 203 -40.5
3605 06 07 2.20 014 +04
3606 07 08 2.98 032 +04
3607 08 09 2.73 063.5 +21
3608 09 10 12.35 059 +15
3610 *begin
3611 *flags surface
3612 11 10 4.20 221.5 -11.5
3613 11 12 5.05 215 +03.5
3614 11 13 6.14 205 +12.5
3615 13 14 15.40 221 -14
3616 *end
3618 *end BtoC</programlisting>
3620 <Para>
3621 Note that to avoid needless complication, Survex regards each leg as
3622 being either "surface" or "not surface" - if a leg spans the boundary you'll
3623 have to call it one or the other. It's good surveying practice to
3624 deliberately put a station at the surface/underground interface
3625 (typically the highest closed contour or drip line) so this generally
3626 isn't an onerous restriction.
3627 </Para>
3629 </Sect2>
3631 <Sect2><Title>Specify the ordering and type of data</Title>
3633 <Para>The *DATA command is used to specify the data style, and the
3634 order in which the readings are given.</Para>
3636 </Sect2>
3638 <Sect2><Title>Deal with Plumbs or Legs Across Static Water</Title>
3640 <!-- FIXME
3641 <Para>
3642 They can be given
3643 as +90, or -90, but as they are not usually measured with the
3644 clino, but with a plumb of some sort, then it is useful to distinguish
3645 them in this way so that any clino adjustment is not applied to
3646 these values.
3647 </Para>
3649 FIXME: paste in section from mail to list
3651 <Para>
3652 Note that a similar effect can be achieved by using the "*infer plumbs" command
3653 to stop clino corrections being applied to -90 and +90 clino readings.
3654 </Para>
3657 <Para>
3658 Plumbed legs should be given using 'UP' or 'DOWN' in place of the
3659 clino reading and a dash (or a different specified 'OMIT' character)
3660 in place of the compass reading. This distinguishes
3661 them from legs measured with a compass and clino. Here's an example:
3662 </Para>
3664 <programlisting>
3665 1 2 21.54 - UP
3666 3 2 7.36 017 +17
3667 3 4 1.62 091 +08
3668 5 4 10.38 - DOWN</programlisting>
3670 <Para>
3671 U/D or +V/-V may be used instead of UP/DOWN; the check is not case
3672 sensitive.
3673 </Para>
3675 <Para>
3676 Legs surveyed across the surface of a static body of water where no
3677 clino reading is taken (since the surface of the water can be assumed
3678 to be flat) can be indicated by using LEVEL in place of a clino reading.
3679 This prevents the clino correction being applied. Here's an example:
3680 </Para>
3682 <programlisting>
3683 1 2 11.37 190 -12
3684 3 2 7.36 017 LEVEL
3685 3 4 1.62 091 LEVEL</programlisting>
3687 </Sect2>
3689 <Sect2><Title>Specify a BCRA grade</Title>
3691 <Para>The *SD command can be used to specify the standard deviations of the
3692 various measurements (tape, compass, clino, etc). Examples files are
3693 supplied which define BCRA Grade 3 and BCRA Grade 5 using a number of *sd
3694 commands. You can use these by simply including them at the relevant point,
3695 as follows:
3696 </Para>
3698 <programlisting>
3699 *begin somewhere
3700 ; This survey is only grade 3
3701 *include grade3
3702 2 1 26.60 222 17.5
3703 2 3 10.85 014 7
3704 ; etc
3705 *end somewhere</programlisting>
3707 <Para>The default values for the standard deviations are those for
3708 BCRA grade 5. Note that it is good practice to keep the *include
3709 Grade3 within *Begin and *End commands otherwise it will apply
3710 to following survey data, which may not be what you intended.
3711 </Para>
3713 </Sect2>
3715 <Sect2><Title>Specify different accuracy for a leg</Title>
3717 <Para>For example, suppose the tape on the plumbed leg in this survey
3718 is suspected of being less accurate than the rest of the survey because
3719 the length was obtained by measuring the length of the rope used to rig
3720 the pitch. We can set a higher sd for this one measurement and use a
3721 *begin/*end block to make sure this setting only applies to the one
3722 leg:
3723 </Para>
3725 <programlisting>
3726 2 1 26.60 222 17.5
3727 2 3 10.85 014 7
3728 2 4 7.89 254 -11
3729 *begin
3730 ; tape measurement was taken from the rope length
3731 *sd tape 0.5 metres
3732 4 5 34.50 - DOWN
3733 *end
3734 5 6 9.29 271 -28.5</programlisting>
3736 <!-- FIXME also *calibrate and *instrument? Except rope is measure with the
3737 tape... -->
3738 </Sect2>
3740 <Sect2><Title>Enter Repeated Readings</Title>
3742 <Para>If your survey data contains multiple versions of each leg (for example,
3743 pockettopo produces such data), then provided these are adjacent to one another
3744 Survex 1.2.17 and later will automatically average these and treat them as a
3745 single leg.
3746 </Para>
3748 </Sect2>
3750 <Sect2><Title>Enter Radiolocation Data</Title>
3752 <!-- FIXME comments from David Gibson here -->
3753 <Para>This is done by using the *SD command to specify the appropriate
3754 errors for the radiolocation `survey leg' so that the loop closure
3755 algorithm knows how to distribute errors if it forms part of a loop.
3756 </Para>
3758 <Para>The best approach for a radiolocation where the underground station
3759 is vertically below the surface station is to represent it as a
3760 plumbed leg, giving suitable SDs for the length and plumb angle. The
3761 horizontal positioning of this is generally quite accurate, but the
3762 vertical positioning may be much less well known. E.g: we have a
3763 radiolocation of about 50m depth +/- 20m and horizontal accuracy of
3764 +/- 8m. Over 50m the +/-8m is equivalent to an angle of 9 degrees, so
3765 that is the expected plumb error. 20m is the expected error in the
3766 length. To get the equivalent SD we assume that 99.74% of readings will
3767 be within 3 standard deviations of the error value. Thus we divide the
3768 expected errors by 3 to get the SD we should specify:
3769 </Para> <!-- 3 SD? or same as BCRA3.SVX, etc -->
3771 <programlisting>
3772 *begin
3773 *sd length 6.67 metres
3774 *sd plumb 3 degrees
3775 surface underground 50 - down
3776 *end</programlisting>
3778 <Para>
3779 We wrap the radiolocation leg in a *begin/*end block to make
3780 sure that the special *sd settings only apply to this one leg.
3781 </Para>
3783 <Para>For more information on the expected errors from radiolocations
3784 see Compass Points Issue 10, available online at
3785 <ulink url="http://www.chaos.org.uk/survex/cp/CP10/CPoint10.htm">http://www.chaos.org.uk/survex/cp/CP10/CPoint10.htm</ulink>
3786 </Para>
3788 </Sect2>
3790 <Sect2><Title>Enter Diving Data</Title>
3792 <Para>Surveys made underwater using a diver's depth gauge can be
3793 processed - use the *Data command to specify that the following data
3794 is of this type.
3795 </Para>
3797 </Sect2>
3799 <Sect2><Title>Enter Theodolite data</Title>
3801 <Para>
3802 Theodolite data with turned angles is not yet explicitly catered
3803 for, so for now you will need to convert it into equivalent legs in
3804 another style - normal or cylpolar are likely to be the best choices.
3805 </Para>
3807 <Para>
3808 If there is no vertical info in your theodolite data then you should
3809 use the cylpolar style and use *sd command to specify very low
3810 accuracy (high SD) in the depth so that the points will move in the
3811 vertical plane as required if the end points are fixed or the survey
3812 is part of a loop.
3813 </Para>
3815 </Sect2>
3817 </Sect1>
3819 <Sect1><Title>General: How do I?</Title>
3820 <?dbhtml filename="genhowto.htm">
3822 <Sect2><Title>Create a new survey</Title>
3824 <Para>You simply create a text file containing the relevant survey data,
3825 using a text editor, and save it with a suitable name with a <filename>.svx</filename>
3826 extension. The
3827 easiest way is to look at some of the example data and use that
3828 as a template. Nearly all surveys will need a bit of basic info
3829 as well as the survey data itself: e.g. the date (*date), comments
3830 about where, what cave, a name for the survey (using *begin and *end),
3831 instrument error corrections etc. Here is a typical survey file:
3832 </Para>
3834 <Para>All the lines starting with ';' are comments, which are ignored
3835 by <Application>Survex</Application>. You can also see the use of 'DOWN' for plumbs, and
3836 *calibrate tape for dealing with a tape length error (in this case
3837 the end of the tape had fallen off so measurements were made from the
3838 20cm point).</Para>
3840 <programlisting>
3841 *equate chaos.1 triassic.pt3.8
3842 *equate chaos.2 triassic.pt3.9
3844 *begin chaos
3845 *title "Bottomless Pit of Eternal Chaos to Redemption pitch"
3846 *date 1996.07.11
3847 *team "Nick Proctor" compass clino tape
3848 *team "Anthony Day" notes pictures tape
3849 *instrument compass "CUCC 2"
3850 *instrument clino "CUCC 2"
3851 ;Calibration: Cairn-Rock 071 072 071, -22 -22 -22
3852 ; Rock-Cairn 252 251 252, +21 +21 +21
3853 ;Calibration at 161d entrance from cairn nr entrance to
3854 ;prominent rock edge lower down. This is different from
3855 ;calibration used for thighs survey of 5 July 1996
3857 *export 1 2
3859 ;Tape is 20cm too short
3860 *calibrate tape +0.2
3862 1 2 9.48 208 +08
3863 2 3 9.30 179 -23
3864 3 4 2.17 057 +09
3865 5 4 10.13 263 +78
3866 5 6 2.10 171 -73
3867 7 6 7.93 291 +75
3868 *begin
3869 *calibrate tape 0
3870 8 7 35.64 262 +86 ;true length measured for this leg
3871 *end
3872 8 9 24.90 - DOWN
3873 10 9 8.61 031 -43
3874 10 11 2.53 008 -34
3875 11 12 2.70 286 -20
3876 13 12 5.36 135 +23
3877 14 13 1.52 119 -12
3878 15 14 2.00 036 +13
3879 16 15 2.10 103 +12
3880 17 16 1.40 068 -07
3881 17 18 1.53 285 -42
3882 19 18 5.20 057 -36
3883 19 20 2.41 161 -67
3884 20 21 27.47 - DOWN
3885 21 22 9.30 192 -29
3886 *end chaos</programlisting>
3888 </Sect2>
3890 <Sect2><Title>Join surveys together</Title>
3892 <Para>Once you have more than one survey you need to specify how they
3893 link together. To do this use *export to make the stations to be
3894 joined accessible in the enclosing survey, then *equate in the
3895 enclosing survey to join them together.
3896 <!-- FIXME example -->
3897 </Para>
3899 </Sect2>
3901 <Sect2><Title>Organise my surveys</Title>
3903 <Para>This is actually a large subject. There are many ways you can
3904 organise your data using <Application>Survex</Application>. Take a look at the example dataset
3905 for some ideas of ways to go about it.
3906 </Para>
3908 <Sect3><Title>Fixed Points (Control Points)</Title>
3910 <Para>The *fix command is used to specify fixed points (also know as control
3911 points). See the description of this command in the "Cavern Commands"
3912 section of this manual.
3913 </Para>
3915 </Sect3>
3917 <Sect3><Title>More than one survey per trip</Title>
3919 <Para>Suppose you have two separate bits of surveying which were done on the
3920 same trip. So the calibration details, etc. are the same for both. But you
3921 want to give a different survey name to the two sections. This is easily
3922 achieved like so:
3923 </Para>
3925 <programlisting>
3926 *begin
3927 *calibrate compass 1.0
3928 *calibrate clino 0.5
3929 *begin altroute
3930 ; first survey
3931 *end altroute
3932 *begin faraway
3933 ; second survey
3934 *end faraway
3935 *end</programlisting>
3937 </Sect3>
3939 </Sect2>
3941 <Sect2><Title>Add surface topography</Title>
3943 <Para>Survex 1.2.18 added support for loading terrain data and rendering it as
3944 a transparent surface. Currently the main documentation for this is maintained
3945 as a <ulink url="https://trac.survex.com/wiki/TerrainData">wiki page</ulink>
3946 as this allows us to update it between releases.
3947 </Para>
3949 <Para>
3950 We recommend using this new code in preference, but previously the simplest
3951 approach was to generate a <filename>.svx</filename> file with the surface mesh
3952 in and display it with the survey data.
3953 </Para>
3955 <Para>
3956 It is possible to generate
3957 a mesh or contours overlaying your area by various means. NASA have made
3958 1 arc-second (approximately 30m) terrain data available for the USA for
3959 some years, with only 3 arc-second data available for other countries.
3960 However, starting in 2014 they're gradually making 1 arc-second data
3961 available for more countries.
3962 </Para>
3964 <Para>
3965 If you want a better resolution that this, reading heights from the
3966 contours on a map is one approach. It's laborious, but feasible for
3967 a small area.
3968 </Para>
3970 <Para>
3971 Details of several methods are given in the BCRA Cave Surveying
3972 Group magazine Compass Points issue 11, available online at
3973 <ulink url="http://www.chaos.org.uk/survex/cp/CP11/CPoint11.htm#Art_5">http://www.chaos.org.uk/survex/cp/CP11/CPoint11.htm#Art_5</ulink>
3974 </Para>
3976 <Para>If you're using another program to generate a <filename>.svx</filename> file for the surface
3977 mesh, it's best to use the NOSURVEY data style.
3978 Simply fix all the grid intersections at the correct
3979 coordinates and height, and put legs between them using the NOSURVEY style.
3980 Here's a grid of 4 squares and 9 intersections:
3981 </Para>
3983 <programlisting>
3984 *fix 00 000 000 1070
3985 *fix 01 000 100 1089
3986 *fix 02 000 200 1093
3988 *fix 10 100 000 1062
3989 *fix 11 100 100 1080
3990 *fix 12 100 200 1089
3992 *fix 20 200 000 1050
3993 *fix 21 200 100 1065
3994 *fix 22 200 200 1077
3996 *data nosurvey station
4020 22</programlisting>
4022 <Para>
4023 This is far simpler than trying to create fake tape/compass/clino legs of
4024 the right length for each line in the mesh. It's also very fast to process
4025 with cavern.
4026 </Para>
4028 </Sect2>
4030 <Sect2><Title>Overlay a grid</Title>
4032 <Para>Aven is able to display a grid, but this functionality isn't currently
4033 available in printouts.
4034 You can achieve a similar effect for now by creating a <filename>.svx</filename> file
4035 where the survey legs form a grid.
4036 </Para>
4038 </Sect2>
4040 <Sect2><Title>Import data from other programs</Title>
4042 <Para><Application>Survex</Application> supports a number of features to help with importing
4043 existing data. You can specify the ordering of items on a line using *Data
4044 (see <Application>Survex</Application> Keywords above), and you can specify the characters used
4045 to mean different things using *Set (see <Application>Survex</Application> Keywords above).
4046 </Para>
4048 <Para>The Ignore and Ignoreall options to the *Data command are often
4049 particularly useful, e.g. if you have a dataset with LRUD info or comments
4050 on the ends of lines.
4051 </Para>
4053 <Sect3><Title>Changing Meanings of Characters</Title>
4055 <Para>e.g. if you have some data with station names containing the
4056 characters '?' and '+' (which are not permitted in a name by default)
4057 then the command:
4058 </Para>
4060 <programlisting>
4061 *SET NAMES ?+</programlisting>
4063 <Para>
4064 specifies that question marks and plus signs are permitted in station names.
4065 A-Z, a-z, and 0-9 are always permitted. '_' and '-' are also permitted by
4066 default, but aren't in this example.
4067 </Para>
4069 <Para>If your data uses a comma ',' instead of a decimal point, then
4070 you use
4071 </Para>
4073 <programlisting>
4074 *SET DECIMAL ,</programlisting>
4076 <Para>to specify that ',' is now the decimal separator instead of '.'.
4077 </Para>
4079 <!-- FIXME
4080 <Para>Note that there are plenty of ways you can use this facility to
4081 completely confuse the software, as it may not be able to work out what is
4082 going on, or it may simply be ambiguous. It can cope with some ambiguity (e.g.
4083 the '-' character is used both for 'MINUS' and for 'OMIT'), but there are
4084 limits. If you have a dataset that you can not make <Application>Survex</Application>
4085 understand, then send it to us, and we will see what can be done.
4086 </Para>
4089 </Sect3>
4091 <!--
4092 Nobody seems to have the CfH convertor...
4093 but it's probably no longer useful anyway
4095 <Sect3><Title>Other Converters</Title>
4097 <Para>We have an Excel 5 macro for converting The Lotus 123 spreadsheets
4098 used by the German survey software Cad F&uuml;r H&ouml;hlen into
4099 <Application>Survex</Application> data files. Other converters may also come to be available.
4100 These will normally be available via the
4101 <ulink url="https://survex.com/"><Application>Survex</Application> Web pages</ulink>.
4102 </Para>
4104 </Sect3>
4107 </Sect2>
4109 <Sect2><Title>Export data from <Application>Survex</Application></Title>
4111 <Para>See Rosetta Stal in the Related Tools section of the Survex web
4112 site. This is a utility written by Taco van Ieperen and Gary Petrie.
4113 Note though that this only supports a subset of the svx format,
4114 and only work on Microsoft Windows. The Survex support is limited
4115 and doesn't understand the more recently added commands.</Para>
4117 </Sect2>
4119 <Sect2><Title>See errors and warnings that have gone off the screen</Title>
4121 <Para>When you run <Application>Survex</Application> it will process the specified survey data
4122 files in order, reporting any warnings and errors. If there are no
4123 errors, the output files are written and various statistics about the
4124 survey are displayed. If there are a lot of warnings or errors, they can
4125 scroll off the screen and it's not always possible to scroll back to
4126 read them.
4127 </Para>
4129 <Para>The easiest way to see all the text is to use <command>cavern
4130 --log</command> to redirect output to a <filename>.log</filename> file,
4131 which you can then inspect with a text editor.
4132 </Para>
4134 <!-- <command>cavern cavename &gt; tmpfile</command> -->
4136 </Sect2>
4138 <Sect2><Title>Create an Extended Elevation</Title>
4140 <Para>Use the Extend program. This takes <filename>.3d</filename> files and
4141 'flattens' them. See 'Extend' for details.
4142 </Para>
4144 </Sect2>
4146 </Sect1>
4148 <!--
4149 <Sect1><Title>Appendices</Title>
4150 <?dbhtml filename="appendix.htm">
4152 <Para>Files provided
4153 </Para>
4155 <Para>Command specification
4156 </Para>
4158 </Sect1>
4160 <Sect1><Title>Working with Larry Fish's Compass</Title>
4161 <?dbhtml filename="compass.htm">
4163 <Para>
4164 Survex can read Compass survey data - it supports survey data files and
4165 project files (.DAT and .MAK files), closed data files (.CLP), and processed
4166 survey data (.PLT and .PLF files). Survex 1.4.6 made significant improvements to
4167 this support so we recommend using this version or newer if you're working with
4168 Compass data.
4169 </Para>
4171 <Sect2><Title>Compass .DAT support</Title>
4172 <Para>
4173 A Compass .DAT file contains raw survey data. You can process a .DAT file
4174 with cavern or aven as if it were a .svx file.
4175 </Para>
4177 <Para>
4178 You can even use <command>*include compassfile.dat</command> in a
4179 <filename>.svx</filename> file and it'll work, which allows combining
4180 separate cave survey projects maintained in Survex and Compass.
4181 </Para>
4183 <Para>
4184 One point to note when doing so (this tripped us up!) is that station names
4185 in DAT files are case sensitive and so Survex reads DAT files with the
4186 equivalent of <command>*case preserve</command>. The default in SVX files is
4187 <command>*case lower</command>. So this won't work
4189 <programlisting>
4190 *fix CE1 0 0 0
4191 *include datfilewhichusesCE1.dat</programlisting>
4193 because the CE1 in the *fix is actually interpreted as ce1. The solution
4194 is to turn on preserving of case while you fix the point like so:
4196 <programlisting>
4197 *begin
4198 *case preserve
4199 *fix CE1 0 0 0
4200 *end
4201 *include datfilewhichusesCE1.dat</programlisting>
4203 If you want to be able to refer to the fixed point from Survex data too
4204 then you can add in a *equate to achieve that:
4206 <programlisting>
4207 *begin
4208 *case preserve
4209 *fix CE1 0 0 0
4210 *equate CE1 ce1
4211 *end
4212 *include datfilewhichusesCE1.dat
4213 *include svxfilewhichusesce1.svx</programlisting>
4215 Or if you're just wanting to link a Compass survey to a Survex one, you
4216 can use a *equate with *case preserve on:
4218 <programlisting>
4219 *begin
4220 *case preserve
4221 *equate CE1 ce1
4222 *end
4223 *include datfilewhichusesCE1.dat
4224 *include svxfilewhichusesce1.svx</programlisting>
4225 </Para>
4227 <Para>
4228 Survex understands most DAT file features. Known current limitations and
4229 assumptions:
4231 <ItemizedList>
4232 <ListItem><Para>
4233 The cave name, survey short name, survey comment and survey team
4234 information are currently ignored (because this information isn't
4235 currently saved in the .3d file even for .svx files).
4236 </Para></ListItem>
4237 <ListItem><Para>
4238 Survey date January 1st 1901 is treated as "no date specified", since
4239 this is the date Compass stores in this situation, and it seems very
4240 unlikely to occur in real data.
4241 </Para></ListItem>
4242 <ListItem><Para>
4243 Passage dimensions are currently ignored.
4244 </Para></ListItem>
4245 <ListItem><Para>
4246 Shot flag C is currently ignored.
4247 </Para></ListItem>
4248 <ListItem><Para>
4249 Shot flag L is mapped to Survex's "duplicate" leg flag.
4250 </Para></ListItem>
4251 <ListItem><Para>
4252 Shot flag P is mapped to Survex's "surface" leg flag. The Compass
4253 documentation describes shot flag P as "Exclude this shot from
4254 plotting", but the suggested use for it is for surface data, and
4255 shots flagged P "[do] not support passage modeling". Even if it's
4256 actually being used for a different purpose, Survex programs don't show
4257 surface legs by default so the end effect is at least to not plot as
4258 intended.
4259 </Para></ListItem>
4260 <ListItem><Para>
4261 Shot flag S is mapped to Survex's "splay" leg flag.
4262 </Para></ListItem>
4263 <ListItem><Para>
4264 Surveys which indicate a depth gauge was used for azimuth readings are
4265 now marked as STYLE_DIVING in the 3d file.
4266 </Para></ListItem>
4267 </ItemizedList>
4268 </Para>
4270 </Sect2>
4272 <Sect2><Title>Compass .MAK support</Title>
4274 <Para>
4275 A Compass .MAK file defines a survey project to process, and specifies one or
4276 more .DAT files to process, along with coordinate systems and fixed points.
4277 You can process a .MAK file with cavern or aven as if it were a .svx file.
4278 </Para>
4280 <Para>
4281 Survex understands most MAK file features. Known current limitations and
4282 assumptions:
4284 <ItemizedList>
4285 <ListItem><Para>
4286 Survex handles the UTM zone and datum provided the combination can be
4287 expressed as an EPSG code (lack of any EPSG codes for a datum suggests
4288 it's obsolete; lack of a code for a particular datum+zone combination
4289 suggests the zone is outside of the defined area of use of the datum).
4290 Example Compass files we've seen use "North American 1927" outside of
4291 where it's defined for use, presumably because some users fail to change
4292 the datum from Compass' default. To enable reading such files we return
4293 a PROJ4 string of the form "+proj=utm ..." for "North American 1927" and
4294 "North American 1983" for UTM zones which don't have an EPSG code.
4295 Please let us know if support for additional cases which aren't
4296 currently supported would be useful to you.
4297 </Para></ListItem>
4298 <ListItem><Para>
4299 The @ command which specifes a base location to calculate magnetic
4300 declinations at is handled, provided the datum and UTM zone are
4301 supported (see previous bullet point). The UTM convergence angle
4302 specified as part of this command is ignored as Survex knows how to
4303 calculate it.
4304 </Para></ListItem>
4305 <ListItem><Para>
4306 Link stations are ignored. These have two uses in Compass. They were
4307 a way to allow processing large surveys on computers from last century
4308 which had limited memory. Survex can easily handle even the largest
4309 surveys on current hardware and ignoring them is not a problem in this
4310 case.
4311 </Para>
4312 <Para>
4313 The other use is they provide a way to process surveys together
4314 which use the same station names for different stations. In this
4315 case we recommend writing a .svx file to replace the MAK file which
4316 wraps the <command>*include</command> of each DAT file in
4317 <command>*begin survey1</command>/<command>*end survey1</command>, etc so that
4318 stations have unique qualified names. Then the link stations can
4319 be implementing using e.g. <command>*equate survey1.XX1 survey2.XX1</command>.
4320 This example from the Compass documentation:
4322 <programlisting>
4323 #FILE1.DAT; /no links
4324 #FILE2.DAT,A22,A16;
4325 #FILE3.DAT,A16,B14;</programlisting>
4327 would look like this:
4329 <programlisting>
4330 *begin file1
4331 *include FILE1.DAT
4332 *end file1
4333 *begin file2
4334 *include FILE2.DAT
4335 *end file2
4336 *equate file1.A22 file2.A22
4337 *begin file3
4338 *include FILE3.DAT
4339 *end file3
4340 *equate file1.A16 file3.A16
4341 *equate file2.B14 file3.B14</programlisting>
4343 Note that the .svx version is able to more precisely represent what's actually
4344 required here - in the MAK version "you must carry A16 into FILE2 even though
4345 FILE2 doesn't need it for its own processing". If you want the exact analog of
4346 the MAK version you can change the A16 equate to:
4348 <programlisting>
4349 *equate file1.A16 file2.A16 file3.A16</programlisting>
4350 </Para></ListItem>
4352 <ListItem><Para>
4353 The following commands (and any other unknown commands) are currently
4354 ignored:
4355 % (Convergence angle (file-level)),
4356 * (Convergence angle (non file-level)),
4357 ! (Project parameters)
4358 </Para></ListItem>
4359 </ItemizedList>
4360 </Para>
4361 </Sect2>
4363 <Sect2><Title>Compass .CLP support</Title>
4364 <Para>
4365 A Compass .CLP file contains raw survey data after adjusting for loop closure.
4366 The actual format is otherwise identical to a Compass .DAT file, and Survex
4367 1.4.6 and later support processing a .CLP file with cavern or aven as if it
4368 were a .svx file (the extra support is to recognise the .CLP extension, and
4369 to not apply the instrument corrections a second time).
4370 </Para>
4372 <Para>
4373 You can even use <command>*include compassfile.clp</command> in a
4374 <filename>.svx</filename> file and it'll work, which allows combining
4375 separate cave survey projects maintained in Survex and Compass.
4376 </Para>
4378 <Para>
4379 Usually it is preferable to process the survey data without loop closure
4380 adjustments (i.e. .DAT) so that when new data is added errors get
4381 distributed appropriately across old and new data, but it might be
4382 useful to use the .CLP file if you want to keep existing stations at the same
4383 adjusted positions, for example to be able to draw extensions on an existing
4384 drawn-up survey which was processed with Compass.
4385 </Para>
4387 <Para>
4388 Another possible reason to use the data from a .CLP file is if that's all
4389 you have because the original .DAT file has been lost.
4390 </Para>
4391 </Sect2>
4393 <Sect2><Title>Compass .PLF/.PLT support</Title>
4394 <Para>
4395 A Compass .PLT file contains processed survey data. The extension .PLF is
4396 also used for "special feature files" which have essentially the same format.
4397 You can load these files with <command>aven</command> as if they were .3d
4398 files, and similarly for other Survex tools which expect a .3d file such as
4399 <command>survexport</command>, <command>extend</command>,
4400 <command>diffpos</command>, <command>3dtopos</command> and
4401 <command>dump3d</command>. (This support is actually provided by Survex's img
4402 library, so other programs which use this library should also be able to read
4403 Compass .PLT files without much extra work.)
4404 </Para>
4406 <Para>
4407 Survex understands most PLT file features. Known current limitations and
4408 assumptions:
4410 <ItemizedList>
4411 <ListItem><Para>
4412 Survey date January 1st 1901 is treated as "no date specified", since
4413 this is the date Compass stores in this situation, and it seems very
4414 unlikely to occur in real data.
4415 </Para></ListItem>
4416 <ListItem><Para>
4417 Passage dimensions are translated to passage tubes, but Survex may
4418 interpret them differently from Compass.
4419 </Para></ListItem>
4420 <ListItem><Para>
4421 Shot flag C is currently ignored.
4422 </Para></ListItem>
4423 <ListItem><Para>
4424 Shot flag L is mapped to Survex's "duplicate" leg flag.
4425 </Para></ListItem>
4426 <ListItem><Para>
4427 Shot flag P and plot command d are mapped to Survex's "surface" leg
4428 flag. The Compass documentation describes shot flag P as "Exclude this
4429 shot from plotting", but the suggested use for it is for surface data,
4430 and shots flagged P "[do] not support passage modeling". Even if it's
4431 actually being used for a different purpose, Survex programs don't show
4432 surface legs by default so the end effect is at least to not plot as
4433 intended. Stations are flagged as surface and/or underground based
4434 on whether they are at the ends of legs flagged surface or non-surface
4435 (a station at the boundary can be flagged as both).
4436 </Para></ListItem>
4437 <ListItem><Para>
4438 Shot flag S is mapped to Survex's "splay" leg flag. A station at the
4439 far end of a shot flagged S gets the "station on wall" flag set since
4440 the Compass PLT format specification says:
4441 <quote>
4442 The shot is a "splay" shot, which is a shot from a station to the
4443 wall to define the passage shape.
4444 </quote>
4445 </Para></ListItem>
4446 <ListItem><Para>
4447 Stations with "distance from entrance" of zero are flagged as entrances.
4448 </Para></ListItem>
4449 <ListItem><Para>
4450 Stations which are present in multiple surveys are flagged as exported
4451 (like when <command>*infer exports</command> is in effect in .svx files).
4452 </Para></ListItem>
4453 <ListItem><Para>
4454 Stations listed as fixed points are flagged as fixed points.
4455 </Para></ListItem>
4456 <ListItem><Para>
4457 If a PLT file only uses one datum and UTM zone combination and it is
4458 supported (the same combinations are supported as for MAK files) then
4459 they are converted to the appropriate EPSG code or PROJ4 string and this
4460 is reported as the coordinate system. Please let us know if support for
4461 additional cases which aren't currently supported would be useful to you.
4462 Files with multiple datums could be handled too, but we'd need to convert
4463 coordinates to a common coordinate system in the img library, which would
4464 need it to depend on PROJ. Please let us know if support for mixed
4465 datums would be useful to you.
4466 </Para></ListItem>
4467 </ItemizedList>
4468 </Para>
4470 </Sect2>
4472 </Sect1>
4474 <Sect1><Title>Mailing List</Title>
4475 <?dbhtml filename="maillist.htm">
4477 <Para>The best way to contact the authors and other Survex users is the
4478 Survex mailing list - for details visit:
4479 <ulink url="https://survex.com/maillist.html">https://survex.com/maillist.html</ulink>
4480 </Para>
4482 <Para>We'd be delighted to hear how you get on with <Application>Survex</Application> and
4483 welcome comments and suggestions for improvements.</Para>
4485 <Para>
4486 And we'd love you to contribute your skills to help make <Application>Survex</Application> even
4487 better. Point out areas of the documentation which could be made clearer, or
4488 sections which are missing entirely. Download test releases, try them out, and
4489 let us know if you find problems or have suggestions for improvements.
4490 If there's no translation to your language, you could provide one.
4491 Or if you're a developer, <emphasis>"Say it with code"</emphasis>. There's
4492 plenty to do, so feel free to join in.
4493 </Para>
4495 </Sect1>
4497 <Sect1><Title>Future Developments</Title>
4498 <?dbhtml filename="future.htm">
4500 <Para>
4501 Now that <Application>Survex</Application> has reached version 1.0, we are continuing progress
4502 towards version 2, in a series of steps, evolving out of
4503 Survex 1.0. The GUI framework is being based on aven, with
4504 the printer drivers and other utility programs being pulled in
4505 and integrated into the menus.</Para>
4507 <Para>Aven is built on <Application>wxWidgets</Application>, which means that it can easily support
4508 Unix, Microsoft Windows, and macOS.</Para>
4510 <Para>More information on our plans is on the <ulink
4511 url="https://survex.com/">web site</ulink>.
4512 </Para>
4514 </Sect1>
4516 </article>