source: git/doc/manual.sgml @ 56b37f3

RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-datawalls-data-hanging-as-warning v1.2.30
Last change on this file since 56b37f3 was 56b37f3, checked in by Olly Betts <olly@…>, 8 years ago

Update for 1.0.30

  • Property mode set to 100644
File size: 106.7 KB
RevLine 
[e6aa3b1]1<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
[ce92903]2<!ENTITY man.aven SYSTEM "aven.sgml">
3<!ENTITY man.3dtopos SYSTEM "3dtopos.sgml">
4<!ENTITY man.cad3d SYSTEM "cad3d.sgml">
5<!ENTITY man.cavern SYSTEM "cavern.sgml">
6<!ENTITY man.diffpos SYSTEM "diffpos.sgml">
[eda91a1]7<!ENTITY man.dump3d SYSTEM "dump3d.sgml">
[ce92903]8<!ENTITY man.extend SYSTEM "extend.sgml">
9<!ENTITY man.sorterr SYSTEM "sorterr.sgml">
[40647f5]10]>
[6eadc5b]11
[6aef4f1]12<!--
[a6d094f]13FIXME:
[2463f16]14
[e74904e]153dfile title:
[6af6d51]16defaults to a list of the leafnames of the <filename>.svx</filename> files specified on the
[e74904e]17command line (with any paths and extensions removed).
[f9dc4a0]18.
[e74904e]19e.g.: cavern entrance.svx \data\2ndpart.svx
[f9dc4a0]20.
[e74904e]21would give a surveytitle of 'entrance 2ndpart'.
[f9dc4a0]22.
23but this may change...
[e74904e]24
[6aef4f1]25FIXME todo:
[c1573d8]26mark-up of Windows Windows NT etc?
[6aef4f1]27section on "design philosophy"
[3b5acb5]28
29level sump fudge:
30
31*begin
32*data cartesian from to dx dy dz
33*sd dx dy 100 metres
34*sd dz 0.001 metres
35; upstream - downstream
36nuiping.gowiththeflow.129 dachao.upstream.105 0 0 0 ; last number is drop in height across the sump
37*end
38
[64d37a3]39``Quick start'' section
40
41- install (by OS): unpacking, configuration (language, where support files live)
42
43- lead people through entering and processing
[3162ed8]44a sample survey.  Take examples from surveying books and real surveys.
45
[0706076]46
[e6aa3b1]47<Para>The other really important commands apart from *BEGIN, *END, and
48*INCLUDE are *EQUATE and *FIX.
49</Para>
50
51<Para>*EQUATE is used to join surveys together, e.g.
52</Para>
53
54<programlisting>*equate entrance.6 adrian.1</programlisting>
55
56<Para>
57indicates that station 6 of the entrance survey was used as
58the station 1 of the Adrian's Route survey.
59</Para>
60
[a6d094f]61<Para>*FIX is for fixing control points - for example:
[e6aa3b1]62</Para>
63
64<programlisting>
65*fix 161.entrance.1    0  0  1780</programlisting>
66
67<Para>fixes the 1st point of the 'entrance' survey at the coordinates
680 (east-west), 0 (north-south), 1780 (altitude).
69</Para>
70
[21c226e]71
72<term>node</term>
73<listitem><para>when talking about the survey network, we talk about an
74<emphasis>n</emphasis>-node to describe the number of connections to
75a station.  So a 1-node is a station with only 1 leg to or from it
76- i.e. The end of a passage or survey. A
772-node is a typical station along a passage with a survey leg coming
78into it, and one going out.  A 3-node is a station with three legs
79joining it, e.g. at a T-junction. And so on.
80</para>
81
[6aef4f1]82-->
83
[ce92903]84<article Status="draft" id="index">
[6eadc5b]85 <articleinfo>
[56b37f3]86  <Title><Application>Survex</Application> <!--VERSION-->1.2.30 Manual</Title>
[40647f5]87  <AuthorGroup>
88   <Author>
[38335b7]89    <FirstName>Olly</FirstName>
90    <SurName>Betts</SurName>
[40647f5]91    <AuthorBlurb><Para>
[6af6d51]92      Olly Betts wrote most of <Application>Survex</Application>.
[40647f5]93    </Para></AuthorBlurb>
[fbc41c2]94    <Affiliation>
[6af6d51]95     <Address><Email>olly@survex.com</Email></Address>
[fbc41c2]96    </Affiliation>
[40647f5]97   </Author>
98   <Author>
[38335b7]99    <SurName>Wookey</SurName>
[40647f5]100    <AuthorBlurb><Para>
[fbc41c2]101      Wookey is a small furry creature.
[40647f5]102    </Para></AuthorBlurb>
[fbc41c2]103    <Affiliation>
[6af6d51]104     <Address><Email>wookey@survex.com</Email></Address>
[fbc41c2]105    </Affiliation>
[40647f5]106   </Author>
107  </AuthorGroup>
[fbc41c2]108  <copyright>
[cd5cd8f]109   <year>1998-2016</year>
[6af6d51]110   <holder role="mailto:olly@survex.com">Olly Betts</holder>
[fbc41c2]111  </copyright>
[40647f5]112  <Abstract>
113   <Para>
[6af6d51]114    This is the manual for <Application>Survex</Application> - an open-source software package for
[40647f5]115    cave surveyors.
[c1573d8]116   </Para>
[40647f5]117  </Abstract>
[6eadc5b]118 </articleinfo>
[40647f5]119
[c1573d8]120<Sect1><Title>Introduction</Title>
[0d62afe]121<?dbhtml filename="intro.htm">
[40647f5]122
[21c226e]123<Para>
[6af6d51]124This section describes what <Application>Survex</Application> is, and outlines the scope of this
[21c226e]125manual.
126</Para>
127
[6af6d51]128<Sect2><Title>About <Application>Survex</Application></Title>
[21c226e]129
[6af6d51]130<Para><Application>Survex</Application> is a multi-platform open-source cave surveying
[6e420ba]131package.
[aa3ed76]132Version 1.2 runs on UNIX, Microsoft Windows, and Mac OS X.
133We're investigating support for phones and tablets.
[a6d094f]134</Para>
[40647f5]135
[c1573d8]136<Para>We are well aware that not everyone has access to super hardware
137- often surveying projects are run on little or no budget and any
[6af6d51]138computers used are donated.  We aim to ensure that <Application>Survex</Application> is
[57a5ebb]139feasible to use on low-spec machines.  Obviously it won't be as
140responsive, but we intend it to be usable.
141Please help us to achieve this by giving us some feedback
[6af6d51]142if you use <Application>Survex</Application> on a slow machine.</Para>
[6aef4f1]143
[6af6d51]144<Para><Application>Survex</Application> is capable of processing extremely complex caves very
[c1eff09]145quickly and has a very effective, real-time cave viewer which allows
[0706076]146you to rotate, zoom, and pan the cave using mouse or keyboard. We have
[6af6d51]147tested it extensively using <Acronym>CUCC</Acronym> and <Acronym>ARGE</Acronym>'s surveys of the caves
[1352bb9]148under the Loser Plateau in Austria (over 25,000 survey legs, and over
149140km of underground survey data). This can all be processed in around
[a3f8737]15010 seconds on a low-end netbook.
[0706076]151Survex is also used by many other survey projects around the world,
[c2832c8]152including the
[27b8b59]153<ulink url="http://www.oucc.org.uk/draenen/draenenmain.htm"
[c2832c8]154>Ogof Draenen</ulink> survey, the
155<ulink url="http://www.easegill.org.uk/">Easegill</ulink> resurvey project,
[38335b7]156the <Acronym>OFD</Acronym> survey, the
[27b8b59]157<!-- url="http://milos2.zoo.ox.ac.uk/~oucc/reports/surveys/surveys.htm" -->
158<ulink url="http://www.oucc.org.uk/reports/surveys/surveys.htm"
[38335b7]159><Acronym>OUCC</Acronym> Picos expeditions</ulink>, and the
[27b8b59]160<ulink url="http://www.hongmeigui.net/">Hong Meigui China
[21c226e]161expeditions</ulink>. <!-- FIXME more? --></Para>
[0706076]162
[6af6d51]163<Para><Application>Survex</Application> is still actively being worked on.  Version 1.0 was
[21c226e]164complete in some sense, but development continues - initially in reshaping
[0706076]165Survex into a more integrated GUI package.</Para>
[6aef4f1]166
[c1573d8]167<Para>We encourage feedback from users on important features or problems,
[77a3d7a]168which will help to direct future development.  See the "Mailing List" section
169of this manual for the best way to contact us.</Para>
[21c226e]170
171</Sect2>
[40647f5]172
[0706076]173<!--
[6af6d51]174<Para>Because <Application>Survex</Application> is still being actively developed, this document
[fbc41c2]175has an unfortunate tendency to lag slightly behind the capabilities of the
176software. The latest version is now available on the web at <ulink
[d417499]177url="https://survex.com/">https://survex.com/</ulink> - check there for latest info.
[c1573d8]178</Para>
[0706076]179-->
[647407d]180
[c359bfd]181<!--
[647407d]182<Sect2><Title>Other Documentation</Title>
183
[e6aa3b1]184<variablelist>
185<varlistentry>
186<term>NEWS or NEWS.txt</term>
187<listitem><Para>a list of changes of interest to
[6af6d51]188<Application>Survex</Application> users, broken down by version number.  Consult this file
[c1eff09]189when upgrading to find out what has changed since the version you were
190using previously.
[e6aa3b1]191</Para></listitem>
192</varlistentry>
[647407d]193
[e6aa3b1]194<varlistentry>
195<term>ChangeLog or CHANGES.txt</term>
196<listitem><Para>a much more detailed list of changes, aimed at developers
197rather than end users.
198</Para></listitem>
199</varlistentry>
[647407d]200
[e6aa3b1]201<varlistentry>
202<term>BUGS or BUGS.txt</term>
203<listitem><Para>a list of known bugs.
204</Para></listitem>
205</varlistentry>
[647407d]206
[e6aa3b1]207<varlistentry>
208<term>TODO or TODO.txt</term>
209<listitem><Para>planned changes and enhancements.
210</Para></listitem>
211</varlistentry>
[647407d]212
[6eadc5b]213FIXME: merge INSTALL* into here, then process separately and textify
214to produce INSTALL*
215
[e6aa3b1]216<varlistentry>
217<term>INSTALL or INSTALL.txt</term>
[6af6d51]218<listitem><Para>instructions for installing <Application>Survex</Application>.  The
[23d2a0e]219Microsoft Windows version comes packaged up with an installation wizard,
220so this file doesn't exist there (you just run the package and follow
221the on-screen instructions).
[e6aa3b1]222</Para></listitem>
223</varlistentry>
224</variablelist>
[ff003b3]225
[647407d]226</Sect2>
[c359bfd]227-->
[647407d]228
[21c226e]229<Sect2><Title>About this Manual</Title>
230
231<Para>
232If there's a part of this manual you find hard to understand, please do
233let us know.  We already know Survex well, so it can be hard for us
234to spot areas where the manual doesn't given enough information, or
235doesn't explain things clearly enough to follow when you don't know what's
236going on.  It's helpful is you can suggest a better wording, but don't worry
237if you can't, just explain the problem as precisely as you can.
238</Para>
239
240<Para>
241The master version of this manual is an <acronym>SGML</acronym>
242document written using the <ulink url="http://www.docbook.org/">docbook
243<acronym>DTD</acronym></ulink>,
244and automatically converted to a number of other formats.  If
245you are going to send us <emphasis>major</emphasis> changes, it's much easier
246to include them if you work from this master.  You can get it
247from the source archive (docs/manual.sgml) or from <ulink
[d417499]248url="https://survex.com/docs.html">the Survex website</ulink>.
[21c226e]249</Para>
250
251<Sect3><Title>Terminology</Title>
[e6aa3b1]252
253<Para>Throughout this document we use British terminology for
254surveying.</Para>
255
256<variablelist>
257<varlistentry>
258<term>station</term>
259<listitem><para>a point in the cave that you survey from and/or to
260</para></listitem></varlistentry>
261
262<varlistentry>
263<term>leg</term>
264<listitem><para>a line joining two stations
265</para></listitem></varlistentry>
266
267<varlistentry>
268<term>survey</term>
269<listitem><para>a group of legs surveyed on the same trip
270</para></listitem></varlistentry>
271
272</variablelist>
273
[21c226e]274</Sect3>
275
[e6aa3b1]276</Sect2>
277
[21c226e]278<!-- FIXME: Further sources of info: website, mailing lists, other docs -->
279
[e189be2]280</Sect1>
[40647f5]281
[c1573d8]282<Sect1><Title>Getting Started</Title>
[0d62afe]283<?dbhtml filename="getstart.htm">
[40647f5]284
[c1573d8]285<Para>This section covers how to obtain the software, and how to unpack and
[6eadc5b]286install it, and how to configure it.</Para>
[40647f5]287
[6af6d51]288<Sect2><Title>Obtaining <Application>Survex</Application></Title>
[c1573d8]289
[6af6d51]290<Para>The latest version is available from the <Application>Survex</Application> website:
[d417499]291<ulink url="https://survex.com/">https://survex.com/</ulink>.  It is also
[77a3d7a]292freely redistributable, so you welcome to get a copy from someone else
293who has already downloaded it.</Para>
[21c226e]294
[3d56564]295<Para>If you want some sample data to experiment with, you can download some
296from the Survex website too:
[d417499]297<ulink url="https://survex.com/software/sample.tar.gz">https://survex.com/software/sample.tar.gz</ulink></Para>
[3d56564]298
[6eadc5b]299</Sect2>
300
[6af6d51]301<Sect2><Title>Installing <Application>Survex</Application></Title>
[6eadc5b]302
[c1573d8]303<Para>The details of installation depend greatly on what platform you
304are using, so there is a separate section below for each platform.</Para>
305
[6af6d51]306<Sect3><Title>Linux</Title>
[c1573d8]307
[229c6ca]308<Para>
[6af6d51]309We supply pre-compiled versions for x86 Linux machines in RPM format
[558779a]310(suitable for Redhat, Mandrake, and some other distributions).
311Survex Debian packages are available from Debian mirror sites in
312the usual way.
[229c6ca]313</Para>
314
[e6aa3b1]315<Para>
316You'll need root access to install these prebuilt packages.
317If you don't have root access you will need to build from source
318(see the next section).
319</Para>
320
[b462168]321<!-- FIXME Add Gnome file association note for Linux/Unix
[6af6d51]322<Para>On Microsoft Windows, <Application>Survex</Application> installs with
[b462168]323suitable file associations so that you can drive it from the GUI.
[6af6d51]324On UNIX you need to drive <Application>Survex</Application> from a command-line
[b462168]325prompt (or set some a filemanager or graphics shell).
326</Para>
327-->
328
[ce92903]329</Sect3>
330
[6af6d51]331<Sect3><Title>Other versions of UNIX</Title>
[0706076]332
[6af6d51]333<Para>For other UNIX versions you'll need to get the source code
[7a0710c]334and compile it on your system.  Unpack the sources and read
335the file called INSTALL in the top level for details about building
336from source.
[229c6ca]337</Para>
[6e0ec04]338
[e189be2]339</Sect3>
[c1573d8]340
[aa3ed76]341<Sect3><Title>Microsoft Windows</Title>
[c1573d8]342
[3162ed8]343<Para>
[a6d094f]344This version comes packaged with an installation wizard.  Just
[eb48e2b]345run the downloaded package and it will lead you through the
[aa3ed76]346installation process.  If you want the file associations to be
347set up for all user, run the installer as administrator, or as a
348user with administrator rights.
[3162ed8]349</Para>
[c1573d8]350
[3162ed8]351<Para>
[aa3ed76]352The survey viewer that's part of <Application>Survex</Application> is called
353aven, and uses OpenGL for 3d rendering.
[b4b840a]354</Para>
355
356<Para>
357If you find that 3D rendering is sometimes very slow (e.g. one user reported
358very slow performance when running full screen, while running in a window
359was fine) then try installing the OpenGL driver supplied by the manufacturer
360of your graphics card rather than the driver Microsoft supply.
[3b5acb5]361</Para>
[c1573d8]362
[1b92879]363<Para>
364The installer creates a Survex group in the Programs sub-menu of the
365Start menu containing the following items:
[3162ed8]366</Para>
367
368<ItemizedList>
[9e507547]369
[3162ed8]370<ListItem><Para>Aven</Para></ListItem>
371
[1b92879]372<ListItem><Para>Documentation</Para></ListItem>
[3162ed8]373
374<ListItem><Para>Uninstall Survex</Para></ListItem>
375
376</ItemizedList>
377
378<Para>
[6af6d51]379Icons are installed for <filename>.svx</filename>, <filename>.3d</filename>, <filename>.err</filename>, and <filename>.pos</filename> files, and also for
[eb48e2b]380Compass Plot files (<filename>.plt</filename> and <filename>.plf</filename>)
381(which Survex can read). <!-- FIXME XYZ -->
[6af6d51]382Double-clicking on a <filename>.svx</filename> file loads it for editing.  To process it to
383produce a <filename>.3d</filename> file, right click and choose "Process" from the menu.
384Double-clicking the resultant <filename>.3d</filename> file views it in aven.
385All the <Application>Survex</Application> file types can be right clicked on to give a menu of
[b4b840a]386possible actions. 
[3162ed8]387</Para>
388
[c460f15]389<VariableList>
[6af6d51]390<VarListEntry><Term><filename>.svx</filename></Term>
[c460f15]391<ListItem>
392  <VariableList>
393  <VarListEntry><Term>Process</Term>
394  <ListItem><Para>
[76debf4]395  Process file with aven to produce <filename>.3d</filename> file (and <filename>.err</filename> file)
[c460f15]396  </Para></ListItem>
397  </VarListEntry>
398  </VariableList>
399</ListItem>
400</VarListEntry>
401   
[6af6d51]402<VarListEntry><Term><filename>.3d</filename></Term>
[c460f15]403<ListItem>
404  <VariableList>
405  <VarListEntry><Term>Open</Term>
406  <ListItem><Para>
407  Load file into Aven
408  </Para></ListItem>
409  </VarListEntry>
410  <VarListEntry><Term>Print</Term>
411  <ListItem><Para>
412  Send to the printer
413  </Para></ListItem>
414  </VarListEntry>
415  <VarListEntry><Term>Extend</Term>
416  <ListItem><Para>
417  Produce extended elevation
418  </Para></ListItem>
419  </VarListEntry>
420  <VarListEntry><Term>Convert to DXF</Term>
421  <ListItem><Para>
[eb48e2b]422  Convert to a DXF file (suitable for importing into many CAD packages)
[c460f15]423  </Para></ListItem>
424  </VarListEntry>
425  <VarListEntry><Term>Convert for hand plotting</Term>
426  <ListItem><Para>
[6af6d51]427  Produce a <filename>.pos</filename> file listing all the stations and their coordinates
[c460f15]428  </Para></ListItem>
429  </VarListEntry>
430  </VariableList>
431</ListItem>
[ce92903]432</VarListEntry>
[c460f15]433
[6af6d51]434<VarListEntry><Term><filename>.err</filename></Term>
[c460f15]435<ListItem>
436  <VariableList>
437  <VarListEntry><Term>Open</Term>
438  <ListItem><Para>
439  Load file into Notepad
440  </Para></ListItem>
441  </VarListEntry>
442  <VarListEntry><Term>Sort by Error</Term>
443  <ListItem><Para>
[6af6d51]444  Sort <filename>.err</filename> file by the error in each traverse
[c460f15]445  </Para></ListItem>
446  </VarListEntry>
447  <VarListEntry><Term>Sort by Horizontal Error</Term>
448  <ListItem><Para>
[6af6d51]449  Sort <filename>.err</filename> file by the horizontal error in each traverse
[c460f15]450  </Para></ListItem>
451  </VarListEntry>
452  <VarListEntry><Term>Sort by Vertical Error</Term>
453  <ListItem><Para>
[6af6d51]454  Sort <filename>.err</filename> file by the vertical error in each traverse
[c460f15]455  </Para></ListItem>
456  </VarListEntry>
457  <VarListEntry><Term>Sort by Percentage Error</Term>
458  <ListItem><Para>
[6af6d51]459  Sort <filename>.err</filename> file by the percentage error in each traverse
[c460f15]460  </Para></ListItem>
461  </VarListEntry>
462  <VarListEntry><Term>Sort by Error per Leg</Term>
463  <ListItem><Para>
[6af6d51]464  Sort <filename>.err</filename> file by the error per leg in each traverse
[c460f15]465  </Para></ListItem>
466  </VarListEntry>
467  </VariableList>
468</ListItem>
469</VarListEntry>
470</VariableList>
[3162ed8]471
[67fffdf]472</Sect3>
[9e507547]473
[e189be2]474</Sect2>
[40647f5]475
[6eadc5b]476<Sect2><Title>Configuration</Title>
[375f7f6]477
[63dc4eb]478<Sect3><Title>Selecting Your Preferred Language</Title>
[e189be2]479
[e6aa3b1]480<Para>Survex has extensive internationalisation capabilities.  The
[1b92879]481language used for messages from Survex and most of the library calls
482it uses can be changed.  By default this is picked up from the
483language the operating system is set to use (from "Regional Settings"
484in Control Panel on Microsoft Windows, from the
[6af6d51]485<systemitem>LANG</systemitem> environment variable on UNIX
[6e420ba]486If no setting
[6af6d51]487is found, or <Application>Survex</Application> hasn't been translated into the
[1b92879]488requested language, UK English is used.</Para>
[40647f5]489
[e6aa3b1]490<Para>
[1b92879]491However you may want to override the language manually -
492for example if Survex isn't available in your native language
[63dc4eb]493you'll want to choose the supported language you understand best.
[e6aa3b1]494</Para>
[40647f5]495
[e6aa3b1]496<Para>
497To do this, you set the
498<systemitem>SURVEXLANG</systemitem> environment variable.  Here's a list
[63dc4eb]499of the codes currently supported:</Para>
[40647f5]500
[e6aa3b1]501<informaltable frame="all">
[c1573d8]502<tgroup cols="2">
503<thead>
[38335b7]504<row><entry>Code</entry><entry>Language</entry></row>
[c1573d8]505</thead>
506<tbody>
[38335b7]507<row><entry>en</entry><entry>International English</entry></row>
508<row><entry>en_US</entry><entry>US English</entry></row>
509<row><entry>bg</entry><entry>Bulgarian</entry></row>
510<row><entry>ca</entry><entry>Catalan</entry></row>
511<row><entry>de</entry><entry>German</entry></row>
512<row><entry>de_CH</entry><entry>Swiss German</entry></row>
513<row><entry>el</entry><entry>Greek</entry></row>
514<row><entry>es</entry><entry>Spanish</entry></row>
515<row><entry>fr</entry><entry>French</entry></row>
516<row><entry>hu</entry><entry>Hungarian</entry></row>
517<row><entry>id</entry><entry>Indonesian</entry></row>
518<row><entry>it</entry><entry>Italian</entry></row>
519<row><entry>pl</entry><entry>Polish</entry></row>
520<row><entry>pt</entry><entry>Portuguese</entry></row>
521<row><entry>pt_BR</entry><entry>Brazillian Portuguese</entry></row>
522<row><entry>ro</entry><entry>Romanian</entry></row>
523<row><entry>ru</entry><entry>Russian</entry></row>
524<row><entry>sk</entry><entry>Slovak</entry></row>
525<row><entry>zh_CN</entry><entry>Chinese (Simplified)</entry></row>
[c1573d8]526</tbody>
[e189be2]527</tgroup>
[c1573d8]528</informaltable>
[40647f5]529
[e6aa3b1]530<Para>Here are examples of how to set this environment variable to give
531messages in French (language code fr):</Para>
[40647f5]532
533<VariableList>
[d7b3fd3]534 <VarListEntry><Term>Microsoft Windows</Term>
535   <ListItem><Para>
[aa3ed76]536For MS Windows proceed as follows (this description was written from
537MS Windows 2000, but it should be fairly similar in other versions): Open the
538Start Menu, navigate to the Settings sub-menu, and
[af1e622]539open Control Panel.  Open System (picture of a computer) and click on the
540Advanced tab.  Choose `Environmental Variables', and create a new one: name
541<systemitem>SURVEXLANG</systemitem>, value <systemitem>fr</systemitem>.
542Click OK and the new value should be effective immediately.
[d7b3fd3]543   </Para></ListItem>
[40647f5]544 </VarListEntry>
[6af6d51]545 <VarListEntry><Term>UNIX - csh/tcsh</Term>
[e6aa3b1]546   <ListItem><Para><userinput>setenv SURVEXLANG fr</userinput></Para></ListItem>
[40647f5]547 </VarListEntry>
[6af6d51]548 <VarListEntry><Term>UNIX - sh/bash</Term>
[e6aa3b1]549   <ListItem><Para><userinput>SURVEXLANG=fr ; export SURVEXLANG</userinput></Para></ListItem>
[40647f5]550 </VarListEntry>
551</VariableList>
552
[6af6d51]553<Para>If <Application>Survex</Application> isn't available in your language, you could
[e6aa3b1]554help out by providing a translation.  The initial translation is
555likely to be about a day's work; after that translations for
556new or changed messages are occasionally required.  Contact us for details
557if you're interested.</Para>
[40647f5]558
[6eadc5b]559</Sect3>
560
[1a50c3c]561</Sect2>
562
[e189be2]563</Sect1>
564
[6eadc5b]565<!-- FIXME
566
567type in .svx file
568
[4e8d288]569run cavern (through aven)
[6eadc5b]570
[6e420ba]571run aven
[6eadc5b]572
[4e8d288]573how to print/export etc
[6eadc5b]574
575-->
576
[eb48e2b]577<!-- FIXME perhaps move this after data files section? -->
[6eadc5b]578<Sect1><Title>Survex Programs</Title>
[0d62afe]579<?dbhtml filename="cmdline.htm">
[51c0677]580
[6eadc5b]581<Sect2><Title>Standard Options</Title>
[51c0677]582
[6af6d51]583<Para>All <Application>Survex</Application> programs respond to the following command line options:
[e189be2]584</Para>
[51c0677]585
586<VariableList>
587
588<VarListEntry><Term>--help</Term><listitem><Para>
[6eadc5b]589display option summary and exit
[51c0677]590</Para></listitem></VarListEntry>
591
592<VarListEntry><Term>--version</Term><listitem><Para>
593output version information and exit
594</Para></listitem></VarListEntry>
595
596</VariableList>
597
[6eadc5b]598</Sect2>
599
600<Sect2><Title>Short and Long Options</Title>
601
[e6aa3b1]602<Para>
603Options have two forms: short (a dash followed by a single letter e.g.
[21904d3]604<command>cavern -q</command>) and long (two dashes followed by one or more words e.g.
605<command>cavern --quiet</command>).  The long form is generally easier to
[e6aa3b1]606remember, while the short form is quicker to type.  Options are often
607available in both forms.
[e189be2]608</Para>
[51c0677]609
[e6aa3b1]610<Note><Para>Command line options are case sensitive, so "-B" and "-b"
611are different (this didn't used to be the case before Survex 0.90).  Case
612sensitivity doubles the number of available short options (and is also the
[6af6d51]613norm on UNIX).
[e6aa3b1]614</Para></Note>
[6eadc5b]615</Sect2>
[40647f5]616
[6eadc5b]617<Sect2><Title>Filenames on the Command Line</Title>
[40647f5]618
[e6aa3b1]619<Para>Filenames with spaces can be processed (provided your operating system
[6af6d51]620supports them - UNIX does, and so do recent versions of Microsoft
[e6aa3b1]621Windows).  You need to enclose the filename in quotes like so:
622<userinput>cavern "Spider Cave"</userinput>
623</Para>
[e189be2]624
[6af6d51]625<Para>A file specified on the command line of any of the <Application>Survex</Application> suite
[6eadc5b]626of programs will be looked for as specified.  If it is not found, then the
627file is looked for with the appropriate extension appended.  So
628<userinput>cavern survey</userinput> will look first for
629<filename>survey</filename>, then for <filename>survey.svx</filename>.
[1a50c3c]630</Para>
[40647f5]631
[e189be2]632</Sect2>
633
[6eadc5b]634<Sect2><title>Command Reference</title>
[e189be2]635
[6eadc5b]636<refentry id="cavern">
[0d62afe]637<?dbhtml filename="cavern.htm">
[6eadc5b]638&man.cavern;
639</refentry>
[27b8b59]640<refentry id="aven">
[0d62afe]641<?dbhtml filename="aven.htm">
[27b8b59]642&man.aven;
643</refentry>
[6eadc5b]644<refentry id="x3dtopos">
[0d62afe]645<?dbhtml filename="3dtopos.htm">
[6eadc5b]646&man.3dtopos;
647</refentry>
648<refentry id="cad3d">
[0d62afe]649<?dbhtml filename="cad3d.htm">
[6eadc5b]650&man.cad3d;
651</refentry>
652<refentry id="diffpos">
[0d62afe]653<?dbhtml filename="diffpos.htm">
[6eadc5b]654&man.diffpos;
655</refentry>
656<refentry id="extend">
[0d62afe]657<?dbhtml filename="extend.htm">
[6eadc5b]658&man.extend;
659</refentry>
660<refentry id="sorterr">
[0d62afe]661<?dbhtml filename="sorterr.htm">
[6eadc5b]662&man.sorterr;
663</refentry>
[e189be2]664
665</Sect2>
[40647f5]666
[e189be2]667</Sect1>
668
[6af6d51]669<Sect1><Title><Application>Survex</Application> data files</Title>
[0d62afe]670<?dbhtml filename="datafile.htm">
[c1573d8]671
[ff003b3]672<Para>Survey data is entered in the form of text files. You can use any
673text editor you like for this, so long as it has the capability of
[1a50c3c]674writing a plain ASCII text file. The data format is very flexible;
[eb48e2b]675unlike some other cave surveying software, Survex does not require
676survey legs to be rearranged to suit the computer, and the ordering
677of instrument readings on each line is fully specifiable.  So you can enter
[1a50c3c]678your data much as it appears on the survey notes, which is important
[eb48e2b]679in reducing the opportunities for transcription errors.
[1a50c3c]680</Para>
681
[191536f]682<Para>
[a7e3295]683Also all the special characters are user-definable - for example,
[191536f]684the separators can be spaces and tabs, or commas (e.g. when exporting from a
685spreadsheet), etc; the decimal point can be a slash (for clarity), a comma
[1a50c3c]686(as used in continental Europe), or anything else you care to choose.
687This flexibility
[ff003b3]688means that it should be possible to read in data from almost any sort of
[191536f]689survey data file without much work.
[e189be2]690</Para>
[c1573d8]691
[6af6d51]692<Para><Application>Survex</Application> places no restrictions on you in terms of the ordering
693of survey legs. You can enter or process data in any order and <Application>Survex</Application> will
[c1573d8]694read it all in before determining how it is connected. You can also use the
695hierarchical naming so that you do not need to worry about using the same
696station name twice.
[e189be2]697</Para>
[c1573d8]698
[1a50c3c]699<!-- FIXME don't encourage separate processing -->
[3d5fb53]700<Para>The usual arrangement is to have one file which lists all the others
[38335b7]701that are included (e.g., <filename>161.svx</filename>). Then
702<command>cavern 161</command> will process all your data. To just process a
703section use the filename for that section, e.g. <command>cavern dtime</command>
[c1573d8]704will process the dreamtime file/section of Kaninchenh&ouml;hle.  To
[1a50c3c]705help you out, if all legs in a survey are connected to one another
706but the survey has no fixed points, cavern
[c1573d8]707will 'invent' a fixed point and print a warning message to this
708effect.
[e189be2]709</Para>
[c1573d8]710
[a7e3295]711<Para>
712It is up to you what data you put in which files.  You
[40647f5]713can have one file per trip, or per area of the cave, or just one
714file for the whole cave if you like.
[a7e3295]715On a large survey project it makes sense to group related surveys in the
716same file or directory.
[e189be2]717</Para>
[9e507547]718<!-- FIXME: wook sez:
719
720 Point out in documentation that file structure and survey structure don't
721 have to be the same.  And in particular that folder/directory names can be
722 different.
723
724Which is partly covered above, though the last bit isn't...
725-->
[40647f5]726
[eb48e2b]727<!-- FIXME "Anatomy of a Survey" section -->
[e189be2]728<Sect2><Title>Readings</Title>
[c1573d8]729
[a7e3295]730<Para>Blank lines (i.e. lines consisting solely of BLANK characters)
[6aef4f1]731are ignored. The last line in the file need not be terminated by
[40647f5]732an end of line character. All fields on a line must be separated
[a7e3295]733by at least one BLANK character. An OMIT character
[40647f5]734(default '-') indicates that a field is unused. If the field is
735not optional, then an error is given.
[e189be2]736</Para>
[40647f5]737
[e189be2]738</Sect2>
739
740<Sect2><Title>Survey Station Names</Title>
[40647f5]741
[6af6d51]742<Para><Application>Survex</Application> has a powerful system for naming stations.  It
[eb48e2b]743uses a hierarchy of survey names, similar to the nested folders
744your computer stores files in.
745So point 6 in the entrance survey of Kaninchenh&ouml;hle
[a4458fd5]746(cave number 161) is referred to as: 161.entrance.6
747</Para>
748
749<Para>This seems a natural way to refer to station names.  It also
750means that it is very easy to include more levels, for example if you
751want to plot all the caves in the area you just list them all in
[eb48e2b]752another file, specifying a new prefix.  So to group 3 nearby caves
753on the Loser Plateau you would use a file like
[a4458fd5]754this:
755</Para>
756
757<programlisting>
758*begin Loser
759*include 161
760*include 2YrGest
761*include 145
762*end Loser</programlisting>
763
764<Para>
765The entrance series point mentioned above would now be referred
766to as: Loser.161.entrance.6
767</Para>
768
769<!--
770<Para>This may seem a tad complex but is really very natural once you
771get the hang of it.
772</Para>
773-->
774<Para>You do not have to use this system at all, and can just give all
775stations unique identifiers if you like:
776</Para>
777
778<Para>1, 2, 3, 4, 5, ... 1381, 1382
779</Para>
780
781<Para>or
782</Para>
783
784<Para>AA06, AA07, P34, ZZ6, etc.
785</Para>
786
787<!-- FIXME:
788<Para>However you'll loose the ability to handle subsurveys if you do.
789</Para>
790-->
791
792<Para>Station and survey names may contain any alphanumeric characters and
[a7e3295]793additionally any characters in NAMES (default `_' and `-'). Alphabetic
[c1573d8]794characters may be forced to upper or lower case by using the *case
795command. Station names may be any length - if you want to only treat
[375f7f6]796the first few characters as significant you can get cavern to truncate
[c1573d8]797the names using the *truncate command.
[e189be2]798</Para>
[c1573d8]799
[44b4d84]800<Sect3><Title>Anonymous Stations</Title>
801
802<Para>
803Survex supports the concept of anonymous survey stations.  That is
804survey stations without a name.  Each time an anonymous station name is
805used it represents a different point.  Currently three types of anonymous
806station are supported, referred to by one, two or three separator characters
807- with the default separator of '.', that means '.', '..', and '...' are
808anonymous stations.  Their meanings are:</Para>
809
810<VariableList>
811<VarListEntry><Term>Single separator ('.' by default)</Term>
812<ListItem><Para>
813An anonymous non-wall point at the end of an implicit splay.
814</Para></ListItem></VarListEntry>
815
816<VarListEntry><Term>Double separator ('..' by default)</Term>
817<ListItem><Para>
818An anoymous wall point at the end of an implicit splay.
819</Para></ListItem></VarListEntry>
820
821<VarListEntry><Term>Triple separator ('...' by default)</Term>
822<ListItem><Para>
823an anoymous point with no implicit flags on the leg (intended for cases like
824a disto leg along a continuing passage).
825</Para></ListItem></VarListEntry>
[58e3c13]826</VariableList>
[44b4d84]827
828<Para>
829You can map '-' to '..' (for compatibility with data from pocket topo) using
830the command:
831</Para>
832
833<programlisting>
834*alias station - ..
835</programlisting>
836
837<Para>Support for anonymous stations and for '*alias station - ..' was added in
838Survex 1.2.7.</Para>
839
840</Sect3>
841
[e189be2]842</Sect2>
843
844<Sect2><Title>Numeric fields</Title>
[c1573d8]845
846<Para>[&lt;MINUS&gt;|&lt;PLUS&gt;] &lt;integer part&gt; [ &lt;DECIMAL&gt;
[40647f5]847[ &lt;decimal fraction&gt; ] ]
[e189be2]848</Para>
849
[40647f5]850<Para>
851or [&lt;MINUS&gt;|&lt;PLUS&gt;] &lt;DECIMAL&gt; &lt;dec fraction&gt;
[e189be2]852</Para>
853
[63dc4eb]854<Para><!-- FIXME: put informal description first -->
[a7e3295]855i.e. optional PLUS or MINUS sign in front, with
856optional DECIMAL character (default '.'), which may be
[40647f5]857embedded, leading or trailing. No spaces are allowed between the
858various elements.
[e189be2]859</Para>
860
[40647f5]861<Para>
[0706076]862All of these are valid examples: +47, 23, -22, +4.5, 1.3, -0.7, +.15, .4,
[40647f5]863-.05
[e189be2]864</Para>
[40647f5]865
[e189be2]866</Sect2>
867
868<Sect2><Title>Accuracy</Title>
[c1573d8]869
[ff003b3]870<Para>Accuracy assessments may be provided or defaulted for any survey
871leg. These determine the distribution of loop closure errors over the
[c1573d8]872legs in the loop. See *SD for more information.
[e189be2]873</Para>
874
875</Sect2>
[40647f5]876
877<!--
[e189be2]878<Sect2><Title>Survey Coordinate Range</Title>
[40647f5]879
[e189be2]880<Para>
[40647f5]881If we store distances to nearest 10um (0.01mm) in 4 bytes, this
882gives a range of ~20 km. This method is currently not used, but
883has several advantages (data storage space [double uses 8 bytes
884- with my C compiler], speed (unless your FP chip works in parallel
[c1573d8]885with your CPU [e.g. the new Acorn FPU for the ARM], and numerical
[40647f5]886accuracy [compared to using floats at least]) and so may be adopted
887in future). Nearest 0.1mm gives -200 km, which is enough for most
888people, but may mean rounding errors become significant.
[e189be2]889</Para>
890
[40647f5]891<Para>
[6aef4f1]892I will have to do some sums...
[e189be2]893</Para>
894
895</Sect2>
896
[40647f5]897-->
898
[f9dc4a0]899<Sect2><Title>Cavern Commands</Title>
[c1573d8]900
[6af6d51]901<Para>Commands in <filename>.svx</filename> files are introduced by an asterisk
[38335b7]902(by default - this can be changed using the <command>set</command> command).
[e189be2]903</Para>
[c1573d8]904
905<Para>The commands are documented in a common format:
[e189be2]906</Para>
[c1573d8]907
[a7e3295]908<!-- FIXME: make this a RefGroup (or whatever that's called) of RefEntry-s? -->
[c1573d8]909<itemizedlist>
[e189be2]910<listitem><para>Command Name</para></listitem>
911<listitem><para>Syntax</para></listitem>
912<listitem><para>Example</para></listitem>
[ea52d7e]913<listitem><para>Validity</para></listitem>
[1a50c3c]914<!-- FIXME
915anywhere, in a block, at start of a block, after a begin (for *end)
916-->
[e189be2]917<listitem><para>Description</para></listitem>
918<listitem><para>Caveats</para></listitem>
919<listitem><para>See Also</para></listitem>
[1a50c3c]920<!-- FIXME
921"Usefulness" - or status maybe?
922deprecated, esoteric (*set), useful, vital
923-->
[c1573d8]924</itemizedlist>
925
[dcbcae0]926<Sect3><Title>ALIAS</Title>
927
928<VariableList>
929
930<VarListEntry><Term>Syntax</Term>
931
932<listitem><Para>*alias station &lt;alias&gt; [&lt;target&gt;]</Para></listitem>
933
934</VarListEntry>
935
936<VarListEntry><Term>Example</Term>
937
938<listitem>
939<Para>
940<programlisting>
941*begin parsons_nose
942*alias station - ..
9431 2 12.21 073 -12
9442 -  4.33 011 +02
9452 -  1.64 180 +03
9462 3  6.77 098 -04
947*end parsons_nose</programlisting>
948</Para>
949</listitem>
950
951</VarListEntry>
952
953<VarListEntry><Term>Description</Term>
954
955<listitem><Para>*alias allows you to map a station name which appears in
956the survey data to a different name internally.  At present, you can only
957create an alias of '-' to '..', which is intended to support the pocket topo
958style notation of '-' being a splay to an anonymous point on the cave wall.
959And you can unalias '-' with '*alias station -'.
960</Para>
961
962<Para>
963Aliases are scoped by *begin/*end blocks - when a *end is reached, the aliases
964in force at the corresponding begin are restored.
965</Para>
966
967<Para>
968*alias was added in Survex 1.2.7.
969</Para></listitem>
970
971</VarListEntry>
972
973<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
974
975<VarListEntry><Term>See Also</Term>
976
977<listitem><Para>*begin, *end</Para></listitem>
978
979</VarListEntry>
980
981</VariableList>
982
983</Sect3>
984
[e189be2]985<Sect3><Title>BEGIN</Title>
[c1573d8]986
987<VariableList>
988
[e189be2]989<VarListEntry><Term>Syntax</Term>
[c1573d8]990
[ea52d7e]991<listitem><Para>*begin [&lt;survey&gt;]</Para></listitem>
[c1573d8]992
[e189be2]993</VarListEntry>
994
995<VarListEntry><Term>Example</Term>
[c1573d8]996
997<listitem>
[0706076]998<Para>
[c1573d8]999<programlisting>
1000*begin littlebit
10011 2 10.23 106 -02
10022 3  1.56 092 +10
1003*end littlebit</programlisting>
1004
1005<programlisting>
1006; length of leg across shaft estimated
1007*begin
1008*sd tape 2 metres
10099 10 6.   031 -07
1010*end</programlisting>
[0706076]1011</Para>
[e189be2]1012</listitem>
1013
1014</VarListEntry>
1015
1016<VarListEntry><Term>Description</Term>
[c1573d8]1017
[ea52d7e]1018<listitem><Para>*begin stores the current values of the current settings
1019such as instrument calibration, data format, and so on.
1020These stored values are restored after the corresponding *end.
1021If a survey name is given, this is used inside the *begin/*end block,
1022and the corresponding *end should have the same survey name.
1023*begin/*end blocks may be nested to indefinite depth.
1024</Para></listitem>
[e189be2]1025
1026</VarListEntry>
[c1573d8]1027
[e189be2]1028<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
[c1573d8]1029
[e189be2]1030<VarListEntry><Term>See Also</Term>
[c1573d8]1031
[e189be2]1032<listitem><Para>*end, *prefix</Para></listitem>
1033
1034</VarListEntry>
[c1573d8]1035
1036</VariableList>
1037
[e189be2]1038</Sect3>
1039
[0706076]1040<Sect3><Title>CALIBRATE</Title>
[c1573d8]1041
[0706076]1042<VariableList>
1043
1044<VarListEntry><Term>Syntax</Term>
1045
1046<listitem>
[a7e3295]1047<Para>*calibrate &lt;quantity list&gt; &lt;zero error&gt; [&lt;scale&gt;]
[0706076]1048</Para>
[88569fe]1049<Para>*calibrate &lt;quantity list&gt; &lt;zero error&gt; &lt;units&gt; [&lt;scale&gt;]
1050</Para>
[0706076]1051<Para>*calibrate default
1052</Para>
1053</listitem>
1054
1055</VarListEntry>
1056
1057<VarListEntry><Term>Example</Term>
1058
1059<listitem>
1060<Para>
1061<programlisting>
1062*calibrate tape +0.3
1063</programlisting>
1064</Para>
1065</listitem>
1066
1067</VarListEntry>
1068
1069<VarListEntry><Term>Description</Term>
1070
1071<listitem>
[9e507547]1072
[be1a437]1073<Para>
[513935e]1074*calibrate is used to specify instrument calibrations, via a zero error
1075and a scale factor.  By default, the zero error is 0.0 and the scale
1076factor 1.0 for all quantities.
[e189be2]1077</Para>
[c1573d8]1078
[be1a437]1079<Para>
1080&lt;quantity&gt; is one of TAPE|COMPASS|CLINO|COUNTER|DEPTH|DECLINATION|X|Y|Z
[e189be2]1081</Para>
[c1573d8]1082
[be1a437]1083<Para>
[513935e]1084Several quantities can be given in &lt;quantity list&gt; - the specified
1085calibration will be applied to each of them.
[be1a437]1086</Para>
1087
1088<Para>
[513935e]1089You need to be careful about the sign of the ZeroError.  Survex follows
1090the convention used with scientific instruments - the ZeroError is what
1091the instrument reads when measuring a reading which should be zero.  So
1092for example, if your tape measure has the end missing, and you are using the
109330cm mark to take all measurements from, then a zero distance would be measured
1094as 30cm and you would correct this with:
[e189be2]1095</Para>
[c1573d8]1096
[be1a437]1097<programlisting>*CALIBRATE tape +0.3</programlisting>
1098
1099<Para>If you tape was too long, starting at -20cm (it does happen!)
1100then you can correct it with:
[e189be2]1101</Para>
[c1573d8]1102
[be1a437]1103<programlisting>*CALIBRATE tape -0.2</programlisting>
1104
[0706076]1105<Para>Note: ZeroError is irrelevant for Topofil counters and depth
1106gauges since pairs of readings are subtracted.
[be1a437]1107</Para>
1108
[88569fe]1109<Para>
1110In the first form in the synopsis above, the zero error is measured by the
1111instrument itself (e.g. reading off the number where a truncated tape now ends)
1112and any scale factor specified applies to it, like so:
1113</Para>
1114
1115<Para>
1116Value = ( Reading - ZeroError ) * Scale    (Scale defaults to 1.0)
1117</Para>
1118
1119<Para>
1120In the second form above (supported since Survex 1.2.21), the zero error has
1121been measured externally (e.g. measuring how much too long your tape is with
1122a ruler) - the units of the zero error are explicitly specified and any scale
1123factor isn't applied to it:
1124</Para>
1125
1126<Para>
1127Value = ( Reading * Scale ) - ZeroError    (Scale defaults to 1.0)
1128</Para>
1129
1130<Para>
1131If the scale factor is 1.0, then the two forms are equivalent, though they
[e1888e5]1132still allow you to differentiate between how the zero error has been determined.
[88569fe]1133</Para>
1134
[41e98ad]1135<Para>
[513935e]1136With older Survex versions, you would specify the magnetic declination
1137(difference between True North and Magnetic North) by using *calibrate
1138declination to set an explicit value (with no scale factor allowed).  Since
1139Survex 1.2.22, it's recommended to instead use the new *declination command
1140instead - see the documentation of that command for more details.
[be1a437]1141</Para>
1142
[0706076]1143</listitem>
1144
1145</VarListEntry>
1146
1147<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1148
1149<VarListEntry><Term>See Also</Term>
1150
[58c7b459]1151<listitem><Para>*declination, *units</Para></listitem>
[0706076]1152
1153</VarListEntry>
1154
1155</VariableList>
1156
[be1a437]1157</Sect3>
1158
1159<Sect3><Title>CASE</Title>
1160
1161<VariableList>
1162
1163<VarListEntry><Term>Syntax</Term>
1164
[c57e9da]1165<listitem><para>*case preserve|toupper|tolower</para></listitem>
[be1a437]1166
1167</VarListEntry>
1168
1169<VarListEntry><Term>Example</Term>
1170
1171<listitem>
[0706076]1172<Para>
[be1a437]1173<programlisting>
1174*begin bobsbit
1175; Bob insists on using case sensitive station names
[c57e9da]1176*case preserve
[be1a437]11771 2   10.23 106 -02
11782 2a   1.56 092 +10
11792 2A   3.12 034 +02
11802 3    8.64 239 -01
1181*end bobsbit</programlisting>
[0706076]1182</Para>
[be1a437]1183</listitem>
1184
1185</VarListEntry>
1186
1187<VarListEntry><Term>Description</Term>
1188
1189<listitem><Para>*case determines how the case of letters in survey names is
1190handled.  By default all names are forced to lower case (which gives a case
1191insensitive match, but you can tell cavern to force to upper case, or leave
1192the case as is (in which case '2a' and '2A' will be regarded as different).
1193</Para></listitem>
1194
1195</VarListEntry>
1196
1197<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1198
[e6fdc7c]1199<VarListEntry><Term>See Also</Term>
[be1a437]1200
[e6fdc7c]1201<listitem><Para>*truncate</Para></listitem>
[be1a437]1202
1203</VarListEntry>
1204
1205</VariableList>
1206
1207<!-- FIXME - work this text in here or elsewhere
[c1573d8]1208
1209What I mean (though failed to express very well) is that a dataset without
1210this information isn't the same dataset (in general anyway).  For example:
1211
1212A1 a2 10.32 140 -05
1213a2 a3  4.91 041 -01
1214a1 a3  7.01 206  02
1215
1216is either a traverse of 3 legs or a (probably badly misclosed) loop.  If
1217these names are on the original survey notes, the surveyors ought to say
1218whether "A1" is the same as "a1" (although the usual case for using this
1219feature is probably for importing data from elsewhere).  Similarly for
1220truncation.  Whether a clino of +/-90 degrees (or +/-100 grad, etc) is
1221interpreted as a plumb is something that should have been noted in the cave
1222(unless it's implicit because it's standard practice for a survey project).
1223
1224It's a similar issue to calibration data in many ways.  You can argue it's
1225not part of "the survey", but without it the survey won't be the same shape,
1226and it's not useful to process the same survey with different settings for
1227compass calibration or name case sensitivity.
1228
1229>Clearly that is unhelpfully strict, but it is
1230>important to be semantically clear about what is 'data' and what is 'commands
1231>or meta-data' which describe what to do with/how to interpret that data.
1232
1233Think of the lines starting with a "*" as "command or meta-data".
1234
[3d5fb53]1235>The most-correct solution to this is (I believe) Martin Heller's idea about
[c1573d8]1236>including 'rules' in the datastream, but that's too big a subject for right
1237>now.
1238>
1239>The reason '-C' was made into a command-line option, was that it made very
1240>little sense to change it part way though a dataset. What exactly happens if
[375f7f6]1241>you suddenly tell cavern to become case-sensitive halfway through a run?
[c1573d8]1242
1243-C has always had 3 settings - "leave case alone", "force to lower", and
1244"force to upper".  It doesn't really mean "case sensitivity" but rather
1245something like "case processing".  So you can usefully change it during a
1246run.  So if my dataset treats "NoTableChamber" (so named because it was
1247lacking in furniture) as different from "NotableChamber" (which was notable
1248for other reasons) I can process it with a dataset from someone else which
1249needs to be treated as case insensitive like so:
1250
1251*begin my_cave
1252*include my_dataset
1253*end my_cave
1254
1255*equate my_cave.NoTableChamber.14 your_cave.linkpassage.13
1256
1257*begin your_cave
1258*case tolower
1259*include your_dataset
1260*end your_cave
1261
1262You may be thinking of -U<n>, which used to mean "only compare the first n
1263characters of station names", but that doesn't allow arbitrary datasets to
1264be processed together.
1265
1266So we changed it to mean "truncate station names to n characters", and
1267allowed it to be changed at any point, rather than being set once for the
1268whole run.
1269
1270-->
1271
[e189be2]1272</Sect3>
[f63df3e]1273
1274<Sect3><Title>COPYRIGHT</Title>
1275
1276<VariableList>
1277
1278<VarListEntry><Term>Syntax</Term>
1279
1280<listitem><Para>*copyright &lt;date&gt; &lt;text&gt;</Para></listitem>
1281
1282</VarListEntry>
1283
1284<VarListEntry><Term>Example</Term>
1285
1286<listitem>
[0706076]1287<Para>
[f63df3e]1288<programlisting>
1289*begin littlebit
1290*copyright 1983 CUCC
12911 2 10.23 106 -02
12922 3  1.56 092 +10
1293*end littlebit</programlisting>
[0706076]1294</Para>
[f63df3e]1295</listitem>
1296
1297</VarListEntry>
1298
[ea52d7e]1299<VarListEntry><Term>Validity</Term>
1300
1301<listitem><Para>valid at the start of a *begin/*end block.
1302</Para></listitem>
1303
1304</VarListEntry>
1305
[f63df3e]1306<VarListEntry><Term>Description</Term>
1307
[58c7b459]1308<listitem><Para>*copyright allows the copyright information to be
[f63df3e]1309stored in a way that can be automatically collated.
1310</Para></listitem>
1311
1312</VarListEntry>
1313
1314<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1315
1316<VarListEntry><Term>See Also</Term>
1317
[0706076]1318<listitem><Para>*begin</Para></listitem>
[f63df3e]1319
1320</VarListEntry>
1321
1322</VariableList>
1323
1324</Sect3>
[e189be2]1325
[abd0310]1326<Sect3><Title>CS</Title>
1327
1328<VariableList>
1329
1330<VarListEntry><Term>Syntax</Term>
1331
[ad5bd05]1332<listitem><Para>*cs [out] &lt;coordinate system&gt;</Para></listitem>
[abd0310]1333
1334</VarListEntry>
1335
1336<VarListEntry><Term>Example</Term>
1337
1338<listitem>
1339<Para>
1340<programlisting>
1341*cs UTM60S
1342*fix beehive 313800 5427953 20</programlisting>
1343</Para>
[ad5bd05]1344
1345<Para>
1346<programlisting>
1347; Output in the coordinate system used in the Totes Gebirge in Austria
[935824f]1348*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>
[ad5bd05]1349</Para>
[abd0310]1350</listitem>
1351
1352</VarListEntry>
1353
1354<VarListEntry><Term>Description</Term>
1355
[ad5bd05]1356<listitem><Para>*cs allows the coordinate systems used for fixed points and for
1357processed survey data to be specified.
[abd0310]1358</Para>
1359
1360<Para>
[b102633]1361*cs was added in Survex 1.2.14, but handling of fixed points specified with
1362latitude and longitude didn't work until 1.2.21.  And *fix with standard
1363deviations specified also didn't work until 1.2.21.
1364</Para>
1365
1366<Para>
1367The currently supported coordinate systems are:
[ad5bd05]1368</Para>
1369
[16734b2]1370<Para>CUSTOM followed by a PROJ4 string (like in the example above).</Para>
1371
[ddd24f28]1372<Para>EPSG: followed by a positive integer code.  EPSG codes cover most
1373coordinate systems in use, and PROJ supports many of these.  The website
[d417499]1374<ulink url="https://epsg.io/">https://epsg.io/</ulink> is a useful resource for
[ddd24f28]1375finding the EPSG code you want.  Supported since Survex 1.2.15.</Para>
1376
1377<Para>ESRI: followed by a positive integer code.  ESRI codes are used by
1378ArcGIS to specify coordinate systems (in a similar way to EPSG codes), and PROJ
1379supports many of them.  Supported since Survex 1.2.15.</Para>
1380
1381<Para>EUR79Z30 for UTM zone 30, EUR79 datum.  Supported since Survex 1.2.15.
1382</Para>
1383
[5598e2c]1384<Para>IJTSK for the modified version of the Czechoslovak S-JTSK system where
1385the axes point East and North.  Supported since Survex 1.2.15.</Para>
1386
1387<Para>IJTSK03 for a variant of IJTSK.  Supported since Survex 1.2.15.</Para>
1388
[10af28e]1389<Para>JTSK for the Czechoslovak S-JTSK system.  The axes on this point West
1390and South, so it's not support as an output coordinate system.
1391Supported since Survex 1.2.16.</Para>
1392
1393<Para>JTSK03 for a variant of JTSK.  Supported since Survex 1.2.16.</Para>
1394
[16734b2]1395<Para>LONG-LAT for longitude/latitude.  The WGS84 datum is assumed.  Supported
1396since Survex 1.2.15.</Para>
1397
[a4cd4eea]1398<Para>OSGB: followed by a two letter code for the UK Ordnance Survey National
1399Grid.  The first letter should be 'H', 'N', 'O', 'S' or 'T'; the second any
1400letter except 'I'.  Supported since Survex 1.2.15.</Para>
1401
[2076d59]1402<Para>S-MERC for the "Web Mercator" spherical mercator projection, used by
1403online map sites like OpenStreetMap, Google maps, Bing maps, etc.  Supported
1404since Survex 1.2.15.
1405</Para>
1406
[16734b2]1407<Para>UTM followed by a zone number (1-60), optionally followed by "N" or "S"
1408(default is North).  The WGS84 datum is assumed.</Para>
1409
[ad5bd05]1410<Para>
1411By default, Survex works in an unspecified coordinate system (and this was the
1412only option before *cs was added).  However, it's useful for coordinate system
1413which the processed survey data is in to be specified if you want to use the
1414processed data in ways which required knowing the coordinate system (such as
1415exporting a list of entrances for use in a GPS).  You can now do this by using
1416"*cs out".
1417</Para>
1418
1419<Para>
1420It is also useful to be able to take coordinates for fixed points in whatever
1421coordinate system you receive them in and put them directly into Survex, rather
1422than having to convert with an external tool.  For example, you may have your
1423GPS set to show coordinates in UTM with the WGS84 datum, even though you want
1424the processed data to be in some local coordinate system.  And someone else
1425may provide GPS coordinates in yet another coordinate system.  You just need
1426to set the appropriate coordinate system with "*cs" before each group of "*fix"
1427commands in a particular coordinate system.
1428</Para>
1429
1430<Para>
1431If you're going to make use of "*cs", then the coordinate system must be
1432specified for everything, so a coordinate system must be in effect for all
1433"*fix" commands, and you must set the output coordinate system before any
1434points are fixed.
1435</Para>
1436
1437<Para>
1438Also, if "*cs" is in use, then you can't omit the coordinates in a "*fix"
1439command, and a fixed point won't be invented if none exists.
1440</Para>
1441
1442<Para>
1443If you use "*cs out" more than once, the second and subsequent commands are
1444silently ignored - this makes it possible to combine two datasets with
1445different "*cs out" settings without having to modify either of them.
1446</Para>
1447
1448<Para>
1449Something to be aware of with "*cs" is that altitudes are currently assumed to
1450be "height above the ellipsoid", whereas GPS units typically give you "height
1451above sea level", or more accurately "height above a particular geoid".  This
1452is something we're looking at how best to address, but you shouldn't need to
1453worry about it if your fixed points are in the same coordinate system as your
1454output, or if they all use the same ellipsoid.  For a more detailed discussion
1455of this, please see: http://expo.survex.com/handbook/survey/coord.htm
1456</Para>
1457</listitem>
[abd0310]1458
1459</VarListEntry>
1460
1461<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1462
1463<VarListEntry><Term>See Also</Term>
1464
1465<listitem><Para>*fix</Para></listitem>
1466
1467</VarListEntry>
1468
1469</VariableList>
1470
1471</Sect3>
[ea52d7e]1472<Sect3><Title>DATA</Title>
1473
1474<VariableList>
1475
1476<VarListEntry><Term>Syntax</Term>
[40647f5]1477
[c746b4d]1478<listitem><Para>*data &lt;style&gt; &lt;ordering&gt;</Para></listitem>
[6114207]1479<!-- BACKCOMPASS BACKCLINO -->
[ea52d7e]1480</VarListEntry>
1481
1482<VarListEntry><Term>Example</Term>
1483
1484<listitem>
[40647f5]1485<Para>
[ea52d7e]1486<programlisting>
1487*data normal from to compass tape clino</programlisting>
[e189be2]1488</Para>
[c746b4d]1489
1490<Para>
1491<programlisting>
1492*data normal station ignoreall newline compass tape clino</programlisting>
1493</Para>
[ea52d7e]1494</listitem>
1495
1496</VarListEntry>
[e189be2]1497
[ea52d7e]1498<VarListEntry><Term>Description</Term>
[e189be2]1499
[ea52d7e]1500<listitem><Para>
[b458119]1501&lt;style&gt; = DEFAULT|NORMAL|DIVING|CARTESIAN|TOPOFIL|CYLPOLAR|NOSURVEY|PASSAGE
[e189be2]1502</Para>
1503
[40647f5]1504<Para>
[6114207]1505&lt;ordering&gt; = ordered list of instruments - which are valid depends on the
1506style.
1507</Para>
1508
[107b8bd]1509<Para>
1510In Survex 1.0.2 and later, TOPOFIL is simply a synonym for NORMAL, left in to
1511allow older data to be processed without modification.  Use the name NORMAL
1512by preference.
1513</Para>
1514
[6114207]1515<Para>
1516There are two variants of each style - interleaved and non-interleaved.
1517Non-interleaved is "one line per leg", interleaved has a line for the data
1518shared between two legs (e.g. STATION=FROM/TO, DEPTH=FROMDEPTH/TODEPTH,
1519COUNT=FROMCOUNT/TOCOUNT).  Note that not all interleavable readings have to
1520be interleaved - for example:
1521
1522<programlisting>
1523*data diving station newline fromdepth compass tape todepth</programlisting>
1524
1525In addition, interleaved data can have a DIRECTION reading, which can be "F"
1526for a foresight or "B" for a backsight.
[e189be2]1527</Para>
1528
[107b8bd]1529<Para>
1530In NORMAL, DIVING, and CYLPOLAR data styles, TAPE may be replaced by
1531FROMCOUNT/TOCOUNT (or COUNT in interleaved data) to allow processing of surveys
1532performed with a Topofil instead of a tape.
1533</Para>
1534
[c746b4d]1535<VariableList>
[e189be2]1536
[c746b4d]1537<VarListEntry><Term>DEFAULT</Term>
[6114207]1538<listitem><Para>Select the default data style and ordering (NORMAL style, ordering: from to tape compass clino).</Para></listitem>
[c746b4d]1539</VarListEntry>
[e189be2]1540
[c746b4d]1541<VarListEntry><Term>NORMAL</Term>
[6114207]1542<listitem><Para>The usual tape/compass/clino centreline survey.
[b14f44f]1543For non-interleaved data the allowed readings are:
1544FROM TO TAPE COMPASS CLINO BACKCOMPASS BACKCLINO;
1545for interleaved data the allowed readings are:
1546STATION DIRECTION TAPE COMPASS CLINO BACKCOMPASS BACKCLINO.
1547The CLINO/BACKCLINO reading is not required - if it's not given, the vertical
1548standard deviation is taken to be proportional to the tape measurement.
1549Alternatively, individual clino readings can be given as OMIT (default "-")
1550which allows for data where only some clino readings are missing.
[6114207]1551E.g.:
1552
1553<programlisting>
1554*data normal from to compass clino tape
15551 2 172 -03 12.61</programlisting>
1556
1557<programlisting>
1558*data normal station newline direction tape compass clino
15591
1560 F 12.61 172 -03
15612</programlisting>
1562
[13ba257]1563<programlisting>
[107b8bd]1564*data normal from to compass clino fromcount tocount
[13ba257]15651 2 172 -03 11532 11873</programlisting>
1566
1567<programlisting>
[107b8bd]1568*data normal station count newline direction compass clino
[13ba257]15691 11532
1570 F 172 -03
15712 11873</programlisting>
1572 
1573</Para></listitem>
1574</VarListEntry>
1575
[c746b4d]1576<VarListEntry><Term>DIVING</Term>
1577<listitem><Para>
[eb48e2b]1578An underwater survey where the vertical information is from a diver's depth
[1ff6864]1579gauge.  This style can also be also used for an above-water survey where the
1580altitude is measured with an altimeter.  DEPTH is defined as the altitude (Z)
1581so increases upwards by default.  So for a diver's depth gauge, you'll need to
[b14f44f]1582use *CALIBRATE with a negative scale factor (e.g. *calibrate depth 0 -1).
1583</Para>
1584
1585<Para>For non-interleaved data the allowed readings are:
[aacc3e6]1586FROM TO TAPE COMPASS CLINO BACKCOMPASS BACKCLINO FROMDEPTH TODEPTH DEPTHCHANGE (the vertical
[b14f44f]1587can be given as readings at each station, (FROMDEPTH/TODEPTH) or as a change
1588along the leg (DEPTHCHANGE)).</Para>
1589
[aacc3e6]1590<Para>Survex 1.2.20 and later allow an optional CLINO and/or BACKCLINO reading
1591in DIVING style.  At present these extra readings are checked for syntactic
1592validity, but are otherwise ignored.  The intention is that a future version
1593will check them against the other readings to flag up likely blunders, and
1594average with the slope data from the depth gauge and tape reading.</Para>
1595
[b14f44f]1596<Para>For interleaved data the allowed readings are:
1597STATION DIRECTION TAPE COMPASS BACKCOMPASS DEPTH DEPTHCHANGE.
1598(the vertical change can be given as a reading at the station (DEPTH) or as a change along the leg (DEPTHCHANGE)).
[6114207]1599
1600<programlisting>
1601*data diving from to tape compass fromdepth todepth
16021 2 14.7 250 -20.7 -22.4</programlisting>
1603
1604<programlisting>
1605*data diving station depth newline tape compass
16061 -20.7
1607 14.7 250
16082 -22.4</programlisting>
1609
1610<programlisting>
1611*data diving from to tape compass depthchange
16121 2 14.7 250 -1.7</programlisting>
[b14f44f]1613</Para>
1614</listitem>
[c746b4d]1615</VarListEntry>
1616
1617<VarListEntry><Term>CARTESIAN</Term>
1618<listitem><Para>
[6114207]1619Cartesian data style allows you to specify the (x,y,z) changes between
1620stations.  It's useful for digitising surveys where the original survey
1621data has been lost and all that's available is a drawn up version.
1622
1623<programlisting>
1624*data cartesian from to northing easting altitude
16251 2 16.1 20.4 8.7</programlisting>
1626
1627<programlisting>
1628*data cartesian station newline northing easting altitude
16291
1630 16.1 20.4 8.7
16312</programlisting>
1632
[e74904e]1633<!--FIXME: dx dy dz-->
[e189be2]1634</Para>
1635
[e74904e]1636<Note><Para>
1637Cartesian data are relative to <emphasis>true</emphasis> North not
1638<emphasis>magnetic</emphasis> North (i.e. they are unaffected by
1639<command>*calibrate declination</command>).
1640</Para></Note>
[ce92903]1641</listitem>
[c746b4d]1642</VarListEntry>
[e74904e]1643
[13ba257]1644<VarListEntry><Term>CYLPOLAR</Term>
[c746b4d]1645<listitem><Para>
[b14f44f]1646A CYLPOLAR style survey is very similar to a diving survey, except that the tape
[13ba257]1647is always measured horizontally rather than along the slope of the leg.
[6114207]1648
1649<programlisting>
[13ba257]1650*data cypolar from to tape compass fromdepth todepth
16511 2 9.45 311 -13.3 -19.0</programlisting>
[6114207]1652
1653<programlisting>
[13ba257]1654*data cylpolar station depth newline tape compass
16551 -13.3
1656 9.45 311
16572 -19.0</programlisting>
[e189be2]1658
[13ba257]1659<programlisting>
1660*data cylpolar from to tape compass depthchange
16611 2 9.45 311 -5.7</programlisting>
[c746b4d]1662</Para></listitem>
1663</VarListEntry>
[9e507547]1664
[c746b4d]1665<VarListEntry><Term>NOSURVEY</Term>
1666<listitem><Para>
[6114207]1667A NOSURVEY survey doesn't have any measurements - it merely indicates that
[13ba257]1668there is line of sight between the pairs of stations.
1669
1670<programlisting>
1671*data nosurvey from to
16721 7
16735 7
16749 11</programlisting>
1675
1676<programlisting>
1677*data nosurvey station
16781
16797
16805
1681
1682*data nosurvey station
16839
168411</programlisting>
[c746b4d]1685</Para></listitem>
1686</VarListEntry>
[e189be2]1687
[b458119]1688<VarListEntry><Term>PASSAGE</Term>
1689<listitem><Para>
1690This survey style defines a 3D "tube" modelling a passage in the cave.
1691The tube uses the survey stations listed in the order listed.  It's
1692permitted to use survey stations which aren't directly linked by
1693the centre-line survey.  This can be useful - sometimes the centreline
1694will step sideways or up/down to allow a better sight for the next
1695leg and you can ignore the extra station.  You can also define tubes
1696along unsurveyed passages, akin to "nosurvey" legs in the centreline
1697data.</Para>
1698
1699<Para>This means that you need to split off side passages into seperate
1700tubes, and hence separate sections of passage data, starting with
1701a new *data command.</Para>
1702
[40647f5]1703<Para>
[b458119]1704Simple example of how to use this data style (note the use of ignoreall
1705to allow a free-form text description to be given):
1706
1707<programlisting>
1708*data passage station left right up down ignoreall
17091  0.1 2.3 8.0 1.4  Sticking out point on left wall
17102  0.0 1.9 9.0 0.5  Point on left wall
17113  1.0 0.7 9.0 0.8  Highest point of boulder
1712</programlisting>
[e189be2]1713</Para>
[ce92903]1714</listitem>
[b458119]1715</VarListEntry>
[c746b4d]1716</VariableList>
[e189be2]1717
[40647f5]1718<Para>
[c746b4d]1719IGNORE skips a field (it may be used any number of times),
[13ba257]1720and IGNOREALL may be used last to ignore the rest of the data line.
[e189be2]1721</Para>
1722
[c746b4d]1723<Para>
1724LENGTH is a synonym for TAPE; BEARING for COMPASS; GRADIENT for CLINO; COUNT for COUNTER.<!--FIXME : others?-->
1725</Para>
1726
[e74904e]1727<Para>
1728The units of each quantity may be set with the UNITS command.
1729</Para>
1730
1731<!-- FIXME: plumbed diving legs -->
1732
1733<!--FIXME:
1734<Para>
[f3ed07f]1735Uses for CYLPOLAR:
1736Perhaps a Grade 3 survey, or when surveying with a level and stick (?)
1737[note - UBSS use it for the old County Clare data]
[e74904e]1738</Para>
1739-->
1740
[ea52d7e]1741</listitem>
1742
1743</VarListEntry>
1744
1745</VariableList>
1746
[e189be2]1747</Sect3>
1748
[e74904e]1749<Sect3><Title>DATE</Title>
1750<VariableList>
1751
1752<VarListEntry><Term>Syntax</Term>
1753
1754<listitem><Para>*date &lt;year&gt;[.&lt;month&gt;[.&lt;day&gt;]][-&lt;year&gt;[.&lt;month&gt;[.&lt;day&gt;]]]</Para></listitem>
1755
1756</VarListEntry>
1757
1758<VarListEntry><Term>Example</Term>
1759
1760<listitem>
1761<Para>
1762<programlisting>
1763*date 2001</programlisting>
1764
1765<programlisting>
1766*date 2000.10</programlisting>
1767
1768<programlisting>
1769*date 1987.07.27</programlisting>
1770
1771<programlisting>
1772*date 1985.08.12-1985.08.13</programlisting>
1773</Para>
1774</listitem>
1775
1776</VarListEntry>
1777
1778<VarListEntry><Term>Validity</Term>
1779
1780<listitem><Para>valid at the start of a *begin/*end block.
1781</Para></listitem>
1782
1783</VarListEntry>
1784
1785<VarListEntry><Term>Description</Term>
1786
1787<listitem><Para>
1788*date specifies the date that the survey was done.  A range of dates
1789can be specified (useful for overnight or multi-day surveying trips).
1790</Para></listitem>
1791
1792</VarListEntry>
1793
1794<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1795
1796<VarListEntry><Term>See Also</Term>
1797
1798<listitem><Para>*begin, *instrument, *team</Para></listitem>
1799
1800</VarListEntry>
1801
1802</VariableList>
1803
1804</Sect3>
1805
[58c7b459]1806<Sect3><Title>DECLINATION</Title>
1807
1808<VariableList>
1809
1810<VarListEntry><Term>Syntax</Term>
1811
1812<listitem>
1813<Para>*declination &lt;auto&gt; &lt;x&gt; &lt;y&gt; &lt;z&gt;</Para>
[513935e]1814<Para>*declination &lt;declination&gt; &lt;units&gt;</Para>
[58c7b459]1815</listitem>
1816
1817</VarListEntry>
1818
1819<VarListEntry><Term>Description</Term>
1820
[41e98ad]1821<listitem>
1822
[58c7b459]1823<Para>
[513935e]1824The *declination command is the modern way to specify magnetic declinations in
[f65e7e9]1825Survex.  Prior to 1.2.22, *calibrate declination was used instead.  If you
1826use a mixture of *calibrate declination and *declination, they interact in
1827the natural way - whichever was set most recently is used for each compass
1828reading (taking into account survey scope).  We don't generally recommend
1829mixing the two, but it's useful to understand how they interact if you want to
1830combine datasets using the old and new commands, and perhaps if you have a
1831large existing dataset and want to migrate it without having to change
1832everything at once.
[513935e]1833</Para>
1834
1835<Para>
1836Magnetic declination is the difference between Magnetic North and True North.
1837It varies both with location and over time.  Compass bearings are measured
1838relative to Magnetic North - adding the magnetic declination gives bearings
1839relative to True North.
1840</Para>
1841
1842<Para>
1843If you have specified the output coordinate system (using *cs out) then you can
1844use *declination auto (and we recommend that you do).  This is supported since
1845Survex 1.2.21 and automatically calculates magnetic declinations based on the
1846IGRF (International Geomagnetic Reference Field) model for the specified date
1847of each survey and at the specified representative location (given in the
1848current input coordinate system, as set with *cs).  Survex 1.2.27 and
1849later also automatically correct for grid convergence (the difference between
1850Grid North and True North) when *declination auto is in use, based on the same
1851specified representative location.
1852</Para>
1853
1854<Para>
1855You might wonder why Survex needs a representative location instead of
1856calculating the magnetic declination and grid convergence for the actual
1857position of each survey station.  The reason is that we need to adjust the
1858compass bearings before we can solve the network to find survey station
1859locations.  Both magnetic declination and grid convergence don't generally vary
1860significantly over the area of a typical cave system - if you are mapping a
1861very large cave system, or caves over a wide area, or are working close to a
1862magnetic pole or where the output coordinate system is rather distorted, then
1863you can specify *declination auto several times with different locations - the
1864one currently in effect is used for each survey leg.
1865</Para>
1866
1867<Para>
1868Generally it's best to specify a suitable output coordinate system, and use
1869*declination auto so Survex corrects for magnetic declination and grid
1870convergence for you.  Then Aven knows how to translate coordinates to allow
1871export to formats such as GPX and KML, and to overlay terrain data.
[58c7b459]1872</Para>
1873
1874<Para>
[513935e]1875If you don't specify an output coordinate system, but fix one or more points
1876then Survex works implicitly in the coordinate system your fixed points were
1877specified in.  This mode of operation is provided for compatibility with
1878datasets from before support for explicit coordinate systems was added to
1879Survex - it's much better to specify the output coordinate system as above.
1880But if you have a survey of a cave which isn't connected to any known fixed
1881points then you'll need to handle it this way, either fixing an entrance
1882to some arbitrary coordinates (probably (0,0,0)) or letting Survex pick a
1883station as the origin.  If the survey was all done in a short enough period
1884of time that the magentic declination won't have changed significantly, you
1885can just ignore it and Grid North in the implicit coordinate system will be
1886Magnetic North at the time of the survey.  If you want to correct for magnetic
1887declination, you can't use *declination auto because the IGRF model needs the
1888real world coordinates, but you can specify literal declination values for each
1889survey using *declination &lt;declination&gt; &lt;units&gt;.  Then Grid North
1890in the implicit coordinate system is True North.
[58c7b459]1891</Para>
1892
1893<Para>
[513935e]1894Note that the value specified uses the conventional sign for magnetic
1895declination, unlike the old *calibrate declination which needed a value with
1896the opposite sign (because *calibrate specifies a zero error), so take care
1897when updating old data, or if you're used to the semantics of *calibrate
1898declination.
[58c7b459]1899</Para>
1900
[41e98ad]1901</listitem>
1902
[58c7b459]1903</VarListEntry>
1904
1905<VarListEntry><Term>See Also</Term>
1906
1907<listitem><Para>*calibrate</Para></listitem>
1908
1909</VarListEntry>
1910
1911</VariableList>
1912
1913</Sect3>
1914
[ea52d7e]1915<Sect3><Title>DEFAULT</Title>
[e189be2]1916
[ea52d7e]1917<VariableList>
1918
1919<VarListEntry><Term>Syntax</Term>
1920
1921<listitem><Para>*default &lt;settings list&gt;|all</Para></listitem>
1922
1923</VarListEntry>
1924
1925<VarListEntry><Term>Description</Term>
1926
1927<listitem><Para>
1928The valid settings are CALIBRATE, DATA, and UNITS.
[e189be2]1929</Para>
1930
[40647f5]1931<Para>
[ea52d7e]1932*default restores defaults for given settings.  This command is deprecated -
1933you should instead use: *calibrate default, *data default, *units default.
1934</Para></listitem>
1935
1936</VarListEntry>
1937
1938<VarListEntry><Term>See Also</Term>
1939
1940<listitem><Para>*calibrate, *data, *units</Para></listitem>
1941
1942</VarListEntry>
1943
1944</VariableList>
1945
1946</Sect3>
1947
1948<Sect3><Title>END</Title>
1949
1950<VariableList>
1951
1952<VarListEntry><Term>Syntax</Term>
1953
1954<listitem><Para>*end [&lt;survey&gt;]</Para></listitem>
1955
1956</VarListEntry>
1957
1958<VarListEntry><Term>Validity</Term>
1959
1960<listitem><Para>valid for closing a block started by *begin in the same file.
1961</Para></listitem>
1962
1963</VarListEntry>
1964
1965<VarListEntry><Term>Description</Term>
1966
1967<listitem><Para>
1968Closes a block started by *begin.
1969</Para></listitem>
1970
1971</VarListEntry>
1972
1973<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
1974
1975<VarListEntry><Term>See Also</Term>
1976
1977<listitem><Para>*begin</Para></listitem>
1978
1979</VarListEntry>
1980
1981</VariableList>
[e189be2]1982
1983</Sect3>
1984
[ea52d7e]1985<Sect3><Title>ENTRANCE</Title>
1986
1987<VariableList>
1988
1989<VarListEntry><Term>Syntax</Term>
1990
1991<listitem><Para>*entrance &lt;station&gt;</Para></listitem>
1992
1993</VarListEntry>
1994
1995<VarListEntry><Term>Example</Term>
[e189be2]1996
[ea52d7e]1997<listitem>
[40647f5]1998<Para>
[ea52d7e]1999<programlisting>
2000*entrance P163</programlisting>
2001</Para>
2002</listitem>
2003
2004</VarListEntry>
2005
2006<VarListEntry><Term>Description</Term>
2007
2008<listitem><Para>
2009*entrance sets the <emphasis>entrance</emphasis> flag for a station.
2010This information is used by aven to allow entrances to be highlighted.
[e74904e]2011</Para>
2012
2013<!-- FIXME:
2014(could be inferred from surface/ug join, but better to specify because
2015of caves with no surf svy (or no underground survey)
2016and also situations in which multiple surveys leave through an entrance)
2017-->
2018</listitem>
[ea52d7e]2019
2020</VarListEntry>
2021
2022<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2023
2024<!-- <VarListEntry><Term>See Also</Term>
2025
2026<listitem><Para></Para></listitem>
2027
2028</VarListEntry>
2029-->
2030
2031</VariableList>
2032
[e189be2]2033</Sect3>
2034
[ea52d7e]2035<Sect3><Title>EQUATE</Title>
2036
2037<VariableList>
2038
2039<VarListEntry><Term>Syntax</Term>
2040
2041<listitem><Para>*equate &lt;station&gt; &lt;station&gt;...</Para></listitem>
[e189be2]2042
[ea52d7e]2043</VarListEntry>
2044
2045<VarListEntry><Term>Example</Term>
2046
2047<listitem>
[40647f5]2048<Para>
[ea52d7e]2049<programlisting>
2050*equate chosspot.1 triassic.27</programlisting>
[e189be2]2051</Para>
[ea52d7e]2052</listitem>
2053
2054</VarListEntry>
[e189be2]2055
[ea52d7e]2056<VarListEntry><Term>Description</Term>
2057
2058<listitem><Para>
2059*equate specifies that the station names in the list refer to the
2060same physical survey station. An error is given if there is only one station
2061listed.
2062</Para>
2063
2064<!-- FIXME:
[40647f5]2065<Para>
[ea52d7e]2066I think this is preferable to using:
[e189be2]2067</Para>
[6aef4f1]2068
2069<programlisting> a b 0.00   0   0</programlisting>
2070
[e189be2]2071<Para>
[6aef4f1]2072as EQUATE does not add in an extra position error. It is also clearer than
2073substituting in the original name wherever passages are linked. If you
2074disagree, you can always use one of the other methods!
[e189be2]2075</Para>
[ea52d7e]2076-->
2077</listitem>
2078
2079</VarListEntry>
2080
2081<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2082
[eb48e2b]2083<VarListEntry><Term>See Also</Term>
[ea52d7e]2084
[eb48e2b]2085<listitem><Para>*infer equates</Para></listitem>
[ea52d7e]2086
2087</VarListEntry>
2088
2089</VariableList>
[e189be2]2090
2091</Sect3>
[6aef4f1]2092
[6048971]2093<Sect3><Title>EXPORT</Title>
[9e507547]2094
[6048971]2095<VariableList>
2096
2097<VarListEntry><Term>Syntax</Term>
2098
2099<listitem><Para>*export &lt;station&gt;...</Para></listitem>
2100
2101</VarListEntry>
2102
2103<VarListEntry><Term>Example</Term>
2104
[e74904e]2105<!-- FIXME better example -->
[6048971]2106<listitem>
[9e507547]2107<Para>
[6048971]2108<programlisting>
2109*export 1 6 17</programlisting>
[9e507547]2110</Para>
[6048971]2111</listitem>
[9e507547]2112
[6048971]2113</VarListEntry>
2114
2115<VarListEntry><Term>Validity</Term>
2116
2117<listitem><Para>valid at the start of a *begin/*end block.
2118</Para></listitem>
2119
2120</VarListEntry>
2121
2122<VarListEntry><Term>Description</Term>
2123
2124<listitem><Para>
2125*export marks the stations named as referable to from the enclosing
2126survey.  To be able to refer to a station from a survey several levels
[4f0b498]2127above, it must be exported from each enclosing survey.
[6048971]2128</Para>
2129
2130<!-- FIXME:
[9e507547]2131<Para>
[6048971]2132I think this is preferable to using:
[9e507547]2133</Para>
2134
[6048971]2135<programlisting> a b 0.00   0   0</programlisting>
2136
2137<Para>
2138as EQUATE does not add in an extra position error. It is also clearer than
2139substituting in the original name wherever passages are linked. If you
2140disagree, you can always use one of the other methods!
2141</Para>
2142-->
2143</listitem>
2144
2145</VarListEntry>
2146
2147<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2148
2149<VarListEntry><Term>See Also</Term>
2150
[eb48e2b]2151<listitem><Para>*begin, *infer exports</Para></listitem>
[6048971]2152
2153</VarListEntry>
2154
2155</VariableList>
2156
[9e507547]2157</Sect3>
2158
[6048971]2159<Sect3><Title>FIX</Title>
2160
2161<VariableList>
2162
2163<VarListEntry><Term>Syntax</Term>
2164
2165<listitem><Para>*fix &lt;station&gt; [reference]
[dab6a62]2166 [ &lt;x&gt; &lt;y&gt; &lt;z&gt;
2167   [ &lt;x std err&gt; &lt;y std err&gt; &lt;z std err&gt;
[6048971]2168     [ &lt;cov(x,y)&gt; &lt;cov(y,z)&gt; &lt;cov(z,x)&gt; ] ] ]
2169</Para></listitem>
[e189be2]2170
[6048971]2171</VarListEntry>
[e189be2]2172
[6048971]2173<VarListEntry><Term>Example</Term>
[e189be2]2174
[6048971]2175<listitem>
[40647f5]2176<Para>
[6048971]2177<programlisting>
2178*fix entrance.0 32768 86723 1760</programlisting>
2179
2180<programlisting>
2181*fix KT114_96 reference 36670.37 83317.43 1903.97</programlisting>
[e189be2]2182</Para>
[6048971]2183</listitem>
2184
2185</VarListEntry>
2186
2187<VarListEntry><Term>Description</Term>
[e189be2]2188
[6048971]2189<listitem>
[40647f5]2190<Para>
[a7e3295]2191*fix fixes the position of &lt;station&gt; at the given coordinates.
[ad5bd05]2192If you haven't specified the coordinate system with "*cs", you can
2193omit the position and it will default to (0,0,0).  The standard errors default
2194to zero (fix station exactly).  cavern will give an error if you attempt to fix
2195the same survey station twice at different coordinates, or a warning if you fix
2196it twice with matching coordinates.
[e189be2]2197</Para>
2198
[2109b07]2199<Para>
2200You can also specify just one standard error (in which case it is assumed
2201equal in X, Y, and Z) or two (in which case the first is taken as the
2202standard error in X and Y, and the second as the standard error in Z).
2203</Para>
2204
[dab6a62]2205<Para>
2206If you have covariances for the fix, you can also specify these - the
[f9dc4a0]2207order is cov(x,y) cov(y,z) cov(z,x).
2208</Para>
2209
2210<Para>
2211You can fix as many stations as you like - just use a *fix command for each
2212one.  Cavern will check that all stations are connected to
2213at least one fixed point so that co-ordinates can be calculated for all
2214stations.
[dab6a62]2215</Para>
2216
2217<Para>
2218By default cavern will warn about stations which have been FIX-ed but
2219not used otherwise.  This is unhelpful if you want to include a
2220standard file of benchmarks, some of which won't be used.
2221In this sort of situation, specify "REFERENCE" after the station name
2222in the FIX command to suppress this warning for a particular station.
[2109b07]2223</Para>
2224
[e74904e]2225<Note><Para>
[fe16ba3]2226X is Easting, Y is Northing, and Z is altitude.  This convention was chosen
2227since on a map, the horizontal (X) axis is usually East, and the vertical
2228axis (Y) North.  The choice of altitude (rather than depth) for Z is taken
2229from surface maps, and makes for less confusion when dealing with cave
2230systems with more than one entrance.  It also gives a right-handed
2231set of axes.
[e74904e]2232</Para></Note>
[6048971]2233
[ce92903]2234</listitem>
[6048971]2235</VarListEntry>
2236
2237<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2238
2239<!-- <VarListEntry><Term>See Also</Term>
2240
2241<listitem><Para></Para></listitem>
2242
2243</VarListEntry>
2244-->
2245
2246</VariableList>
2247
[e189be2]2248</Sect3>
2249
[6048971]2250<!--
2251<Sect3><Title></Title>
2252
2253<VariableList>
2254
2255<VarListEntry><Term>Syntax</Term>
[9e507547]2256
[6048971]2257<listitem><Para>*</Para></listitem>
2258
2259</VarListEntry>
2260
2261<VarListEntry><Term>Example</Term>
2262
2263<listitem>
2264<Para>
2265<programlisting>
2266*</programlisting>
2267</Para>
2268</listitem>
2269
2270</VarListEntry>
2271
2272<VarListEntry><Term>Description</Term>
2273
2274<listitem><Para>
2275</Para></listitem>
2276
2277</VarListEntry>
2278
2279<VarListEntry><Term>Caveats </Term> </VarListEntry>
2280
2281<VarListEntry><Term>See Also</Term>
2282
2283<listitem><Para></Para></listitem>
2284
2285</VarListEntry>
2286
2287</VariableList>
2288
2289</Sect3>
2290-->
2291
2292<Sect3><Title>FLAGS</Title>
2293
2294<VariableList>
2295
2296<VarListEntry><Term>Syntax</Term>
2297
2298<listitem><Para>*flags &lt;flags&gt;</Para></listitem>
2299
2300</VarListEntry>
2301
2302<VarListEntry><Term>Example</Term>
2303
2304<listitem>
[9e507547]2305<Para>
[6048971]2306<programlisting>
2307*flags duplicate not surface</programlisting>
[9e507547]2308</Para>
[6048971]2309</listitem>
2310
2311</VarListEntry>
2312
2313<VarListEntry><Term>Description</Term>
[9e507547]2314
[6048971]2315<listitem><Para>
2316*flags updates the current flag settings.
2317Flags not mentioned retain their previous state.  Valid flags
[3162ed8]2318are DUPLICATE, SPLAY, and SURFACE, and a flag may be preceded with NOT to
[9e507547]2319turn it off.
2320</Para>
2321
2322<Para>
2323Survey legs marked SURFACE are hidden from plots by default, and not
2324included in cave survey length calculations.  Survey legs marked as
[3162ed8]2325DUPLICATE or SPLAY are also not included in cave survey length
2326calculations; legs marked SPLAY are ignored by the extend program.
2327DUPLICATE is intended for the case when if you have two different
2328surveys along the same section of passage (for example to tie two
2329surveys into a permanent survey station); SPLAY is intended for
2330cases such as radial legs in a large chamber.
[9e507547]2331</Para>
[6048971]2332</listitem>
2333
2334</VarListEntry>
2335
2336<VarListEntry><Term>See Also</Term>
2337
2338<listitem><Para>*begin</Para></listitem>
2339
2340</VarListEntry>
2341
2342</VariableList>
[9e507547]2343
2344</Sect3>
2345
[6048971]2346<Sect3><Title>INCLUDE</Title>
2347
2348<VariableList>
2349
2350<VarListEntry><Term>Syntax</Term>
2351
2352<listitem><Para>*include &lt;filename&gt;</Para></listitem>
2353
2354</VarListEntry>
2355
2356<VarListEntry><Term>Example</Term>
[e189be2]2357
[6048971]2358<listitem>
[40647f5]2359<Para>
[6048971]2360<programlisting>
2361*include mission</programlisting>
2362
2363<programlisting>
2364*include "the pits"</programlisting>
[e189be2]2365</Para>
[6048971]2366</listitem>
[40647f5]2367
[6048971]2368</VarListEntry>
2369
2370<VarListEntry><Term>Description</Term>
2371
2372<listitem><Para>
2373*include processes &lt;filename&gt; as if it were inserted at this
[c1573d8]2374place in the current file. (i.e. The current settings are carried
[40647f5]2375into &lt;filename&gt;, and any alterations to settings in &lt;filename&gt;
[f9dc4a0]2376will be carried back again).  There's one exception to this (for
2377obscure historical reasons) which is that the survey prefix is
[cb69f36]2378restored upon return to the original file.  Since *begin and *end
[f9dc4a0]2379nesting cannot cross files, this can only make a difference if you
2380use the deprecated *prefix command.
2381</Para>
2382
2383<Para>If &lt;filename&gt; contains spaces, it must be enclosed in quotes.
[6048971]2384</Para>
[e189be2]2385
[6048971]2386<Para>An included file which does not have a complete path
[9e507547]2387is resolved relative to the directory which the parent file is in
[6af6d51]2388(just as relative HTML links do).  Cavern will try adding a <filename>.svx</filename>
[6e420ba]2389extension, and will also try translating "\" to "/".
2390And as a last
[9e507547]2391resort, it will try a lower case version of the filename (so if you
2392use Unix and someone sends you a DOS/Windows dataset with mismatched
[6af6d51]2393case, unzip it with "unzip -L" and UNIX cavern will process it).
[6048971]2394</Para>
[51c0677]2395
[f9dc4a0]2396<Para>
[63dc4eb]2397The depth to which you can nest
2398include files may be limited by the operating system
[f9dc4a0]2399you use.  Usually the limit is fairly high (>30), but if you want to be able to
[6af6d51]2400process your dataset with <Application>Survex</Application> on any supported platform, it
[f9dc4a0]2401would be prudent not to go overboard with nested include files.
2402</Para>
2403</listitem>
[6048971]2404</VarListEntry>
2405
2406</VariableList>
[40647f5]2407
[e189be2]2408</Sect3>
2409
[be1a437]2410<Sect3><Title>INFER</Title>
2411
2412<VariableList>
2413
2414<VarListEntry><Term>Syntax</Term>
2415
[3404462]2416<listitem>
2417<Para>*infer plumbs on|off</Para>
[be1a437]2418
[3404462]2419<Para>*infer equates on|off</Para>
[eb48e2b]2420
2421<Para>*infer exports on|off</Para>
[3404462]2422</listitem>
[be374fc]2423
[be1a437]2424</VarListEntry>
2425
2426<!--
2427<VarListEntry><Term>Example</Term>
2428
2429<listitem>
2430<programlisting>
2431</programlisting>
2432
2433</listitem>
2434
2435</VarListEntry>
2436-->
2437
2438<VarListEntry><Term>Description</Term>
2439
[3404462]2440<listitem>
2441<Para>"*infer plumbs on" tells cavern to interpret gradients of +/- 90
[be1a437]2442degrees as UP/DOWN (so it
2443will not apply the clino correction to them). This is useful when
2444the data has not been converted to have UP and DOWN in it.
2445</Para>
2446
[eb48e2b]2447<para>"*infer equates on" tells cavern to interpret a leg with
2448a tape reading of zero as a *equate.  this prevents tape corrections
[be374fc]2449being applied to them.
[eb48e2b]2450</para>
2451
2452<para>"*infer exports on" is necessary when you have a dataset which is
2453partly annotated with *export.  It tells cavern not to complain about
2454missing *export commands in part of the dataset.  Also stations which
2455were used to join surveys are marked as exported in the 3d file.
2456</para>
[be374fc]2457</listitem>
2458
[be1a437]2459</VarListEntry>
2460
2461<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2462
2463<!--
2464<VarListEntry><Term>See Also</Term>
2465
2466<listitem><Para>*end, *prefix</Para></listitem>
2467
2468</VarListEntry>
2469-->
2470
2471</VariableList>
2472
2473</Sect3>
2474
[e74904e]2475<Sect3><Title>INSTRUMENT</Title>
2476
2477<VariableList>
2478
2479<VarListEntry><Term>Syntax</Term>
2480
2481<listitem><Para>*instrument &lt;instrument&gt; &lt;identifier&gt;</Para></listitem>
2482
2483</VarListEntry>
2484
2485<VarListEntry><Term>Example</Term>
2486
2487<listitem>
2488<Para>
2489<programlisting>
2490*instrument compass "CUCC 2"
2491*instrument clino "CUCC 2"
2492*instrument tape "CUCC Fisco Ranger open reel"</programlisting>
2493</Para>
2494</listitem>
2495
2496</VarListEntry>
2497
2498<VarListEntry><Term>Validity</Term>
2499
2500<listitem><Para>valid at the start of a *begin/*end block.
2501</Para></listitem>
2502
2503</VarListEntry>
2504
2505<VarListEntry><Term>Description</Term>
2506
2507<listitem><Para>
2508*instrument specifies the particular instruments used to perform a
2509survey.
2510</Para></listitem>
2511
2512</VarListEntry>
2513
2514<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2515
2516<VarListEntry><Term>See Also</Term>
2517
2518<listitem><Para>*begin, *date, *team</Para></listitem>
2519
2520</VarListEntry>
2521
2522</VariableList>
2523
2524</Sect3>
2525
[6048971]2526<Sect3><Title>PREFIX</Title>
[e189be2]2527
[6048971]2528<VariableList>
2529
2530<VarListEntry><Term>Syntax</Term>
2531
2532<listitem><Para>*prefix &lt;survey&gt;</Para></listitem>
2533
2534</VarListEntry>
2535
2536<VarListEntry><Term>Example</Term>
2537
2538<listitem>
[40647f5]2539<Para>
[6048971]2540<programlisting>
2541*prefix flapjack</programlisting>
[e189be2]2542</Para>
[6048971]2543</listitem>
2544
2545</VarListEntry>
2546
2547<VarListEntry><Term>Description</Term>
2548
2549<listitem><Para>
2550*prefix sets the current survey.
2551</Para></listitem>
2552
2553</VarListEntry>
2554
2555<VarListEntry><Term>Caveats </Term>
2556
2557<listitem><Para>*prefix is deprecated - you should use *begin and *end
2558instead.</Para></listitem>
2559
2560</VarListEntry>
2561
2562<VarListEntry><Term>See Also</Term>
2563
2564<listitem><Para>*begin, *end</Para></listitem>
2565
2566</VarListEntry>
2567
2568</VariableList>
[e189be2]2569
2570</Sect3>
2571
[ce15637]2572<Sect3><Title>REF</Title>
2573
2574<VariableList>
2575
2576<VarListEntry><Term>Syntax</Term>
2577
2578<listitem><Para>*ref &lt;string&gt;</Para></listitem>
2579
2580</VarListEntry>
2581
2582<VarListEntry><Term>Example</Term>
2583
2584<listitem>
2585<Para>
2586<programlisting>
2587*ref "survey folder 2007#12"
[58e3c13]2588</programlisting>
[ce15637]2589</Para>
2590</listitem>
2591
2592</VarListEntry>
2593
2594<VarListEntry><Term>Validity</Term>
2595
2596<listitem><Para>valid at the start of a *begin/*end block.
2597</Para></listitem>
2598
2599</VarListEntry>
2600
2601<VarListEntry><Term>Description</Term>
2602
2603<listitem><Para>
[399acd6]2604*ref allows you to specify a reference.  If the reference contains spaces, you
2605must enclose it in double quotes.  Survex doesn't try to interpret the
2606reference in any way, so it's up to you how you use it - for example it could
2607specify where the original survey notes can be found.
[ce15637]2608</Para>
2609
2610<Para>
2611*ref was added in Survex 1.2.23.
2612</Para></listitem>
2613
2614</VarListEntry>
2615
2616<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2617
2618<VarListEntry><Term>See Also</Term>
2619
2620<listitem><Para>*begin, *date, *instrument, *team</Para></listitem>
2621
2622</VarListEntry>
2623
2624</VariableList>
2625
2626</Sect3>
2627
[6048971]2628<Sect3><Title>REQUIRE</Title>
[9e507547]2629
[6048971]2630<VariableList>
2631
2632<VarListEntry><Term>Syntax</Term>
2633
2634<listitem><Para>*require &lt;version&gt;</Para></listitem>
2635
2636</VarListEntry>
2637
2638<VarListEntry><Term>Example</Term>
2639
2640<listitem>
[9e507547]2641<Para>
[6048971]2642<programlisting>
2643*require 0.98</programlisting>
2644</Para>
2645</listitem>
2646
2647</VarListEntry>
2648
2649<VarListEntry><Term>Description</Term>
2650
2651<listitem><Para>
2652*require checks that the version of cavern in use is at least
2653&lt;version&gt; and stops with an error if not.
2654So if your dataset requires a feature
[9e507547]2655introduced in a particular version, you can add a *require command and
2656users will know what version they need to upgrade to, rather than
2657getting an error message and having to guess what the real problem is.
[6048971]2658</Para></listitem>
2659
2660</VarListEntry>
2661
2662</VariableList>
[9e507547]2663
2664</Sect3>
2665
[6048971]2666<Sect3><Title>SD</Title>
2667
2668<VariableList>
2669
2670<VarListEntry><Term>Syntax</Term>
[e189be2]2671
[6048971]2672<listitem><Para>*sd &lt;quantity list&gt; &lt;standard deviation&gt;
2673</Para></listitem>
2674
2675</VarListEntry>
2676
2677<VarListEntry><Term>Example</Term>
2678
2679<listitem>
[40647f5]2680<Para>
[6048971]2681<programlisting>
2682*sd tape 0.15 metres</programlisting>
[e189be2]2683</Para>
[6048971]2684</listitem>
[e189be2]2685
[6048971]2686</VarListEntry>
2687
2688<VarListEntry><Term>Description</Term>
2689
2690<listitem><Para>
2691*sd sets the standard deviation of a measurement.
[e189be2]2692</Para>
2693
[40647f5]2694<Para>
[bfd5706]2695&lt;quantity&gt; is one of (each group gives alternative names for the same
2696quantity):
[e189be2]2697</Para>
2698
[bfd5706]2699<ItemizedList>
2700    <listitem><para>TAPE, LENGTH</para></listitem>
[4f38f94]2701    <listitem><para>BACKTAPE, BACKLENGTH (added in Survex 1.2.25)</para></listitem>
[bfd5706]2702    <listitem><para>COMPASS, BEARING</para></listitem>
2703    <listitem><para>BACKCOMPASS, BACKBEARING</para></listitem>
2704    <listitem><para>CLINO, GRADIENT</para></listitem>
2705    <listitem><para>BACKCLINO, BACKGRADIENT</para></listitem>
2706    <listitem><para>COUNTER, COUNT</para></listitem>
2707    <listitem><para>DEPTH</para></listitem>
2708    <listitem><para>DECLINATION</para></listitem>
2709    <listitem><para>DX, EASTING</para></listitem>
2710    <listitem><para>DY, NORTHING</para></listitem>
2711    <listitem><para>DZ, ALTITUDE</para></listitem>
2712    <listitem><para>LEFT</para></listitem>
2713    <listitem><para>RIGHT</para></listitem>
2714    <listitem><para>UP, CEILING</para></listitem>
2715    <listitem><para>DOWN, FLOOR</para></listitem>
2716    <listitem><para>LEVEL</para></listitem>
2717    <listitem><para>PLUMB</para></listitem>
2718    <listitem><para>POSITION</para></listitem>
2719</ItemizedList>
2720
[40647f5]2721<Para>
2722&lt;standard deviation&gt; must include units and thus is typically
[63dc4eb]2723"0.05 metres", or "0.02 degrees". See *units below for full list
[6048971]2724of valid units.
[e189be2]2725</Para>
2726
[6048971]2727<!-- FIXME mention central limit theorem -->
[40647f5]2728<Para>
[6048971]2729To utilise this command fully you need to understand what a
2730<emphasis>standard deviation</emphasis> is.
2731It gives a value to the 'spread' of the errors
[c1573d8]2732in a measurement. Assuming that these are normally distributed
[770157e]2733we can say that 95.44% of the actual lengths will fall within two
[40647f5]2734standard deviations of the measured length. i.e. a tape SD of
[770157e]27350.25 metres means that the actual length of a tape measurement
2736is within + or - 0.5 metres of the recorded value 95.44% of the time.
[40647f5]2737So if the measurement is 7.34m then the actual length is very
[6048971]2738likely to be between 6.84m and 7.84m. This example corresponds
[40647f5]2739to BCRA grade 3. Note that this is just one interpretation of
[770157e]2740the BCRA standard, taking the permitted error values as 2SD 95.44%
[40647f5]2741confidence limits. If you want to take the readings as being some
[6048971]2742other limit (e.g. 1SD = 68.26%) then you will need to change the BCRA3
[c1573d8]2743and BCRA5 files accordingly. This issue is explored in more
[40647f5]2744detail in various surveying articles.
[6048971]2745<!--
27462.565 sd 99%
27472.5   sd 98.76%
27482     sd 95.44%
27491     sd 68.26%
2750.97   sd 66.67%
27511.15  sd 75%
2752-->
2753</Para></listitem>
2754
2755</VarListEntry>
2756
2757<VarListEntry><Term>See Also</Term>
2758
2759<listitem><Para>*units</Para></listitem>
2760
2761</VarListEntry>
2762
2763</VariableList>
[e189be2]2764
2765</Sect3>
2766
[6048971]2767<Sect3><Title>SET</Title>
[e189be2]2768
[6048971]2769<VariableList>
[e189be2]2770
[6048971]2771<VarListEntry><Term>Syntax</Term>
2772
2773<listitem><Para>*set &lt;item&gt; &lt;character list&gt;</Para></listitem>
2774
2775</VarListEntry>
2776
2777<VarListEntry><Term>Example</Term>
2778
2779<listitem>
[40647f5]2780<Para>
[6048971]2781<programlisting>
[21c226e]2782*set blank x09x20
[6048971]2783*set decimal ,</programlisting>
[21c226e]2784
2785Note that you need to eliminate comma from being a blank before setting it as
2786a decimal - otherwise the comma in "*set decimal ," is parsed as a blank, and
2787you set decimal to not have any characters representing it.
[e189be2]2788</Para>
[6048971]2789</listitem>
[e189be2]2790
[6048971]2791</VarListEntry>
2792
2793<VarListEntry><Term>Description</Term>
2794
2795<listitem><Para>
2796*set sets the specified &lt;item&gt; to the character or characters
[40647f5]2797given in &lt;character list&gt;. The example sets the decimal
[11f9067]2798separator to be a comma.
2799</Para>
2800
2801<Para>
2802xAB means the character with hex value AB. Eg x20 is a space.
[e189be2]2803</Para>
2804
[40647f5]2805<Para>
[11f9067]2806The complete list of items that can be set, the defaults (in
[40647f5]2807brackets), and the meaning of the item, is:
[e189be2]2808</Para>
2809
[6048971]2810<ItemizedList>
2811
2812<ListItem><Para>
[11f9067]2813BLANK (x09x20,) Separates fields
[6048971]2814</Para></ListItem>
[e189be2]2815
[6048971]2816<ListItem><Para>
[40647f5]2817COMMENT (;) Introduces comments
[6048971]2818</Para></ListItem>
[e189be2]2819
[6048971]2820<ListItem><Para>
[40647f5]2821DECIMAL (.) Decimal point character
[6048971]2822</Para></ListItem>
[e189be2]2823
[6048971]2824<ListItem><Para>
2825EOL (x0Ax0D) End of line character
2826</Para></ListItem>
[e189be2]2827
[6048971]2828<ListItem><Para>
[40647f5]2829KEYWORD (*) Introduces keywords
[6048971]2830</Para></ListItem>
[e189be2]2831
[6048971]2832<ListItem><Para>
[40647f5]2833MINUS (-) Indicates negative number
[6048971]2834</Para></ListItem>
[e189be2]2835
[6048971]2836<ListItem><Para>
[f3ac7d4]2837NAMES (_-) Non-alphanumeric chars permitted in station
2838names (letters and numbers are always permitted).
[6048971]2839</Para></ListItem>
[e189be2]2840
[6048971]2841<ListItem><Para>
[c1573d8]2842OMIT (-) Contents of field omitted (e.g. in plumbed legs)
[6048971]2843</Para></ListItem>
[e189be2]2844
[6048971]2845<ListItem><Para>
[40647f5]2846PLUS (+) Indicates positive number
[6048971]2847</Para></ListItem>
[e189be2]2848
[6048971]2849<ListItem><Para>
[b15eeda]2850ROOT (\) Prefix in force at start of current file (use of ROOT is deprecated)
[6048971]2851</Para></ListItem>
[e189be2]2852
[6048971]2853<ListItem><Para>
[40647f5]2854SEPARATOR (.) Level separator in prefix hierarchy
[6048971]2855</Para></ListItem>
2856
[eb48e2b]2857<!-- FIXME OPEN ({) and CLOSE (}) -->
[6048971]2858</ItemizedList>
[e189be2]2859
[40647f5]2860<Para>
2861The special characters may not be alphanumeric.
[e189be2]2862</Para>
[40647f5]2863
[6048971]2864</listitem>
[e189be2]2865
[6048971]2866</VarListEntry>
[e189be2]2867
[6048971]2868</VariableList>
[e189be2]2869
2870</Sect3>
2871
2872<Sect3><Title>SOLVE</Title>
[40647f5]2873
[6048971]2874<VariableList>
2875
2876<VarListEntry><Term>Syntax</Term>
2877
2878<listitem><Para>*solve</Para></listitem>
2879
2880</VarListEntry>
2881
2882<VarListEntry><Term>Example</Term>
2883
2884<listitem>
[40647f5]2885<Para>
[6048971]2886<programlisting>
2887*include 1997data
2888*solve
2889*include 1998data
2890</programlisting>
[e189be2]2891</Para>
[6048971]2892</listitem>
2893
2894</VarListEntry>
2895
2896<VarListEntry><Term>Description</Term>
2897
2898<listitem><Para>
2899Distributes misclosures around any loops in the survey and fixes
2900the positions of all existing stations.  This command is intended
2901for situations where you have some new surveys adding extensions
2902to an already drawn-up survey which you wish to avoid completely
2903redrawing. You can read in the old data, use *SOLVE to fix it, and then
2904read in the new data.  Then old stations will be in the same
[63dc4eb]2905positions as they are in the existing drawn up survey, even if new loops
[6048971]2906have been formed by the extensions.
2907</Para></listitem>
2908
2909</VarListEntry>
2910
2911</VariableList>
[40647f5]2912
[e189be2]2913</Sect3>
2914
[e74904e]2915<Sect3><Title>TEAM</Title>
[be1a437]2916
2917<VariableList>
2918
2919<VarListEntry><Term>Syntax</Term>
2920
[e74904e]2921<listitem><Para>*team &lt;person&gt; &lt;role&gt;...</Para></listitem>
[be1a437]2922
2923</VarListEntry>
2924
2925<VarListEntry><Term>Example</Term>
2926
2927<listitem>
[e74904e]2928<Para>
[be1a437]2929<programlisting>
[e74904e]2930*team "Nick Proctor" compass clino tape
2931*team "Anthony Day" notes pictures tape
[be1a437]2932</programlisting>
[e74904e]2933</Para>
[be1a437]2934</listitem>
2935
2936</VarListEntry>
[e74904e]2937
2938<VarListEntry><Term>Validity</Term>
2939
2940<listitem><Para>valid at the start of a *begin/*end block.
2941</Para></listitem>
[eb48e2b]2942<!-- FIXME valid roles are? -->
[e74904e]2943
2944</VarListEntry>
[be1a437]2945
2946<VarListEntry><Term>Description</Term>
2947
[e74904e]2948<listitem><Para>
2949*team specifies the people involved in a survey and what role they
2950filled during that trip.
2951</Para></listitem>
2952
2953</VarListEntry>
2954
2955<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
2956
2957<VarListEntry><Term>See Also</Term>
2958
2959<listitem><Para>*begin, *date, *instrument</Para></listitem>
2960
2961</VarListEntry>
2962
2963</VariableList>
[be1a437]2964
[e74904e]2965</Sect3>
2966
2967<Sect3><Title>TITLE</Title>
2968
2969<VariableList>
2970
2971<VarListEntry><Term>Syntax</Term>
2972
2973<listitem><Para>*title &lt;title&gt;</Para></listitem>
2974
2975</VarListEntry>
2976
2977<VarListEntry><Term>Example</Term>
2978
2979<listitem>
2980<programlisting>
2981*title Dreamtime</programlisting>
2982
2983<programlisting>
2984*title "Mission Impossible"</programlisting>
2985</listitem>
2986
2987</VarListEntry>
2988
2989<VarListEntry><Term>Description</Term>
2990
2991<listitem><Para>*title allows you to set the descriptive title for a survey.
2992If the title contains spaces, you need to enclose it in quotes ("").
2993If there is no *title command, the title defaults to the survey name
2994given in the *begin command.
[be1a437]2995</Para>
2996</listitem>
2997
2998</VarListEntry>
2999
3000<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
3001
3002<!--
3003<VarListEntry><Term>See Also</Term>
3004
3005<listitem><Para>*end, *prefix</Para></listitem>
3006
3007</VarListEntry>
3008-->
3009
3010</VariableList>
3011
3012</Sect3>
3013
3014<Sect3><Title>TRUNCATE</Title>
3015
3016<VariableList>
3017
3018<VarListEntry><Term>Syntax</Term>
3019
3020<listitem><Para>*truncate &lt;length&gt;|off</Para></listitem>
3021
3022</VarListEntry>
3023
[e74904e]3024<!-- FIXME:
[be1a437]3025<VarListEntry><Term>Example</Term>
3026
3027<listitem>
3028<programlisting>
3029</programlisting>
3030
3031</listitem>
3032
3033</VarListEntry>
3034-->
3035
3036<VarListEntry><Term>Description</Term>
3037
[6af6d51]3038<listitem><Para>Station names may be of any length in <Application>Survex</Application>, but some
[be1a437]3039other (mostly older) cave surveying software only regard the first few
3040characters of a name as significant (e.g. "entran" and "entrance"
3041might be treated as the same).  To facilitate using data imported from
[6af6d51]3042such a package <Application>Survex</Application> allows you to truncate names to whatever
[eb48e2b]3043length you want (but by default truncation is off).
[be1a437]3044</Para>
3045
[f9dc4a0]3046<Para>Figures for the number of characters which are significant in various
[a4458fd5]3047software packages: Compass currently has a limit of 12,
[f9dc4a0]3048CMAP has a limit of 6,
[b554a4b]3049Smaps 4 had a limit of 8,
[eb48e2b]3050<!-- FIXME any limits for other software, winkarst for example? -->
3051Surveyor87/8 used 8.
[6af6d51]3052<Application>Survex</Application> itself used 8 per prefix
[be1a437]3053level up to version 0.41, and 12 per prefix level up to 0.73 (more recent
3054versions removed this rather archaic restriction).
3055</Para>
3056</listitem>
3057
3058</VarListEntry>
3059
3060<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
3061
3062<VarListEntry><Term>See Also</Term>
3063
[e6fdc7c]3064<listitem><Para>*case</Para></listitem>
[be1a437]3065
3066</VarListEntry>
3067
3068</VariableList>
3069
3070</Sect3>
3071
[e74904e]3072<Sect3><Title>UNITS</Title>
[c1573d8]3073
[e74904e]3074<VariableList>
[9e507547]3075
[e74904e]3076<VarListEntry><Term>Syntax</Term>
3077
3078<listitem><Para>
3079*units &lt;quantity list&gt; [&lt;factor&gt;] &lt;unit&gt;
[e189be2]3080</Para>
[e74904e]3081<Para>
3082*units default
3083</Para></listitem>
3084
3085</VarListEntry>
3086
3087<VarListEntry><Term>Example</Term>
[c1573d8]3088
[e74904e]3089<listitem>
3090<Para>
3091<programlisting>
3092*units tape metres</programlisting>
3093
3094<programlisting>
[b14f44f]3095*units compass backcompass clino backclino grads</programlisting>
[e74904e]3096
3097<programlisting>
3098*units dx dy dz 1000 metres ; data given as kilometres</programlisting>
[b5283af]3099
3100<programlisting>
3101*units left right up down feet</programlisting>
[e189be2]3102</Para>
[e74904e]3103</listitem>
[c1573d8]3104
[e74904e]3105</VarListEntry>
3106
3107<VarListEntry><Term>Description</Term>
3108
3109<listitem><Para>
[b5283af]3110&lt;quantity&gt; is one of the following (grouped entries are just alternative names for the same thing):
[4f38f94]3111TAPE/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
[e189be2]3112</Para>
[c1573d8]3113
3114<Para>Changes current units of all the quantities listed to [&lt;factor&gt;]
[40647f5]3115&lt;unit&gt;. Note that quantities can be expressed either as
[fa42426]3116the instrument (e.g. COMPASS) or the measurement (e.g. BEARING).
[e189be2]3117</Para>
[c1573d8]3118
[fa42426]3119<Para>&lt;factor&gt; allows you to easy specify situations such as measuring
3120distance with a diving line knotted every 10cm (*units distance 0.1 metres).
3121If &lt;factor&gt; is omitted it defaults to 1.0.  If specified, it must be
3122non-zero.
[e189be2]3123</Para>
[c1573d8]3124
3125<Para>Valid units for listed quantities are:
[e189be2]3126</Para>
[c1573d8]3127
[4f38f94]3128<Para>TAPE/LENGTH, BACKTAPE/BACKLENGTH, COUNTER/COUNT, DEPTH, DX/EASTING, DY/NORTHING, DZ/ALTITUDE
[b5283af]3129in YARDS|FEET|METRIC|METRES|METERS (default: METRES)
[e189be2]3130</Para>
[c1573d8]3131
[b5283af]3132<Para>CLINO/GRADIENT, BACKCLINO/BACKGRADIENT
3133in DEG|DEGREES|GRADS|MILS|PERCENT|PERCENTAGE (default: DEGREES)
[e74904e]3134</Para>
3135
[b5283af]3136<Para>COMPASS/BEARING, BACKCOMPASS/BACKBEARING, DECLINATION
3137in DEG|DEGREES|GRADS|MILS|MINUTES (default: DEGREES)
[e74904e]3138</Para>
3139
3140<Para>(360 degrees = 400 grads (also known as Mils))
3141</Para>
[b5283af]3142</listitem>
[e74904e]3143
3144</VarListEntry>
3145
3146<!-- <VarListEntry><Term>Caveats </Term> </VarListEntry> -->
3147
3148<VarListEntry><Term>See Also</Term>
3149
3150<listitem><Para>*calibrate</Para></listitem>
3151
3152</VarListEntry>
3153
3154</VariableList>
[c1573d8]3155
[e189be2]3156</Sect3>
3157
3158</Sect2>
3159
3160</Sect1>
3161
[63dc4eb]3162<!-- FIXME rename to "Cookbook"? -->
[6af6d51]3163<Sect1><Title>Contents of <filename>.svx</filename> files: How do I?</Title>
[0d62afe]3164<?dbhtml filename="svxhowto.htm">
[c1573d8]3165
[40647f5]3166<Para>
[6af6d51]3167Here is some example <Application>Survex</Application> data (a very small cave numbered 1623/163):
[e189be2]3168</Para>
[fbc41c2]3169
3170<programlisting>
[40647f5]31712 1 26.60 222  17.5
31722 3 10.85 014   7
31732 4  7.89 254 -11
31744 5  2.98  - DOWN
[fbc41c2]31755 6  9.29 271 -28.5</programlisting>
3176
[40647f5]3177<Para>
3178You can vary the data ordering.  The default is:
[e189be2]3179</Para>
3180
[40647f5]3181<Para>
3182from-station to-station tape compass clino
[e189be2]3183</Para>
3184
[40647f5]3185<Para>
[6af6d51]3186This data demonstrates a number of useful features of <Application>Survex</Application>:
[e189be2]3187</Para>
3188
[40647f5]3189<Para>
3190Legs can be measured either way round, which allows the use of
[b462168]3191techniques like "leap-frogging" (which is where legs
3192alternate forwards and backwards).
[e189be2]3193</Para>
3194
[40647f5]3195<Para>
3196Also notice that there is a spur in the survey (2 to 3).  You
[6aef4f1]3197do not need to specify this specially.
[e189be2]3198</Para>
3199
[40647f5]3200<Para>
[6af6d51]3201<Application>Survex</Application> places few restrictions on station naming (see "Survey
[ff003b3]3202Station Names" in the previous section), so you can number the stations
3203as they were in the original survey notes.  Although not apparent from
3204this example, there is no requirement for each leg to connect to an
[6af6d51]3205existing station.  <Application>Survex</Application> can accept data in any order, and will
[ff003b3]3206check for connectedness once all the data has been read in.
[e189be2]3207</Para>
3208
[40647f5]3209<Para>
3210Each survey is also likely to have other information associated
3211with it, such as instrument calibrations, etc.  This has been
3212omitted from this example to keep things simple.
[e189be2]3213</Para>
3214
[40647f5]3215<Para>
3216Most caves will take more than just one survey trip to map.  Commonly
3217the numbering in each survey will begin at 1, so we need to be
3218able to tell apart stations with the same number in different
3219surveys.
[e189be2]3220</Para>
3221
[40647f5]3222<Para>
[6af6d51]3223To accomplish this, <Application>Survex</Application> has a very flexible system of hierarchical
[40647f5]3224prefixes.  All you need do is give each survey a unique name or
3225number, and enter the data like so:
[e189be2]3226</Para>
[fbc41c2]3227
3228<programlisting>
[40647f5]3229*begin 163
[e74904e]3230*export 1
[40647f5]32312 1 26.60 222  17.5
32322 3 10.85 014   7
32332 4  7.89 254 -11
32344 5  2.98  - DOWN
32355 6  9.29 271 -28.5
[fbc41c2]3236*end 163</programlisting>
3237
[6af6d51]3238<Para><Application>Survex</Application> will name the stations by attaching the current prefix.
[fbc41c2]3239In this case, the stations will be named 163.1, 163.2, etc.
[e189be2]3240</Para>
[fbc41c2]3241
[ff003b3]3242<Para>We have a convention with the CUCC Austria data that the entrance survey
3243station of a cave is named P&lt;cave number&gt;, P163 in this case. We
[fbc41c2]3244can accomplish this like so:
[e189be2]3245</Para>
[fbc41c2]3246
3247<programlisting>
[b15eeda]3248*equate P163 163.1
[e74904e]3249*entrance P163
[40647f5]3250*begin 163
[e74904e]3251*export 1
[40647f5]32522 1 26.60 222  17.5
32532 3 10.85 014   7
32542 4  7.89 254 -11
32554 5  2.98  - DOWN
32565 6  9.29 271 -28.5
[fbc41c2]3257*end 163</programlisting>
3258
[b462168]3259<Sect2><Title>Specify surface survey data</Title>
3260
3261<Para>
3262Say you have 2 underground surveys and 2 surface ones with 2 fixed reference
3263points.  You want to mark the surface surveys so that their length isn't
3264included in length statistics, and so that Aven knows to display them
3265differently.  To do this you mark surface data with the "surface" flag
3266- this is set with "*flags surface" like so:
[ce92903]3267</Para>
[b462168]3268
3269<programlisting>
3270; fixed reference points
3271*fix fix_a 12345 56789 1234
3272*fix fix_b 23456 67890 1111                                                     
3273                                                                               
3274; surface data (enclosed in *begin ... *end to stop the *flags command
3275; from "leaking" out)
3276*begin
3277*flags surface
3278*include surface1
3279*include surface2
3280*end                                                                           
3281                                                                               
3282; underground data
3283*include cave1
3284*include cave2</programlisting>
3285
3286<Para>
3287You might also have a survey which starts on the surface and heads into a
3288cave.  This can be easily handled too - here's an example which goes in
3289one entrance, through the cave, and out of another entrance:
3290</Para>
3291
3292<programlisting>
3293*begin BtoC
3294*title "161b to 161c"
3295*date 1990.08.06 ; trip 1990-161c-3 in 1990 logbook
3296
3297*begin
3298*flags surface
329902    01      3.09   249    -08.5
330002    03      4.13   252.5  -26
3301*end
3302
330304    03      6.00   020    +37
330404    05      3.07   329    -31
330506    05      2.67   203    -40.5
330606    07      2.20   014    +04
330707    08      2.98   032    +04
330808    09      2.73   063.5  +21
330909    10     12.35   059    +15
3310
3311*begin
3312*flags surface
331311    10      4.20   221.5  -11.5
331411    12      5.05   215    +03.5
331511    13      6.14   205    +12.5
331613    14     15.40   221    -14
3317*end
3318
3319*end BtoC</programlisting>
3320
3321<Para>
3322Note that to avoid needless complication, Survex regards each leg as
3323being either "surface" or "not surface" - if a leg spans the boundary you'll
3324have to call it one or the other.  It's good surveying practice to
3325deliberately put a station at the surface/underground interface
3326(typically the highest closed contour or drip line) so this generally
3327isn't an onerous restriction.
3328</Para>
3329
3330</Sect2>
3331
[e189be2]3332<Sect2><Title>Specify the ordering and type of data</Title>
3333
[e74904e]3334<Para>The *DATA command is used to specify the data style, and the
3335order in which the readings are given.</Para>
[e189be2]3336
3337</Sect2>
3338
[1a50c3c]3339<Sect2><Title>Deal with Plumbs or Legs Across Static Water</Title>
[e189be2]3340
[1a50c3c]3341<!-- FIXME
[40647f5]3342<Para>
[1a50c3c]3343They can be given
[40647f5]3344as +90, or -90, but as they are not usually measured with the
3345clino, but with a plumb of some sort, then it is useful to distinguish
3346them in this way so that any clino adjustment is not applied to
3347these values.
[e189be2]3348</Para>
3349
[63dc4eb]3350FIXME: paste in section from mail to list
3351
[40647f5]3352<Para>
[4eba0d9]3353Note that a similar effect can be achieved by using the "*infer plumbs" command
3354to stop clino corrections being applied to -90 and +90 clino readings.
[e189be2]3355</Para>
[1a50c3c]3356-->
[e189be2]3357
[40647f5]3358<Para>
[eb48e2b]3359Plumbed legs should be given using 'UP' or 'DOWN' in place of the
[1a50c3c]3360clino reading and a dash (or a different specified 'OMIT' character)
3361in place of the compass reading.  This distinguishes
3362them from legs measured with a compass and clino.  Here's an example:
[e189be2]3363</Para>
[fbc41c2]3364
3365<programlisting>
[40647f5]33661 2 21.54 - UP
33673 2 7.36 017 +17
33683 4 1.62 091 +08
[fbc41c2]33695 4 10.38 - DOWN</programlisting>
3370
[e189be2]3371<Para>
[eb48e2b]3372U/D or +V/-V may be used instead of UP/DOWN; the check is not case
[1a50c3c]3373sensitive.
[e189be2]3374</Para>
3375
[4eba0d9]3376<Para>
3377Legs surveyed across the surface of a static body of water where no
3378clino reading is taken (since the surface of the water can be assumed
3379to be flat) can be indicated by using LEVEL in place of a clino reading.
[1a50c3c]3380This prevents the clino correction being applied.  Here's an example:
[4eba0d9]3381</Para>
3382
3383<programlisting>
33841 2 11.37 190 -12
33853 2  7.36 017 LEVEL
33863 4  1.62 091 LEVEL</programlisting>
3387
[e189be2]3388</Sect2>
[fbc41c2]3389
[e189be2]3390<Sect2><Title>Specify a BCRA grade</Title>
[40647f5]3391
[fbc41c2]3392<Para>The *SD command can be used to specify the standard deviations of the
3393various measurements (tape, compass, clino, etc).  Examples files are
3394supplied which define BCRA Grade 3 and BCRA Grade 5 using a number of *sd
[eb48e2b]3395commands. You can use these by simply including them at the relevant point,
3396as follows:
[e189be2]3397</Para>
[fbc41c2]3398
3399<programlisting>
[40647f5]3400*begin somewhere
3401; This survey is only grade 3
3402*include grade3
34032 1 26.60 222  17.5
34042 3 10.85 014   7
3405; etc
[fbc41c2]3406*end somewhere</programlisting>
3407
3408<Para>The default values for the standard deviations are those for
[6aef4f1]3409BCRA grade 5. Note that it is good practice to keep the *include
[c1573d8]3410Grade3 within *Begin and *End commands otherwise it will apply
[40647f5]3411to following survey data, which may not be what you intended.
[e189be2]3412</Para>
3413
3414</Sect2>
[40647f5]3415
[e189be2]3416<Sect2><Title>Specify different accuracy for a leg</Title>
[fbc41c2]3417
[c1573d8]3418<Para>For example, suppose the tape on the plumbed leg in this survey
[1a50c3c]3419is suspected of being less accurate than the rest of the survey because
3420the length was obtained by measuring the length of the rope used to rig
3421the pitch.  We can set a higher sd for this one measurement and use a
3422*begin/*end block to make sure this setting only applies to the one
3423leg:
[e189be2]3424</Para>
[fbc41c2]3425
3426<programlisting>
[40647f5]34272 1 26.60 222  17.5
34282 3 10.85 014   7
34292 4  7.89 254 -11
3430*begin
[1a50c3c]3431; tape measurement was taken from the rope length
[40647f5]3432*sd tape 0.5 metres
[1a50c3c]34334 5  34.50 - DOWN
[40647f5]3434*end
[1a50c3c]34355 6  9.29 271 -28.5</programlisting>
[fbc41c2]3436
[eb48e2b]3437<!-- FIXME also *calibrate and *instrument? Except rope is measure with the
3438tape... -->
[e189be2]3439</Sect2>
3440
[fbf7fa0]3441<Sect2><Title>Enter Repeated Readings</Title>
3442
3443<Para>If your survey data contains multiple versions of each leg (for example,
3444pockettopo produces such data), then provided these are adjacent to one another
3445Survex 1.2.17 and later will automatically average these and treat them as a
3446single leg.
3447</Para>
3448
3449</Sect2>
3450
[ff003b3]3451<Sect2><Title>Enter Radiolocation Data</Title>
[fbc41c2]3452
[a4458fd5]3453<!-- FIXME comments from David Gibson here -->
[5b5a89f]3454<Para>This is done by using the *SD command to specify the appropriate
3455errors for the radiolocation `survey leg' so that the loop closure
3456algorithm knows how to distribute errors if it forms part of a loop.
3457</Para>
3458
3459<Para>The best approach for a radiolocation where the underground station
3460is vertically below the surface station is to represent it as a
3461plumbed leg, giving suitable SDs for the length and plumb angle. The
3462horizontal positioning of this is generally quite accurate, but the
3463vertical positioning may be much less well known. E.g: we have a
3464radiolocation of about 50m depth +/- 20m and horizontal accuracy of
3465+/- 8m. Over 50m the +/-8m is equivalent to an angle of 9 degrees, so
3466that is the expected plumb error. 20m is the expected error in the
[e74904e]3467length. To get the equivalent SD we assume that 99.74% of readings will
[5b5a89f]3468be within 3 standard deviations of the error value. Thus we divide the
3469expected errors by 3 to get the SD we should specify:
[eb48e2b]3470</Para> <!-- 3 SD? or same as BCRA3.SVX, etc -->
[fbc41c2]3471
3472<programlisting>
[5b5a89f]3473*begin
[e74904e]3474*sd length 6.67 metres
[5b5a89f]3475*sd plumb 3 degrees
3476surface underground 50 - down
[e74904e]3477*end</programlisting>
[5b5a89f]3478
3479<Para>
[e74904e]3480We wrap the radiolocation leg in a *begin/*end block to make
[5b5a89f]3481sure that the special *sd settings only apply to this one leg.
3482</Para>
[fbc41c2]3483
3484<Para>For more information on the expected errors from radiolocations
[b462168]3485see Compass Points Issue 10, available online at
3486<ulink url="http://www.chaos.org.uk/survex/cp/CP10/CPoint10.htm">http://www.chaos.org.uk/survex/cp/CP10/CPoint10.htm</ulink>
[e189be2]3487</Para>
3488
3489</Sect2>
[fbc41c2]3490
[e189be2]3491<Sect2><Title>Enter Diving Data</Title>
[fbc41c2]3492
[0706076]3493<Para>Surveys made underwater using a diver's depth gauge can be
3494processed - use the *Data command to specify that the following data
3495is of this type.
[e189be2]3496</Para>
3497
3498</Sect2>
[fbc41c2]3499
[e189be2]3500<Sect2><Title>Enter Theodolite data</Title>
[fbc41c2]3501
[e74904e]3502<Para>
3503Theodolite data with turned angles is not yet explicitly catered
3504for, so for now you will need to convert it into equivalent legs in
3505another style - normal or cylpolar are likely to be the best choices.
3506</Para>
3507
3508<Para>
3509If there is no vertical info in your theodolite data then you should
3510use the cylpolar style and use *sd command to specify very low
3511accuracy (high SD) in the depth so that the points will move in the
3512vertical plane as required if the end points are fixed or the survey
3513is part of a loop.
[e189be2]3514</Para>
3515
3516</Sect2>
3517
3518</Sect1>
[fbc41c2]3519
[e189be2]3520<Sect1><Title>General: How do I?</Title>
[0d62afe]3521<?dbhtml filename="genhowto.htm">
[fbc41c2]3522
[e189be2]3523<Sect2><Title>Create a new survey</Title>
[fbc41c2]3524
3525<Para>You simply create a text file containing the relevant survey data,
[6af6d51]3526using a text editor, and save it with a suitable name with a <filename>.svx</filename>
[e6aa3b1]3527extension. The
[40647f5]3528easiest way is to look at some of the example data and use that
3529as a template. Nearly all surveys will need a bit of basic info
[e6aa3b1]3530as well as the survey data itself: e.g. the date (*date), comments
3531about where, what cave, a name for the survey (using *begin and *end),
3532instrument error corrections etc. Here is a typical survey file:
[e189be2]3533</Para>
[fbc41c2]3534
3535<Para>All the lines starting with ';' are comments, which are ignored
[6af6d51]3536by <Application>Survex</Application>. You can also see the use of 'DOWN' for plumbs, and
[b462168]3537*calibrate tape for dealing with a tape length error (in this case
3538the end of the tape had fallen off so measurements were made from the
353920cm point).</Para>
[40647f5]3540
[fbc41c2]3541<programlisting>
[e74904e]3542*equate chaos.1 triassic.pt3.8
3543*equate chaos.2 triassic.pt3.9
3544
3545*begin chaos
3546*title "Bottomless Pit of Eternal Chaos to Redemption pitch"
3547*date 1996.07.11
3548*team "Nick Proctor" compass clino tape
3549*team "Anthony Day" notes pictures tape
3550*instrument compass "CUCC 2"
3551*instrument clino "CUCC 2"
[40647f5]3552;Calibration: Cairn-Rock 071 072 071,  -22 -22 -22
3553;       Rock-Cairn 252 251 252,  +21 +21 +21
3554;Calibration at 161d entrance from cairn nr entrance to
3555;prominent rock edge lower down. This is different from
3556;calibration used for thighs survey of 5 July 1996
[e74904e]3557
3558*export 1 2
3559
[40647f5]3560;Tape is 20cm too short
3561*calibrate tape +0.2
[e74904e]3562
[40647f5]35631 2 9.48 208 +08
35642 3 9.30 179 -23
35653 4 2.17 057 +09
35665 4 10.13 263 +78
35675 6 2.10 171 -73
35687 6 7.93 291 +75
[e74904e]3569*begin
[40647f5]3570*calibrate tape 0
35718 7 35.64 262 +86 ;true length measured for this leg
[e74904e]3572*end
[40647f5]35738 9 24.90 - DOWN
357410 9 8.61 031 -43
357510 11 2.53 008 -34
357611 12 2.70 286 -20
357713 12 5.36 135 +23
357814 13 1.52 119 -12
357915 14 2.00 036 +13
358016 15 2.10 103 +12
358117 16 1.40 068 -07
358217 18 1.53 285 -42
358319 18 5.20 057 -36
358419 20 2.41 161 -67
358520 21 27.47 - DOWN
358621 22 9.30 192 -29
[fbc41c2]3587*end chaos</programlisting>
[40647f5]3588
[e189be2]3589</Sect2>
3590
3591<Sect2><Title>Join surveys together</Title>
[fbc41c2]3592
3593<Para>Once you have more than one survey you need to specify how they
[e74904e]3594link together. To do this use *export to make the stations to be
3595joined accessible in the enclosing survey, then *equate in the
3596enclosing survey to join them together.
3597<!-- FIXME example -->
[e189be2]3598</Para>
3599
3600</Sect2>
[40647f5]3601
[e189be2]3602<Sect2><Title>Organise my surveys</Title>
[fbc41c2]3603
3604<Para>This is actually a large subject. There are many ways you can
[6af6d51]3605organise your data using <Application>Survex</Application>. Take a look at the example dataset
[40647f5]3606for some ideas of ways to go about it.
[e189be2]3607</Para>
[40647f5]3608
[e189be2]3609<Sect3><Title>Fixed Points (Control Points)</Title>
[fbc41c2]3610
[f9dc4a0]3611<Para>The *fix command is used to specify fixed points (also know as control
3612points).  See the description of this command in the "Cavern Commands"
3613section of this manual.
[e189be2]3614</Para>
3615
3616</Sect3>
[fbc41c2]3617
[e189be2]3618<Sect3><Title>More than one survey per trip</Title>
[fbc41c2]3619
3620<Para>Suppose you have two separate bits of surveying which were done on the
3621same trip.  So the calibration details, etc. are the same for both.  But you
[e74904e]3622want to give a different survey name to the two sections.  This is easily
[fbc41c2]3623achieved like so:
[e189be2]3624</Para>
[fbc41c2]3625
3626<programlisting>
[40647f5]3627*begin
3628*calibrate compass 1.0
3629*calibrate clino 0.5
3630*begin altroute
3631; first survey
3632*end altroute
3633*begin faraway
3634; second survey
3635*end faraway
[fbc41c2]3636*end</programlisting>
[40647f5]3637
[e189be2]3638</Sect3>
3639
3640</Sect2>
3641
[419befc]3642<Sect2><Title>Add surface topography</Title>
[fbc41c2]3643
[705aaedd]3644<Para>Survex 1.2.18 added support for loading terrain data and rendering it as
[c0a12f9]3645a transparent surface.  Currently the main documentation for this is maintained
3646as a <ulink url="https://trac.survex.com/wiki/TerrainData">wiki page</ulink>
3647as this allows us to update it between releases.
[705aaedd]3648</Para>
3649
3650<Para>
3651We recommend using this new code in preference, but previously the simplest
3652approach was to generate a <filename>.svx</filename> file with the surface mesh
3653in and display it with the survey data.
[f9dc4a0]3654</Para>
3655
3656<Para>
3657It is possible to generate
[705aaedd]3658a mesh or contours overlaying your area by various means.  NASA have made
36591 arc-second (approximately 30m) terrain data available for the USA for
3660some years, with only 3 arc-second data available for other countries.
3661However, starting in 2014 they're gradually making 1 arc-second data
3662available for more countries.
3663</Para>
3664
3665<Para>
3666If you want a better resolution that this, reading heights from the
[f9dc4a0]3667contours on a map is one approach.  It's laborious, but feasible for
3668a small area.
3669</Para>
3670
3671<Para>
3672Details of several methods are given in the BCRA Cave Surveying
3673Group magazine Compass Points issue 11, available online at
3674<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>
3675</Para>
3676
[6af6d51]3677<Para>If you're using another program to generate a <filename>.svx</filename> file for the surface
[f9dc4a0]3678mesh, it's best to use the NOSURVEY data style.
3679Simply fix all the grid intersections at the correct
3680coordinates and height, and put legs between them using the NOSURVEY style.
3681Here's a grid of 4 squares and 9 intersections:
3682</Para>
3683
3684<programlisting>
3685*fix 00 000 000 1070
3686*fix 01 000 100 1089
3687*fix 02 000 200 1093
3688
3689*fix 10 100 000 1062
3690*fix 11 100 100 1080
3691*fix 12 100 200 1089
3692
3693*fix 20 200 000 1050
3694*fix 21 200 100 1065
3695*fix 22 200 200 1077
3696
[27b8b59]3697*data nosurvey station
[f9dc4a0]3698
[27b8b59]369900
370001
370102
[f9dc4a0]3702
[27b8b59]370310
370411
370512
[f9dc4a0]3706
[27b8b59]370720
370821
370922
[f9dc4a0]3710
[27b8b59]371100
371210
371320
[f9dc4a0]3714
[27b8b59]371501
371611
371721
[f9dc4a0]3718
[27b8b59]371902
372012
372122</programlisting>
[f9dc4a0]3722
3723<Para>
3724This is far simpler than trying to create fake tape/compass/clino legs of
[eb48e2b]3725the right length for each line in the mesh.  It's also very fast to process
[f9dc4a0]3726with cavern.
3727</Para>
3728
[e189be2]3729</Sect2>
3730
3731<Sect2><Title>Overlay a grid</Title>
[fbc41c2]3732
[f9dc4a0]3733<Para>Aven is able to display a grid, but this functionality isn't currently
[4e8d288]3734available in printouts.
[6af6d51]3735You can achieve a similar effect for now by creating a <filename>.svx</filename> file
[e74904e]3736where the survey legs form a grid.
[e189be2]3737</Para>
[fbc41c2]3738
[e189be2]3739</Sect2>
3740
3741<Sect2><Title>Import data from other programs</Title>
[fbc41c2]3742
[6af6d51]3743<Para><Application>Survex</Application> supports a number of features to help with importing
[fbc41c2]3744existing data. You can specify the ordering of items on a line using *Data
[6af6d51]3745(see <Application>Survex</Application> Keywords above), and you can specify the characters used
3746to mean different things using *Set (see <Application>Survex</Application> Keywords above).
[e189be2]3747</Para>
[fbc41c2]3748
[c1573d8]3749<Para>The Ignore and Ignoreall options to the *Data command are often
[fbc41c2]3750particularly useful, e.g. if you have a dataset with LRUD info or comments
3751on the ends of lines.
[e189be2]3752</Para>
[fbc41c2]3753
[e6aa3b1]3754<Sect3><Title>Changing Meanings of Characters</Title>
[fbc41c2]3755
[e6aa3b1]3756<Para>e.g. if you have some data with station names containing the
3757characters '?' and '+' (which are not permitted in a name by default)
3758then the command:
[e189be2]3759</Para>
[fbc41c2]3760
3761<programlisting>
[e6aa3b1]3762*SET NAMES ?+</programlisting>
[fbc41c2]3763
[e189be2]3764<Para>
[e6aa3b1]3765specifies that question marks and plus signs are permitted in station names.
3766A-Z, a-z, and 0-9 are always permitted. '_' and '-' are also permitted by
3767default, but aren't in this example.
[e189be2]3768</Para>
[fbc41c2]3769
3770<Para>If your data uses a comma ',' instead of a decimal point, then
[40647f5]3771you use
[e189be2]3772</Para>
[fbc41c2]3773
3774<programlisting>
3775*SET DECIMAL ,</programlisting>
3776
3777<Para>to specify that ',' is now the decimal separator instead of '.'.
[e189be2]3778</Para>
[fbc41c2]3779
[e74904e]3780<!-- FIXME
[fbc41c2]3781<Para>Note that there are plenty of ways you can use this facility to
[6aef4f1]3782completely confuse the software, as it may not be able to work out what is
[c1573d8]3783going on, or it may simply be ambiguous. It can cope with some ambiguity (e.g.
[6aef4f1]3784the '-' character is used both for 'MINUS' and for 'OMIT'), but there are
[6af6d51]3785limits. If you have a dataset that you can not make <Application>Survex</Application>
[6aef4f1]3786understand, then send it to us, and we will see what can be done.
[e189be2]3787</Para>
[e74904e]3788-->
[e189be2]3789
3790</Sect3>
[fbc41c2]3791
[49920d0]3792<!--
3793 Nobody seems to have the CfH convertor...
3794 but it's probably no longer useful anyway
3795
[e189be2]3796<Sect3><Title>Other Converters</Title>
[fbc41c2]3797
3798<Para>We have an Excel 5 macro for converting The Lotus 123 spreadsheets
[40647f5]3799used by the German survey software Cad F&uuml;r H&ouml;hlen into
[6af6d51]3800<Application>Survex</Application> data files. Other converters may also come to be available.
[ff003b3]3801These will normally be available via the
[d417499]3802<ulink url="https://survex.com/"><Application>Survex</Application> Web pages</ulink>.
[e189be2]3803</Para>
3804
3805</Sect3>
[dcc1947]3806-->
3807
[e189be2]3808</Sect2>
[40647f5]3809
[6af6d51]3810<Sect2><Title>Export data from <Application>Survex</Application></Title>
[fbc41c2]3811
[e6aa3b1]3812<Para>See Rosetta Stal in the Related Tools section of the Survex web
[eb48e2b]3813site.  This is a utility written by Taco van Ieperen and Gary Petrie.
3814Note though that this only supports a subset of the svx format,
3815and only work on Microsoft Windows.  The Survex support is limited
3816and doesn't understand the more recently added commands.</Para>
[e189be2]3817
3818</Sect2>
[40647f5]3819
[e189be2]3820<Sect2><Title>See errors and warnings that have gone off the screen</Title>
[fbc41c2]3821
[6af6d51]3822<Para>When you run <Application>Survex</Application> it will process the specified survey data
[e74904e]3823files in order, reporting any warnings and errors.  If there are no
3824errors, the output files are written and various statistics about the
3825survey are displayed. If there are a lot of warnings or errors, they can
3826scroll off the screen and it's not always possible to scroll back to
3827read them.
[e189be2]3828</Para>
[fbc41c2]3829
[e74904e]3830<Para>The easiest way to see all the text is to use <command>cavern
3831--log</command> to redirect output to a <filename>.log</filename> file,
3832which you can then inspect with a text editor.
[e189be2]3833</Para>
3834
[38335b7]3835<!-- <command>cavern cavename &gt; tmpfile</command> -->
[fbc41c2]3836
[e189be2]3837</Sect2>
3838
3839<Sect2><Title>Create an Extended Elevation</Title>
[fbc41c2]3840
[6af6d51]3841<Para>Use the Extend program. This takes <filename>.3d</filename> files and
[c1573d8]3842'flattens' them.  See 'Extend' for details.
[e189be2]3843</Para>
3844
3845</Sect2>
[fbc41c2]3846
[e189be2]3847</Sect1>
3848
[6048971]3849<!--
[e189be2]3850<Sect1><Title>Appendices</Title>
[0d62afe]3851<?dbhtml filename="appendix.htm">
[fbc41c2]3852
3853<Para>Files provided
[e189be2]3854</Para>
[fbc41c2]3855
3856<Para>Command specification
[e189be2]3857</Para>
3858
3859</Sect1>
[6048971]3860-->
[b462168]3861<Sect1><Title>Working with Larry Fish's Compass</Title>
[0d62afe]3862<?dbhtml filename="compass.htm">
[b462168]3863
3864<Para>
3865Survex can read Compass survey data - both raw data (.DAT and .MAK
3866files) and processed survey data (.PLT and .PLF files).  You can even
[6af6d51]3867use <command>*include compassfile.dat</command> in a <filename>.svx</filename> file and
[b462168]3868it'll work!
3869</Para>
3870
3871<Para>
3872One point to note (this tripped us up!): station names in DAT files are
3873case sensitive and so Survex reads DAT files with the equivalent of
3874<command>*case preserve</command>.  The default in SVX files is
3875<command>*case lower</command>.  So this won't work:
3876
3877<programlisting>
3878*fix CE1 0 0 0
3879*include datfilewhichusesCE1.dat</programlisting>
3880
3881Because the CE1 in the *fix is actually interpreted as ce1.  This is
3882what you have to do:
3883
3884<programlisting>
3885*begin
3886*case preserve
3887*fix CE1 0 0 0
3888*include datfilewhichusesCE1.dat
3889*end</programlisting>
3890</Para>
3891
3892</Sect1>
[40647f5]3893
[e189be2]3894<Sect1><Title>Mailing List</Title>
[0d62afe]3895<?dbhtml filename="maillist.htm">
[40647f5]3896
[8ed91e39]3897<Para>The best way to contact the authors and other Survex users is the
3898Survex mailing list - for details visit:
[d417499]3899<ulink url="https://survex.com/maillist.html">https://survex.com/maillist.html</ulink>
[e189be2]3900</Para>
[40647f5]3901
[6af6d51]3902<Para>We'd be delighted to hear how you get on with <Application>Survex</Application> and
[018db6f]3903welcome comments and suggestions for improvements.</Para>
3904
3905<Para>
[6af6d51]3906And we'd love you to contribute your skills to help make <Application>Survex</Application> even
[018db6f]3907better.  Point out areas of the documentation which could be made clearer, or
3908sections which are missing entirely.  Download test releases, try them out, and
3909let us know if you find problems or have suggestions for improvements.
3910If there's no translation to your language, you could provide one.
[6c33e75]3911Or if you're a developer, <emphasis>"Say it with code"</emphasis>.  There's
[018db6f]3912plenty to do, so feel free to join in.
3913</Para>
3914
[e189be2]3915</Sect1>
3916
[375f7f6]3917<Sect1><Title>Future Developments</Title>
[0d62afe]3918<?dbhtml filename="future.htm">
[40647f5]3919
3920<Para>
[6af6d51]3921Now that <Application>Survex</Application> has reached version 1.0, we are continuing progress
[b462168]3922towards version 2, in a series of steps, evolving out of
3923Survex 1.0.  The GUI framework is being based on aven, with
[6048971]3924the printer drivers and other utility programs being pulled in
3925and integrated into the menus.</Para>
3926
[6af6d51]3927<Para>Aven is built on <Application>wxWidgets</Application>, which means that it can easily support
[8ed91e39]3928Unix, Microsoft Windows, and Mac OS X.</Para>
[6048971]3929
[b462168]3930<Para>More information on our plans is on the <ulink
[d417499]3931url="https://survex.com/">web site</ulink>.
[e189be2]3932</Para>
3933
[647407d]3934</Sect1>
[375f7f6]3935
[6eadc5b]3936</article>
Note: See TracBrowser for help on using the repository browser.