Skip to main content

Input parameters

All parameters are optional, except poleId on viewPole.

Pole and level 1​

These are D-Calc 5's parameters, and the ones most integrations need.

ParameterTypeMeaning
poleIdtextYour ID for the pole, such as the feature's GlobalID. D-Calc uses it to recognize the pole when it's opened again, and sends it back as ${poleId}.
poleNametextThe pole's name
descriptiontextNotes
diameternumber, inLevel 1 diameter. Must be greater than 0.
Circumferencenumber, inLevel 1 circumference. Used only if diameter is absent: D-Calc divides it by π.
DistGLnumber, inLevel 1 distance from groundline. Negative is below the groundline.
SpeciestextANSI species: the name or the abbreviation (see Species)
ClasstextANSI class: H-6 to H-1, 1 to 7, 9, 10. H2 and h-2 also work.
Lengthnumber, ftANSI length: 20 to 125, in steps of 5
returnUrlURL templateWhere to send the results. See Output parameters.
projectNametextAccepted and ignored: the iOS app has no projects

:::info Species, Class and Length go together D-Calc applies Species, Class and Length only when all three are present and make a pole that exists in ANSI O5.1. Otherwise it ignores all three, and the pole opens without ANSI details. When they're applied, D-Calc fills in the species' fiber strength unless the link sets fiberStrength. :::

Everything else​

D-Calc also reads the names it writes to a return URL, so a pole can be rebuilt in full: with its other levels and its damages. If your app stores what D-Calc returned, send it back in the next link and the pole reopens as it was.

ParameterTypeMeaning
ansiSpecies, ansiClass, ansiLengthas aboveOther names for Species, Class and Length. If both are sent, Species/Class/Length win.
fiberStrengthnumber, PSIFiber strength, instead of the species default. Greater than 0.
userEmbedmentnumber, ftCustom embedment depth. Greater than 0.
isLinearTapertrue / falseLinear taper. 1/0 and yes/no also work.
dia1, dia2, dia3number, inDiameter of level 1, 2 or 3
circ1, circ2, circ3number, inCircumference of a level; used only if its dia is absent
dist_gl1, dist_gl2, dist_gl3number, inDistance from groundline of a level
l1_d1_type … l3_d4_typetextThe type of damage d (1–4) on level l (1–3). See below.
l1_d1_param1 … l3_d4_param4numberThat damage's measurements, in the order below
  • For level 1, diameter, Circumference and DistGL are used wherever dia1, circ1 and dist_gl1 aren't given.
  • A level is created only if the link has something for it. A link with levels 1 and 3 gives a pole with levels 1 and 3.
  • A damage with a missing or unknown type is skipped. A missing or out-of-range measurement (an angle outside 0–359, or a negative length) is left empty for the inspector to fill in.
  • Computed results (rsm1_net_act, msx1_org and the like) are accepted and ignored: D-Calc always recalculates.

Damage types and measurement order​

typeparam1param2param3param4
HEARTshell thickness (in)
SHELLdamage depth (in)
POCKETshell thickness (in)pocket diameter (in)angle to min shell (°)
SECTIONshell thickness (in)circumference missing (in)depth missing (in)angle to opening (°)
WEDGEcircumference missing (in)depth missing (in)angle to damage (°)
CAVITYcircumference missing (in)angle to opening (°)shell thickness at opening (in)nest diameter (in)
BOLTangle to opening (°)hole diameter (in)
SLICEdepth missing (in)width missing (in)angle to damage (°)

Types aren't case-sensitive. The order is fixed, and the same in both directions. (It isn't always the order the app shows the fields in: Cavity's angle is second here.)

Species​

Use the full name or the abbreviation. Capitals, spaces, hyphens and underscores are ignored, so douglas fir, Douglas-fir and DF are the same.

SpeciesAbbr.SpeciesAbbr.
Alaska Yellow CedarAYCRedwoodRW
Douglas-firDFSitka SpruceSS
Engelmann SpruceESSouthern PineSP
Jack PineJPWestern FirWF
Lodgepole PineLPWestern HemlockWH
Northern White CedarNWCWestern LarchWL
Ponderosa PinePPWestern Red CedarWRC
Red PineRPWhite SpruceWS

Examples​

A new pole from a feature, measured by circumference at the groundline, with ANSI details:

dcalc://createPole?poleId=A-1042&poleName=Tower%2042&Circumference=32&DistGL=0&Species=Lodgepole%20Pine&Class=3&Length=40

A pole with heart rot already entered: 29 in circumference at the groundline, a 1 in shell, Southern Pine Class 5, 35 ft. It opens at 62.4%.

dcalc://createPole?poleId=10BAC&poleName=10BAC&Circumference=29&DistGL=0&ansiSpecies=SP&ansiClass=5&ansiLength=35&l1_d1_type=HEART&l1_d1_param1=1

Two levels, with a woodpecker cavity on level 2 at 35 ft (420 in):

dcalc://createPole?poleId=T-7&dia1=14&dist_gl1=0&dia2=12.73&dist_gl2=420&l2_d1_type=CAVITY&l2_d1_param1=2&l2_d1_param2=180&l2_d1_param3=2&l2_d1_param4=6