Skip to content
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

Added new survey foot USCS group for deprecation support. #1022

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions pint/default_en.txt
Original file line number Diff line number Diff line change
Expand Up @@ -491,23 +491,41 @@ nuclear_magneton = e * hbar / (2 * m_p) = µ_N = mu_N
cubic_yard = yd ** 3 = cu_yd
@end

@group USCSLengthSurveySurveyFoot
survey_foot_link = 1e-2 * chain = li = survey_link
survey_foot = 1200 / 3937 * meter = sft
survey_foot_fathom = 6 * survey_foot
survey_foot_rod = 16.5 * survey_foot = rd = pole = perch
survey_foot_chain = 4 * rod
survey_foot_furlong = 40 * rod = fur
survey_foot_cables_length = 120 * fathom
survey_foot_survey_mile = 5280 * survey_foot = smi = us_statute_mile
survey_foot_league = 3 * survey_mile

survey_foot_square_rod = rod ** 2 = sq_rod = sq_pole = sq_perch
survey_foot_acre = 10 * chain ** 2
survey_foot_square_survey_mile = survey_mile ** 2 = _ = section
survey_foot_square_league = league ** 2

survey_foot_acre_foot = acre * survey_foot = _ = acre_feet
@end

@group USCSLengthSurvey
link = 1e-2 * chain = li = survey_link
survey_foot = 1200 / 3937 * meter = sft
fathom = 6 * survey_foot
rod = 16.5 * survey_foot = rd = pole = perch
fathom = 6 * foot
rod = 16.5 * foot = rd = pole = perch
chain = 4 * rod
furlong = 40 * rod = fur
cables_length = 120 * fathom
survey_mile = 5280 * survey_foot = smi = us_statute_mile
survey_mile = 5280 * foot = smi = us_statute_mile
league = 3 * survey_mile

square_rod = rod ** 2 = sq_rod = sq_pole = sq_perch
acre = 10 * chain ** 2
square_survey_mile = survey_mile ** 2 = _ = section
square_league = league ** 2

acre_foot = acre * survey_foot = _ = acre_feet
acre_foot = acre * foot = _ = acre_feet
@end

@group USCSDryVolume
Expand Down