source: git/tests/csbad.svx @ cf62988

debug-cidebug-ci-sanitisersfaster-cavernloglog-selectwalls-datawalls-data-hanging-as-warning
Last change on this file since cf62988 was 26f1fb2, checked in by Olly Betts <olly@…>, 5 years ago

Adjust csbad testcase for PROJ >= 6

PROJ >= 6 uses a more accurate conversion for default for tmerc which
works for the whole world, so we specify +approx to force the old
conversion to be used. Older PROJ doesn't understand +approx but
appears to just ignore unrecognised options.

See #102.

  • Property mode set to 100644
File size: 836 bytes
Line 
1; pos=fail warn=0 error=24
2*fix 1 reference 0 0 0
3*cs EPSG:-1
4*cs ERSI:1234
5*cs EUR79Z31
6*cs IJTSK 03
7*cs IJTSK04
8*cs IJTSK99
9*cs IJTSK3
10*cs IJTSK032
11*cs IJTSK03a
12*cs lat-lat
13*cs Long-LONG
14*cs OSGB:ZZ
15*cs OSGB:HI
16*cs S-LONG
17*cs UTM0
18*cs UTM61N
19*cs UTM61S
20*cs custom "+proj=ection"
21*cs out lat-long
22*cs out long-lat
23*cs out jtsk
24*cs out jtsk03
25; Check that an error from PROJ is usefully relayed by cavern.  PROJ >= 6 uses
26; a more accurate conversion for default for tmerc which works for the whole
27; world, so we specify +approx to force the old conversion to be used.  Older
28; PROJ doesn't understand +approx but appears to just ignore unrecognised
29; options.
30*cs out custom "+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=0 +y_0=0 +ellps=airy +datum=OSGB36 +units=m +no_defs +approx"
31*cs long-lat
32*fix 2 reference 179 -89 1000
Note: See TracBrowser for help on using the repository browser.