Coder Social home page Coder Social logo

wallscavesurvey / walls Goto Github PK

View Code? Open in Web Editor NEW
16.0 14.0 10.0 111.27 MB

Walls cave survey software

Home Page: https://www.texasspeleologicalsurvey.org/software/walls/tsswalls.php

C 21.54% C++ 69.23% Makefile 0.89% Shell 1.26% HTML 2.42% Batchfile 0.01% Perl 0.13% Objective-C 0.36% CMake 0.05% Haxe 0.01% Assembly 1.27% SAS 0.02% CLIPS 0.01% Pascal 0.15% Ada 0.14% C# 0.62% M4 0.16% DIGITAL Command Language 0.03% Roff 1.69% Module Management System 0.02%
cave-survey

walls's People

Contributors

davidmckg avatar jedwards1211 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

walls's Issues

Parser accepts a second, undocumented angle after LRUD facing azimuth

The Walls Manual says that LRUDs can contain an optional 5th number that is facing azimuth. However, it also accepts a 6th number:

a	b	5	0	0	*1 2 3 4 100 200*

I'm guessing that when there are two azimuths, the first is the azimuth of the left wall distance and the second is the azimuth of the right wall distance. However a single azimuth is called a "facing direction", which I assume means the angle that the LRUD plane is facing, so a facing angle of 30 would mean left is toward 300 and right is toward 120. I haven't been able to confirm any of this.

Notes

Since adding a 7th number produces the error message "Too many LRUD distances", I can only assume this number is explicitly accepted.

The 6th number is clearly parsed as an angle because using an invalid unit like 200q produces the error message "Bad angle or azimuth qty", whereas an invalid unit on the first four numbers produces the error message "Wrong format for length qty".

While Walls allows the C flag as the 5th or 6th element (with or without a single facing direction), a C flag after two azimuths produces the "Too many LRUD distances" error again, which I assume is a bug.

No error message for inclination of -0

While there is nothing wrong with an inclination of -0, it is bad that Walls accepts it with no warning, because it could indicate a data entry blunder (for example, someone meant to type -0.9 but accidentally typed -0.0).

Walls accepts undocumented LRUD at station syntax

The Walls Manual has examples of specifying an LRUD at a station:

A	*3 4 5 6*

However, it also allows - to be used in the from or to station field, which is undocumented:

-	C	*3 4 5 6*
D	-	*3 4 5 6*

I can confirm it interpreted these as LRUD at station lines because it produced the non-fatal error message "LRUD at station - ignored. Facing direction can't be determined."

Feature request: VRML2 export

Currently Walls exports VRML1 which is outdated.
Need to get more clarification from Osama Gobara about how this fits into his workflow

No warning about missing LRUD measurements

Walls allows typing -- to indicate an LRUD measurement is omitted. But it also accepts less than four measurements, like *2 3 4* without warning the user. It even accepts zero measurements **, < >, etc. It also infers an omitted measurements when there are commas with no number between, like *,,,*.

This is bad because whoever entered the data may have omitted a measurement by accident. For example they may have typed *2 3 4* when they meant *2 3 4 5*, or <1,2,,4> when they meant <1,2,3,4>. There is quite a bit of questionable data in the wild because of this. Walls should warn the user and encourage them to explicitly indicate a measurement is omitted by using --.

Walls accepts # in inline note

I had thought the parser stops parsing an inline note at #, but the following compiles just fine and does create a foo segment:

#FIX	A	0	0	0	/test #14 #segment foo

Oddly enough, using something like #sege produces the confusing and untrue error message "Use only #SEG on vector lines".

Note:#FLAG directive lines allow #seg, #segment, etc. in their inline notes, and don't interpret it as an inline segment directive.

compile

the walls.sln has references to sefin project that dosn't exist
walls-master\sefin\sefin.vcxproj

exported .zip files are not compatible with Windows

For whatever, reason, .zip files exported by Walls (File > Create/Send project ZIP file...) don't open correctly on Windows; most of the files in the archive don't show up in Windows, even though all of the files extract correctly on MacOS.

This comment from Walls32/zip.cpp doesn't exactly inspire confidence:

// THIS FILE is almost entirely based upon code by info-zip.
// It has been modified by Lucian Wischik. The modifications
// were a complete rewrite of the bit of code that generates the
// layout of the zipfile, and support for zipping to/from memory
// or handles or pipes or pagefile or diskfiles, encryption, unicode.
// The original code may be found at http://www.info-zip.org
// The original copyright text follows.

So my plan is to replace it with the latest official InfoZIP code.

fix compass import

Right now compass import isn't working, because I don't have the wallcss project in this repo. I was having a bunch of compile issues with it, so I thought maybe it was incomplete.

Clarify Software License and Copyright

While David's copyright on his code remains even after his passing, the license covering the use of this source code should be decided by the appropriate parties (if it hasn't already) and should be clearly stated.

Thank you for ensuring that the legacy of his work will continue to help cavers all over the world!

Parser tolerates station names containing #, in contradiction to Walls Manual

According to the walls manual,

Unprefixed names can have a maximum of eight characters and must not contain any colons, semicolons, commas, pound signs (#), or embedded tabs or spaces.

However, the following survey data compiles just fine:

a	<1	5	90	30	*3 4 5 6*
<1,1#,10,180,0,(*,*),<4,5,6,3,100,1000>
1#,2#,5,270,0

image

Add back distance option

DistoX allows users to capture front and back compass reading. At the same time front and back distance is collected. It would be useful to add this option for distance measurements in Walls. i.e. front and back distance.

Segment colors sometimes refuse to change

Peter Sprouse reports that sometimes with certain books selected in the project tree, when he tries to change the colors for the segments he's unable to get the colors to actually change.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.