source: git/doc/manual.sgml @ d0418ac

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

Update for 1.2.29

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