Survex 1.2.5 Manual Olly Betts Wookey $Id: manual.sgml,v 1.96.2.11 2005-10-17 04:49:04 olly Exp $ Copyright © 1998-2010 Olly Betts $Date: 2005-10-17 04:49:04 $ This is the manual for Survex - an open-source software package for cave surveyors. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Introduction This section describes what Survex is, and outlines the scope of this manual. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ About Survex Survex is a multi-platform open-source cave surveying package. Version 1.1 currently runs on UNIX, Microsoft Windows 95/NT and successors, and Mac OS X. We're investigating support for various palmtop devices. Version 1.0 has fewer features, but also runs on DOS and RISC OS machines. We are well aware that not everyone has access to super hardware - often surveying projects are run on little or no budget and any computers used are donated. We aim to ensure that Survex is feasible to use on low-spec machines. Obviously it won't be as responsive, but we intend it to be usable. Please help us to achieve this by giving us some feedback if you use Survex on a slow machine. Survex is capable of processing extremely complex caves very quickly and has a very effective, real-time cave viewer which allows you to rotate, zoom, and pan the cave using mouse or keyboard. We have tested it extensively using CUCC and ARGE's surveys of the caves under the Loser Plateau in Austria (over 11,500 survey legs, and over 66km of underground survey data). This can all be processed in a few seconds on a low-end Pentium machine. Survex is also used by many other survey projects around the world, including the Ogof Draenen survey, the Easegill resurvey project, the OFD survey, the OUCC Picos expeditions, and the Hong Meigui China expeditions. Survex is still actively being worked on. Version 1.0 was complete in some sense, but development continues - initially in reshaping Survex into a more integrated GUI package. We encourage feedback from users on important features or problems, which will help to direct future development. Contact addresses are at the end of this manual. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ About this Manual If there's a part of this manual you find hard to understand, please do let us know. We already know Survex well, so it can be hard for us to spot areas where the manual doesn't given enough information, or doesn't explain things clearly enough to follow when you don't know what's going on. It's helpful is you can suggest a better wording, but don't worry if you can't, just explain the problem as precisely as you can. The master version of this manual is an SGML document written using the docbook DTD, and automatically converted to a number of other formats. If you are going to send us major changes, it's much easier to include them if you work from this master. You can get it from the source archive (docs/manual.sgml) or from the Survex website. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Terminology Throughout this document we use British terminology for surveying. station a point in the cave that you survey from and/or to leg a line joining two stations survey a group of legs surveyed on the same trip ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Getting Started This section covers how to obtain the software, and how to unpack and install it, and how to configure it. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Obtaining Survex The latest version is available from the Survex website: http://survex.com/. If you do not have internet access or would prefer to get a copy by post, we are also happy to send out up-to-date copies on a floppy on receipt of a stamped, self-addressed envelope. See the end of this document for addresses. There's also a CD containing versions of Survex for every supported platform. You can download an image for this from the website, or we'll send you a copy on a CD-R if you send us money to cover the costs. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Installing Survex The details of installation depend greatly on what platform you are using, so there is a separate section below for each platform. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Linux We supply pre-compiled versions for x86 Linux machines in RPM format (suitable for Redhat, Mandrake, and some other distributions). Survex Debian packages are available from Debian mirror sites in the usual way. You'll need root access to install these prebuilt packages. If you don't have root access you will need to build from source (see the next section). ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Other versions of UNIX For other UNIX versions you'll need to get the source code and compile it on your system. Unpack the sources and read the file called INSTALL in the top level for details about building from source. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Microsoft Windows 95/NT and successors This version comes packaged with an installation wizard. Just run the downloaded package and it will lead you through the installation process. If installing on MS Windows NT, 2000, XP, or newer we recommend you run the installer as administrator (or as a user with administrator rights) so that the file associations can be set up for all users. The survey viewer that's part of Survex is called aven, and uses OpenGL for 3d rendering. OpenGL comes as standard as of Windows 98, and was included in the OSR2 update to Windows 95. It's also possible that you've installed OpenGL with another application already (especially a 3D game like Quake). If you can view a survey in aven, all is well. Otherwise you can download OpenGL drivers from Microsoft's website (or here's a direct link to the file you actually need). If you find that 3D rendering is sometimes very slow (e.g. one user reported very slow performance when running full screen, while running in a window was fine) then try installing the OpenGL driver supplied by the manufacturer of your graphics card rather than the driver Microsoft supply. The installer creates a Survex group in the Programs sub-menu of the Start menu containing the following items: • Aven • Documentation • Uninstall Survex Icons are installed for .svx, .3d, .err, and .pos files, and also for Compass Plot files (.plt and .plf) (which Survex can read). Double-clicking on a .svx file loads it for editing. To process it to produce a .3d file, right click and choose "Process" from the menu. Double-clicking the resultant .3d file views it in aven. All the Survex file types can be right clicked on to give a menu of possible actions. .svx Open Load file into SvxEdit Process Process file with cavern to produce .3d file (and .err file) .3d Open Load file into Aven Print Send to the printer Extend Produce extended elevation Convert to DXF Convert to a DXF file (suitable for importing into many CAD packages) Convert for hand plotting Produce a .pos file listing all the stations and their coordinates .err Open Load file into Notepad Sort by Error Sort .err file by the error in each traverse Sort by Horizontal Error Sort .err file by the horizontal error in each traverse Sort by Vertical Error Sort .err file by the vertical error in each traverse Sort by Percentage Error Sort .err file by the percentage error in each traverse Sort by Error per Leg Sort .err file by the error per leg in each traverse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Configuration Selecting Your Preferred Language Survex has extensive internationalisation capabilities. The language used for messages from Survex and most of the library calls it uses can be changed. By default this is picked up from the language the operating system is set to use (from "Regional Settings" in Control Panel on Microsoft Windows, from the LANG environment variable on UNIX If no setting is found, or Survex hasn't been translated into the requested language, UK English is used. However you may want to override the language manually - for example if Survex isn't available in your native language you'll want to choose the supported language you understand best. To do this, you set the SURVEXLANG environment variable. Here's a list of the codes currently supported: ┌─────┬──────────────────────┐ │Code │ Language │ ├─────┼──────────────────────┤ │en │International English │ ├─────┼──────────────────────┤ │en_US│US English │ ├─────┼──────────────────────┤ │ca │Catalan │ ├─────┼──────────────────────┤ │de │German │ ├─────┼──────────────────────┤ │de_CH│Swiss German │ ├─────┼──────────────────────┤ │de_DE│German German │ ├─────┼──────────────────────┤ │es │Spanish │ ├─────┼──────────────────────┤ │fr │French │ ├─────┼──────────────────────┤ │it │Italian │ ├─────┼──────────────────────┤ │pt │Portuguese │ ├─────┼──────────────────────┤ │pt_BR│Brazillian Portuguese │ ├─────┼──────────────────────┤ │sk │Slovak │ └─────┴──────────────────────┘ Here are examples of how to set this environment variable to give messages in French (language code fr): Microsoft Windows For MS Windows 95 and 98 (and probably ME), you'll need to add a line containing SET SURVEXLANG=fr to your AUTOEXEC.BAT script. You need to reboot for the change to take effect. For MS Windows NT4, 2000, and XP, you should proceed as follows (this description is written from MS Windows 2000 - it should be similar on NT4 and XP): Open the Start Menu, navigate to the Settings sub-menu, and open Control Panel. Open System (picture of a computer) and click on the Advanced tab. Choose `Environmental Variables', and create a new one: name SURVEXLANG, value fr. Click OK and the new value should be effective immediately. UNIX - csh/tcsh setenv SURVEXLANG fr UNIX - sh/bash SURVEXLANG=fr ; export SURVEXLANG If Survex isn't available in your language, you could help out by providing a translation. The initial translation is likely to be about a day's work; after that translations for new or changed messages are occasionally required. Contact us for details if you're interested. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Configuring the Printer Drivers Table of Contents print.ini -- survex printer settings Printing is now built into aven. The print.ini configuration file still exists, but is only useful if you want to configure the colours used if you have a colour printer. print.ini Name print.ini -- survex printer settings Description The print.ini file contains printer descriptions for the Survex printer drivers. File Format The format of the print.ini file is similar to the .ini files used on Microsoft Windows. The file is divided into sections, each section corresponding to a separate printer description. A section starts with a section name in square brackets, e.g. aven's built-in printer support uses the aven section: [aven] followed by some options of the form