-
Notifications
You must be signed in to change notification settings - Fork 11
Foot.inches #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Foot.inches #10
Conversation
|
Happy PR birthday! What did this stall on? It doesn't look like it was me, but if it was what do you need from me to progress? |
|
Walls syntax for this is e.g We could about as easily support Maybe we should have a I also wonder if having to specify this as a pseudo-unit is the right approach - currently that's needed because On a similar note, maybe we should allow quadrant bearings to be used as an override. There doesn't seem to be ambiguity. I looked at the discussion in #7 and we didn't seem to discuss this back then (or not in the PR at least). There's also percent scale clino readings, which could be specified as e.g. I guess partly this comes down to whether people are likely to actually mix decimal feet and feet inches, or quadrant bearings and non-quadrant bearings, or angle and percentage gradients in one data set. If not, having to specify via The main "prior art" here is that for percentage clinos I went for I think having written down my musings on the subject, I find Walls unit overrides conceptually quite nice, but being explicit as a way to catch typos and similar errors is quite persuasive against that, and in practice I doubt it's common to have much of a mix of notations for any given reading type in a single survey trip of data. |
We use .pos for other testcases, and it's more helpful because it is human readable.
We use bitmasks elsewhere for similar purposes, and they're more compact than an array of flags.
This fixes various testcases failing due to footinches handling getting arbitrarily enabled when not requested.
|
I've addressed my comments above, merged master to the branch and resolved the conflicts, then fixed some problems I noticed. The new testcase now passes. One big question I have is whether As noted above, Walls uses
|
|
Another downside of using |
|
From chat, notation recorded in-cave is |
|
I think the reason I stalled on this initially is because I was going down the nasty path of using flags (and I'm not a C developer, so I made some errors) to pass the feet-and-inch handling through the system. That's been mostly obviated by support for feet and inches in survex by way of walls data. I was trying to not box myself in if someone did I think something like My inclination: |
|
Allowing (Incidentally, I wonder if we should support quadrant bearings in grads...) In practical terms, a survey is very unlikely to use a mixture of decimal feet and feet+inches so having to bracket data leg(s) which were recorded a different way (perhaps a second longer tape or something) seems reasonable as it helps to highlight the exceptional situation, e.g.: Perhaps tapes exist with feet and inches and one side and decimal feet on the other, but if you have one you really need to pick a side to use to avoid cock-ups (and I'd think surveyors try to avoid buying such tapes). |
No description provided.