source: git/tests/cmd_fix.svx @ 9914d6b

walls-datawalls-data-hanging-as-warning
Last change on this file since 9914d6b 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: 231 bytes
Line 
1; pos=yes warn=0
2*fix A reference ; generates an info diagnostic
3*fix B reference 0 0 0
4*fix C reference 0 0 0 1.0
5*fix D reference 0 0 0 1.0 2.0
6*fix E reference 0 0 0 1.0 2.0 3.0
7*fix F reference 0 0 0 1.0 2.0 3.0 3.14 2.18 1.44
Note: See TracBrowser for help on using the repository browser.