To run LEGO, you must have 1 input file (extension *.inp) that basically provides: - station names and approximate parameters (coordinates and rotations) if available - point names and approximate coordinates if available (in principle, no à priori approximate coordinate information for stations and target points is necessary; the program will generate it automatically. However, this version of LEGO can only deal with "almost" vertically set-up trackers or total stations. For the solution, the instruments may be oriented entirely arbitrarily.) - distance observations if any - height differences if any - horizontal and vertical directions (in gon) Any other information is in a parameter file (extension *.par): A parameter file is not necessarily required to run LEGO. When leveling observations are included in the observations e.g., one puts the earth model information here to correct for the curvature. LEGO is based on a true Cartesian coordinate system. The parameter file also lets you specify a model to correct tracker distances (the SMX4000 does not require this any more, this is a left over from the CMS2000 days). Model coord 2 ;vertical data will be corrected for curvature ;simple spherical model ;if coord = 1 no correction radius 6372508.02 ;radius of local best fitting sphere x1O 50000. ;coordinate system offsets (allows to easily x2O 70000. ;identify value as being x, y, or z coordinate x3O 2000. hO 65.986 ;height above geoid End Not in Datum ;in free net solution all points contribute to the TP6BQJ 0 0 0 ;datum definition. The station coordinates flagged TP7AQA 0 0 0 ; "0" are excluded from contributing to the datum. TP7AQB 0 0 0 TP7AQC 0 0 0 TP7AQD 0 0 0 TP7AQE 0 0 0 End Tracker ;tracker distance model d = ks + o TP6BQJ U F ;U unknown (thus will be fitted) TP7AQA U U ;F fixed (set to 1 for k or 0 for o) TP7AQD U U ; TP7AQE F U ;don't use for SMX4000 End To run just double click the lego_ks.exe icon. This will open a DOS window. You are then prompted for the name of the input file. It is not necessary to include the extension. Next you are asked for the solution type. -2: error propagation only (no real observations) -1: L1 norm 0: L2 norm solution only (no inversion done) 1: L2 norm with statistical output 7: another L2 norm (not recommended for speed performence) 9: end of process case0 is astripped-down version of a real survey: R7_trak The choices in the parameter file are made to demonstrate the mechanics, they do not reflect the reality of the field work.