SURVEYCALC — Survey calculations
Radiation, intersection and resection, adjusted traverse, Helmert or affine transformation and areas, with a report.
- Command:
SURVEYCALC· Global name:_SURVEYCALC· Alias:SCALC - Ribbon: Topography › Points
Does the office survey calculations from a field book of observations: radiation, intersection and resection, link or closed traverse (adjusted by the Bowditch rule or by least squares), 2D Helmert or affine transformation by common points, and areas and distances. The known points are the survey points of the drawing; the computed ones are created as survey points and the report is saved as text or CSV.
Usage
- Enter SURVEYCALC or click Survey calculations in the Points panel of the Survey tab.
- Choose the Calculation and the units of the Angles.
- Click Open field book… to load the field book (CSV or TXT) or the data collector file (RW5, GSI, SDR or JobXML), or type it in the dialog; it can be corrected right there.
- Click Calculate to see the report without touching the drawing, and Save report… to save it (
.txtin columns or.csvwith semicolons). - Click OK: the computed points are created (or the transformation is applied) if the check box is ticked.
Known points
The coordinates of stations and references are taken, by their number, from the survey points of the drawing (IMPORTPOINTS). Known points can restrict them to those of a POINTGROUPS group. A C line in the field book gives a point that is not in the drawing, or overrides the one in the drawing.
Field book of observations
A text file with one item per line; fields are separated by semicolons, tabs, commas or spaces (with semicolons a decimal comma is accepted) and # starts a comment. It is used for radiation, intersection, resection and traverses:
| Line | Meaning |
|---|---|
C;point;X;Y;Z | Known point (Z optional) |
E;station;i | Setup, with the instrument height; the sights that follow belong to it |
V;target;Hz;V;Sd;m;code | Sight: horizontal reading, zenith angle, slope distance, target height and code |
Only the horizontal reading is required in a sight. Without a zenith angle the distance is taken as horizontal and the point has no elevation. Horizontal readings increase clockwise and azimuths are measured from north (Y axis).
E;E1;1.52 V;R;0.0000 # reference: known point V;101;152.3350;98.4210;35.482;1.50;TREE V;102;210.0480;101.2050;61.907;1.50;KERB
Data collector files
Instead of the field book you can open the data collector file with its raw observations: station and instrument height, backsight reading, horizontal and zenith angle, distance, target height and code. The format is recognised from the content and the angle units are those of the file.
| Format | What is read |
|---|---|
| Carlson / SurvCE RW5 | MO (units, scale factor, earth curvature), SP, OC, LS, BK (backsight point, azimuth and reading), SS, TR, BD, FD, BR and FR with angle right or left, azimuth or bearing, zenith or vertical angle and slope distance, or horizontal distance with elevation change. |
| Leica GSI-8 and GSI-16 | Words 11, 21, 22, 31, 32, 33, 87 and 88, the station line (84, 85, 86 and 88), 81 to 83, 71 and 41. Angles in gons, decimal or sexagesimal degrees, as the word says. |
| Sokkia SDR33 | Records 00 (units), 02 (station), 03 (target height), 07 (orientation), 09 F1 and F2 (observations) and 08 (coordinates). |
| Trimble JobXML | StationRecord, TargetRecord and the PointRecord entries with Circle (horizontal and vertical circle and distance), and their coordinates. |
- Control: the coordinates the file gives for a point before it is observed with a distance (keyed-in points, the station, the backsight) are known points for the calculation, together with those in the drawing.
- Check: the coordinates the collector computed for the observed points are not used; at the end of the report the computed values are compared with them, point by point, with the largest horizontal and elevation difference.
- Face-two readings are converted to face one and repeated readings to the same point from one setup are averaged.
- If the collector oriented with an azimuth and the backsight has no coordinates, that azimuth is used.
- In RW5, earth curvature and refraction is applied only if the file has it on (EC1), and the file's scale factor is applied to distances unless the drawing reduces them to its projection.
The formats were checked with synthetic samples built from their public specification, not with field files: review the check in the report the first time you use files from your collector.
Calculations
- Radiation: each known station is oriented with its sights to known points (mean of the orientations) and the points sighted with a distance are computed. A radiated point can be a station further down the same field book. Elevations include the curvature and refraction correction.
- Intersection: points sighted with angles only from two or more known, oriented stations. With more than two rays, the point that fits them best, with the largest residual.
- Resection: unknown station with sights to three or more known points. With more than three it is adjusted by least squares and the report gives residuals and the error ellipse. It warns when the station lies on the danger circle.
- Traverse: the setups, in field book order, are the route. The first and last stations are known points (the same one in a closed traverse, written again at the end). The first needs a sight to another known point for orientation; if the last one has another, the angular misclosure is computed and spread equally. With Bowditch the linear misclosure is spread in proportion to the length travelled; with Least squares all directions and distances are adjusted with the A priori precision (angular, and distance in mm and ppm), and the report adds the a posteriori standard deviation, the error ellipse of each station and the residuals. If every sight between stations has a zenith angle, elevations are computed from the height differences (mean of forward and reverse) with their misclosure.
- Transformation by common points: each line is a common point,
point;X;Y(target coordinates; the source is the point of the drawing with that number) orpoint;x;y;X;Y. Helmert (rotation, scale and shift) needs at least two points and Affine, three non-collinear ones. The report gives the parameters and the residuals of each point; on accepting, the known survey points (all of them or those of the chosen group) are moved to the new coordinates. Elevations do not change. - Areas and distances: each line is a list of point numbers. With three or more, the sides (distance, azimuth and height difference), the perimeter and the area of the boundary; with two, the distance between them.
Reducing distances to the projection
The coordinates of a map projection (UTM, Lambert…) do not keep ground distances: at a height of 700 m and 200 km from the central meridian of a UTM zone, 1,000 m measured are 999.983 m on the grid. With Reduce to the projection (sea level and scale factor) the measured distances are multiplied, before computing, by the combined factor, the product of two:
- Elevation factor, which takes the distance down to sea level: R / (R + H), with R = 6,370 km and H the mean height of the known points used by the field book (those with height 0 do not count).
- Scale factor of the projection of the drawing (GEOGRAPHICLOCATION) at the centre of those points. In UTM it is 0.9996 on the central meridian and grows with the distance from it; in the other projected systems it is computed in the same way.
The option is ticked by default when the drawing has a projected coordinate system; with no system (or a geographic one) nothing is reduced. The report gives the point, the mean height and the three factors, or warns that the distances are not reduced. Height differences do not change.
Duplicate points
If a computed point has the number of a survey point that is already in the drawing, If the number already exists: decides what happens:
- Replace the point (the default): the existing one is deleted and the new one stays. Repeating a calculation does not duplicate points.
- Keep both (renumber the new one): the new one takes a free number, the one after the highest in the drawing if it is an integer and otherwise the same name with
_2,_3… - Skip (do not create the new one): the existing one stays.
In radiation and intersections, a sighted point that is already known serves as a reference and is not computed again: to recompute radiated points, limit the Known points to a group that holds only the control points.
Command line
In scripts and on the command line:
Survey calculation [Type/Notebook/Angles/Method/pRecision/reDuce/Group/rEport/pOints/dUplicates/Calculate] <Exit>:
- Type: the calculation.
Calculation type [Radiation/Forward/rEsection/Traverse/Helmert/Area]:
- Notebook: the field book file.
- Angles: gons, decimal degrees or degrees, minutes and seconds written
ddd.mmss. - Method: Bowditch or least squares for the traverse; Helmert or affine for the transformation.
- pRecision: three numbers, the angular precision (in seconds of the chosen unit), the distance precision in mm and the ppm.
- reDuce: whether distances are reduced to the projection (if not given, yes when the drawing has a projected system).
Reduce the distances to the projection (sea level and scale factor)? [Yes/No]:
- Group: the point groups that supply the known points (
*: all points). - rEport: the file the report is written to when calculating.
- pOints: whether the computed points are created (or the transformation applied).
- dUplicates: what to do with computed points whose number already exists (if not given, they are replaced).
Computed points whose number already exists in the drawing [Replace/reNumber/Skip]:
- Calculate: computes, shows the report and ends.
For example, a least squares traverse with its report: SURVEYCALC T T N C:\job\traverse.csv M L E C:\job\traverse.txt C.
Notes
- The reduction uses a single factor for the whole calculation: far from the UTM central meridian it changes by about 5 ppm per kilometre eastwards, so jobs several kilometres long are better computed by zones. The height is the one in the drawing, without the geoid undulation (about 8 ppm for every 50 m).
- New points are created on the points layer with the first style of POINTLABELSTYLE.
- From a data collector file, RW5 deflections (DR, DL) are not read and JobXML ppm and prism constant are not applied; a file in feet is computed in feet. In GSI, observations before the first station line are assigned to station
EST. - The intermediate stations of a traverse are always computed, even if they are already in the drawing.
- The error ellipse is the standard one (39 % probability); with no redundancy it is computed from the a priori precision.
See also
IMPORTPOINTS · POINTGROUPS · EXPORTPOINTS · COORDTABLE · SURFACE