1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
|
<!DOCTYPE html>
<html lang="en" data-content_root="./">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Bob Thrun’s CMAP — Survex 1.4.17 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=d1102ebc" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css?v=12dfc556" />
<script src="_static/documentation_options.js?v=91e0adf2"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="genindex.htm" />
<link rel="search" title="Search" href="search.htm" />
<link rel="next" title="Using the img library" href="img.htm" />
<link rel="prev" title="David McKenzie’s Walls" href="walls.htm" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
</head><body>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="bob-thrun-s-cmap">
<h1>Bob Thrun’s CMAP<a class="headerlink" href="#bob-thrun-s-cmap" title="Link to this heading">¶</a></h1>
<p>Survex can read CMAP processed survey data, commonly known as CMAP
XYZ files. CMAP no longer seems to be used, but we’ve kept the
support in place so it’s there if anyone finds old data and wants to
view it.</p>
<p>Support was added long ago (Survex 1.0.4) but you really want to use
Survex 1.4.9 or later due to a feet to metres conversion bug in all
versions before this, which scaled all returned coordinates from CMAP
XYZ files by a factor of about 10.76.</p>
<p>CMAP XYZ files contain a timestamp. CMAP was originally written for
computers where the clock was just set to localtime so it seems
likely this timestamp is in localtime, but it does not specify a
timezone. Survex assumes it’s in UTC, which is at least fairly
central in the possibilities, but may mean timestamps are off by up
to about half a day. The timestamps in example files all use two
digit years. It’s not documented how CMAP handles years 2000 and
later, so years < 50 get 2000 added to them, years 50 to 199 inclusive
get 1900 added to them, and years >= 200 are used as is (so year 0 is 2000,
year 49 is 2049, year 50 is 1950, year 99 is 1999, year 101 is 2001, and year
125 is 2025).</p>
<p>CMAP XYZ files don’t seem to contain any station flags. There’s a
single character “type” which acts as a leg flag of sorts, but it
seems the meaning is up to the user so we don’t try to interpret it.
We assume all the data is underground (so all stations get the
“underground” flag).</p>
<p>There are two variants of CMAP XYZ files. CMAP 16 and later default to
producing the “shot” variant (with extension <code class="docutils literal notranslate"><span class="pre">.sht</span></code>), which is well
supported by Survex. CMAP 16.1 was released in 1995 so you’re probably
much more likely to encounter <code class="docutils literal notranslate"><span class="pre">.sht</span></code> files.</p>
<p>Older CMAP versions produced the “station” variant (with extension
<code class="docutils literal notranslate"><span class="pre">.adj</span></code> for adjusted data and <code class="docutils literal notranslate"><span class="pre">.una</span></code> for unadjusted data). Survex only
supports reading stations from this format - the survey legs linking them
are currently ignored. This wasn’t implemented originally because
there seemed to be a mismatch between the documentation of the format of
these files and the accompanying example files which we never managed to
resolve (the <code class="docutils literal notranslate"><span class="pre">1st</span></code> column is documented as <em>“Station number where the name
of the current station first appeared. If this is not a closure station, the
number will be the current station number.”</em> but in the sample files it
seems to just be the current station number, even when there are loops).</p>
<p>Implementing reading based on what seems to be a buggy specification
really needs a broader collection of sample files. Given this format seems
to be obsolete that seems unlikely to happen now, but if you have a
collection of old CMAP files you are keen to be able to read with Survex
then please get in touch.</p>
</section>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="index.htm">Survex</a></h1>
<h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="intro.htm">Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="getstart.htm">Getting Started</a></li>
<li class="toctree-l1"><a class="reference internal" href="cmdline.htm">Survex Programs</a></li>
<li class="toctree-l1"><a class="reference internal" href="datafile.htm">Survex data files</a></li>
<li class="toctree-l1"><a class="reference internal" href="svxhowto.htm"><code class="docutils literal notranslate"><span class="pre">.svx</span></code> Cookbook</a></li>
<li class="toctree-l1"><a class="reference internal" href="genhowto.htm">General: How do I?</a></li>
<li class="toctree-l1"><a class="reference internal" href="compass.htm">Larry Fish’s Compass</a></li>
<li class="toctree-l1"><a class="reference internal" href="walls.htm">David McKenzie’s Walls</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Bob Thrun’s CMAP</a></li>
<li class="toctree-l1"><a class="reference internal" href="img.htm">Using the img library</a></li>
<li class="toctree-l1"><a class="reference internal" href="maillist.htm">Mailing List</a></li>
<li class="toctree-l1"><a class="reference internal" href="future.htm">Future Developments</a></li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="index.htm">Documentation overview</a><ul>
<li>Previous: <a href="walls.htm" title="previous chapter">David McKenzie’s Walls</a></li>
<li>Next: <a href="img.htm" title="next chapter">Using the img library</a></li>
</ul></li>
</ul>
</div>
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.htm" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
©1998-2025.
|
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.1.3</a>
& <a href="https://alabaster.readthedocs.io">Alabaster 0.7.16</a>
</div>
</body>
</html>
|