source: git/tests/omitfixaroundsolve.out

walls-data-hanging-as-warning
Last change on this file was 0ef9ce4, checked in by Olly Betts <olly@…>, 2 years ago

Make "*fix" with no coordinates an info

This used to give:

warning: FIX command with no coordinates - fixing at (0,0,0)

However it's not really reporting a problem and the ability to omit the
coordinates is a deliberate feature. It is useful for the user to know
where the "*fix" without coordinates is if they want to change the
survey to be in real coordinates, so an "info" diagnostic is a good fit.

Also if "*fix" is used twice with no coordinates we no longer omit this
diagnostic a second time right before the error:

error: Already had FIX command with no coordinates for station "x"

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[0ef9ce4]1./omitfixaroundsolve.svx:4:7: info: FIX command with no coordinates - fixing at (0,0,0)
[415a4c5]2 *fix a
[301a7d4]3       ^
[216ada0]4
5Removing trailing traverses...
6
7Concatenating traverses...
8
9Simplifying network...
10
11Calculating network...
12
13Calculating traverses...
14
15Calculating trailing traverses...
[5a45706]16./omitfixaroundsolve.svx:4: error: Already had FIX command with no coordinates for station "a"
[216ada0]17
18Removing trailing traverses...
19
20Concatenating traverses...
21
22Simplifying network...
23
24Calculating network...
25
26Calculating traverses...
27
28Calculating trailing traverses...
29
30Calculating statistics...
31
[31699b54]32Survey contains 4 survey stations, joined by 2 legs.
[216ada0]33There are 0 loops.
34Survey has 2 connected components.
[31699b54]35Total length of survey legs =  135.00m ( 135.00m adjusted)
36Total plan length of survey legs =  134.72m
37Total vertical length of survey legs =    4.64m
[6727d64]38Vertical range = 4.64m (from 0 at 2.49m to 1 at -2.15m)
39North-South range = 121.11m (from 1 at 121.11m to a at 0.00m)
40East-West range = 21.36m (from 1 at 21.36m to a at 0.00m)
41   4 1-nodes.
[0ef9ce4]42There were 0 warning(s) and 1 error(s) - no output files produced.
Note: See TracBrowser for help on using the repository browser.