Wiki page
[PROJ.6] by
sandro
2019-12-26 16:36:43.
0000: 44 20 32 30 31 39 2d 31 32 2d 32 36 54 31 36 3a D 2019-12-26T16:
0010: 33 36 3a 34 33 2e 37 31 35 0a 4c 20 50 52 4f 4a 36:43.715.L PROJ
0020: 2e 36 0a 50 20 39 63 31 33 30 37 62 65 66 31 34 .6.P 9c1307bef14
0030: 31 66 37 39 39 35 38 62 39 37 64 31 65 30 65 34 1f79958b97d1e0e4
0040: 33 39 62 62 66 65 35 66 62 35 35 33 38 0a 55 20 39bbfe5fb5538.U
0050: 73 61 6e 64 72 6f 0a 57 20 34 38 36 32 31 0a 42 sandro.W 48621.B
0060: 61 63 6b 20 74 6f 20 3c 61 20 68 72 65 66 3d 22 ack to <a href="
0070: 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 https://www.gaia
0080: 2d 67 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f 6c -gis.it/fossil/l
0090: 69 62 73 70 61 74 69 61 6c 69 74 65 2f 77 69 6b ibspatialite/wik
00a0: 69 3f 6e 61 6d 65 3d 35 2e 30 2e 30 2d 64 6f 63 i?name=5.0.0-doc
00b0: 22 3e 35 2e 30 2e 30 2d 64 6f 63 20 6d 61 69 6e ">5.0.0-doc main
00c0: 20 70 61 67 65 3c 2f 61 3e 3c 68 72 3e 3c 62 72 page</a><hr><br
00d0: 3e 0d 0a 3c 68 31 3e 49 6e 74 72 6f 64 75 63 74 >..<h1>Introduct
00e0: 69 6f 6e 3c 2f 68 31 3e 0d 0a 3c 62 3e 50 52 4f ion</h1>..<b>PRO
00f0: 4a 3c 2f 62 3e 20 69 73 20 61 20 77 65 6c 6c 2d J</b> is a well-
0100: 6b 6e 6f 77 6e 20 6c 69 62 72 61 72 79 20 66 6f known library fo
0110: 72 20 70 65 72 66 6f 72 6d 69 6e 67 20 63 6f 6e r performing con
0120: 76 65 72 73 69 6f 6e 73 20 62 65 74 77 65 65 6e versions between
0130: 20 63 61 72 74 6f 67 72 61 70 68 69 63 20 70 72 cartographic pr
0140: 6f 6a 65 63 74 69 6f 6e 73 2e 3c 62 72 3e 0d 0a ojections.<br>..
0150: 49 74 27 73 20 75 6e 69 76 65 72 73 61 6c 6c 79 It's universally
0160: 20 73 75 70 70 6f 72 74 65 64 20 62 79 20 61 6c supported by al
0170: 6d 6f 73 74 20 61 6c 6c 20 6f 70 65 6e 20 73 6f most all open so
0180: 75 72 63 65 20 47 49 53 2d 6f 72 69 65 6e 74 65 urce GIS-oriente
0190: 64 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 61 d applications a
01a0: 6e 64 20 70 61 63 6b 61 67 65 73 2c 20 73 6f 20 nd packages, so
01b0: 6d 75 63 68 20 73 6f 20 74 68 61 74 20 6d 6f 73 much so that mos
01c0: 74 20 64 6f 6e 27 74 20 65 76 65 6e 20 72 65 61 t don't even rea
01d0: 6c 69 7a 65 20 74 68 61 74 20 50 52 4f 4a 20 69 lize that PROJ i
01e0: 73 20 62 65 69 6e 67 20 75 73 65 64 20 69 6e 20 s being used in
01f0: 74 68 65 20 62 61 63 6b 67 72 6f 75 6e 64 2e 3c the background.<
0200: 62 72 3e 0d 0a 53 6f 20 61 20 73 68 6f 72 74 20 br>..So a short
0210: 68 69 73 74 6f 72 79 20 77 6f 75 6c 64 20 62 65 history would be
0220: 20 61 70 70 72 6f 70 72 69 61 74 65 20 74 6f 20 appropriate to
0230: 66 75 6c 6c 79 20 75 6e 64 65 72 73 74 61 6e 64 fully understand
0240: 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 74 61 the current sta
0250: 74 65 20 6f 66 20 74 68 65 20 61 72 74 20 6f 66 te of the art of
0260: 20 74 68 69 73 20 6c 69 62 72 61 72 79 3a 3c 62 this library:<b
0270: 72 3e 0d 0a 3c 68 33 3e 50 61 73 74 20 48 69 73 r>..<h3>Past His
0280: 74 6f 72 79 3c 2f 68 33 3e 0d 0a 3c 62 3e 3c 75 tory</h3>..<b><u
0290: 3e 54 69 6d 65 6c 69 6e 65 3c 2f 75 3e 3c 2f 62 >Timeline</u></b
02a0: 3e 3c 62 72 3e 0d 0a 56 65 72 79 20 66 65 77 20 ><br>..Very few
02b0: 75 73 65 72 73 20 61 6e 64 20 64 65 76 65 6c 6f users and develo
02c0: 70 65 72 73 20 72 65 61 6c 69 7a 65 20 68 6f 77 pers realize how
02d0: 20 61 6e 63 69 65 6e 74 20 20 50 52 4f 4a 20 69 ancient PROJ i
02e0: 73 2c 20 61 6e 64 20 68 6f 77 20 66 61 72 20 69 s, and how far i
02f0: 74 20 68 61 73 20 70 72 6f 67 72 65 73 73 65 64 t has progressed
0300: 20 73 69 6e 63 65 20 69 74 73 20 66 69 72 73 74 since its first
0310: 20 73 74 65 70 73 3a 0d 0a 3c 75 6c 3e 0d 0a 3c steps:..<ul>..<
0320: 6c 69 3e 69 6e 20 3c 62 3e 31 39 38 30 3c 2f 62 li>in <b>1980</b
0330: 3e 20 28 61 62 6f 75 74 20 34 30 20 79 65 61 72 > (about 40 year
0340: 73 20 61 67 6f 29 20 47 65 72 61 6c 64 20 45 76 s ago) Gerald Ev
0350: 65 6e 64 65 6e 20 73 74 61 72 74 65 64 20 77 6f enden started wo
0360: 72 6b 69 6e 67 20 6f 6e 20 74 68 65 20 76 65 72 rking on the ver
0370: 79 20 66 69 72 73 74 20 50 52 4f 4a 20 76 65 72 y first PROJ ver
0380: 73 69 6f 6e 2c 20 77 68 69 63 68 20 61 74 20 74 sion, which at t
0390: 68 65 20 74 69 6d 65 20 69 74 20 77 61 73 20 61 he time it was a
03a0: 20 52 61 74 66 6f 72 20 28 52 61 74 69 6f 6e 61 Ratfor (Rationa
03b0: 6c 20 46 6f 72 74 72 61 6e 29 20 70 72 6f 67 72 l Fortran) progr
03c0: 61 6d 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 69 6e am.</li>..<li>in
03d0: 20 3c 62 3e 31 39 38 35 3c 2f 62 3e 20 74 68 65 <b>1985</b> the
03e0: 20 63 6f 64 65 20 77 61 73 20 63 6f 6d 70 6c 65 code was comple
03f0: 74 65 6c 79 20 72 65 77 72 69 74 74 65 6e 20 69 tely rewritten i
0400: 6e 20 43 20 74 6f 20 72 75 6e 20 6f 6e 20 55 4e n C to run on UN
0410: 49 58 20 73 79 73 74 65 6d 73 2c 20 61 6e 64 20 IX systems, and
0420: 69 74 20 77 61 73 20 6e 61 6d 65 64 20 3c 62 3e it was named <b>
0430: 50 52 4f 4a 2e 32 3c 2f 62 3e 2e 3c 2f 6c 69 3e PROJ.2</b>.</li>
0440: 0d 0a 3c 6c 69 3e 69 6e 20 3c 62 3e 31 39 39 30 ..<li>in <b>1990
0450: 3c 2f 62 3e 20 77 61 73 20 72 65 6c 65 61 73 65 </b> was release
0460: 64 20 61 6e 20 75 70 64 61 74 65 64 20 76 65 72 d an updated ver
0470: 73 69 6f 6e 20 6e 61 6d 65 64 20 3c 62 3e 50 52 sion named <b>PR
0480: 4f 4a 2e 33 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 69 OJ.3</li>..<li>i
0490: 6e 20 3c 62 3e 31 39 39 34 3c 2f 62 3e 20 61 20 n <b>1994</b> a
04a0: 6d 6f 72 65 20 61 64 76 61 6e 63 65 64 20 76 65 more advanced ve
04b0: 72 73 69 6f 6e 20 77 61 73 20 72 65 6c 65 61 73 rsion was releas
04c0: 65 64 2c 20 61 6e 64 20 69 74 20 77 61 73 20 6f ed, and it was o
04d0: 62 76 69 6f 75 73 6c 79 20 6e 61 6d 65 64 20 3c bviously named <
04e0: 62 3e 50 52 4f 4a 2e 34 3c 2f 62 3e 3c 2f 6c 69 b>PROJ.4</b></li
04f0: 3e 0d 0a 3c 6c 69 3e 69 6e 20 3c 62 3e 31 39 39 >..<li>in <b>199
0500: 35 3c 2f 62 3e 20 45 76 65 6e 64 65 6e 20 73 74 5</b> Evenden st
0510: 6f 70 70 65 64 20 61 6e 79 20 66 75 72 74 68 65 opped any furthe
0520: 72 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 61 63 r development ac
0530: 74 69 76 69 74 79 20 61 6e 64 20 74 68 65 20 70 tivity and the p
0540: 72 6f 6a 65 63 74 20 62 65 63 6f 6d 65 20 69 6e roject become in
0550: 61 63 74 69 76 65 20 66 6f 72 20 73 65 76 65 72 active for sever
0560: 61 6c 20 79 65 61 72 73 2e 3c 2f 6c 69 3e 0d 0a al years.</li>..
0570: 3c 6c 69 3e 69 6e 20 3c 62 3e 32 30 30 30 3c 2f <li>in <b>2000</
0580: 62 3e 20 46 72 61 6e 6b 20 57 61 72 6d 65 72 64 b> Frank Warmerd
0590: 61 6d 20 62 65 63 61 6d 65 20 74 68 65 20 6e 65 am became the ne
05a0: 77 20 6d 61 69 6e 74 61 69 6e 65 72 20 61 6e 64 w maintainer and
05b0: 20 72 65 6c 65 61 73 65 64 20 76 65 72 73 69 6f released versio
05c0: 6e 20 3c 62 3e 34 2e 34 3c 2f 62 3e 3c 2f 6c 69 n <b>4.4</b></li
05d0: 3e 0d 0a 3c 6c 69 3e 41 66 74 65 72 20 74 68 69 >..<li>After thi
05e0: 73 20 72 65 62 69 72 74 68 20 6f 66 20 74 68 65 s rebirth of the
05f0: 20 70 72 6f 6a 65 63 74 2c 20 69 74 20 63 6f 6e project, it con
0600: 74 69 6e 75 65 64 20 74 6f 20 62 65 20 72 65 67 tinued to be reg
0610: 75 6c 61 72 6c 79 20 6d 61 69 6e 74 61 69 6e 65 ularly maintaine
0620: 64 2c 20 62 75 74 20 6e 6f 20 66 75 72 74 68 65 d, but no furthe
0630: 72 20 72 65 6c 65 76 61 6e 74 20 69 6d 70 72 6f r relevant impro
0640: 76 65 6d 65 6e 74 73 20 77 65 72 65 20 69 6e 74 vements were int
0650: 72 6f 64 75 63 65 64 2e 3c 62 72 3e 0d 0a 50 52 roduced.<br>..PR
0660: 4f 4a 2e 34 20 6a 75 73 74 20 63 6f 6e 74 69 6e OJ.4 just contin
0670: 75 65 64 20 77 69 74 68 6f 75 74 20 69 6e 76 6f ued without invo
0680: 6c 76 69 6e 67 20 74 6f 67 65 74 68 65 72 20 77 lving together w
0690: 69 74 68 20 6e 65 77 20 66 6f 75 6e 64 20 6b 6e ith new found kn
06a0: 6f 77 6c 65 64 67 65 2f 65 78 70 65 72 69 65 6e owledge/experien
06b0: 63 65 20 6f 66 20 74 68 65 20 6c 61 73 74 20 74 ce of the last t
06c0: 77 6f 20 64 65 63 61 64 65 73 20 2e 3c 2f 6c 69 wo decades .</li
06d0: 3e 0d 0a 3c 2f 75 6c 3e 3c 62 72 3e 0d 0a 3c 62 >..</ul><br>..<b
06e0: 3e 3c 75 3e 53 68 6f 72 74 20 63 6f 6e 63 6c 75 ><u>Short conclu
06f0: 73 69 6f 6e 3c 2f 75 3e 3c 2f 62 3e 3a 20 74 68 sion</u></b>: th
0700: 65 20 66 6f 75 72 74 68 20 76 65 72 73 69 6f 6e e fourth version
0710: 20 6f 66 20 50 52 4f 4a 20 28 61 6b 61 20 3c 62 of PROJ (aka <b
0720: 3e 50 52 4f 4a 2e 34 3c 2f 62 3e 29 20 6c 61 73 >PROJ.4</b>) las
0730: 74 65 64 20 66 6f 72 20 61 62 6f 75 74 20 74 77 ted for about tw
0740: 6f 20 64 65 63 61 64 65 73 2c 20 61 20 76 65 72 o decades, a ver
0750: 79 20 75 6e 63 6f 6d 6d 6f 6e 20 73 69 74 75 61 y uncommon situa
0760: 74 69 6f 6e 2e 3c 62 72 3e 0d 0a 41 6e 64 20 63 tion.<br>..And c
0770: 6f 6e 73 65 71 75 65 6e 74 6c 79 20 61 20 66 75 onsequently a fu
0780: 6c 6c 20 67 65 6e 65 72 61 74 69 6f 6e 20 6f 66 ll generation of
0790: 20 64 65 76 65 6c 6f 70 65 72 73 20 61 6e 64 20 developers and
07a0: 75 73 65 72 73 20 62 65 63 61 6d 65 20 73 69 6e users became sin
07b0: 63 65 72 65 6c 79 20 63 6f 6e 76 69 6e 63 65 64 cerely convinced
07c0: 20 74 68 61 74 20 50 52 4f 4a 2e 34 20 77 61 73 that PROJ.4 was
07d0: 20 74 68 65 20 72 65 61 6c 20 6e 61 6d 65 20 6f the real name o
07e0: 66 20 74 68 65 20 6c 69 62 72 61 72 79 2e 0d 0a f the library...
07f0: 3c 68 33 3e 54 68 65 20 72 65 76 6f 6c 75 74 69 <h3>The revoluti
0800: 6f 6e 20 63 6f 6d 65 73 3c 2f 68 33 3e 0d 0a 3c on comes</h3>..<
0810: 62 3e 3c 75 3e 54 69 6d 65 6c 69 6e 65 3c 2f 75 b><u>Timeline</u
0820: 3e 3c 2f 62 3e 3a 0d 0a 3c 75 6c 3e 0d 0a 3c 6c ></b>:..<ul>..<l
0830: 69 3e 69 6e 20 3c 62 3e 32 30 31 38 3c 2f 62 3e i>in <b>2018</b>
0840: 20 4b 72 69 73 74 69 61 6e 20 45 76 65 72 73 2c Kristian Evers,
0850: 20 45 76 65 6e 20 52 6f 75 61 75 6c 74 2c 20 61 Even Rouault, a
0860: 6e 64 20 6f 74 68 65 72 73 20 73 74 61 72 74 65 nd others starte
0870: 64 20 64 65 76 65 6c 6f 70 69 6e 67 0d 0a 61 20 d developing..a
0880: 72 65 76 6f 6c 75 74 69 6f 6e 69 7a 65 64 20 50 revolutionized P
0890: 52 4f 4a 20 73 75 70 70 6f 72 74 69 6e 67 20 6d ROJ supporting m
08a0: 61 6e 79 20 72 65 6c 65 76 61 6e 74 20 69 6e 6e any relevant inn
08b0: 6f 76 61 74 69 6f 6e 73 2e 3c 62 72 3e 0d 0a 3c ovations.<br>..<
08c0: 62 3e 50 52 4f 4a 2e 35 3c 2f 62 3e 20 77 61 73 b>PROJ.5</b> was
08d0: 20 69 6e 74 65 6e 64 65 64 20 74 6f 20 62 65 20 intended to be
08e0: 74 68 65 20 66 69 72 73 74 20 70 72 65 6c 69 6d the first prelim
08f0: 69 6e 61 72 79 20 73 74 65 70 20 6f 66 20 61 20 inary step of a
0900: 6d 6f 72 65 20 63 6f 6d 70 6c 65 78 20 65 76 6f more complex evo
0910: 6c 75 74 69 6f 6e 20 73 63 68 65 6d 61 2e 3c 2f lution schema.</
0920: 6c 69 3e 0d 0a 3c 6c 69 3e 6f 6e 20 3c 62 3e 4d li>..<li>on <b>M
0930: 61 72 63 68 20 32 30 31 39 3c 2f 62 3e 20 61 20 arch 2019</b> a
0940: 6d 6f 72 65 20 6d 61 74 75 72 65 20 76 65 72 73 more mature vers
0950: 69 6f 6e 20 77 61 73 20 72 65 6c 65 61 73 65 64 ion was released
0960: 2c 20 61 6e 64 20 69 74 27 73 20 3c 62 3e 50 52 , and it's <b>PR
0970: 4f 4a 2e 36 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a 3c OJ.6</b></li>..<
0980: 6c 69 3e 4e 65 78 74 20 79 65 61 72 20 28 32 30 li>Next year (20
0990: 32 30 29 20 3c 62 3e 50 52 4f 4a 2e 37 3c 2f 62 20) <b>PROJ.7</b
09a0: 3e 20 69 73 20 65 78 70 65 63 74 65 64 20 74 6f > is expected to
09b0: 20 62 65 20 72 65 6c 65 61 73 65 64 2c 20 61 6e be released, an
09c0: 64 20 74 68 75 73 20 63 6f 6d 70 6c 65 74 65 20 d thus complete
09d0: 74 68 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 62 the transition b
09e0: 65 74 77 65 65 6e 20 74 68 65 20 6f 6c 64 20 61 etween the old a
09f0: 6e 64 20 6e 65 77 20 61 72 63 68 69 74 65 63 74 nd new architect
0a00: 75 72 65 73 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c ures.</li>..</ul
0a10: 3e 0d 0a 3c 62 72 3e 0d 0a 3c 62 3e 3c 75 3e 4e >..<br>..<b><u>N
0a20: 6f 74 65 3c 2f 75 3e 3c 2f 62 3e 3a 20 74 68 65 ote</u></b>: the
0a30: 20 77 68 6f 6c 65 20 74 72 61 6e 73 69 74 69 6f whole transitio
0a40: 6e 20 72 65 71 75 69 72 65 73 20 6d 61 6e 79 20 n requires many
0a50: 72 65 6c 65 76 61 6e 74 20 63 68 61 6e 67 65 73 relevant changes
0a60: 2c 20 73 6f 20 74 68 61 74 20 61 20 64 65 65 70 , so that a deep
0a70: 6c 79 20 72 65 76 69 73 65 64 20 41 50 49 20 77 ly revised API w
0a80: 69 6c 6c 20 62 65 20 72 65 71 75 69 72 65 64 2e ill be required.
0a90: 0d 0a 49 6e 20 6f 74 68 65 72 20 77 6f 72 64 73 ..In other words
0aa0: 2c 20 74 68 65 20 6f 6c 64 20 3c 62 3e 50 52 4f , the old <b>PRO
0ab0: 4a 2e 34 3c 2f 62 3e 20 61 6e 64 20 74 68 65 20 J.4</b> and the
0ac0: 6e 65 77 20 3c 62 3e 50 52 4f 4a 2e 37 3c 2f 62 new <b>PROJ.7</b
0ad0: 3e 20 77 69 6c 6c 20 73 75 70 70 6f 72 74 20 74 > will support t
0ae0: 77 6f 20 64 69 66 66 65 72 65 6e 74 20 41 50 49 wo different API
0af0: 73 2c 20 74 68 75 73 20 61 62 72 75 70 74 6c 79 s, thus abruptly
0b00: 20 62 72 65 61 6b 69 6e 67 20 63 72 6f 73 73 2d breaking cross-
0b10: 76 65 72 73 69 6f 6e 20 63 6f 6d 70 61 74 69 62 version compatib
0b20: 69 6c 69 74 79 2e 3c 62 72 3e 0d 0a 54 68 69 73 ility.<br>..This
0b30: 20 69 73 20 75 6e 70 6c 65 61 73 61 6e 74 20 6e is unpleasant n
0b40: 65 77 73 2c 20 62 65 63 61 75 73 65 20 69 74 20 ews, because it
0b50: 70 72 61 63 74 69 63 61 6c 6c 79 20 6d 65 61 6e practically mean
0b60: 73 20 74 68 61 74 20 61 6c 6c 20 73 6f 66 74 77 s that all softw
0b70: 61 72 65 20 6d 6f 64 75 6c 65 73 20 64 65 70 65 are modules depe
0b80: 6e 64 69 6e 67 20 6f 6e 20 50 52 4f 4a 20 28 69 nding on PROJ (i
0b90: 6e 63 6c 75 64 69 6e 67 20 53 70 61 74 69 61 4c ncluding SpatiaL
0ba0: 69 74 65 29 20 77 69 6c 6c 20 72 65 71 75 69 72 ite) will requir
0bb0: 65 20 61 20 6e 6f 74 20 61 74 20 61 6c 6c 20 74 e a not at all t
0bc0: 72 69 76 69 61 6c 20 72 65 77 72 69 74 65 20 69 rivial rewrite i
0bd0: 6e 20 6f 72 64 65 72 20 74 6f 20 66 75 6c 66 69 n order to fulfi
0be0: 6c 6c 20 74 68 65 20 6e 65 77 20 41 50 49 20 72 ll the new API r
0bf0: 65 71 75 69 72 65 6d 65 6e 74 73 2e 3c 62 72 3e equirements.<br>
0c00: 0d 0a 42 75 74 20 63 6f 6e 73 69 64 65 72 69 6e ..But considerin
0c10: 67 20 74 68 61 74 20 74 68 69 73 20 69 73 20 74 g that this is t
0c20: 68 65 20 66 69 72 73 74 20 6d 61 6a 6f 72 20 41 he first major A
0c30: 50 49 20 62 72 65 61 6b 20 69 6e 20 34 30 20 79 PI break in 40 y
0c40: 65 61 72 73 20 61 6e 64 20 77 69 74 68 20 73 6f ears and with so
0c50: 20 6d 61 6e 79 20 75 73 65 66 75 6c 20 69 6e 6e many useful inn
0c60: 6f 76 61 74 69 6f 6e 73 2c 20 73 75 63 68 20 61 ovations, such a
0c70: 20 62 72 65 61 6b 61 67 65 20 69 73 20 66 75 6c breakage is ful
0c80: 6c 79 20 6a 75 73 74 69 66 69 65 64 20 61 6e 64 ly justified and
0c90: 20 72 65 61 73 6f 6e 61 62 6c 65 2e 3c 62 72 3e reasonable.<br>
0ca0: 3c 62 72 3e 0d 0a 3c 62 3e 3c 75 3e 4d 6f 72 65 <br>..<b><u>More
0cb0: 20 64 65 74 61 69 6c 73 20 61 62 6f 75 74 20 74 details about t
0cc0: 68 65 20 41 50 49 20 62 72 65 61 6b 61 67 65 3c he API breakage<
0cd0: 2f 75 3e 3c 2f 62 3e 3a 0d 0a 3c 75 6c 3e 0d 0a /u></b>:..<ul>..
0ce0: 3c 6c 69 3e 3c 62 3e 50 52 4f 4a 2e 35 3c 2f 62 <li><b>PROJ.5</b
0cf0: 3e 20 69 6e 74 72 6f 64 75 63 65 64 20 74 68 65 > introduced the
0d00: 20 6e 65 77 20 41 50 49 2c 20 62 75 74 20 73 74 new API, but st
0d10: 69 6c 6c 20 73 75 70 70 6f 72 74 65 64 20 74 68 ill supported th
0d20: 65 20 74 72 61 64 69 74 69 6f 6e 61 6c 20 41 50 e traditional AP
0d30: 49 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 69 6e 20 I.</li>..<li>in
0d40: 3c 62 3e 50 52 4f 4a 2e 36 3c 2f 62 3e 20 74 68 <b>PROJ.6</b> th
0d50: 65 20 6f 6c 64 20 74 72 61 64 69 74 69 6f 6e 61 e old traditiona
0d60: 6c 20 41 50 49 20 77 61 73 20 64 65 70 72 65 63 l API was deprec
0d70: 61 74 65 64 2e 3c 62 72 3e 0d 0a 54 68 65 20 74 ated.<br>..The t
0d80: 72 61 64 69 74 69 6f 6e 61 6c 20 41 50 49 20 63 raditional API c
0d90: 6f 75 6c 64 20 6f 6e 6c 79 20 62 65 20 75 73 65 ould only be use
0da0: 64 20 77 68 65 6e 20 63 6f 6d 70 69 6c 65 64 20 d when compiled
0db0: 62 79 20 65 78 70 6c 69 63 69 74 6c 79 20 64 65 by explicitly de
0dc0: 66 69 6e 69 6e 67 20 61 20 3c 62 3e 2d 44 41 43 fining a <b>-DAC
0dd0: 43 45 50 54 5f 55 53 45 5f 4f 46 5f 44 45 50 52 CEPT_USE_OF_DEPR
0de0: 45 43 41 54 45 44 5f 50 52 4f 4a 5f 41 50 49 5f ECATED_PROJ_API_
0df0: 48 3d 31 3c 2f 62 3e 20 64 69 72 65 63 74 69 76 H=1</b> directiv
0e00: 65 20 74 6f 20 65 6e 61 62 6c 65 20 69 74 73 20 e to enable its
0e10: 75 73 65 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 use.</li>..<li>a
0e20: 6e 64 20 66 69 6e 61 6c 6c 79 20 69 6e 20 74 68 nd finally in th
0e30: 65 20 6e 65 78 74 2d 74 6f 2d 63 6f 6d 65 20 3c e next-to-come <
0e40: 62 3e 50 52 4f 4a 2e 37 3c 2f 62 3e 20 74 68 65 b>PROJ.7</b> the
0e50: 20 74 72 61 64 69 74 69 6f 6e 61 6c 20 41 50 49 traditional API
0e60: 20 77 69 6c 6c 20 62 65 20 63 6f 6d 70 6c 65 74 will be complet
0e70: 65 6c 79 20 72 65 6d 6f 76 65 64 2e 3c 2f 6c 69 ely removed.</li
0e80: 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c 62 72 3e 0d 0a >..</ul>..<br>..
0e90: 3c 68 72 3e 0d 0a 3c 68 31 3e 57 68 61 74 27 73 <hr>..<h1>What's
0ea0: 20 6e 65 77 20 69 6e 20 50 52 4f 4a 2e 36 3c 2f new in PROJ.6</
0eb0: 68 31 3e 0d 0a 3c 68 33 3e 46 75 6c 6c 79 20 73 h1>..<h3>Fully s
0ec0: 75 70 70 6f 72 74 69 6e 67 20 49 53 4f 20 31 39 upporting ISO 19
0ed0: 31 36 32 3a 32 30 31 38 20 57 4b 54 3c 2f 68 33 162:2018 WKT</h3
0ee0: 3e 0d 0a 4f 6c 64 20 76 65 72 73 69 6f 6e 73 20 >..Old versions
0ef0: 6f 66 20 50 52 4f 4a 20 28 69 6e 63 6c 75 64 69 of PROJ (includi
0f00: 6e 67 20 3c 62 3e 50 52 4f 4a 2e 34 3c 2f 62 3e ng <b>PROJ.4</b>
0f10: 29 20 72 65 71 75 69 72 65 64 20 74 6f 20 64 65 ) required to de
0f20: 66 69 6e 65 20 65 61 63 68 20 3c 62 3e 43 52 53 fine each <b>CRS
0f30: 3c 2f 62 3e 20 28 3c 69 3e 43 6f 6f 72 64 69 6e </b> (<i>Coordin
0f40: 61 74 65 20 52 65 66 65 72 65 6e 63 65 20 53 79 ate Reference Sy
0f50: 73 74 65 6d 3c 2f 69 3e 29 20 62 79 20 61 20 63 stem</i>) by a c
0f60: 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 3c 62 3e orresponding <b>
0f70: 70 72 6f 6a 2d 73 74 72 69 6e 67 3c 2f 62 3e 2e proj-string</b>.
0f80: 0d 0a 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 ..The following
0f90: 74 61 62 6c 65 20 65 78 65 6d 70 6c 69 66 69 65 table exemplifie
0fa0: 73 20 74 68 65 20 63 61 73 65 20 6f 66 20 66 65 s the case of fe
0fb0: 77 20 43 52 53 65 73 3a 3c 62 72 3e 3c 62 72 3e w CRSes:<br><br>
0fc0: 0d 0a 3c 74 61 62 6c 65 20 63 65 6c 6c 73 70 61 ..<table cellspa
0fd0: 63 69 6e 67 3d 22 38 22 20 63 65 6c 6c 70 61 64 cing="8" cellpad
0fe0: 64 69 6e 67 3d 22 38 22 20 62 67 63 6f 6c 6f 72 ding="8" bgcolor
0ff0: 3d 22 23 65 38 66 66 65 38 22 20 62 6f 72 64 65 ="#e8ffe8" borde
1000: 72 3d 22 31 22 3e 0d 0a 3c 74 72 3e 3c 74 68 20 r="1">..<tr><th
1010: 62 67 63 6f 6c 6f 72 3d 22 23 66 66 62 30 33 65 bgcolor="#ffb03e
1020: 22 3e 53 52 49 44 3c 2f 74 68 3e 3c 74 68 20 62 ">SRID</th><th b
1030: 67 63 6f 6c 6f 72 3d 22 23 66 66 62 30 33 65 22 gcolor="#ffb03e"
1040: 3e 43 52 53 20 4e 61 6d 65 3c 2f 74 68 3e 3c 74 >CRS Name</th><t
1050: 68 20 62 67 63 6f 6c 6f 72 3d 22 23 66 66 62 30 h bgcolor="#ffb0
1060: 33 65 22 3e 70 72 6f 6a 2d 73 74 72 69 6e 67 20 3e">proj-string
1070: 28 50 52 4f 4a 2e 34 20 73 74 79 6c 65 29 3c 2f (PROJ.4 style)</
1080: 74 68 3e 3c 74 68 20 62 67 63 6f 6c 6f 72 3d 22 th><th bgcolor="
1090: 23 66 66 62 30 33 65 22 3e 70 72 6f 6a 2d 73 74 #ffb03e">proj-st
10a0: 72 69 6e 67 20 28 50 52 4f 4a 2e 36 20 73 74 79 ring (PROJ.6 sty
10b0: 6c 65 29 3c 2f 74 68 3e 3c 2f 74 72 3e 0d 0a 3c le)</th></tr>..<
10c0: 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 tr><td align="ri
10d0: 67 68 74 22 3e 33 30 30 33 3c 2f 74 64 3e 3c 74 ght">3003</td><t
10e0: 64 3e 4d 6f 6e 74 65 20 4d 61 72 69 6f 20 2f 20 d>Monte Mario /
10f0: 49 74 61 6c 79 20 7a 6f 6e 65 20 31 3c 2f 74 64 Italy zone 1</td
1100: 3e 0d 0a 3c 74 64 3e 2b 70 72 6f 6a 3d 74 6d 65 >..<td>+proj=tme
1110: 72 63 20 2b 6c 61 74 5f 30 3d 30 20 2b 6c 6f 6e rc +lat_0=0 +lon
1120: 5f 30 3d 39 20 2b 6b 3d 30 2e 39 39 39 36 20 2b _0=9 +k=0.9996 +
1130: 78 5f 30 3d 31 35 30 30 30 30 30 20 2b 79 5f 30 x_0=1500000 +y_0
1140: 3d 30 20 5c 3c 62 72 3e 0d 0a 2b 65 6c 6c 70 73 =0 \<br>..+ellps
1150: 3d 69 6e 74 6c 20 2b 74 6f 77 67 73 38 34 3d 2d =intl +towgs84=-
1160: 31 30 34 2e 31 2c 2d 34 39 2e 31 2c 2d 39 2e 39 104.1,-49.1,-9.9
1170: 2c 30 2e 39 37 31 2c 2d 32 2e 39 31 37 2c 30 2e ,0.971,-2.917,0.
1180: 37 31 34 2c 2d 31 31 2e 36 38 20 2b 75 6e 69 74 714,-11.68 +unit
1190: 73 3d 6d 20 2b 6e 6f 5f 64 65 66 73 3c 2f 74 64 s=m +no_defs</td
11a0: 3e 3c 74 64 3e 2b 70 72 6f 6a 3d 74 6d 65 72 63 ><td>+proj=tmerc
11b0: 20 2b 6c 61 74 5f 30 3d 30 20 2b 6c 6f 6e 5f 30 +lat_0=0 +lon_0
11c0: 3d 39 20 2b 6b 3d 30 2e 39 39 39 36 20 2b 78 5f =9 +k=0.9996 +x_
11d0: 30 3d 31 35 30 30 30 30 30 20 2b 79 5f 30 3d 30 0=1500000 +y_0=0
11e0: 20 5c 3c 62 72 3e 0d 0a 2b 65 6c 6c 70 73 3d 69 \<br>..+ellps=i
11f0: 6e 74 6c 20 2b 75 6e 69 74 73 3d 6d 20 2b 6e 6f ntl +units=m +no
1200: 5f 64 65 66 73 20 2b 74 79 70 65 3d 63 72 73 3c _defs +type=crs<
1210: 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c /td></tr>..<tr><
1220: 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 td align="right"
1230: 3e 34 33 32 36 3c 2f 74 64 3e 3c 74 64 3e 57 47 >4326</td><td>WG
1240: 53 20 38 34 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 2b S 84</td>..<td>+
1250: 70 72 6f 6a 3d 6c 6f 6e 67 6c 61 74 20 2b 64 61 proj=longlat +da
1260: 74 75 6d 3d 57 47 53 38 34 20 2b 6e 6f 5f 64 65 tum=WGS84 +no_de
1270: 66 73 3c 2f 74 64 3e 3c 74 64 3e 2b 70 72 6f 6a fs</td><td>+proj
1280: 3d 6c 6f 6e 67 6c 61 74 20 2b 64 61 74 75 6d 3d =longlat +datum=
1290: 57 47 53 38 34 20 2b 6e 6f 5f 64 65 66 73 20 2b WGS84 +no_defs +
12a0: 74 79 70 65 3d 63 72 73 3c 2f 74 64 3e 3c 2f 74 type=crs</td></t
12b0: 72 3e 0d 0a 3c 74 72 3e 3c 74 64 20 61 6c 69 67 r>..<tr><td alig
12c0: 6e 3d 22 72 69 67 68 74 22 3e 33 32 36 33 32 3c n="right">32632<
12d0: 2f 74 64 3e 3c 74 64 3e 57 47 53 20 38 34 20 2f /td><td>WGS 84 /
12e0: 20 55 54 4d 20 7a 6f 6e 65 20 33 32 4e 3c 2f 74 UTM zone 32N</t
12f0: 64 3e 0d 0a 3c 74 64 3e 2b 70 72 6f 6a 3d 75 74 d>..<td>+proj=ut
1300: 6d 20 2b 7a 6f 6e 65 3d 33 32 20 2b 64 61 74 75 m +zone=32 +datu
1310: 6d 3d 57 47 53 38 34 20 2b 75 6e 69 74 73 3d 6d m=WGS84 +units=m
1320: 20 2b 6e 6f 5f 64 65 66 73 3c 2f 74 64 3e 3c 74 +no_defs</td><t
1330: 64 3e 2b 70 72 6f 6a 3d 75 74 6d 20 2b 7a 6f 6e d>+proj=utm +zon
1340: 65 3d 33 32 20 2b 64 61 74 75 6d 3d 57 47 53 38 e=32 +datum=WGS8
1350: 34 20 2b 75 6e 69 74 73 3d 6d 20 2b 6e 6f 5f 64 4 +units=m +no_d
1360: 65 66 73 20 2b 74 79 70 65 3d 63 72 73 3c 2f 74 efs +type=crs</t
1370: 64 3e 0d 0a 3c 2f 74 61 62 6c 65 3e 0d 0a 3c 62 d>..</table>..<b
1380: 72 3e 0d 0a 50 52 4f 4a 2e 36 20 73 74 69 6c 6c r>..PROJ.6 still
1390: 20 63 6f 6e 74 69 6e 75 65 73 20 74 6f 20 73 75 continues to su
13a0: 70 70 6f 72 74 20 74 68 65 20 6f 6c 64 20 70 72 pport the old pr
13b0: 6f 6a 2d 73 74 72 69 6e 67 73 2c 20 62 75 74 20 oj-strings, but
13c0: 69 74 20 6e 6f 77 20 61 64 6f 70 74 73 20 61 20 it now adopts a
13d0: 73 6c 69 67 68 74 6c 79 20 63 68 61 6e 67 65 64 slightly changed
13e0: 20 6e 6f 74 61 74 69 6f 6e 3a 0d 0a 3c 75 6c 3e notation:..<ul>
13f0: 0d 0a 3c 6c 69 3e 74 68 65 72 65 20 69 73 20 61 ..<li>there is a
1400: 20 6e 65 77 20 3c 62 3e 2b 74 79 70 65 3d 63 72 new <b>+type=cr
1410: 73 3c 2f 62 3e 20 6d 65 6d 62 65 72 20 65 78 70 s</b> member exp
1420: 6c 69 63 69 74 6c 79 20 73 74 61 74 69 6e 67 20 licitly stating
1430: 74 68 61 74 20 74 68 65 20 73 74 72 69 6e 67 20 that the string
1440: 69 73 20 69 6e 74 65 6e 64 65 64 20 74 6f 20 62 is intended to b
1450: 65 20 61 20 43 52 53 20 64 65 66 69 6e 69 74 69 e a CRS definiti
1460: 6f 6e 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 73 on.</li>..<li>as
1470: 20 61 20 67 65 6e 65 72 61 6c 20 72 75 6c 65 20 a general rule
1480: 74 68 65 20 3c 62 3e 2b 74 6f 77 67 73 38 34 3d the <b>+towgs84=
1490: 3c 2f 62 3e 20 6d 65 6d 62 65 72 20 69 73 20 6e </b> member is n
14a0: 6f 20 6c 6f 6e 67 65 72 20 73 75 70 70 6f 72 74 o longer support
14b0: 65 64 2e 3c 62 72 3e 0d 0a 3c 62 3e 4e 6f 74 65 ed.<br>..<b>Note
14c0: 3c 2f 62 3e 3a 20 74 68 69 73 20 69 73 20 61 20 </b>: this is a
14d0: 76 65 72 79 20 63 72 69 74 69 63 61 6c 20 63 68 very critical ch
14e0: 61 6e 67 65 2c 20 74 68 61 74 20 63 61 6e 20 65 ange, that can e
14f0: 61 73 69 6c 79 20 6c 65 61 64 20 74 6f 20 75 6e asily lead to un
1500: 65 78 70 65 63 74 65 64 20 72 65 73 75 6c 74 73 expected results
1510: 2e 3c 62 72 3e 0d 0a 41 73 20 61 6e 20 65 78 61 .<br>..As an exa
1520: 6d 70 6c 65 2c 20 69 6e 20 74 68 65 20 63 61 73 mple, in the cas
1530: 65 20 6f 66 20 3c 62 3e 45 50 53 47 3a 33 30 30 e of <b>EPSG:300
1540: 33 20 3c 69 3e 28 49 74 61 6c 79 20 6d 61 69 6e 3 <i>(Italy main
1550: 6c 61 6e 64 29 3c 2f 69 3e 3c 2f 62 3e 20 2c 20 land)</i></b> ,
1560: 73 75 70 70 72 65 73 73 69 6e 67 20 74 68 65 20 suppressing the
1570: 2b 74 6f 77 67 73 38 34 20 6d 65 6d 62 65 72 20 +towgs84 member
1580: 63 61 75 73 65 73 20 61 20 73 68 69 66 74 20 6f causes a shift o
1590: 66 20 61 62 6f 75 74 20 31 30 30 6d 20 69 6e 20 f about 100m in
15a0: 63 6f 6f 72 64 69 6e 61 74 65 20 74 72 61 6e 73 coordinate trans
15b0: 66 6f 72 6d 61 74 69 6f 6e 73 2e 20 53 6f 20 62 formations. So b
15c0: 65 20 77 61 72 6e 65 64 2e 3c 62 72 3e 0d 0a 41 e warned.<br>..A
15d0: 6e 6f 74 68 65 72 20 65 78 61 6d 70 6c 65 2c 20 nother example,
15e0: 73 75 63 68 20 61 73 20 61 6c 6c 20 3c 62 3e 44 such as all <b>D
15f0: 48 44 4e 3c 2f 62 3e 20 70 72 6f 6a 65 63 74 69 HDN</b> projecti
1600: 6f 6e 73 20 77 68 69 63 68 20 75 73 65 73 20 74 ons which uses t
1610: 68 65 20 67 72 69 64 20 66 69 6c 65 20 3c 62 3e he grid file <b>
1620: 3c 69 3e 27 42 45 54 41 32 30 30 37 2e 67 73 62 <i>'BETA2007.gsb
1630: 27 3c 2f 69 3e 3c 2f 62 3e 2c 20 73 75 70 70 72 '</i></b>, suppr
1640: 65 73 73 69 6e 67 20 74 68 65 20 3c 62 3e 2b 74 essing the <b>+t
1650: 6f 77 67 73 38 34 3c 2f 62 3e 20 6d 65 6d 62 65 owgs84</b> membe
1660: 72 20 77 69 6c 6c 20 61 6c 73 6f 20 6c 65 61 64 r will also lead
1670: 20 74 6f 20 69 6e 63 6f 72 72 65 63 74 20 72 65 to incorrect re
1680: 73 75 6c 74 73 2e 3c 62 72 3e 0d 0a 54 68 65 20 sults.<br>..The
1690: 75 73 65 20 6f 66 20 73 75 70 70 6f 72 74 65 64 use of supported
16a0: 20 67 72 69 64 20 66 69 6c 65 73 2c 20 77 68 65 grid files, whe
16b0: 72 65 20 74 68 65 79 20 65 78 69 73 74 2c 20 69 re they exist, i
16c0: 73 20 6e 6f 77 20 6d 61 64 61 74 6f 72 79 2e 0d s now madatory..
16d0: 0a 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c .</li>..</ul>..<
16e0: 62 72 3e 0d 0a 41 6c 74 68 6f 75 67 68 20 74 68 br>..Although th
16f0: 65 20 6e 65 77 65 72 20 76 65 72 73 69 6f 6e 73 e newer versions
1700: 20 6f 66 20 50 52 4f 4a 20 28 73 74 61 72 74 69 of PROJ (starti
1710: 6e 67 20 77 69 74 68 20 3c 62 3e 50 52 4f 4a 2e ng with <b>PROJ.
1720: 36 3c 2f 62 3e 29 20 77 69 6c 6c 20 73 74 69 6c 6</b>) will stil
1730: 6c 20 63 6f 6e 74 69 6e 75 65 20 74 6f 20 73 75 l continue to su
1740: 70 70 6f 72 74 20 74 68 65 20 6f 6c 64 20 3c 62 pport the old <b
1750: 3e 70 72 6f 6a 2d 73 74 72 69 6e 67 73 3c 2f 62 >proj-strings</b
1760: 3e 2c 20 74 68 69 73 20 69 73 20 6e 6f 20 6c 6f >, this is no lo
1770: 6e 67 65 72 20 74 68 65 20 70 72 65 66 65 72 72 nger the preferr
1780: 65 64 20 6e 6f 74 61 74 69 6f 6e 20 66 6f 72 20 ed notation for
1790: 64 65 66 69 6e 69 6e 67 20 61 20 43 52 53 2e 3c defining a CRS.<
17a0: 62 72 3e 0d 0a 54 68 65 20 6e 65 77 65 72 2c 20 br>..The newer,
17b0: 70 72 65 66 65 72 72 65 64 2c 20 6e 6f 74 61 74 preferred, notat
17c0: 69 6f 6e 20 69 73 20 66 75 6c 6c 79 20 63 6f 6e ion is fully con
17d0: 66 6f 72 6d 73 20 74 6f 20 74 68 65 20 3c 62 3e forms to the <b>
17e0: 49 53 4f 20 31 39 31 36 32 3a 32 30 31 38 3c 2f ISO 19162:2018</
17f0: 62 3e 20 69 6e 74 65 72 6e 61 74 69 6f 6e 61 6c b> international
1800: 20 73 74 61 6e 64 61 72 64 0d 0a 28 3c 69 3e 4f standard..(<i>O
1810: 47 43 20 41 62 73 74 72 61 63 74 20 53 70 65 63 GC Abstract Spec
1820: 69 66 69 63 61 74 69 6f 6e 20 54 6f 70 69 63 20 ification Topic
1830: 32 3a 20 e2 80 9c 52 65 66 65 72 65 6e 63 69 6e 2: ...Referencin
1840: 67 20 42 79 20 43 6f 6f 72 64 69 6e 61 74 65 73 g By Coordinates
1850: e2 80 9d 3c 2f 69 3e 29 2e 3c 62 72 3e 0d 0a 54 ...</i>).<br>..T
1860: 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 61 62 he following tab
1870: 6c 65 20 65 78 65 6d 70 6c 69 66 69 65 73 20 74 le exemplifies t
1880: 68 65 20 73 61 6d 65 20 43 52 53 65 73 20 61 73 he same CRSes as
1890: 20 61 62 6f 76 65 20 69 6e 20 74 68 65 20 6d 6f above in the mo
18a0: 72 65 20 72 65 63 65 6e 74 20 49 53 4f 20 57 4b re recent ISO WK
18b0: 54 20 6e 6f 74 61 74 69 6f 6e 3a 0d 0a 3c 62 72 T notation:..<br
18c0: 3e 3c 62 72 3e 0d 0a 3c 74 61 62 6c 65 20 63 65 ><br>..<table ce
18d0: 6c 6c 73 70 61 63 69 6e 67 3d 22 38 22 20 63 65 llspacing="8" ce
18e0: 6c 6c 70 61 64 64 69 6e 67 3d 22 38 22 20 62 67 llpadding="8" bg
18f0: 63 6f 6c 6f 72 3d 22 23 65 38 66 66 65 38 22 20 color="#e8ffe8"
1900: 62 6f 72 64 65 72 3d 22 31 22 3e 0d 0a 3c 74 72 border="1">..<tr
1910: 3e 3c 74 68 20 62 67 63 6f 6c 6f 72 3d 22 23 66 ><th bgcolor="#f
1920: 66 62 30 33 65 22 3e 53 52 49 44 3c 2f 74 68 3e fb03e">SRID</th>
1930: 3c 74 64 3e 33 30 30 33 3c 2f 74 64 3e 3c 74 64 <td>3003</td><td
1940: 3e 34 33 32 36 3c 2f 74 64 3e 3c 74 64 3e 33 32 >4326</td><td>32
1950: 36 33 32 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 632</td></tr>..<
1960: 74 72 3e 3c 74 68 20 62 67 63 6f 6c 6f 72 3d 22 tr><th bgcolor="
1970: 23 66 66 62 30 33 65 22 3e 43 52 53 20 4e 61 6d #ffb03e">CRS Nam
1980: 65 3c 2f 74 68 3e 3c 74 64 3e 4d 6f 6e 74 65 20 e</th><td>Monte
1990: 4d 61 72 69 6f 20 2f 20 49 74 61 6c 79 20 7a 6f Mario / Italy zo
19a0: 6e 65 20 31 3c 2f 74 64 3e 3c 2f 74 64 3e 3c 74 ne 1</td></td><t
19b0: 64 3e 57 47 53 20 38 34 3c 2f 74 64 3e 3c 74 64 d>WGS 84</td><td
19c0: 3e 57 47 53 20 38 34 20 2f 20 55 54 4d 20 7a 6f >WGS 84 / UTM zo
19d0: 6e 65 20 33 32 4e 3c 2f 74 64 3e 3c 2f 74 72 3e ne 32N</td></tr>
19e0: 0d 0a 3c 74 72 3e 3c 74 68 20 62 67 63 6f 6c 6f ..<tr><th bgcolo
19f0: 72 3d 22 23 66 66 62 30 33 65 22 3e 49 53 4f 2d r="#ffb03e">ISO-
1a00: 32 30 31 38 20 57 4b 54 3c 2f 74 68 3e 0d 0a 3c 2018 WKT</th>..<
1a10: 74 64 20 76 61 6c 69 67 6e 3d 22 74 6f 70 22 3e td valign="top">
1a20: 0d 0a 3c 76 65 72 62 61 74 69 6d 3e 0d 0a 50 52 ..<verbatim>..PR
1a30: 4f 4a 43 52 53 5b 22 4d 6f 6e 74 65 20 4d 61 72 OJCRS["Monte Mar
1a40: 69 6f 20 2f 20 49 74 61 6c 79 20 7a 6f 6e 65 20 io / Italy zone
1a50: 31 22 2c 0d 0a 20 20 20 20 42 41 53 45 47 45 4f 1",.. BASEGEO
1a60: 44 43 52 53 5b 22 4d 6f 6e 74 65 20 4d 61 72 69 DCRS["Monte Mari
1a70: 6f 22 2c 0d 0a 20 20 20 20 20 20 20 20 44 41 54 o",.. DAT
1a80: 55 4d 5b 22 4d 6f 6e 74 65 20 4d 61 72 69 6f 22 UM["Monte Mario"
1a90: 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 ,.. E
1aa0: 4c 4c 49 50 53 4f 49 44 5b 22 49 6e 74 65 72 6e LLIPSOID["Intern
1ab0: 61 74 69 6f 6e 61 6c 20 31 39 32 34 22 2c 36 33 ational 1924",63
1ac0: 37 38 33 38 38 2c 32 39 37 2c 0d 0a 20 20 20 20 78388,297,..
1ad0: 20 20 20 20 20 20 20 20 20 20 20 20 4c 45 4e 47 LENG
1ae0: 54 48 55 4e 49 54 5b 22 6d 65 74 72 65 22 2c 31 THUNIT["metre",1
1af0: 5d 5d 5d 2c 0d 0a 20 20 20 20 20 20 20 20 50 52 ]]],.. PR
1b00: 49 4d 45 4d 5b 22 47 72 65 65 6e 77 69 63 68 22 IMEM["Greenwich"
1b10: 2c 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ,0,..
1b20: 20 41 4e 47 4c 45 55 4e 49 54 5b 22 64 65 67 72 ANGLEUNIT["degr
1b30: 65 65 22 2c 30 2e 30 31 37 34 35 33 32 39 32 35 ee",0.0174532925
1b40: 31 39 39 34 33 33 5d 5d 5d 2c 0d 0a 20 20 20 20 199433]]],..
1b50: 43 4f 4e 56 45 52 53 49 4f 4e 5b 22 49 74 61 6c CONVERSION["Ital
1b60: 79 20 7a 6f 6e 65 20 31 22 2c 0d 0a 20 20 20 20 y zone 1",..
1b70: 20 20 20 20 4d 45 54 48 4f 44 5b 22 54 72 61 6e METHOD["Tran
1b80: 73 76 65 72 73 65 20 4d 65 72 63 61 74 6f 72 22 sverse Mercator"
1b90: 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 ,.. I
1ba0: 44 5b 22 45 50 53 47 22 2c 39 38 30 37 5d 5d 2c D["EPSG",9807]],
1bb0: 0d 0a 20 20 20 20 20 20 20 20 50 41 52 41 4d 45 .. PARAME
1bc0: 54 45 52 5b 22 4c 61 74 69 74 75 64 65 20 6f 66 TER["Latitude of
1bd0: 20 6e 61 74 75 72 61 6c 20 6f 72 69 67 69 6e 22 natural origin"
1be0: 2c 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ,0,..
1bf0: 20 41 4e 47 4c 45 55 4e 49 54 5b 22 64 65 67 72 ANGLEUNIT["degr
1c00: 65 65 22 2c 30 2e 30 31 37 34 35 33 32 39 32 35 ee",0.0174532925
1c10: 31 39 39 34 33 33 5d 2c 0d 0a 20 20 20 20 20 20 199433],..
1c20: 20 20 20 20 20 20 49 44 5b 22 45 50 53 47 22 2c ID["EPSG",
1c30: 38 38 30 31 5d 5d 2c 0d 0a 20 20 20 20 20 20 20 8801]],..
1c40: 20 50 41 52 41 4d 45 54 45 52 5b 22 4c 6f 6e 67 PARAMETER["Long
1c50: 69 74 75 64 65 20 6f 66 20 6e 61 74 75 72 61 6c itude of natural
1c60: 20 6f 72 69 67 69 6e 22 2c 39 2c 0d 0a 20 20 20 origin",9,..
1c70: 20 20 20 20 20 20 20 20 20 41 4e 47 4c 45 55 4e ANGLEUN
1c80: 49 54 5b 22 64 65 67 72 65 65 22 2c 30 2e 30 31 IT["degree",0.01
1c90: 37 34 35 33 32 39 32 35 31 39 39 34 33 33 5d 2c 74532925199433],
1ca0: 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 44 .. ID
1cb0: 5b 22 45 50 53 47 22 2c 38 38 30 32 5d 5d 2c 0d ["EPSG",8802]],.
1cc0: 0a 20 20 20 20 20 20 20 20 50 41 52 41 4d 45 54 . PARAMET
1cd0: 45 52 5b 22 53 63 61 6c 65 20 66 61 63 74 6f 72 ER["Scale factor
1ce0: 20 61 74 20 6e 61 74 75 72 61 6c 20 6f 72 69 67 at natural orig
1cf0: 69 6e 22 2c 30 2e 39 39 39 36 2c 0d 0a 20 20 20 in",0.9996,..
1d00: 20 20 20 20 20 20 20 20 20 53 43 41 4c 45 55 4e SCALEUN
1d10: 49 54 5b 22 75 6e 69 74 79 22 2c 31 5d 2c 0d 0a IT["unity",1],..
1d20: 20 20 20 20 20 20 20 20 20 20 20 20 49 44 5b 22 ID["
1d30: 45 50 53 47 22 2c 38 38 30 35 5d 5d 2c 0d 0a 20 EPSG",8805]],..
1d40: 20 20 20 20 20 20 20 50 41 52 41 4d 45 54 45 52 PARAMETER
1d50: 5b 22 46 61 6c 73 65 20 65 61 73 74 69 6e 67 22 ["False easting"
1d60: 2c 31 35 30 30 30 30 30 2c 0d 0a 20 20 20 20 20 ,1500000,..
1d70: 20 20 20 20 20 20 20 4c 45 4e 47 54 48 55 4e 49 LENGTHUNI
1d80: 54 5b 22 6d 65 74 72 65 22 2c 31 5d 2c 0d 0a 20 T["metre",1],..
1d90: 20 20 20 20 20 20 20 20 20 20 20 49 44 5b 22 45 ID["E
1da0: 50 53 47 22 2c 38 38 30 36 5d 5d 2c 0d 0a 20 20 PSG",8806]],..
1db0: 20 20 20 20 20 20 50 41 52 41 4d 45 54 45 52 5b PARAMETER[
1dc0: 22 46 61 6c 73 65 20 6e 6f 72 74 68 69 6e 67 22 "False northing"
1dd0: 2c 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ,0,..
1de0: 20 4c 45 4e 47 54 48 55 4e 49 54 5b 22 6d 65 74 LENGTHUNIT["met
1df0: 72 65 22 2c 31 5d 2c 0d 0a 20 20 20 20 20 20 20 re",1],..
1e00: 20 20 20 20 20 49 44 5b 22 45 50 53 47 22 2c 38 ID["EPSG",8
1e10: 38 30 37 5d 5d 5d 2c 0d 0a 20 20 20 20 43 53 5b 807]]],.. CS[
1e20: 43 61 72 74 65 73 69 61 6e 2c 32 5d 2c 0d 0a 20 Cartesian,2],..
1e30: 20 20 20 20 20 20 20 41 58 49 53 5b 22 65 61 73 AXIS["eas
1e40: 74 69 6e 67 20 28 58 29 22 2c 65 61 73 74 2c 0d ting (X)",east,.
1e50: 0a 20 20 20 20 20 20 20 20 20 20 20 20 4f 52 44 . ORD
1e60: 45 52 5b 31 5d 2c 0d 0a 20 20 20 20 20 20 20 20 ER[1],..
1e70: 20 20 20 20 4c 45 4e 47 54 48 55 4e 49 54 5b 22 LENGTHUNIT["
1e80: 6d 65 74 72 65 22 2c 31 5d 5d 2c 0d 0a 20 20 20 metre",1]],..
1e90: 20 20 20 20 20 41 58 49 53 5b 22 6e 6f 72 74 68 AXIS["north
1ea0: 69 6e 67 20 28 59 29 22 2c 6e 6f 72 74 68 2c 0d ing (Y)",north,.
1eb0: 0a 20 20 20 20 20 20 20 20 20 20 20 20 4f 52 44 . ORD
1ec0: 45 52 5b 32 5d 2c 3c 62 72 3e 0d 0a 20 20 20 20 ER[2],<br>..
1ed0: 20 20 20 20 20 20 20 20 4c 45 4e 47 54 48 55 4e LENGTHUN
1ee0: 49 54 5b 22 6d 65 74 72 65 22 2c 31 5d 5d 2c 0d IT["metre",1]],.
1ef0: 0a 20 20 20 20 41 52 45 41 5b 22 49 74 61 6c 79 . AREA["Italy
1f00: 20 2d 20 77 65 73 74 20 6f 66 20 31 32 c2 b0 45 - west of 12..E
1f10: 22 5d 2c 0d 0a 20 20 20 20 42 42 4f 58 5b 33 36 "],.. BBOX[36
1f20: 2e 35 33 2c 35 2e 39 34 2c 34 37 2e 30 34 2c 31 .53,5.94,47.04,1
1f30: 32 5d 2c 0d 0a 20 20 20 20 49 44 5b 22 45 50 53 2],.. ID["EPS
1f40: 47 22 2c 33 30 30 33 5d 5d 0d 0a 3c 2f 76 65 72 G",3003]]..</ver
1f50: 62 61 74 69 6d 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 batim></td>..<td
1f60: 20 76 61 6c 69 67 6e 3d 22 74 6f 70 22 3e 3c 76 valign="top"><v
1f70: 65 72 62 61 74 69 6d 3e 0d 0a 47 45 4f 44 43 52 erbatim>..GEODCR
1f80: 53 5b 22 57 47 53 20 38 34 22 2c 0d 0a 20 20 20 S["WGS 84",..
1f90: 20 44 41 54 55 4d 5b 22 57 6f 72 6c 64 20 47 65 DATUM["World Ge
1fa0: 6f 64 65 74 69 63 20 53 79 73 74 65 6d 20 31 39 odetic System 19
1fb0: 38 34 22 2c 0d 0a 20 20 20 20 20 20 20 20 45 4c 84",.. EL
1fc0: 4c 49 50 53 4f 49 44 5b 22 57 47 53 20 38 34 22 LIPSOID["WGS 84"
1fd0: 2c 36 33 37 38 31 33 37 2c 32 39 38 2e 32 35 37 ,6378137,298.257
1fe0: 32 32 33 35 36 33 2c 0d 0a 20 20 20 20 20 20 20 223563,..
1ff0: 20 20 20 20 20 4c 45 4e 47 54 48 55 4e 49 54 5b LENGTHUNIT[
2000: 22 6d 65 74 72 65 22 2c 31 5d 5d 5d 2c 0d 0a 20 "metre",1]]],..
2010: 20 20 20 50 52 49 4d 45 4d 5b 22 47 72 65 65 6e PRIMEM["Green
2020: 77 69 63 68 22 2c 30 2c 0d 0a 20 20 20 20 20 20 wich",0,..
2030: 20 20 41 4e 47 4c 45 55 4e 49 54 5b 22 64 65 67 ANGLEUNIT["deg
2040: 72 65 65 22 2c 30 2e 30 31 37 34 35 33 32 39 32 ree",0.017453292
2050: 35 31 39 39 34 33 33 5d 5d 2c 0d 0a 20 20 20 20 5199433]],..
2060: 43 53 5b 65 6c 6c 69 70 73 6f 69 64 61 6c 2c 32 CS[ellipsoidal,2
2070: 5d 2c 0d 0a 20 20 20 20 20 20 20 20 41 58 49 53 ],.. AXIS
2080: 5b 22 67 65 6f 64 65 74 69 63 20 6c 61 74 69 74 ["geodetic latit
2090: 75 64 65 20 28 4c 61 74 29 22 2c 6e 6f 72 74 68 ude (Lat)",north
20a0: 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 4f ,.. O
20b0: 52 44 45 52 5b 31 5d 2c 0d 0a 20 20 20 20 20 20 RDER[1],..
20c0: 20 20 20 20 20 20 41 4e 47 4c 45 55 4e 49 54 5b ANGLEUNIT[
20d0: 22 64 65 67 72 65 65 22 2c 30 2e 30 31 37 34 35 "degree",0.01745
20e0: 33 32 39 32 35 31 39 39 34 33 33 5d 5d 2c 0d 0a 32925199433]],..
20f0: 20 20 20 20 20 20 20 20 41 58 49 53 5b 22 67 65 AXIS["ge
2100: 6f 64 65 74 69 63 20 6c 6f 6e 67 69 74 75 64 65 odetic longitude
2110: 20 28 4c 6f 6e 29 22 2c 65 61 73 74 2c 0d 0a 20 (Lon)",east,..
2120: 20 20 20 20 20 20 20 20 20 20 20 4f 52 44 45 52 ORDER
2130: 5b 32 5d 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 [2],..
2140: 20 20 41 4e 47 4c 45 55 4e 49 54 5b 22 64 65 67 ANGLEUNIT["deg
2150: 72 65 65 22 2c 30 2e 30 31 37 34 35 33 32 39 32 ree",0.017453292
2160: 35 31 39 39 34 33 33 5d 5d 2c 0d 0a 20 20 20 20 5199433]],..
2170: 41 52 45 41 5b 22 57 6f 72 6c 64 22 5d 2c 0d 0a AREA["World"],..
2180: 20 20 20 20 42 42 4f 58 5b 2d 39 30 2c 2d 31 38 BBOX[-90,-18
2190: 30 2c 39 30 2c 31 38 30 5d 2c 0d 0a 20 20 20 20 0,90,180],..
21a0: 49 44 5b 22 45 50 53 47 22 2c 34 33 32 36 5d 5d ID["EPSG",4326]]
21b0: 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 3e 3c 2f 74 ..</verbatim></t
21c0: 64 3e 0d 0a 3c 74 64 20 76 61 6c 69 67 6e 3d 22 d>..<td valign="
21d0: 74 6f 70 22 3e 3c 76 65 72 62 61 74 69 6d 3e 0d top"><verbatim>.
21e0: 0a 50 52 4f 4a 43 52 53 5b 22 57 47 53 20 38 34 .PROJCRS["WGS 84
21f0: 20 2f 20 55 54 4d 20 7a 6f 6e 65 20 33 32 4e 22 / UTM zone 32N"
2200: 2c 0d 0a 20 20 20 20 42 41 53 45 47 45 4f 44 43 ,.. BASEGEODC
2210: 52 53 5b 22 57 47 53 20 38 34 22 2c 0d 0a 20 20 RS["WGS 84",..
2220: 20 20 20 20 20 20 44 41 54 55 4d 5b 22 57 6f 72 DATUM["Wor
2230: 6c 64 20 47 65 6f 64 65 74 69 63 20 53 79 73 74 ld Geodetic Syst
2240: 65 6d 20 31 39 38 34 22 2c 0d 0a 20 20 20 20 20 em 1984",..
2250: 20 20 20 20 20 20 20 45 4c 4c 49 50 53 4f 49 44 ELLIPSOID
2260: 5b 22 57 47 53 20 38 34 22 2c 36 33 37 38 31 33 ["WGS 84",637813
2270: 37 2c 32 39 38 2e 32 35 37 32 32 33 35 36 33 2c 7,298.257223563,
2280: 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..
2290: 20 20 4c 45 4e 47 54 48 55 4e 49 54 5b 22 6d 65 LENGTHUNIT["me
22a0: 74 72 65 22 2c 31 5d 5d 5d 2c 0d 0a 20 20 20 20 tre",1]]],..
22b0: 20 20 20 20 50 52 49 4d 45 4d 5b 22 47 72 65 65 PRIMEM["Gree
22c0: 6e 77 69 63 68 22 2c 30 2c 0d 0a 20 20 20 20 20 nwich",0,..
22d0: 20 20 20 20 20 20 20 41 4e 47 4c 45 55 4e 49 54 ANGLEUNIT
22e0: 5b 22 64 65 67 72 65 65 22 2c 30 2e 30 31 37 34 ["degree",0.0174
22f0: 35 33 32 39 32 35 31 39 39 34 33 33 5d 5d 5d 2c 532925199433]]],
2300: 0d 0a 20 20 20 20 43 4f 4e 56 45 52 53 49 4f 4e .. CONVERSION
2310: 5b 22 55 54 4d 20 7a 6f 6e 65 20 33 32 4e 22 2c ["UTM zone 32N",
2320: 0d 0a 20 20 20 20 20 20 20 20 4d 45 54 48 4f 44 .. METHOD
2330: 5b 22 54 72 61 6e 73 76 65 72 73 65 20 4d 65 72 ["Transverse Mer
2340: 63 61 74 6f 72 22 2c 0d 0a 20 20 20 20 20 20 20 cator",..
2350: 20 20 20 20 20 49 44 5b 22 45 50 53 47 22 2c 39 ID["EPSG",9
2360: 38 30 37 5d 5d 2c 0d 0a 20 20 20 20 20 20 20 20 807]],..
2370: 50 41 52 41 4d 45 54 45 52 5b 22 4c 61 74 69 74 PARAMETER["Latit
2380: 75 64 65 20 6f 66 20 6e 61 74 75 72 61 6c 20 6f ude of natural o
2390: 72 69 67 69 6e 22 2c 30 2c 0d 0a 20 20 20 20 20 rigin",0,..
23a0: 20 20 20 20 20 20 20 41 4e 47 4c 45 55 4e 49 54 ANGLEUNIT
23b0: 5b 22 64 65 67 72 65 65 22 2c 30 2e 30 31 37 34 ["degree",0.0174
23c0: 35 33 32 39 32 35 31 39 39 34 33 33 5d 2c 0d 0a 532925199433],..
23d0: 20 20 20 20 20 20 20 20 20 20 20 20 49 44 5b 22 ID["
23e0: 45 50 53 47 22 2c 38 38 30 31 5d 5d 2c 0d 0a 20 EPSG",8801]],..
23f0: 20 20 20 20 20 20 20 50 41 52 41 4d 45 54 45 52 PARAMETER
2400: 5b 22 4c 6f 6e 67 69 74 75 64 65 20 6f 66 20 6e ["Longitude of n
2410: 61 74 75 72 61 6c 20 6f 72 69 67 69 6e 22 2c 39 atural origin",9
2420: 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 ,.. A
2430: 4e 47 4c 45 55 4e 49 54 5b 22 64 65 67 72 65 65 NGLEUNIT["degree
2440: 22 2c 30 2e 30 31 37 34 35 33 32 39 32 35 31 39 ",0.017453292519
2450: 39 34 33 33 5d 2c 0d 0a 20 20 20 20 20 20 20 20 9433],..
2460: 20 20 20 20 49 44 5b 22 45 50 53 47 22 2c 38 38 ID["EPSG",88
2470: 30 32 5d 5d 2c 0d 0a 20 20 20 20 20 20 20 20 50 02]],.. P
2480: 41 52 41 4d 45 54 45 52 5b 22 53 63 61 6c 65 20 ARAMETER["Scale
2490: 66 61 63 74 6f 72 20 61 74 20 6e 61 74 75 72 61 factor at natura
24a0: 6c 20 6f 72 69 67 69 6e 22 2c 30 2e 39 39 39 36 l origin",0.9996
24b0: 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 ,.. S
24c0: 43 41 4c 45 55 4e 49 54 5b 22 75 6e 69 74 79 22 CALEUNIT["unity"
24d0: 2c 31 5d 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 ,1],..
24e0: 20 20 49 44 5b 22 45 50 53 47 22 2c 38 38 30 35 ID["EPSG",8805
24f0: 5d 5d 2c 0d 0a 20 20 20 20 20 20 20 20 50 41 52 ]],.. PAR
2500: 41 4d 45 54 45 52 5b 22 46 61 6c 73 65 20 65 61 AMETER["False ea
2510: 73 74 69 6e 67 22 2c 35 30 30 30 30 30 2c 0d 0a sting",500000,..
2520: 20 20 20 20 20 20 20 20 20 20 20 20 4c 45 4e 47 LENG
2530: 54 48 55 4e 49 54 5b 22 6d 65 74 72 65 22 2c 31 THUNIT["metre",1
2540: 5d 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ],..
2550: 49 44 5b 22 45 50 53 47 22 2c 38 38 30 36 5d 5d ID["EPSG",8806]]
2560: 2c 0d 0a 20 20 20 20 20 20 20 20 50 41 52 41 4d ,.. PARAM
2570: 45 54 45 52 5b 22 46 61 6c 73 65 20 6e 6f 72 74 ETER["False nort
2580: 68 69 6e 67 22 2c 30 2c 0d 0a 20 20 20 20 20 20 hing",0,..
2590: 20 20 20 20 20 20 4c 45 4e 47 54 48 55 4e 49 54 LENGTHUNIT
25a0: 5b 22 6d 65 74 72 65 22 2c 31 5d 2c 0d 0a 20 20 ["metre",1],..
25b0: 20 20 20 20 20 20 20 20 20 20 49 44 5b 22 45 50 ID["EP
25c0: 53 47 22 2c 38 38 30 37 5d 5d 5d 2c 0d 0a 20 20 SG",8807]]],..
25d0: 20 20 43 53 5b 43 61 72 74 65 73 69 61 6e 2c 32 CS[Cartesian,2
25e0: 5d 2c 0d 0a 20 20 20 20 20 20 20 20 41 58 49 53 ],.. AXIS
25f0: 5b 22 28 45 29 22 2c 65 61 73 74 2c 0d 0a 20 20 ["(E)",east,..
2600: 20 20 20 20 20 20 20 20 20 20 4f 52 44 45 52 5b ORDER[
2610: 31 5d 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 1],..
2620: 20 4c 45 4e 47 54 48 55 4e 49 54 5b 22 6d 65 74 LENGTHUNIT["met
2630: 72 65 22 2c 31 5d 5d 2c 0d 0a 20 20 20 20 20 20 re",1]],..
2640: 20 20 41 58 49 53 5b 22 28 4e 29 22 2c 6e 6f 72 AXIS["(N)",nor
2650: 74 68 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 th,..
2660: 20 4f 52 44 45 52 5b 32 5d 2c 0d 0a 20 20 20 20 ORDER[2],..
2670: 20 20 20 20 20 20 20 20 4c 45 4e 47 54 48 55 4e LENGTHUN
2680: 49 54 5b 22 6d 65 74 72 65 22 2c 31 5d 5d 2c 0d IT["metre",1]],.
2690: 0a 20 20 20 20 41 52 45 41 5b 22 57 6f 72 6c 64 . AREA["World
26a0: 20 2d 20 4e 20 68 65 6d 69 73 70 68 65 72 65 20 - N hemisphere
26b0: 2d 20 36 c2 b0 45 20 74 6f 20 31 32 c2 b0 45 20 - 6..E to 12..E
26c0: 2d 20 62 79 20 63 6f 75 6e 74 72 79 22 5d 2c 0d - by country"],.
26d0: 0a 20 20 20 20 42 42 4f 58 5b 30 2c 36 2c 38 34 . BBOX[0,6,84
26e0: 2c 31 32 5d 2c 0d 0a 20 20 20 20 49 44 5b 22 45 ,12],.. ID["E
26f0: 50 53 47 22 2c 33 32 36 33 32 5d 5d 0d 0a 3c 2f PSG",32632]]..</
2700: 76 65 72 62 61 74 69 6d 3e 3c 2f 74 64 3e 0d 0a verbatim></td>..
2710: 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 62 6c 65 3e 0d </tr>..</table>.
2720: 0a 3c 62 72 3e 0d 0a 41 73 20 79 6f 75 20 63 61 .<br>..As you ca
2730: 6e 20 73 65 65 2c 20 74 68 65 20 74 77 6f 20 6e n see, the two n
2740: 6f 74 61 74 69 6f 6e 73 20 61 72 65 20 70 72 6f otations are pro
2750: 66 6f 75 6e 64 6c 79 20 64 69 66 66 65 72 65 6e foundly differen
2760: 74 2e 0d 0a 54 68 65 20 6f 6c 64 20 3c 62 3e 70 t...The old <b>p
2770: 72 6f 6a 2d 73 74 72 69 6e 67 3c 2f 62 3e 20 6e roj-string</b> n
2780: 6f 74 61 74 69 6f 6e 20 69 73 20 65 78 74 72 65 otation is extre
2790: 6d 65 6c 79 20 63 6f 6e 63 69 73 65 20 61 6e 64 mely concise and
27a0: 20 72 6f 75 67 68 2c 20 77 68 69 6c 73 74 20 74 rough, whilst t
27b0: 68 65 20 6e 65 77 20 3c 62 3e 49 53 4f 2d 57 4b he new <b>ISO-WK
27c0: 54 3c 2f 62 3e 20 69 73 20 76 65 72 62 6f 73 65 T</b> is verbose
27d0: 20 62 75 74 20 65 78 68 61 75 73 74 69 76 65 2c but exhaustive,
27e0: 20 64 65 74 61 69 6c 65 64 20 61 6e 64 20 70 72 detailed and pr
27f0: 65 63 69 73 65 2e 3c 62 72 3e 0d 0a 54 68 65 79 ecise.<br>..They
2800: 20 61 72 65 20 72 61 64 69 63 61 6c 6c 79 20 64 are radically d
2810: 69 66 66 65 72 65 6e 74 3a 20 49 53 4f 2d 57 4b ifferent: ISO-WK
2820: 54 20 69 73 20 63 6c 65 61 72 6c 79 20 73 75 70 T is clearly sup
2830: 65 72 69 6f 72 20 61 6e 64 20 6d 6f 72 65 20 73 erior and more s
2840: 6f 70 68 69 73 74 69 63 61 74 65 64 20 69 6e 20 ophisticated in
2850: 65 76 65 72 79 20 77 61 79 2e 3c 62 72 3e 0d 0a every way.<br>..
2860: 4e 6f 74 20 73 75 72 70 72 69 73 69 6e 67 6c 79 Not surprisingly
2870: 2c 20 74 68 65 20 63 6f 6f 72 64 69 6e 61 74 65 , the coordinate
2880: 20 74 72 61 6e 73 66 6f 72 6d 61 74 69 6f 6e 73 transformations
2890: 20 62 61 73 65 64 20 6f 6e 20 49 53 4f 2d 57 4b based on ISO-WK
28a0: 54 20 64 65 66 69 6e 69 74 69 6f 6e 73 20 28 69 T definitions (i
28b0: 6e 73 74 65 61 64 20 6f 66 20 70 72 6f 6a 2d 73 nstead of proj-s
28c0: 74 72 69 6e 67 73 29 20 61 72 65 20 75 73 75 61 trings) are usua
28d0: 6c 6c 79 20 65 78 70 65 63 74 65 64 20 74 6f 20 lly expected to
28e0: 62 65 20 6d 6f 72 65 20 61 63 63 75 72 61 74 65 be more accurate
28f0: 2c 20 63 6f 6d 70 6c 65 74 65 20 61 6e 64 20 65 , complete and e
2900: 78 74 65 6e 64 61 62 6c 65 2e 3c 62 72 3e 3c 62 xtendable.<br><b
2910: 72 3e 0d 0a 41 6e 64 20 74 68 61 74 27 73 20 6e r>..And that's n
2920: 6f 74 20 61 6c 6c 3b 20 74 68 65 20 6f 6c 64 20 ot all; the old
2930: 3c 62 3e 70 72 6f 6a 2d 73 74 72 69 6e 67 73 3c <b>proj-strings<
2940: 2f 62 3e 20 77 65 72 65 6e 27 74 20 66 6f 72 6d /b> weren't form
2950: 61 6c 6c 79 20 64 65 66 69 6e 65 64 20 62 79 20 ally defined by
2960: 61 6e 79 20 73 74 61 6e 64 61 72 64 2c 20 61 6e any standard, an
2970: 64 20 6f 6e 6c 79 20 50 52 4f 4a 2c 20 47 44 41 d only PROJ, GDA
2980: 4c 20 61 6e 64 20 66 65 77 20 6f 74 68 65 72 20 L and few other
2990: 46 4c 4f 53 53 20 2f 20 47 46 4f 53 53 20 69 6d FLOSS / GFOSS im
29a0: 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 73 20 63 6f plementations co
29b0: 75 6c 64 20 62 65 20 65 78 70 65 63 74 65 64 20 uld be expected
29c0: 74 6f 20 75 6e 64 65 72 73 74 61 6e 64 20 74 68 to understand th
29d0: 65 6d 2e 3c 62 72 3e 0d 0a 54 68 65 20 6e 65 77 em.<br>..The new
29e0: 20 3c 62 3e 49 53 4f 2d 57 4b 54 3c 2f 62 3e 2c <b>ISO-WKT</b>,
29f0: 20 6f 6e 20 74 68 65 20 6f 74 68 65 72 20 68 61 on the other ha
2a00: 6e 64 2c 20 69 73 20 61 20 66 6f 72 6d 61 6c 6c nd, is a formall
2a10: 79 20 64 65 66 69 6e 65 64 20 69 6e 74 65 72 6e y defined intern
2a20: 61 74 69 6f 6e 61 6c 20 73 74 61 6e 64 61 72 64 ational standard
2a30: 2c 20 61 6e 64 20 61 6c 6d 6f 73 74 20 61 6c 6c , and almost all
2a40: 20 66 72 65 65 20 61 6e 64 20 70 72 6f 70 72 69 free and propri
2a50: 65 74 61 72 79 20 69 6d 70 6c 65 6d 65 6e 74 61 etary implementa
2a60: 74 69 6f 6e 73 20 61 72 65 20 65 78 70 65 63 74 tions are expect
2a70: 65 64 20 74 6f 20 73 75 70 70 6f 72 74 20 69 74 ed to support it
2a80: 2e 3c 62 72 3e 0d 0a 54 68 69 73 20 69 73 20 61 .<br>..This is a
2a90: 20 76 65 72 79 20 72 65 6c 65 76 61 6e 74 20 63 very relevant c
2aa0: 68 61 6e 67 65 20 74 68 61 74 20 65 6e 73 75 72 hange that ensur
2ab0: 65 73 20 61 20 72 6f 62 75 73 74 20 63 6f 6d 70 es a robust comp
2ac0: 61 74 69 62 69 6c 69 74 79 20 62 65 74 77 65 65 atibility betwee
2ad0: 6e 20 64 69 66 66 65 72 65 6e 74 20 61 70 70 6c n different appl
2ae0: 69 63 61 74 69 6f 6e 73 2e 3c 62 72 3e 3c 62 72 ications.<br><br
2af0: 3e 0d 0a 3c 74 61 62 6c 65 20 63 65 6c 6c 73 70 >..<table cellsp
2b00: 61 63 69 6e 67 3d 22 38 22 20 63 65 6c 6c 70 61 acing="8" cellpa
2b10: 64 64 69 6e 67 3d 22 31 36 22 20 62 67 63 6f 6c dding="16" bgcol
2b20: 6f 72 3d 22 23 66 66 66 66 65 39 22 3e 0d 0a 3c or="#ffffe9">..<
2b30: 74 72 3e 3c 74 64 3e 0d 0a 3c 62 3e 3c 75 3e 49 tr><td>..<b><u>I
2b40: 6d 70 6f 72 74 61 6e 74 20 6e 6f 74 69 63 65 3c mportant notice<
2b50: 2f 75 3e 3c 2f 62 3e 3a 20 74 68 65 72 65 20 61 /u></b>: there a
2b60: 72 65 20 73 65 76 65 72 61 6c 20 64 69 61 6c 65 re several diale
2b70: 63 74 73 20 69 6e 20 74 68 65 20 57 4b 54 20 6e cts in the WKT n
2b80: 6f 74 61 74 69 6f 6e 20 64 65 73 63 72 69 62 69 otation describi
2b90: 6e 67 20 43 52 53 65 73 2e 3c 62 72 3e 0d 0a 41 ng CRSes.<br>..A
2ba0: 6c 6c 20 74 68 65 6d 20 73 68 61 72 65 20 74 68 ll them share th
2bb0: 65 20 73 61 6d 65 20 63 6f 6d 6d 6f 6e 20 63 6f e same common co
2bc0: 72 65 20 61 6e 64 20 6d 61 69 6e 6c 79 20 64 69 re and mainly di
2bd0: 66 66 65 72 20 69 6e 20 66 65 77 20 6d 69 6e 6f ffer in few mino
2be0: 72 20 64 65 74 61 69 6c 73 2e 3c 62 72 3e 0d 0a r details.<br>..
2bf0: 50 52 4f 4a 2e 36 20 63 61 6e 20 75 6e 64 65 72 PROJ.6 can under
2c00: 73 74 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 stand the follow
2c10: 69 6e 67 20 64 69 61 6c 65 63 74 73 3a 0d 0a 3c ing dialects:..<
2c20: 6f 6c 3e 0d 0a 3c 6c 69 3e 3c 62 3e 45 53 52 49 ol>..<li><b>ESRI
2c30: 20 57 4b 54 3c 2f 62 3e 3a 20 61 20 64 69 61 6c WKT</b>: a dial
2c40: 65 63 74 20 77 69 64 65 6c 79 20 61 64 6f 70 74 ect widely adopt
2c50: 65 64 20 62 79 20 45 53 52 49 20 70 72 6f 70 72 ed by ESRI propr
2c60: 69 65 74 61 72 79 20 73 6f 66 74 77 61 72 65 2e ietary software.
2c70: 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 3c 62 3e 47 44 </li>..<li><b>GD
2c80: 41 4c 20 57 4b 54 31 3c 2f 62 3e 3a 20 61 20 64 AL WKT1</b>: a d
2c90: 69 61 6c 65 63 74 20 68 69 73 74 6f 72 69 63 61 ialect historica
2ca0: 6c 6c 79 20 73 75 70 70 6f 72 74 65 64 20 62 79 lly supported by
2cb0: 20 74 68 65 20 6f 70 65 6e 20 73 6f 75 72 63 65 the open source
2cc0: 20 47 44 41 4c 20 6c 69 62 72 61 72 79 2e 3c 2f GDAL library.</
2cd0: 6c 69 3e 0d 0a 3c 6c 69 3e 3c 62 3e 57 4b 54 32 li>..<li><b>WKT2
2ce0: 3a 32 30 31 35 3c 2f 62 3e 3a 20 61 73 20 64 65 :2015</b>: as de
2cf0: 66 69 6e 65 64 20 62 79 20 3c 62 3e 49 53 4f 20 fined by <b>ISO
2d00: 31 39 31 36 32 3a 32 30 31 35 3c 2f 62 3e 20 73 19162:2015</b> s
2d10: 74 61 6e 64 61 72 64 20 73 70 65 63 69 66 69 63 tandard specific
2d20: 61 74 69 6f 6e 20 28 6e 6f 77 20 73 75 70 65 72 ation (now super
2d30: 73 65 64 65 64 29 2e 3c 2f 6c 69 3e 0d 0a 3c 6c seded).</li>..<l
2d40: 69 3e 3c 62 3e 57 4b 54 32 3a 32 30 31 38 3c 2f i><b>WKT2:2018</
2d50: 62 3e 3a 20 61 73 20 64 65 66 69 6e 65 64 20 62 b>: as defined b
2d60: 79 20 74 68 65 20 6d 6f 72 65 20 72 65 63 65 6e y the more recen
2d70: 74 20 3c 62 3e 49 53 4f 20 31 39 31 36 32 3a 32 t <b>ISO 19162:2
2d80: 30 31 38 3c 2f 62 3e 20 73 74 61 6e 64 61 72 64 018</b> standard
2d90: 20 73 70 65 63 69 66 69 63 61 74 69 6f 6e 20 2e specification .
2da0: 3c 2f 6c 69 3e 0d 0a 3c 2f 6f 6c 3e 0d 0a 3c 2f </li>..</ol>..</
2db0: 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 62 6c td></tr>..</tabl
2dc0: 65 3e 3c 62 72 3e 0d 0a 3c 68 33 3e 54 68 65 20 e><br>..<h3>The
2dd0: 70 72 69 76 61 74 65 20 53 51 4c 69 74 65 20 64 private SQLite d
2de0: 61 74 61 62 61 73 65 20 73 75 70 70 6f 72 74 69 atabase supporti
2df0: 6e 67 20 50 52 4f 4a 2e 36 3c 2f 68 33 3e 0d 0a ng PROJ.6</h3>..
2e00: 53 69 6e 63 65 20 3c 62 3e 50 52 4f 4a 2e 36 3c Since <b>PROJ.6<
2e10: 2f 62 3e 20 74 68 65 20 50 52 4f 4a 20 6c 69 62 /b> the PROJ lib
2e20: 72 61 72 79 20 69 73 20 73 75 70 70 6f 72 74 65 rary is supporte
2e30: 64 20 62 79 20 61 20 70 72 69 76 61 74 65 20 53 d by a private S
2e40: 51 4c 69 74 65 20 64 61 74 61 62 61 73 65 20 63 QLite database c
2e50: 6f 6e 74 61 69 6e 69 6e 67 20 61 6c 6c 20 64 65 ontaining all de
2e60: 66 69 6e 69 74 69 6f 6e 73 20 61 62 6f 75 74 20 finitions about
2e70: 73 75 70 70 6f 72 74 65 64 20 43 52 53 65 73 2c supported CRSes,
2e80: 20 45 6c 6c 69 70 73 6f 69 64 73 2c 20 50 72 69 Ellipsoids, Pri
2e90: 6d 65 20 4d 65 72 69 64 69 61 6e 73 2c 20 55 6e me Meridians, Un
2ea0: 69 74 73 20 6f 66 20 4d 65 61 73 75 72 65 2c 20 its of Measure,
2eb0: 43 6f 6e 76 65 72 73 69 6f 6e 73 2c 20 54 72 61 Conversions, Tra
2ec0: 6e 73 66 6f 72 6d 61 74 69 6f 6e 73 20 61 6e 64 nsformations and
2ed0: 20 61 6c 69 6b 65 2e 3c 62 72 3e 0d 0a 3c 62 3e alike.<br>..<b>
2ee0: 3c 75 3e 4e 6f 74 65 3c 2f 75 3e 3c 2f 62 3e 3a <u>Note</u></b>:
2ef0: 20 6d 61 6e 79 20 6f 66 20 74 68 65 20 6e 65 77 many of the new
2f00: 20 61 64 76 61 6e 63 65 64 20 50 52 4f 4a 2e 36 advanced PROJ.6
2f10: 20 66 65 61 74 75 72 65 73 20 77 69 6c 6c 20 66 features will f
2f20: 61 69 6c 20 69 66 20 74 68 69 73 20 64 61 74 61 ail if this data
2f30: 62 61 73 65 20 69 73 20 6e 6f 74 20 61 76 61 69 base is not avai
2f40: 6c 61 62 6c 65 20 61 74 20 72 75 6e 20 74 69 6d lable at run tim
2f50: 65 2e 0d 0a 3c 68 33 3e 44 69 72 65 63 74 20 74 e...<h3>Direct t
2f60: 72 61 6e 73 66 6f 72 6d 61 74 69 6f 6e 73 20 66 ransformations f
2f70: 72 6f 6d 20 43 52 53 20 74 6f 20 43 52 53 3c 2f rom CRS to CRS</
2f80: 68 33 3e 0d 0a 41 73 20 61 70 70 6f 73 65 64 20 h3>..As apposed
2f90: 74 6f 20 61 6c 6c 20 70 72 65 76 69 6f 75 73 20 to all previous
2fa0: 76 65 72 73 69 6f 6e 73 2c 20 50 52 4f 4a 2e 36 versions, PROJ.6
2fb0: 20 63 61 6e 20 6e 6f 77 20 61 70 70 6c 79 20 61 can now apply a
2fc0: 6e 79 20 74 72 61 6e 73 66 6f 72 6d 61 74 69 6f ny transformatio
2fd0: 6e 20 66 72 6f 6d 20 61 20 43 52 53 20 74 6f 20 n from a CRS to
2fe0: 61 6e 6f 74 68 65 72 20 77 69 74 68 6f 75 74 20 another without
2ff0: 73 70 65 63 69 66 79 69 6e 67 20 74 68 65 20 43 specifying the C
3000: 52 53 20 64 65 66 69 6e 69 74 69 6f 6e 73 20 28 RS definitions (
3010: 3c 62 3e 3c 69 3e 70 72 6f 6a 2d 73 74 72 69 6e <b><i>proj-strin
3020: 67 3c 2f 69 3e 3c 2f 62 3e 20 6f 72 20 3c 62 3e g</i></b> or <b>
3030: 3c 69 3e 57 4b 54 3c 2f 69 3e 3c 2f 62 3e 29 2e <i>WKT</i></b>).
3040: 3c 62 72 3e 0d 0a 54 68 69 73 20 69 73 20 62 65 <br>..This is be
3050: 63 61 75 73 65 20 50 52 4f 4a 2e 36 20 69 73 20 cause PROJ.6 is
3060: 6e 6f 77 20 63 61 70 61 62 6c 65 20 74 6f 20 72 now capable to r
3070: 65 74 72 69 65 76 65 20 61 6e 79 20 43 52 53 20 etrieve any CRS
3080: 64 65 66 69 6e 69 74 69 6f 6e 20 64 69 72 65 63 definition direc
3090: 74 6c 79 0d 0a 66 72 6f 6d 20 69 74 73 20 6f 77 tly..from its ow
30a0: 6e 20 70 72 69 76 61 74 65 20 53 51 4c 69 74 65 n private SQLite
30b0: 20 64 61 74 61 62 61 73 65 2c 20 61 6e 64 20 63 database, and c
30c0: 6f 6e 73 65 71 75 65 6e 74 6c 79 20 65 61 63 68 onsequently each
30d0: 20 43 52 53 20 63 61 6e 20 62 65 20 66 75 6c 6c CRS can be full
30e0: 79 20 69 64 65 6e 74 69 66 69 65 64 20 62 79 20 y identified by
30f0: 73 69 6d 70 6c 79 20 73 70 65 63 69 66 79 69 6e simply specifyin
3100: 67 20 69 74 73 20 73 79 6d 62 6f 6c 69 63 20 6e g its symbolic n
3110: 61 6d 65 2c 20 61 73 20 69 6e 3a 0d 0a 3c 75 6c ame, as in:..<ul
3120: 3e 0d 0a 3c 6c 69 3e 3c 62 3e 45 50 53 47 3a 34 >..<li><b>EPSG:4
3130: 33 32 36 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a 3c 2f 326</b></li>..</
3140: 75 6c 3e 0d 0a 6f 72 20 61 6c 74 65 72 6e 61 74 ul>..or alternat
3150: 69 76 65 6c 79 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 ively..<ul>..<li
3160: 3e 3c 62 3e 75 72 6e 3a 6f 67 63 3a 64 65 66 3a ><b>urn:ogc:def:
3170: 63 72 73 3a 45 50 53 47 3a 3a 34 33 32 36 3c 2f crs:EPSG::4326</
3180: 62 3e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a b></li>..</ul>..
3190: 3c 62 72 3e 0d 0a 3c 74 61 62 6c 65 20 63 65 6c <br>..<table cel
31a0: 6c 73 70 61 63 69 6e 67 3d 22 38 22 20 63 65 6c lspacing="8" cel
31b0: 6c 70 61 64 64 69 6e 67 3d 22 31 36 22 20 62 67 lpadding="16" bg
31c0: 63 6f 6c 6f 72 3d 22 23 66 66 66 66 65 39 22 3e color="#ffffe9">
31d0: 0d 0a 3c 74 72 3e 3c 74 64 3e 0d 0a 3c 62 3e 3c ..<tr><td>..<b><
31e0: 75 3e 41 6e 6f 74 68 65 72 20 6d 61 6a 6f 72 20 u>Another major
31f0: 64 69 66 66 65 72 65 6e 63 65 3c 2f 75 3e 3c 2f difference</u></
3200: 62 3e 3a 20 77 68 69 63 68 20 72 65 73 75 6c 74 b>: which result
3210: 73 20 69 6e 20 6d 6f 72 65 20 70 72 65 63 69 73 s in more precis
3220: 65 20 74 72 61 6e 73 66 6f 72 6d 61 74 69 6f 6e e transformation
3230: 73 3a 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 3c 62 s:..<ul>..<li><b
3240: 3e 50 52 4f 4a 2e 34 3c 2f 62 3e 3a 20 61 6c 77 >PROJ.4</b>: alw
3250: 61 79 73 20 74 72 61 6e 73 66 6f 72 6d 65 64 20 ays transformed
3260: 66 69 72 73 74 20 74 6f 20 3c 62 3e 57 53 47 38 first to <b>WSG8
3270: 34 3c 2f 62 3e 20 61 6e 64 20 66 72 6f 6d 20 74 4</b> and from t
3280: 68 65 72 65 20 74 6f 20 74 68 65 20 74 61 72 67 here to the targ
3290: 65 74 20 70 72 6f 6a 65 63 74 69 6f 6e 2e 3c 2f et projection.</
32a0: 6c 69 3e 0d 0a 3c 6c 69 3e 3c 62 3e 50 52 4f 4a li>..<li><b>PROJ
32b0: 2e 36 3c 2f 62 3e 3a 20 77 69 6c 6c 20 74 72 61 .6</b>: will tra
32c0: 6e 73 66 6f 72 6d 20 74 6f 20 74 68 65 20 74 61 nsform to the ta
32d0: 72 67 65 74 20 70 72 6f 6a 65 63 74 69 6f 6e 20 rget projection
32e0: 3c 62 3e 64 69 72 65 63 74 6c 79 3c 2f 62 3e 2e <b>directly</b>.
32f0: 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 54 68 </li>..</ul>..Th
3300: 69 73 20 77 69 6c 6c 20 61 6c 73 6f 20 61 76 6f is will also avo
3310: 69 64 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 id <a href="http
3320: 73 3a 2f 2f 65 6e 2e 77 69 6b 69 70 65 64 69 61 s://en.wikipedia
3330: 2e 6f 72 67 2f 77 69 6b 69 2f 46 6c 6f 61 74 69 .org/wiki/Floati
3340: 6e 67 2d 70 6f 69 6e 74 5f 61 72 69 74 68 6d 65 ng-point_arithme
3350: 74 69 63 23 41 63 63 75 72 61 63 79 5f 70 72 6f tic#Accuracy_pro
3360: 62 6c 65 6d 73 22 3e 66 6c 6f 61 74 69 6e 67 20 blems">floating
3370: 70 6f 69 6e 74 20 61 63 63 75 72 61 63 79 20 70 point accuracy p
3380: 72 6f 62 6c 65 6d 73 3c 2f 61 3e 20 77 68 69 63 roblems</a> whic
3390: 68 20 6d 61 79 20 6f 63 63 75 72 20 74 68 72 6f h may occur thro
33a0: 75 67 68 20 74 68 65 20 65 78 74 72 61 20 3c 62 ugh the extra <b
33b0: 3e 57 53 47 38 34 3c 2f 62 3e 20 74 72 61 6e 73 >WSG84</b> trans
33c0: 66 6f 72 6d 61 74 69 6f 6e 0d 0a 3c 2f 74 64 3e formation..</td>
33d0: 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 62 6c 65 3e 0d </tr>..</table>.
33e0: 0a 3c 68 33 3e 53 75 70 70 6f 72 74 69 6e 67 20 .<h3>Supporting
33f0: 73 70 65 63 69 66 69 63 20 61 72 65 61 73 20 6f specific areas o
3400: 66 20 75 73 65 3c 2f 68 33 3e 0d 0a 3c 74 61 62 f use</h3>..<tab
3410: 6c 65 20 63 65 6c 6c 73 70 61 63 69 6e 67 3d 22 le cellspacing="
3420: 38 22 20 63 65 6c 6c 70 61 64 64 69 6e 67 3d 22 8" cellpadding="
3430: 38 22 20 62 67 63 6f 6c 6f 72 3d 22 23 65 38 66 8" bgcolor="#e8f
3440: 66 65 38 22 20 62 6f 72 64 65 72 3d 22 31 22 3e fe8" border="1">
3450: 0d 0a 3c 74 72 3e 3c 74 64 3e 0d 0a 50 52 4f 4a ..<tr><td>..PROJ
3460: 2e 36 20 69 73 20 6e 6f 77 20 61 62 6c 65 20 74 .6 is now able t
3470: 6f 20 6d 61 6b 65 20 61 20 64 69 73 74 69 6e 63 o make a distinc
3480: 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 64 69 66 tion between dif
3490: 66 65 72 65 6e 74 20 3c 62 3e 61 72 65 61 73 20 ferent <b>areas
34a0: 6f 66 20 75 73 65 3c 2f 62 3e 20 77 69 74 68 69 of use</b> withi
34b0: 6e 20 61 20 43 52 53 2c 20 61 6e 64 20 63 61 6e n a CRS, and can
34c0: 20 65 76 65 6e 74 75 61 6c 6c 79 20 61 70 70 6c eventually appl
34d0: 79 20 74 68 65 20 6d 6f 73 74 20 61 70 70 72 6f y the most appro
34e0: 70 72 69 61 74 65 20 74 72 61 6e 73 66 6f 72 6d priate transform
34f0: 61 74 69 6f 6e 20 77 68 65 6e 20 74 68 65 20 69 ation when the i
3500: 6e 74 65 6e 64 65 64 20 61 72 65 61 2d 6f 66 2d ntended area-of-
3510: 75 73 65 20 69 73 20 65 78 70 6c 69 63 69 74 6c use is explicitl
3520: 79 20 73 70 65 63 69 66 69 65 64 2c 20 74 68 75 y specified, thu
3530: 73 20 6c 65 61 64 69 6e 67 20 74 6f 20 6d 6f 72 s leading to mor
3540: 65 20 70 72 65 63 69 73 65 20 72 65 73 75 6c 74 e precise result
3550: 73 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 54 68 65 20 s.<br><br>..The
3560: 73 69 64 65 20 66 69 67 75 72 65 20 73 68 6f 77 side figure show
3570: 73 20 74 68 65 20 73 69 74 75 61 74 69 6f 6e 20 s the situation
3580: 66 6f 72 20 74 68 65 20 49 74 61 6c 69 61 6e 20 for the Italian
3590: 70 65 6e 69 6e 73 75 6c 61 2e 3c 62 72 3e 0d 0a peninsula.<br>..
35a0: 41 73 20 79 6f 75 20 63 61 6e 20 73 65 65 20 74 As you can see t
35b0: 68 65 72 65 20 61 72 65 20 74 77 6f 20 6d 61 69 here are two mai
35c0: 6e 20 61 72 65 61 73 20 28 3c 62 3e 3c 69 3e 45 n areas (<b><i>E
35d0: 61 73 74 3c 2f 69 3e 3c 2f 62 3e 20 61 6e 64 20 ast</i></b> and
35e0: 3c 62 3e 3c 69 3e 57 65 73 74 3c 2f 69 3e 3c 2f <b><i>West</i></
35f0: 62 3e 20 6f 66 20 6c 6f 6e 67 69 74 75 64 65 20 b> of longitude
3600: 3c 62 3e 31 32 45 3c 2f 62 3e 29 2c 20 62 75 74 <b>12E</b>), but
3610: 20 74 68 65 72 65 20 61 72 65 20 73 65 76 65 72 there are sever
3620: 61 6c 20 73 6d 61 6c 6c 65 72 20 61 72 65 61 73 al smaller areas
3630: 20 63 6f 76 65 72 69 6e 67 20 73 70 65 63 69 66 covering specif
3640: 69 63 20 72 65 67 69 6f 6e 73 2e 0d 0a 3c 75 6c ic regions...<ul
3650: 3e 0d 0a 3c 6c 69 3e 54 68 65 20 74 77 6f 20 6d >..<li>The two m
3660: 61 69 6e 20 61 72 65 61 73 20 63 6f 72 72 65 73 ain areas corres
3670: 70 6f 6e 64 20 74 6f 20 3c 62 3e 45 50 53 47 3a pond to <b>EPSG:
3680: 33 30 30 33 20 3c 69 3e 4d 6f 6e 74 65 20 4d 61 3003 <i>Monte Ma
3690: 72 69 6f 20 2f 20 49 74 61 6c 79 20 7a 6f 6e 65 rio / Italy zone
36a0: 20 31 3c 2f 69 3e 3c 2f 62 3e 20 61 6e 64 20 3c 1</i></b> and <
36b0: 62 3e 45 50 53 47 3a 33 30 30 34 20 3c 69 3e 4d b>EPSG:3004 <i>M
36c0: 6f 6e 74 65 20 4d 61 72 69 6f 20 2f 20 49 74 61 onte Mario / Ita
36d0: 6c 79 20 7a 6f 6e 65 20 32 3c 2f 69 3e 3c 2f 62 ly zone 2</i></b
36e0: 3e 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 54 68 65 >.</li>..<li>The
36f0: 20 73 6d 61 6c 6c 65 72 20 61 72 65 61 73 20 63 smaller areas c
3700: 6f 72 72 65 73 70 6f 6e 64 20 74 6f 20 74 68 65 orrespond to the
3710: 20 6d 6f 72 65 20 73 70 65 63 69 66 69 63 20 3c more specific <
3720: 62 3e 3c 69 3e 61 72 65 61 73 20 6f 66 20 75 73 b><i>areas of us
3730: 65 3c 2f 69 3e 3c 2f 62 3e 20 6e 6f 77 20 73 75 e</i></b> now su
3740: 70 70 6f 72 74 65 64 20 62 79 20 50 52 4f 4a 2e pported by PROJ.
3750: 36 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c 62 72 6</li>..</ul><br
3760: 3e 0d 0a 49 66 20 79 6f 75 72 20 73 70 65 63 69 >..If your speci
3770: 66 69 63 20 61 72 65 61 20 6f 66 20 69 6e 74 65 fic area of inte
3780: 72 65 73 74 20 69 73 20 63 6f 6e 74 61 69 6e 65 rest is containe
3790: 64 20 77 69 74 68 69 6e 20 6f 6e 65 20 6f 66 20 d within one of
37a0: 74 68 65 73 65 20 73 75 62 2d 72 65 67 69 6f 6e these sub-region
37b0: 73 20 79 6f 75 20 63 61 6e 20 69 6e 66 6f 72 6d s you can inform
37c0: 20 50 52 4f 4a 2e 36 20 77 68 69 63 68 20 73 75 PROJ.6 which su
37d0: 62 2d 72 65 67 69 6f 6e 20 79 6f 75 20 77 61 6e b-region you wan
37e0: 74 20 62 79 20 67 69 76 69 6e 67 20 65 69 74 68 t by giving eith
37f0: 65 72 20 74 68 65 20 61 72 65 61 20 42 42 4f 58 er the area BBOX
3800: 20 6f 72 20 6e 61 6d 65 2c 20 61 6e 64 20 74 68 or name, and th
3810: 65 6e 20 50 52 4f 4a 2e 36 20 77 69 6c 6c 20 61 en PROJ.6 will a
3820: 74 74 65 6d 70 74 20 74 6f 20 75 73 65 20 74 68 ttempt to use th
3830: 65 20 6d 6f 73 74 20 73 70 65 63 69 66 69 63 20 e most specific
3840: 74 72 61 6e 73 66 6f 72 6d 61 74 69 6f 6e 20 70 transformation p
3850: 61 72 61 6d 65 74 65 72 73 20 61 76 61 69 6c 61 arameters availa
3860: 62 6c 65 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 57 65 ble.<br><br>..We
3870: 27 6c 6c 20 65 78 61 6d 69 6e 65 20 74 68 69 73 'll examine this
3880: 20 74 6f 70 69 63 20 69 6e 20 6d 6f 72 65 20 64 topic in more d
3890: 65 70 74 68 20 69 6e 20 74 68 65 20 66 6f 6c 6c epth in the foll
38a0: 6f 77 69 6e 67 20 73 65 63 74 69 6f 6e 73 2e 20 owing sections.
38b0: 0d 0a 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 0d 0a 3c ..</td>..<td>..<
38c0: 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 3a 2f img src="https:/
38d0: 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 /www.gaia-gis.it
38e0: 2f 67 61 69 61 2d 73 69 6e 73 2f 70 72 6f 6a 36 /gaia-sins/proj6
38f0: 70 69 63 73 2f 69 74 61 6c 79 2d 61 72 65 61 73 pics/italy-areas
3900: 2d 6f 66 2d 75 73 65 2e 70 6e 67 22 20 61 6c 74 -of-use.png" alt
3910: 3d 22 69 74 61 6c 79 20 61 72 65 61 73 20 6f 66 ="italy areas of
3920: 20 75 73 65 22 3e 0d 0a 3c 2f 74 64 3e 3c 2f 74 use">..</td></t
3930: 72 3e 0d 0a 3c 2f 74 61 62 6c 65 3e 0d 0a 3c 62 r>..</table>..<b
3940: 72 3e 3c 62 72 3e 0d 0a 3c 74 61 62 6c 65 20 63 r><br>..<table c
3950: 65 6c 6c 73 70 61 63 69 6e 67 3d 22 38 22 20 63 ellspacing="8" c
3960: 65 6c 6c 70 61 64 64 69 6e 67 3d 22 31 36 22 20 ellpadding="16"
3970: 62 67 63 6f 6c 6f 72 3d 22 23 66 66 66 66 65 39 bgcolor="#ffffe9
3980: 22 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 0d 0a 3c 68 ">..<tr><td>..<h
3990: 33 3e 43 6f 6e 63 65 70 74 73 20 74 6f 20 6b 65 3>Concepts to ke
39a0: 65 70 20 77 65 6c 6c 20 69 6e 20 6d 69 6e 64 3c ep well in mind<
39b0: 2f 68 33 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e /h3>..<ul>..<li>
39c0: 66 6f 72 67 65 74 20 74 68 65 20 6f 6c 64 20 70 forget the old p
39d0: 72 6f 6a 2d 73 74 72 69 6e 67 73 3b 20 74 68 65 roj-strings; the
39e0: 79 20 61 72 65 20 6e 6f 20 6c 6f 6e 67 65 72 20 y are no longer
39f0: 74 68 65 20 62 65 73 74 20 77 61 79 20 66 6f 72 the best way for
3a00: 20 74 61 6b 69 6e 67 20 66 75 6c 6c 20 70 72 6f taking full pro
3a10: 66 69 74 20 66 72 6f 6d 20 50 52 4f 4a 2e 36 3c fit from PROJ.6<
3a20: 2f 6c 69 3e 0d 0a 3c 6c 69 3e 74 68 65 20 62 65 /li>..<li>the be
3a30: 73 74 20 77 61 79 20 74 6f 20 75 74 69 6c 69 7a st way to utiliz
3a40: 65 20 50 52 4f 4a 2e 36 20 63 61 70 61 62 69 6c e PROJ.6 capabil
3a50: 69 74 69 65 73 20 69 73 20 62 79 20 61 6c 6c 6f ities is by allo
3a60: 77 69 6e 67 20 74 68 65 20 6c 69 62 72 61 72 79 wing the library
3a70: 20 74 6f 20 66 72 65 65 6c 79 20 63 68 6f 6f 73 to freely choos
3a80: 65 20 74 68 65 20 62 65 73 74 20 70 6f 73 73 69 e the best possi
3a90: 62 6c 65 20 74 72 61 6e 73 66 6f 72 6d 61 74 69 ble transformati
3aa0: 6f 6e 20 70 61 74 68 73 20 62 65 74 77 65 65 6e on paths between
3ab0: 20 74 68 65 20 6f 72 69 67 69 6e 20 61 6e 64 20 the origin and
3ac0: 74 68 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 the destination
3ad0: 43 52 53 65 73 2e 3c 62 72 3e 0d 0a 54 68 69 73 CRSes.<br>..This
3ae0: 2c 20 68 6f 77 65 76 65 72 2c 20 73 74 72 69 63 , however, stric
3af0: 74 6c 79 20 72 65 71 75 69 72 65 73 20 74 68 61 tly requires tha
3b00: 74 20 74 68 65 20 6c 69 62 72 61 72 69 65 73 20 t the libraries
3b10: 70 72 69 76 61 74 65 20 64 61 74 61 62 61 73 65 private database
3b20: 20 28 3c 62 3e 70 72 6f 6a 2e 64 62 3c 2f 62 3e (<b>proj.db</b>
3b30: 29 20 63 61 6e 20 62 65 20 66 6f 75 6e 64 2e 3c ) can be found.<
3b40: 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c 68 33 /li>..</ul>..<h3
3b50: 3e 41 64 64 69 74 69 6f 6e 61 6c 20 63 6f 6e 63 >Additional conc
3b60: 65 70 74 3c 2f 68 33 3e 0d 0a 54 68 65 20 74 72 ept</h3>..The tr
3b70: 61 64 69 74 69 6f 6e 61 6c 20 3c 62 3e 73 70 61 aditional <b>spa
3b80: 74 69 61 6c 5f 72 65 66 5f 73 79 73 3c 2f 62 3e tial_ref_sys</b>
3b90: 20 74 61 62 6c 65 20 63 6f 6e 74 61 69 6e 65 64 table contained
3ba0: 20 77 69 74 68 69 6e 20 61 6e 79 20 53 70 61 74 within any Spat
3bb0: 69 61 4c 69 74 65 20 44 42 20 6e 6f 74 69 63 65 iaLite DB notice
3bc0: 61 62 6c 79 20 63 68 61 6e 67 65 73 20 69 74 73 ably changes its
3bd0: 20 69 6e 74 65 6e 64 65 64 20 70 75 72 70 6f 73 intended purpos
3be0: 65 20 77 68 65 6e 20 75 73 69 6e 67 20 50 52 4f e when using PRO
3bf0: 4a 2e 36 3a 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e J.6:..<ul>..<li>
3c00: 3c 62 3e 73 72 69 64 3c 2f 62 3e 2c 20 3c 62 3e <b>srid</b>, <b>
3c10: 61 75 74 68 5f 6e 61 6d 65 3c 2f 62 3e 2c 20 3c auth_name</b>, <
3c20: 62 3e 61 75 74 68 5f 73 72 69 64 3c 2f 62 3e 20 b>auth_srid</b>
3c30: 61 6e 64 20 3c 62 3e 72 65 66 5f 73 79 73 5f 6e and <b>ref_sys_n
3c40: 61 6d 65 3c 2f 62 3e 20 63 6f 6c 75 6d 6e 73 20 ame</b> columns
3c50: 61 72 65 20 73 74 69 6c 6c 20 72 65 71 75 69 72 are still requir
3c60: 65 64 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 64 ed in order to d
3c70: 65 66 69 6e 65 20 61 6c 6c 20 73 75 70 70 6f 72 efine all suppor
3c80: 74 65 64 20 43 52 53 65 73 20 61 6e 64 20 74 6f ted CRSes and to
3c90: 20 73 75 70 70 6f 72 74 20 0d 0a 72 65 6c 61 74 support ..relat
3ca0: 69 6f 6e 73 20 62 61 73 65 64 20 6f 6e 20 50 72 ions based on Pr
3cb0: 69 6d 61 72 79 20 61 6e 64 20 46 6f 72 65 69 67 imary and Foreig
3cc0: 6e 20 4b 65 79 73 2e 3c 2f 6c 69 3e 0d 0a 3c 6c n Keys.</li>..<l
3cd0: 69 3e 62 75 74 20 63 6f 6c 75 6d 6e 73 20 3c 62 i>but columns <b
3ce0: 3e 70 72 6f 6a 34 74 65 78 74 3c 2f 62 3e 20 61 >proj4text</b> a
3cf0: 6e 64 20 3c 62 3e 73 72 74 65 78 74 3c 2f 62 3e nd <b>srtext</b>
3d00: 20 61 72 65 20 6e 6f 77 20 70 72 61 63 74 69 63 are now practic
3d10: 61 6c 6c 79 20 75 73 65 6c 65 73 73 2c 20 62 65 ally useless, be
3d20: 63 61 75 73 65 20 50 52 4f 4a 2e 36 20 69 73 20 cause PROJ.6 is
3d30: 6e 6f 77 20 63 61 70 61 62 6c 65 20 6f 66 20 72 now capable of r
3d40: 65 74 72 69 65 76 69 6e 67 20 74 68 65 20 6e 65 etrieving the ne
3d50: 65 64 65 64 20 43 52 53 20 64 65 66 69 6e 69 74 eded CRS definit
3d60: 69 6f 6e 73 20 66 72 6f 6d 20 69 74 73 20 6f 77 ions from its ow
3d70: 6e 20 70 72 69 76 61 74 65 20 64 61 74 61 62 61 n private databa
3d80: 73 65 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 3c 69 se.</li>..<li><i
3d90: 3e 3c 75 3e 46 75 74 75 72 65 20 46 6f 72 65 63 ><u>Future Forec
3da0: 61 73 74 73 3c 2f 75 3e 3c 2f 69 3e 3a 20 62 6f asts</u></i>: bo
3db0: 74 68 20 3c 62 3e 70 72 6f 6a 34 74 65 78 74 3c th <b>proj4text<
3dc0: 2f 62 3e 20 61 6e 64 20 3c 62 3e 73 72 74 65 78 /b> and <b>srtex
3dd0: 74 3c 2f 62 3e 20 77 69 6c 6c 20 20 70 72 6f 62 t</b> will prob
3de0: 61 62 6c 79 20 62 65 20 72 65 6d 6f 76 65 64 20 ably be removed
3df0: 69 6e 20 73 6f 6d 65 20 66 75 74 75 72 65 20 76 in some future v
3e00: 65 72 73 69 6f 6e 20 6f 66 20 53 70 61 74 69 61 ersion of Spatia
3e10: 4c 69 74 65 2e 3c 62 72 3e 0d 0a 46 6f 72 20 6e Lite.<br>..For n
3e20: 6f 77 20 74 68 65 79 20 77 69 6c 6c 20 63 6f 6e ow they will con
3e30: 74 69 6e 75 65 20 74 6f 20 62 65 20 6e 65 65 64 tinue to be need
3e40: 65 64 20 66 6f 72 20 76 65 72 73 69 6f 6e 73 20 ed for versions
3e50: 6f 66 20 53 70 61 74 69 61 4c 69 74 65 20 74 68 of SpatiaLite th
3e60: 61 74 20 75 73 65 73 2c 20 74 68 65 20 6e 6f 77 at uses, the now
3e70: 20 73 75 70 65 72 73 65 64 65 64 2c 20 50 52 4f superseded, PRO
3e80: 4a 2e 34 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d J.4</li>..</ul>.
3e90: 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 .</td></tr>..</t
3ea0: 61 62 6c 65 3e 0d 0a 3c 68 33 3e 54 72 61 6e 73 able>..<h3>Trans
3eb0: 66 6f 72 6d 61 74 69 6f 6e 20 70 69 70 65 6c 69 formation pipeli
3ec0: 6e 65 73 3c 2f 68 33 3e 0d 0a 54 68 65 72 65 20 nes</h3>..There
3ed0: 69 73 20 61 20 6c 61 73 74 20 61 73 74 6f 6e 69 is a last astoni
3ee0: 73 68 69 6e 67 20 69 6e 6e 6f 76 61 74 69 6f 6e shing innovation
3ef0: 20 69 6e 74 72 6f 64 75 63 65 64 20 69 6e 20 50 introduced in P
3f00: 52 4f 4a 2e 36 3a 20 3c 62 3e 3c 69 3e 74 72 61 ROJ.6: <b><i>tra
3f10: 6e 73 66 6f 72 6d 61 74 69 6f 6e 20 70 69 70 65 nsformation pipe
3f20: 6c 69 6e 65 73 3c 2f 69 3e 3c 2f 62 3e 2e 3c 62 lines</i></b>.<b
3f30: 72 3e 0d 0a 57 68 65 6e 20 75 73 69 6e 67 20 61 r>..When using a
3f40: 20 3c 62 3e 3c 69 3e 70 69 70 65 6c 69 6e 65 3c <b><i>pipeline<
3f50: 2f 69 3e 3c 2f 62 3e 20 79 6f 75 20 63 61 6e 20 /i></b> you can
3f60: 66 72 65 65 6c 79 20 64 65 66 69 6e 65 20 61 6e freely define an
3f70: 79 20 63 6f 6d 70 6c 65 78 20 67 65 6f 64 65 74 y complex geodet
3f80: 69 63 20 74 72 61 6e 73 66 6f 72 6d 61 74 69 6f ic transformatio
3f90: 6e 20 62 79 20 63 6f 6d 62 69 6e 69 6e 67 20 6d n by combining m
3fa0: 61 6e 79 20 65 6c 65 6d 65 6e 74 61 72 79 20 73 any elementary s
3fb0: 74 65 70 73 20 73 75 63 68 20 61 73 20 63 6f 6e teps such as con
3fc0: 76 65 72 73 69 6f 6e 2c 20 74 72 61 6e 73 66 6f version, transfo
3fd0: 72 6d 61 74 69 6f 6e 2c 20 70 72 6f 6a 65 63 74 rmation, project
3fe0: 69 6f 6e 2c 20 61 78 69 73 20 73 77 61 70 20 61 ion, axis swap a
3ff0: 6e 64 20 73 6f 20 6f 6e 2e 3c 62 72 3e 0d 0a 41 nd so on.<br>..A
4000: 20 70 69 70 65 6c 69 6e 65 20 69 73 20 63 6f 6e pipeline is con
4010: 63 65 70 74 75 61 6c 6c 79 20 73 69 6d 69 6c 61 ceptually simila
4020: 72 20 74 6f 20 61 20 55 4e 49 58 20 73 68 65 6c r to a UNIX shel
4030: 6c 20 73 63 72 69 70 74 2c 20 77 69 74 68 20 61 l script, with a
4040: 20 64 61 74 61 66 6c 6f 77 20 70 72 6f 63 65 73 dataflow proces
4050: 73 69 6e 67 20 65 61 63 68 20 73 74 65 70 20 75 sing each step u
4060: 6e 74 69 6c 20 74 68 65 20 66 69 6e 61 6c 20 72 ntil the final r
4070: 65 73 75 6c 74 20 69 73 20 70 72 6f 64 75 63 65 esult is produce
4080: 64 2e 3c 62 72 3e 0d 0a 54 68 65 20 66 6f 6c 6c d.<br>..The foll
4090: 6f 77 69 6e 67 20 69 73 20 61 20 70 72 61 63 74 owing is a pract
40a0: 69 63 61 6c 20 65 78 61 6d 70 6c 65 20 6f 66 20 ical example of
40b0: 61 20 70 69 70 65 6c 69 6e 65 20 63 6f 72 72 65 a pipeline corre
40c0: 73 70 6f 6e 64 69 6e 67 20 74 6f 20 61 20 74 72 sponding to a tr
40d0: 61 6e 73 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f ansformation fro
40e0: 6d 20 3c 62 3e 45 50 53 47 3a 34 33 32 36 3c 2f m <b>EPSG:4326</
40f0: 62 3e 20 3c 69 3e 57 47 53 20 38 34 3c 2f 69 3e b> <i>WGS 84</i>
4100: 20 74 6f 20 3c 62 3e 45 50 53 47 3a 33 32 36 33 to <b>EPSG:3263
4110: 32 3c 2f 62 3e 20 3c 69 3e 57 47 53 20 38 34 20 2</b> <i>WGS 84
4120: 2f 20 55 54 4d 20 7a 6f 6e 65 20 33 32 4e 3c 2f / UTM zone 32N</
4130: 69 3e 3a 0d 0a 3c 76 65 72 62 61 74 69 6d 3e 0d i>:..<verbatim>.
4140: 0a 2b 70 72 6f 6a 3d 70 69 70 65 6c 69 6e 65 20 .+proj=pipeline
4150: 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 3d 61 78 ..+step +proj=ax
4160: 69 73 73 77 61 70 20 2b 6f 72 64 65 72 3d 32 2c isswap +order=2,
4170: 31 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 3d 1 ..+step +proj=
4180: 75 6e 69 74 63 6f 6e 76 65 72 74 20 2b 78 79 5f unitconvert +xy_
4190: 69 6e 3d 64 65 67 20 2b 78 79 5f 6f 75 74 3d 72 in=deg +xy_out=r
41a0: 61 64 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a ad ..+step +proj
41b0: 3d 75 74 6d 20 2b 7a 6f 6e 65 3d 33 32 20 2b 65 =utm +zone=32 +e
41c0: 6c 6c 70 73 3d 57 47 53 38 34 0d 0a 3c 2f 76 65 llps=WGS84..</ve
41d0: 72 62 61 74 69 6d 3e 0d 0a 3c 75 6c 3e 0d 0a 3c rbatim>..<ul>..<
41e0: 6c 69 3e 53 74 65 70 20 30 3a 20 73 74 61 72 74 li>Step 0: start
41f0: 20 61 20 3c 62 3e 70 69 70 65 6c 69 6e 65 3c 2f a <b>pipeline</
4200: 62 3e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 53 74 65 b></li>..<li>Ste
4210: 70 20 31 3a 20 73 77 69 74 63 68 20 74 68 65 20 p 1: switch the
4220: 3c 62 3e 79 2c 78 3c 2f 62 3e 20 62 61 73 65 64 <b>y,x</b> based
4230: 20 6f 72 64 65 72 20 74 6f 20 3c 62 3e 78 2c 79 order to <b>x,y
4240: 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 53 </b></li>..<li>S
4250: 74 65 70 20 32 3a 20 63 6f 6e 76 65 72 74 20 70 tep 2: convert p
4260: 72 65 76 69 6f 75 73 20 72 65 73 75 6c 74 20 66 revious result f
4270: 72 6f 6d 20 3c 62 3e 64 65 67 72 65 65 73 3c 2f rom <b>degrees</
4280: 62 3e 20 74 6f 20 3c 62 3e 72 61 64 69 61 6e 73 b> to <b>radians
4290: 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 53 </b></li>..<li>S
42a0: 74 65 70 20 33 3a 20 63 6f 6e 76 65 72 74 20 70 tep 3: convert p
42b0: 72 65 76 69 6f 75 73 20 72 65 73 75 6c 74 20 66 revious result f
42c0: 72 6f 6d 20 3c 62 3e 57 53 47 38 34 3c 2f 62 3e rom <b>WSG84</b>
42d0: 20 74 6f 20 3c 62 3e 55 54 4d 20 33 32 3c 2f 62 to <b>UTM 32</b
42e0: 3e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c ></li>..</ul>..<
42f0: 62 72 3e 3c 62 72 3e 0d 0a 3c 74 61 62 6c 65 20 br><br>..<table
4300: 63 65 6c 6c 73 70 61 63 69 6e 67 3d 22 38 22 20 cellspacing="8"
4310: 63 65 6c 6c 70 61 64 64 69 6e 67 3d 22 31 36 22 cellpadding="16"
4320: 20 62 67 63 6f 6c 6f 72 3d 22 23 66 66 66 66 64 bgcolor="#ffffd
4330: 30 22 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 0d 0a 3c 0">..<tr><td>..<
4340: 62 3e 3c 75 3e 55 73 65 66 75 6c 20 68 69 6e 74 b><u>Useful hint
4350: 3c 2f 75 3e 3c 2f 62 3e 3a 20 50 52 4f 4a 2e 36 </u></b>: PROJ.6
4360: 20 73 75 70 70 6f 72 74 73 20 61 20 6e 65 77 20 supports a new
4370: 43 4c 49 20 74 6f 6f 6c 20 28 3c 62 3e 70 72 6f CLI tool (<b>pro
4380: 6a 69 6e 66 6f 3c 2f 62 3e 29 20 66 6f 72 20 69 jinfo</b>) for i
4390: 6e 73 70 65 63 74 69 6e 67 2c 20 69 6e 20 66 75 nspecting, in fu
43a0: 6c 6c 20 64 65 74 61 69 6c 2c 20 74 68 65 20 69 ll detail, the i
43b0: 6e 74 65 72 6e 61 6c 20 64 65 66 69 6e 69 74 69 nternal definiti
43c0: 6f 6e 73 20 6f 66 20 43 52 53 65 73 2c 20 54 72 ons of CRSes, Tr
43d0: 61 6e 73 66 6f 72 6d 61 74 69 6f 6e 73 20 65 74 ansformations et
43e0: 63 2e 3c 62 72 3e 0d 0a 54 68 65 20 61 62 6f 76 c.<br>..The abov
43f0: 65 20 70 69 70 65 6c 69 6e 65 20 69 73 20 73 69 e pipeline is si
4400: 6d 70 6c 79 20 74 68 65 20 6f 75 74 70 75 74 20 mply the output
4410: 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 of the following
4420: 20 63 6f 6d 6d 61 6e 64 3a 0d 0a 3c 76 65 72 62 command:..<verb
4430: 61 74 69 6d 3e 0d 0a 70 72 6f 6a 69 6e 66 6f 20 atim>..projinfo
4440: 2d 73 20 45 50 53 47 3a 34 33 32 36 20 2d 74 20 -s EPSG:4326 -t
4450: 45 50 53 47 3a 33 32 36 33 32 20 2d 6f 20 70 72 EPSG:32632 -o pr
4460: 6f 6a 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 3e 0d oj..</verbatim>.
4470: 0a 3c 62 3e 70 72 6f 6a 69 6e 66 6f 3c 2f 62 3e .<b>projinfo</b>
4480: 20 69 73 20 61 20 76 65 72 79 20 75 73 65 66 75 is a very usefu
4490: 6c 6c 20 72 65 73 6f 75 72 63 65 3b 20 64 6f 6e ll resource; don
44a0: 27 74 20 68 65 73 69 74 61 74 65 20 74 6f 20 75 't hesitate to u
44b0: 73 65 20 69 74 20 66 72 65 71 75 65 6e 74 6c 79 se it frequently
44c0: 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 64 69 73 in order to dis
44d0: 63 6f 76 65 72 20 77 68 61 74 27 73 20 72 65 61 cover what's rea
44e0: 6c 6c 79 20 62 65 69 6e 67 20 64 6f 6e 65 20 69 lly being done i
44f0: 6e 20 74 68 65 20 62 61 63 6b 67 72 6f 75 6e 64 n the background
4500: 2e 3c 62 72 3e 0d 0a 49 74 27 73 20 74 68 65 20 .<br>..It's the
4510: 62 65 73 74 20 61 6e 64 20 65 61 73 69 65 73 74 best and easiest
4520: 20 77 61 79 20 74 6f 20 66 75 6c 6c 79 20 75 6e way to fully un
4530: 64 65 72 73 74 61 6e 64 20 77 68 61 74 20 50 52 derstand what PR
4540: 4f 4a 2e 36 20 72 65 61 6c 6c 79 20 64 6f 65 73 OJ.6 really does
4550: 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 62 3e 70 72 .<br><br>..<b>pr
4560: 6f 6a 69 6e 66 6f 3c 2f 62 3e 20 61 6c 73 6f 20 ojinfo</b> also
4570: 67 69 76 65 73 20 67 6f 6f 64 20 68 69 6e 74 73 gives good hints
4580: 20 77 68 65 6e 20 70 72 6f 62 6c 65 6d 73 20 65 when problems e
4590: 78 69 73 74 2e 0d 0a 49 6e 20 74 68 69 73 20 63 xist...In this c
45a0: 61 73 65 20 3c 62 3e 50 52 4f 4a 5f 4c 49 42 3c ase <b>PROJ_LIB<
45b0: 2f 62 3e 20 77 61 73 20 69 6e 63 6f 72 72 65 63 /b> was incorrec
45c0: 74 6c 79 20 73 65 74 20 61 6e 64 20 74 68 65 20 tly set and the
45d0: 6e 65 65 64 65 64 20 67 72 69 64 20 66 69 6c 65 needed grid file
45e0: 73 20 63 6f 75 6c 64 20 6e 6f 74 20 62 65 20 66 s could not be f
45f0: 6f 75 6e 64 3a 0d 0a 3c 76 65 72 62 61 74 69 6d ound:..<verbatim
4600: 3e 0d 0a 47 72 69 64 20 42 45 54 41 32 30 30 37 >..Grid BETA2007
4610: 2e 67 73 62 20 6e 65 65 64 65 64 20 62 75 74 20 .gsb needed but
4620: 6e 6f 74 20 66 6f 75 6e 64 20 6f 6e 20 74 68 65 not found on the
4630: 20 73 79 73 74 65 6d 2e 0d 0a 43 61 6e 20 62 65 system...Can be
4640: 20 6f 62 74 61 69 6e 65 64 20 66 72 6f 6d 20 74 obtained from t
4650: 68 65 20 70 72 6f 6a 2d 64 61 74 75 6d 67 72 69 he proj-datumgri
4660: 64 20 70 61 63 6b 61 67 65 20 61 74 20 68 74 74 d package at htt
4670: 70 73 3a 2f 2f 64 6f 77 6e 6c 6f 61 64 2e 6f 73 ps://download.os
4680: 67 65 6f 2e 6f 72 67 2f 70 72 6f 6a 2f 70 72 6f geo.org/proj/pro
4690: 6a 2d 64 61 74 75 6d 67 72 69 64 2d 6c 61 74 65 j-datumgrid-late
46a0: 73 74 2e 7a 69 70 0d 0a 3c 2f 76 65 72 62 61 74 st.zip..</verbat
46b0: 69 6d 3e 0d 0a 49 74 20 6e 6f 74 20 6f 6e 6c 79 im>..It not only
46c0: 20 74 65 6c 6c 73 20 79 6f 75 20 77 68 69 63 68 tells you which
46d0: 20 67 72 69 64 2d 66 69 6c 65 20 69 73 20 6e 65 grid-file is ne
46e0: 65 64 65 64 2c 20 62 75 74 20 61 6c 73 6f 20 77 eded, but also w
46f0: 68 65 72 65 20 74 6f 20 67 65 74 20 69 74 2e 0d here to get it..
4700: 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 .</td></tr>..</t
4710: 61 62 6c 65 3e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c able><br><br>..<
4720: 74 61 62 6c 65 20 63 65 6c 6c 73 70 61 63 69 6e table cellspacin
4730: 67 3d 22 38 22 20 63 65 6c 6c 70 61 64 64 69 6e g="8" cellpaddin
4740: 67 3d 22 38 22 20 62 67 63 6f 6c 6f 72 3d 22 23 g="8" bgcolor="#
4750: 66 66 66 66 65 39 22 3e 0d 0a 3c 74 72 3e 3c 74 ffffe9">..<tr><t
4760: 68 3e 0d 0a 49 6e 20 6f 72 64 65 72 20 74 6f 20 h>..In order to
4770: 6c 65 61 72 6e 20 6d 6f 72 65 20 61 62 6f 75 74 learn more about
4780: 20 74 68 65 20 6d 61 6e 79 20 69 6e 74 65 72 65 the many intere
4790: 73 74 69 6e 67 20 61 6e 64 20 63 6f 6f 6c 20 6e sting and cool n
47a0: 65 77 20 66 65 61 74 75 72 65 73 20 73 75 70 70 ew features supp
47b0: 6f 72 74 65 64 20 62 79 20 50 52 4f 4a 2e 36 20 orted by PROJ.6
47c0: 70 6c 65 61 73 65 20 63 6f 6e 73 75 6c 74 20 74 please consult t
47d0: 68 65 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 he <a href="http
47e0: 73 3a 2f 2f 70 72 6f 6a 34 2e 6f 72 67 2f 22 3e s://proj4.org/">
47f0: 6f 72 69 67 69 6e 61 6c 20 50 52 4f 4a 20 64 6f original PROJ do
4800: 63 75 6d 65 6e 74 61 74 69 6f 6e 3c 2f 61 3e 0d cumentation</a>.
4810: 0a 3c 2f 74 68 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 .</th></tr>..</t
4820: 61 62 6c 65 3e 3c 62 72 3e 0d 0a 3c 68 72 3e 0d able><br>..<hr>.
4830: 0a 3c 68 31 3e 50 52 4f 4a 2e 36 20 73 75 70 70 .<h1>PROJ.6 supp
4840: 6f 72 74 20 6f 6e 20 53 70 61 74 69 61 4c 69 74 ort on SpatiaLit
4850: 65 2d 35 2e 30 2e 30 3c 2f 68 31 3e 0d 0a 3c 68 e-5.0.0</h1>..<h
4860: 33 3e 43 72 65 61 74 69 6e 67 20 61 6e 64 20 70 3>Creating and p
4870: 6f 70 75 6c 61 74 69 6e 67 20 74 68 65 20 73 70 opulating the sp
4880: 61 74 69 61 6c 5f 72 65 66 5f 73 79 73 20 6d 65 atial_ref_sys me
4890: 74 61 74 61 62 6c 65 3c 2f 68 33 3e 0d 0a 54 68 tatable</h3>..Th
48a0: 65 72 65 20 69 73 20 6e 6f 20 72 65 6c 65 76 61 ere is no releva
48b0: 6e 74 20 63 68 61 6e 67 65 2e 20 41 73 20 69 6e nt change. As in
48c0: 20 61 6c 6c 20 70 72 65 76 69 6f 75 73 20 76 65 all previous ve
48d0: 72 73 69 6f 6e 73 20 3c 62 3e 73 70 61 74 69 61 rsions <b>spatia
48e0: 6c 5f 72 65 66 5f 73 79 73 3c 2f 62 3e 20 77 69 l_ref_sys</b> wi
48f0: 6c 6c 20 62 65 20 61 75 74 6f 6d 61 74 69 63 61 ll be automatica
4900: 6c 6c 79 20 63 72 65 61 74 65 64 20 61 6e 64 20 lly created and
4910: 70 72 6f 70 65 72 6c 79 20 70 6f 70 75 6c 61 74 properly populat
4920: 65 20 62 79 20 63 61 6c 6c 69 6e 67 20 74 68 65 e by calling the
4930: 20 61 70 70 72 6f 70 72 69 61 74 65 20 53 51 4c appropriate SQL
4940: 20 66 75 6e 63 74 69 6f 6e 2e 0d 0a 3c 76 65 72 function...<ver
4950: 62 61 74 69 6d 3e 0d 0a 53 45 4c 45 43 54 20 49 batim>..SELECT I
4960: 6e 69 74 53 70 61 74 69 61 6c 4d 65 74 61 44 61 nitSpatialMetaDa
4970: 74 61 28 31 29 3b 0d 0a 20 20 20 20 20 20 6f 72 ta(1);.. or
4980: 0d 0a 53 45 4c 45 43 54 20 49 6e 69 74 53 70 61 ..SELECT InitSpa
4990: 74 69 61 6c 4d 65 74 61 44 61 74 61 46 75 6c 6c tialMetaDataFull
49a0: 28 31 29 3b 0d 0a 3c 2f 76 65 72 62 61 74 69 6d (1);..</verbatim
49b0: 3e 0d 0a 3c 74 61 62 6c 65 20 63 65 6c 6c 73 70 >..<table cellsp
49c0: 61 63 69 6e 67 3d 22 38 22 20 63 65 6c 6c 70 61 acing="8" cellpa
49d0: 64 64 69 6e 67 3d 22 38 22 20 62 67 63 6f 6c 6f dding="8" bgcolo
49e0: 72 3d 22 23 66 66 66 66 65 39 22 3e 0d 0a 3c 74 r="#ffffe9">..<t
49f0: 72 3e 3c 74 64 3e 0d 0a 50 6c 65 61 73 65 20 72 r><td>..Please r
4a00: 65 6d 65 6d 62 65 72 20 74 68 61 74 20 6e 6f 77 emember that now
4a10: 20 69 6e 20 53 70 61 74 69 61 4c 69 74 65 2d 35 in SpatiaLite-5
4a20: 2e 30 2e 30 20 3c 62 3e 49 6e 69 74 53 70 61 74 .0.0 <b>InitSpat
4a30: 69 61 6c 4d 65 74 61 44 61 74 61 46 75 6c 6c 3c ialMetaDataFull<
4a40: 2f 62 3e 20 72 65 70 72 65 73 65 6e 74 73 20 74 /b> represents t
4a50: 68 65 20 70 72 65 66 65 72 72 65 64 20 6d 65 74 he preferred met
4a60: 68 6f 64 20 66 6f 72 20 63 72 65 61 74 69 6e 67 hod for creating
4a70: 20 61 6c 6c 20 6d 65 74 61 64 61 74 61 20 74 61 all metadata ta
4a80: 62 6c 65 73 20 72 65 71 75 69 72 65 64 20 62 79 bles required by
4a90: 20 74 68 69 73 20 76 65 72 73 69 6f 6e 2e 3c 62 this version.<b
4aa0: 72 3e 0d 0a 3c 62 3e 49 6e 69 74 53 70 61 74 69 r>..<b>InitSpati
4ab0: 61 6c 4d 65 74 61 44 61 74 61 3c 2f 62 3e 20 69 alMetaData</b> i
4ac0: 73 20 73 74 69 6c 6c 20 6d 61 69 6e 74 61 69 6e s still maintain
4ad0: 65 64 20 73 6f 20 74 6f 20 6e 6f 74 20 62 72 65 ed so to not bre
4ae0: 61 6b 20 68 69 73 74 6f 72 69 63 61 6c 20 63 6f ak historical co
4af0: 6d 70 61 74 69 62 69 6c 69 74 79 2c 20 62 75 74 mpatibility, but
4b00: 20 73 68 6f 75 6c 64 20 6e 6f 20 6c 6f 6e 67 65 should no longe
4b10: 72 20 62 65 20 75 73 65 64 2e 0d 0a 3c 2f 74 64 r be used...</td
4b20: 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 62 6c 65 3e ></tr>..</table>
4b30: 3c 62 72 3e 0d 0a 54 68 65 20 6d 6f 73 74 20 72 <br>..The most r
4b40: 65 6c 65 76 61 6e 74 20 63 68 61 6e 67 65 20 69 elevant change i
4b50: 73 20 74 68 61 74 20 64 69 66 66 65 72 65 6e 74 s that different
4b60: 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 53 70 61 versions of Spa
4b70: 74 69 61 4c 69 74 65 2f 50 52 4f 4a 20 77 69 6c tiaLite/PROJ wil
4b80: 6c 20 6e 6f 77 20 62 65 68 61 76 65 20 69 6e 20 l now behave in
4b90: 72 61 64 69 63 61 6c 6c 79 20 64 69 66 66 65 72 radically differ
4ba0: 65 6e 74 20 77 61 79 73 2c 20 61 73 20 73 75 6d ent ways, as sum
4bb0: 6d 61 72 69 7a 65 64 20 69 6e 20 74 68 65 20 66 marized in the f
4bc0: 6f 6c 6c 6f 77 69 6e 67 20 63 72 6f 73 73 2d 76 ollowing cross-v
4bd0: 65 72 73 69 6f 6e 20 63 6f 6d 70 61 74 69 62 69 ersion compatibi
4be0: 6c 69 74 79 20 74 61 62 6c 65 2e 3c 62 72 3e 3c lity table.<br><
4bf0: 62 72 3e 0d 0a 3c 74 61 62 6c 65 20 63 65 6c 6c br>..<table cell
4c00: 73 70 61 63 69 6e 67 3d 22 38 22 20 63 65 6c 6c spacing="8" cell
4c10: 70 61 64 64 69 6e 67 3d 22 31 36 22 20 62 67 63 padding="16" bgc
4c20: 6f 6c 6f 72 3d 22 23 65 38 66 66 65 38 22 20 62 olor="#e8ffe8" b
4c30: 6f 72 64 65 72 3d 22 31 22 3e 0d 0a 3c 74 72 3e order="1">..<tr>
4c40: 3c 74 68 20 62 67 63 6f 6c 6f 72 3d 22 23 66 66 <th bgcolor="#ff
4c50: 62 30 33 65 22 3e 53 70 61 74 69 61 4c 69 74 65 b03e">SpatiaLite
4c60: 20 2f 20 50 52 4f 4a 20 76 65 72 73 69 6f 6e 3c / PROJ version<
4c70: 2f 74 68 3e 3c 74 68 20 62 67 63 6f 6c 6f 72 3d /th><th bgcolor=
4c80: 22 23 66 66 62 30 33 65 22 3e 43 6f 6e 6e 65 63 "#ffb03e">Connec
4c90: 74 65 64 20 44 42 3c 2f 74 68 3e 3c 74 68 20 62 ted DB</th><th b
4ca0: 67 63 6f 6c 6f 72 3d 22 23 66 66 62 30 33 65 22 gcolor="#ffb03e"
4cb0: 3e 41 63 74 69 6f 6e 3c 2f 74 68 3e 3c 2f 74 72 >Action</th></tr
4cc0: 3e 0d 0a 3c 74 72 3e 0d 0a 3c 74 64 20 72 6f 77 >..<tr>..<td row
4cd0: 73 70 61 6e 3d 22 32 22 3e 53 70 61 74 69 61 4c span="2">SpatiaL
4ce0: 69 74 65 2d 35 20 62 75 69 6c 74 20 6f 6e 20 3c ite-5 built on <
4cf0: 62 3e 50 52 4f 4a 2e 36 3c 2f 62 3e 3c 2f 74 64 b>PROJ.6</b></td
4d00: 3e 0d 0a 3c 74 64 3e 44 42 20 63 72 65 61 74 65 >..<td>DB create
4d10: 64 20 62 79 20 53 70 61 74 69 61 4c 69 74 65 2d d by SpatiaLite-
4d20: 35 20 2f 20 50 52 4f 4a 2e 36 3c 2f 74 64 3e 0d 5 / PROJ.6</td>.
4d30: 0a 3c 74 64 20 72 6f 77 73 70 61 6e 3d 22 32 22 .<td rowspan="2"
4d40: 3e 0d 0a 3c 62 3e 6c 69 62 73 70 61 74 69 61 6c >..<b>libspatial
4d50: 69 74 65 2d 35 3c 2f 62 3e 20 77 68 65 6e 20 62 ite-5</b> when b
4d60: 75 69 6c 74 20 6f 6e 20 3c 62 3e 50 52 4f 4a 2e uilt on <b>PROJ.
4d70: 36 3c 2f 62 3e 20 77 69 6c 6c 20 61 6c 77 61 79 6</b> will alway
4d80: 73 20 69 67 6e 6f 72 65 20 62 6f 74 68 20 74 68 s ignore both th
4d90: 65 20 70 72 6f 6a 2d 73 74 72 69 6e 67 73 20 73 e proj-strings s
4da0: 74 6f 72 65 64 20 69 6e 20 63 6f 6c 75 6d 6e 20 tored in column
4db0: 3c 62 3e 70 72 6f 6a 34 74 65 78 74 3c 2f 62 3e <b>proj4text</b>
4dc0: 20 61 6e 64 20 74 68 65 20 57 4b 54 20 64 65 66 and the WKT def
4dd0: 69 6e 69 74 69 6f 6e 73 20 73 74 6f 72 65 64 20 initions stored
4de0: 69 6e 20 63 6f 6c 75 6d 6e 20 3c 62 3e 73 72 74 in column <b>srt
4df0: 65 78 74 3c 2f 62 3e 2e 3c 62 72 3e 0d 0a 49 74 ext</b>.<br>..It
4e00: 20 77 69 6c 6c 20 69 6e 73 74 65 61 64 20 61 6c will instead al
4e10: 6c 6f 77 20 50 52 4f 4a 2e 36 20 74 6f 20 72 65 low PROJ.6 to re
4e20: 74 72 69 65 76 65 20 74 68 65 20 6e 65 65 64 65 trieve the neede
4e30: 64 20 43 52 53 20 64 65 66 69 6e 69 74 69 6f 6e d CRS definition
4e40: 73 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 69 s contained in i
4e50: 74 73 20 6f 77 6e 20 70 72 69 76 61 74 65 20 64 ts own private d
4e60: 61 74 61 62 61 73 65 2e 3c 62 72 3e 3c 62 72 3e atabase.<br><br>
4e70: 0d 0a 4e 6f 74 65 20 74 68 61 74 20 74 68 69 73 ..Note that this
4e80: 20 61 70 70 6c 69 65 73 20 69 6e 64 69 66 66 65 applies indiffe
4e90: 72 65 6e 74 6c 79 20 74 6f 20 62 6f 74 68 20 3c rently to both <
4ea0: 62 3e 3c 69 3e 6c 65 67 61 63 79 20 64 61 74 61 b><i>legacy data
4eb0: 62 61 73 65 73 3c 2f 69 3e 3c 2f 62 3e 20 63 72 bases</i></b> cr
4ec0: 65 61 74 65 64 20 62 79 20 61 6e 79 20 70 72 65 eated by any pre
4ed0: 76 69 6f 75 73 20 76 65 72 73 69 6f 6e 20 61 6e vious version an
4ee0: 64 20 3c 62 3e 3c 69 3e 6d 6f 73 74 20 6d 6f 64 d <b><i>most mod
4ef0: 65 72 6e 20 64 61 74 61 62 61 73 65 73 3c 2f 69 ern databases</i
4f00: 3e 3c 2f 62 3e 20 63 72 65 61 74 65 64 20 62 79 ></b> created by
4f10: 20 74 68 65 20 6c 61 74 65 73 74 20 76 65 72 73 the latest vers
4f20: 69 6f 6e 2e 0d 0a 3c 2f 74 64 3e 3c 2f 74 72 3e ion...</td></tr>
4f30: 0d 0a 3c 74 72 3e 0d 0a 3c 74 64 3e 44 42 20 63 ..<tr>..<td>DB c
4f40: 72 65 61 74 65 64 20 62 79 20 53 70 61 74 69 61 reated by Spatia
4f50: 4c 69 74 65 2d 35 20 2f 20 50 52 4f 4a 2e 34 3c Lite-5 / PROJ.4<
4f60: 62 72 3e 0d 0a 6f 72 3c 62 72 3e 0d 0a 62 79 20 br>..or<br>..by
4f70: 61 6e 79 20 70 72 65 76 69 6f 75 73 20 76 65 72 any previous ver
4f80: 73 69 6f 6e 20 6f 66 20 53 70 61 74 69 61 4c 69 sion of SpatiaLi
4f90: 74 65 20 28 3c 20 35 2e 30 2e 30 29 3c 2f 74 64 te (< 5.0.0)</td
4fa0: 3e 0d 0a 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 0d 0a >..</tr>..<tr>..
4fb0: 3c 74 64 20 72 6f 77 73 70 61 6e 3d 22 32 22 3e <td rowspan="2">
4fc0: 53 70 61 74 69 61 4c 69 74 65 2d 35 20 62 75 69 SpatiaLite-5 bui
4fd0: 6c 74 20 6f 6e 20 3c 62 3e 50 52 4f 4a 2e 34 3c lt on <b>PROJ.4<
4fe0: 2f 62 3e 3c 62 72 3e 0d 0a 6f 72 3c 62 72 3e 0d /b><br>..or<br>.
4ff0: 0a 61 6e 79 20 70 72 65 76 69 6f 75 73 20 76 65 .any previous ve
5000: 72 73 69 6f 6e 20 6f 66 20 53 70 61 74 69 61 4c rsion of SpatiaL
5010: 69 74 65 20 28 3c 20 35 2e 30 2e 30 29 3c 2f 74 ite (< 5.0.0)</t
5020: 64 3e 0d 0a 3c 74 64 3e 44 42 20 63 72 65 61 74 d>..<td>DB creat
5030: 65 64 20 62 79 20 53 70 61 74 69 61 4c 69 74 65 ed by SpatiaLite
5040: 2d 35 20 2f 20 50 52 4f 4a 2e 36 3c 2f 74 64 3e -5 / PROJ.6</td>
5050: 0d 0a 3c 74 64 20 72 6f 77 73 70 61 6e 3d 22 32 ..<td rowspan="2
5060: 22 3e 0d 0a 57 68 65 6e 20 3c 62 3e 6c 69 62 73 ">..When <b>libs
5070: 70 61 74 69 61 6c 69 74 65 3c 2f 62 3e 20 28 61 patialite</b> (a
5080: 6e 79 20 76 65 72 73 69 6f 6e 2c 20 69 6e 63 6c ny version, incl
5090: 75 64 69 6e 67 20 35 2e 30 2e 30 29 20 74 68 61 uding 5.0.0) tha
50a0: 74 20 77 61 73 20 6e 6f 74 20 63 6f 6d 70 69 6c t was not compil
50b0: 65 64 20 61 67 61 69 6e 73 74 20 50 52 4f 4a 2e ed against PROJ.
50c0: 36 2c 20 74 68 65 6e 20 74 68 65 20 74 72 61 64 6, then the trad
50d0: 69 74 69 6f 6e 61 6c 20 61 70 70 72 6f 61 63 68 itional approach
50e0: 20 77 69 6c 6c 20 62 65 20 61 6c 77 61 79 73 20 will be always
50f0: 61 70 70 6c 69 65 64 2c 20 61 6e 64 20 65 61 63 applied, and eac
5100: 68 20 43 52 53 20 77 69 6c 6c 20 62 65 20 63 6f h CRS will be co
5110: 6e 73 65 71 75 65 6e 74 6c 79 20 69 64 65 6e 74 nsequently ident
5120: 69 66 69 65 64 20 62 79 20 69 74 73 20 63 6f 72 ified by its cor
5130: 72 65 73 70 6f 6e 64 69 6e 67 20 70 72 6f 6a 2d responding proj-
5140: 73 74 72 69 6e 67 20 73 74 6f 72 65 64 20 69 6e string stored in
5150: 20 63 6f 6c 75 6d 6e 20 3c 62 3e 70 72 6f 6a 34 column <b>proj4
5160: 74 65 78 74 3c 2f 62 3e 3c 62 72 3e 3c 62 72 3e text</b><br><br>
5170: 0d 0a 4e 6f 74 65 20 74 68 61 74 20 65 76 65 6e ..Note that even
5180: 20 77 68 65 6e 20 50 52 4f 4a 2e 36 20 69 73 20 when PROJ.6 is
5190: 6e 6f 74 20 73 75 70 70 6f 72 74 65 64 20 61 6e not supported an
51a0: 79 20 76 65 72 73 69 6f 6e 20 6f 66 20 53 70 61 y version of Spa
51b0: 74 69 61 4c 69 74 65 20 28 69 6e 63 6c 75 64 69 tiaLite (includi
51c0: 6e 67 20 35 2e 30 2e 30 29 20 63 61 6e 20 73 61 ng 5.0.0) can sa
51d0: 66 65 6c 79 20 63 6f 6e 6e 65 63 74 20 74 6f 20 fely connect to
51e0: 61 6e 79 20 44 42 2d 66 69 6c 65 20 63 72 65 61 any DB-file crea
51f0: 74 65 64 20 62 79 20 74 68 65 20 6d 6f 73 74 20 ted by the most
5200: 72 65 63 65 6e 74 20 76 65 72 73 69 6f 6e 20 63 recent version c
5210: 72 65 61 74 65 64 20 77 69 74 68 20 66 75 6c 6c reated with full
5220: 20 50 52 4f 4a 2e 36 20 73 75 70 70 6f 72 74 2e PROJ.6 support.
5230: 0d 0a 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 3e 0d 0a ..</td>..</tr>..
5240: 3c 74 72 3e 0d 0a 3c 74 64 3e 44 42 20 63 72 65 <tr>..<td>DB cre
5250: 61 74 65 64 20 62 79 20 53 70 61 74 69 61 4c 69 ated by SpatiaLi
5260: 74 65 2d 35 20 2f 20 50 52 4f 4a 2e 34 3c 62 72 te-5 / PROJ.4<br
5270: 3e 0d 0a 6f 72 3c 62 72 3e 0d 0a 62 79 20 61 6e >..or<br>..by an
5280: 79 20 70 72 65 76 69 6f 75 73 20 76 65 72 73 69 y previous versi
5290: 6f 6e 20 6f 66 20 53 70 61 74 69 61 4c 69 74 65 on of SpatiaLite
52a0: 20 28 3c 20 35 2e 30 2e 30 29 3c 2f 74 64 3e 0d (< 5.0.0)</td>.
52b0: 0a 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 62 6c 65 3e .</tr>..</table>
52c0: 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 68 33 3e 45 78 <br><br>..<h3>Ex
52d0: 69 73 74 69 6e 67 20 53 51 4c 20 66 75 6e 63 74 isting SQL funct
52e0: 69 6f 6e 73 20 61 66 66 65 63 74 65 64 20 62 79 ions affected by
52f0: 20 50 52 4f 4a 2e 36 3c 2f 68 33 3e 0d 0a 3c 74 PROJ.6</h3>..<t
5300: 61 62 6c 65 20 63 65 6c 6c 73 70 61 63 69 6e 67 able cellspacing
5310: 3d 22 38 22 20 63 65 6c 6c 70 61 64 64 69 6e 67 ="8" cellpadding
5320: 3d 22 38 22 20 62 67 63 6f 6c 6f 72 3d 22 23 65 ="8" bgcolor="#e
5330: 38 66 66 65 38 22 20 62 6f 72 64 65 72 3d 22 31 8ffe8" border="1
5340: 22 3e 0d 0a 3c 74 72 3e 3c 74 68 20 62 67 63 6f ">..<tr><th bgco
5350: 6c 6f 72 3d 22 23 66 66 62 30 33 65 22 3e 53 51 lor="#ffb03e">SQ
5360: 4c 20 46 75 6e 63 74 69 6f 6e 3c 2f 74 68 3e 3c L Function</th><
5370: 74 68 20 62 67 63 6f 6c 6f 72 3d 22 23 66 66 62 th bgcolor="#ffb
5380: 30 33 65 22 3e 45 78 74 65 6e 64 65 64 20 73 69 03e">Extended si
5390: 67 6e 61 74 75 72 65 3c 2f 74 68 3e 3c 74 68 20 gnature</th><th
53a0: 62 67 63 6f 6c 6f 72 3d 22 23 66 66 62 30 33 65 bgcolor="#ffb03e
53b0: 22 3e 42 65 68 61 76 69 6f 72 20 75 6e 64 65 72 ">Behavior under
53c0: 20 50 52 4f 4a 2e 36 3c 2f 74 68 3e 3c 2f 74 72 PROJ.6</th></tr
53d0: 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 3c 62 3e 53 54 >..<tr><td><b>ST
53e0: 5f 54 72 61 6e 73 66 6f 72 6d 28 29 3c 2f 62 3e _Transform()</b>
53f0: 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 0d 0a 3c 62 3e </td>..<td>..<b>
5400: 53 54 5f 54 72 61 6e 73 66 6f 72 6d 3c 2f 62 3e ST_Transform</b>
5410: 20 28 20 67 65 6f 6d 20 3c 69 3e 47 65 6f 6d 65 ( geom <i>Geome
5420: 74 72 79 3c 2f 69 3e 20 2c 20 6e 65 77 53 72 69 try</i> , newSri
5430: 64 20 3c 69 3e 49 6e 74 65 67 65 72 3c 2f 69 3e d <i>Integer</i>
5440: 20 2c 20 61 72 65 61 20 3c 69 3e 47 65 6f 6d 65 , area <i>Geome
5450: 74 72 79 3c 2f 69 3e 20 29 20 3a 20 3c 69 3e 47 try</i> ) : <i>G
5460: 65 6f 6d 65 74 72 79 3c 2f 69 3e 3c 68 72 3e 0d eometry</i><hr>.
5470: 0a 3c 62 3e 53 54 5f 54 72 61 6e 73 66 6f 72 6d .<b>ST_Transform
5480: 3c 2f 62 3e 20 28 20 67 65 6f 6d 20 3c 69 3e 47 </b> ( geom <i>G
5490: 65 6f 6d 65 74 72 79 3c 2f 69 3e 20 2c 20 6e 65 eometry</i> , ne
54a0: 77 53 72 69 64 20 3c 69 3e 49 6e 74 65 67 65 72 wSrid <i>Integer
54b0: 3c 2f 69 3e 20 2c 20 61 72 65 61 20 3c 69 3e 47 </i> , area <i>G
54c0: 65 6f 6d 65 74 72 79 3c 2f 69 3e 20 2c 20 70 72 eometry</i> , pr
54d0: 6f 6a 5f 73 74 72 69 6e 67 5f 66 72 6f 6d 20 3c oj_string_from <
54e0: 69 3e 54 65 78 74 3c 2f 69 3e 20 29 20 3a 20 3c i>Text</i> ) : <
54f0: 69 3e 47 65 6f 6d 65 74 72 79 3c 2f 69 3e 3c 68 i>Geometry</i><h
5500: 72 3e 0d 0a 3c 62 3e 53 54 5f 54 72 61 6e 73 66 r>..<b>ST_Transf
5510: 6f 72 6d 3c 2f 62 3e 20 28 20 67 65 6f 6d 20 3c orm</b> ( geom <
5520: 69 3e 47 65 6f 6d 65 74 72 79 3c 2f 69 3e 20 2c i>Geometry</i> ,
5530: 20 6e 65 77 53 72 69 64 20 3c 69 3e 49 6e 74 65 newSrid <i>Inte
5540: 67 65 72 3c 2f 69 3e 20 2c 20 61 72 65 61 20 3c ger</i> , area <
5550: 69 3e 47 65 6f 6d 65 74 72 79 3c 2f 69 3e 20 2c i>Geometry</i> ,
5560: 20 70 72 6f 6a 5f 73 74 72 69 6e 67 5f 66 72 6f proj_string_fro
5570: 6d 20 3c 69 3e 54 65 78 74 3c 2f 69 3e 20 2c 20 m <i>Text</i> ,
5580: 70 72 6f 6a 5f 73 74 72 69 6e 67 5f 74 6f 20 3c proj_string_to <
5590: 69 3e 54 65 78 74 3c 2f 69 3e 20 29 20 3a 20 3c i>Text</i> ) : <
55a0: 69 3e 47 65 6f 6d 65 74 72 79 3c 2f 69 3e 0d 0a i>Geometry</i>..
55b0: 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 0d 0a 3c 74 61 </td>..<td>..<ta
55c0: 62 6c 65 20 63 65 6c 6c 73 70 61 63 69 6e 67 3d ble cellspacing=
55d0: 22 34 22 20 63 65 6c 6c 70 61 64 64 69 6e 67 3d "4" cellpadding=
55e0: 22 34 22 20 62 67 63 6f 6c 6f 72 3d 22 23 66 66 "4" bgcolor="#ff
55f0: 66 66 64 30 22 3e 0d 0a 3c 74 72 3e 3c 74 64 3e ffd0">..<tr><td>
5600: 0d 0a 3c 62 3e 3c 75 3e 3c 69 3e 4e 6f 74 65 3c ..<b><u><i>Note<
5610: 2f 69 3e 3c 2f 75 3e 3c 2f 62 3e 3a 20 61 6c 6c /i></u></b>: all
5620: 20 74 68 65 73 65 20 3c 62 3e 3c 69 3e 65 78 74 these <b><i>ext
5630: 65 6e 64 65 64 20 73 69 67 6e 61 74 75 72 65 73 ended signatures
5640: 3c 2f 69 3e 3c 2f 62 3e 20 61 72 65 20 73 75 70 </i></b> are sup
5650: 70 6f 72 74 65 64 20 6f 6e 6c 79 20 77 68 65 6e ported only when
5660: 20 3c 62 3e 6c 69 62 73 70 61 74 69 61 6c 69 74 <b>libspatialit
5670: 65 2d 35 2e 30 3c 2f 62 3e 20 68 61 73 20 62 65 e-5.0</b> has be
5680: 65 6e 20 62 75 69 6c 74 20 6f 6e 20 74 68 65 20 en built on the
5690: 74 6f 70 20 6f 66 20 3c 62 3e 50 52 4f 4a 2e 36 top of <b>PROJ.6
56a0: 3c 2f 62 3e 3c 62 72 3e 0d 0a 49 66 20 74 68 65 </b><br>..If the
56b0: 20 6c 69 62 72 61 72 79 20 68 61 73 20 62 65 65 library has bee
56c0: 6e 20 62 75 69 6c 74 20 69 6e 73 74 65 61 64 20 n built instead
56d0: 6f 6e 20 65 61 72 6c 69 65 72 20 76 65 72 73 69 on earlier versi
56e0: 6f 6e 73 20 6f 66 20 50 52 4f 4a 20 61 6e 79 20 ons of PROJ any
56f0: 61 74 74 65 6d 70 74 20 74 6f 20 63 61 6c 6c 20 attempt to call
5700: 74 68 65 73 65 20 65 78 74 65 6e 64 65 64 20 73 these extended s
5710: 69 67 6e 61 74 75 72 65 73 20 77 69 6c 6c 20 6a ignatures will j
5720: 75 73 74 20 72 65 74 75 72 6e 20 61 20 3c 62 3e ust return a <b>
5730: 3c 69 3e 77 72 6f 6e 67 20 6e 75 6d 62 65 72 20 <i>wrong number
5740: 6f 66 20 61 72 67 75 6d 65 6e 74 73 20 74 6f 20 of arguments to
5750: 66 75 6e 63 74 69 6f 6e 20 53 54 5f 54 72 61 6e function ST_Tran
5760: 73 66 6f 72 6d 28 29 3c 2f 69 3e 3c 2f 62 3e 20 sform()</i></b>
5770: 65 72 72 6f 72 2e 0d 0a 3c 2f 74 64 3e 3c 74 72 error...</td><tr
5780: 3e 0d 0a 3c 2f 74 61 62 6c 65 3e 3c 62 72 3e 0d >..</table><br>.
5790: 0a 3c 74 61 62 6c 65 20 63 65 6c 6c 73 70 61 63 .<table cellspac
57a0: 69 6e 67 3d 22 34 22 20 63 65 6c 6c 70 61 64 64 ing="4" cellpadd
57b0: 69 6e 67 3d 22 34 22 20 62 67 63 6f 6c 6f 72 3d ing="4" bgcolor=
57c0: 22 23 66 66 64 66 64 30 22 3e 0d 0a 3c 74 72 3e "#ffdfd0">..<tr>
57d0: 3c 74 64 3e 0d 0a 41 6e 79 20 69 6e 76 61 6c 69 <td>..Any invali
57e0: 64 20 61 72 67 75 6d 65 6e 74 20 70 61 73 73 65 d argument passe
57f0: 64 20 74 6f 20 3c 62 3e 53 54 5f 54 72 61 6e 73 d to <b>ST_Trans
5800: 66 6f 72 6d 28 29 3c 2f 62 3e 20 28 3c 62 3e 3c form()</b> (<b><
5810: 69 3e 65 78 74 65 6e 64 65 64 20 73 69 67 6e 61 i>extended signa
5820: 74 75 72 65 73 3c 2f 69 3e 3c 2f 62 3e 29 20 77 tures</i></b>) w
5830: 69 6c 6c 20 72 61 69 73 65 20 61 6e 20 3c 62 3e ill raise an <b>
5840: 53 51 4c 20 45 78 63 65 70 74 69 6f 6e 3c 2f 62 SQL Exception</b
5850: 3e 2e 0d 0a 3c 2f 74 64 3e 3c 74 72 3e 0d 0a 3c >...</td><tr>..<
5860: 2f 74 61 62 6c 65 3e 3c 62 72 3e 0d 0a 3c 75 6c /table><br>..<ul
5870: 3e 0d 0a 3c 6c 69 3e 74 68 65 20 6f 70 74 69 6f >..<li>the optio
5880: 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 3c 62 3e nal argument <b>
5890: 61 72 65 61 3c 2f 62 3e 20 6d 61 79 20 62 65 20 area</b> may be
58a0: 3c 62 3e 4e 55 4c 4c 3c 2f 62 3e 20 28 3c 69 3e <b>NULL</b> (<i>
58b0: 64 65 66 61 75 6c 74 20 73 65 74 74 69 6e 67 3c default setting<
58c0: 2f 69 3e 29 2e 3c 62 72 3e 0d 0a 4f 74 68 65 72 /i>).<br>..Other
58d0: 77 69 73 65 20 69 74 27 73 20 65 78 70 65 63 74 wise it's expect
58e0: 65 64 20 74 6f 20 63 6f 6e 74 61 69 6e 20 61 20 ed to contain a
58f0: 76 61 6c 69 64 20 47 65 6f 6d 65 74 72 79 20 69 valid Geometry i
5900: 6e 20 3c 62 3e 53 52 49 44 3d 34 33 32 36 20 28 n <b>SRID=4326 (
5910: 6c 6f 6e 67 2f 6c 61 74 29 3c 2f 62 3e 2e 0d 0a long/lat)</b>...
5920: 57 68 65 6e 20 61 6e 20 3c 62 3e 3c 69 3e 61 72 When an <b><i>ar
5930: 65 61 20 6f 66 20 75 73 65 3c 2f 69 3e 3c 2f 62 ea of use</i></b
5940: 3e 20 69 73 20 65 78 70 6c 69 63 69 74 6c 79 20 > is explicitly
5950: 73 75 70 70 6c 69 65 64 2c 20 74 68 65 6e 20 3c supplied, then <
5960: 62 3e 50 52 4f 4a 2e 36 3c 2f 62 3e 20 6d 61 79 b>PROJ.6</b> may
5970: 20 65 76 65 6e 74 75 61 6c 6c 79 20 75 73 65 20 eventually use
5980: 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e the correspondin
5990: 67 20 3c 62 3e 42 42 4f 58 3c 2f 62 3e 20 66 6f g <b>BBOX</b> fo
59a0: 72 20 61 20 66 69 6e 65 20 74 75 6e 65 64 20 61 r a fine tuned a
59b0: 6e 64 20 6d 6f 72 65 20 61 63 63 75 72 61 74 65 nd more accurate
59c0: 20 74 72 61 6e 73 66 6f 72 6d 61 74 69 6f 6e 2e transformation.
59d0: 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 62 6f 74 68 20 </li>..<li>both
59e0: 74 68 65 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 the optional arg
59f0: 75 6d 65 6e 74 73 20 3c 62 3e 70 72 6f 6a 5f 73 uments <b>proj_s
5a00: 74 72 69 6e 67 5f 66 72 6f 6d 3c 2f 62 3e 20 61 tring_from</b> a
5a10: 6e 64 20 3c 62 3e 70 72 6f 6a 5f 73 74 72 69 6e nd <b>proj_strin
5a20: 67 5f 74 6f 3c 2f 62 3e 20 6d 61 79 20 62 65 20 g_to</b> may be
5a30: 3c 62 3e 4e 55 4c 4c 3c 2f 62 3e 20 28 3c 69 3e <b>NULL</b> (<i>
5a40: 64 65 66 61 75 6c 74 20 73 65 74 74 69 6e 67 3c default setting<
5a50: 2f 69 3e 29 2e 3c 62 72 3e 0d 0a 4f 74 68 65 72 /i>).<br>..Other
5a60: 77 69 73 65 20 74 68 65 79 20 61 72 65 20 65 78 wise they are ex
5a70: 70 65 63 74 65 64 20 74 6f 20 63 6f 6e 74 61 69 pected to contai
5a80: 6e 20 61 20 76 61 6c 69 64 20 73 74 72 69 6e 67 n a valid string
5a90: 20 74 6f 20 62 65 20 75 73 65 64 20 66 6f 72 20 to be used for
5aa0: 69 64 65 6e 74 69 66 79 69 6e 67 20 74 68 65 20 identifying the
5ab0: 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 43 52 corresponding CR
5ac0: 53 2e 3c 62 72 3e 0d 0a 50 52 4f 4a 2e 36 20 61 S.<br>..PROJ.6 a
5ad0: 63 63 65 70 74 73 20 74 68 65 20 66 6f 6c 6c 6f ccepts the follo
5ae0: 77 69 6e 67 20 43 52 53 20 73 74 72 69 6e 67 73 wing CRS strings
5af0: 3a 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 74 72 61 :..<ul>..<li>tra
5b00: 64 69 74 69 6f 6e 61 6c 20 3c 62 3e 3c 69 3e 70 ditional <b><i>p
5b10: 72 6f 6a 2d 73 74 72 69 6e 67 73 3c 2f 69 3e 3c roj-strings</i><
5b20: 2f 62 3e 20 75 73 65 64 20 62 79 20 61 6c 6c 20 /b> used by all
5b30: 70 72 65 76 69 6f 75 73 20 76 65 72 73 69 6f 6e previous version
5b40: 73 20 6f 66 20 50 52 4f 4a 2c 20 61 73 20 65 2e s of PROJ, as e.
5b50: 67 2e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 3c 62 g...<ul>..<li><b
5b60: 3e 2b 70 72 6f 6a 3d 6d 65 72 63 20 2b 61 3d 36 >+proj=merc +a=6
5b70: 33 37 38 31 33 37 20 2b 62 3d 36 33 37 38 31 33 378137 +b=637813
5b80: 37 20 2b 6c 61 74 5f 74 73 3d 30 20 2b 6c 6f 6e 7 +lat_ts=0 +lon
5b90: 5f 30 3d 30 20 2b 78 5f 30 3d 30 20 2b 79 5f 30 _0=0 +x_0=0 +y_0
5ba0: 3d 30 20 2b 6b 3d 31 20 2b 75 6e 69 74 73 3d 6d =0 +k=1 +units=m
5bb0: 20 2b 6e 61 64 67 72 69 64 73 3d 40 6e 75 6c 6c +nadgrids=@null
5bc0: 20 2b 77 6b 74 65 78 74 20 2b 6e 6f 5f 64 65 66 +wktext +no_def
5bd0: 73 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e s</b></li>..<li>
5be0: 3c 62 3e 2b 70 72 6f 6a 3d 75 74 6d 20 2b 7a 6f <b>+proj=utm +zo
5bf0: 6e 65 3d 33 32 20 2b 73 6f 75 74 68 20 2b 65 6c ne=32 +south +el
5c00: 6c 70 73 3d 57 47 53 37 32 20 2b 74 6f 77 67 73 lps=WGS72 +towgs
5c10: 38 34 3d 30 2c 30 2c 34 2e 35 2c 30 2c 30 2c 30 84=0,0,4.5,0,0,0
5c20: 2e 35 35 34 2c 30 2e 32 32 36 33 20 2b 75 6e 69 .554,0.2263 +uni
5c30: 74 73 3d 6d 20 2b 6e 6f 5f 64 65 66 73 3c 2f 62 ts=m +no_defs</b
5c40: 3e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 3c 62 3e 2b ></li>..<li><b>+
5c50: 70 72 6f 6a 3d 75 74 6d 20 2b 7a 6f 6e 65 3d 33 proj=utm +zone=3
5c60: 32 20 2b 65 6c 6c 70 73 3d 69 6e 74 6c 20 2b 74 2 +ellps=intl +t
5c70: 6f 77 67 73 38 34 3d 2d 38 37 2c 2d 39 38 2c 2d owgs84=-87,-98,-
5c80: 31 32 31 2c 30 2c 30 2c 30 2c 30 20 2b 75 6e 69 121,0,0,0,0 +uni
5c90: 74 73 3d 6d 20 2b 6e 6f 5f 64 65 66 73 3c 2f 62 ts=m +no_defs</b
5ca0: 3e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c ></li>..</ul>..<
5cb0: 6c 69 3e 61 6e 79 20 3c 62 3e 3c 69 3e 57 4b 54 li>any <b><i>WKT
5cc0: 20 65 78 70 72 65 73 73 69 6f 6e 3c 2f 69 3e 3c expression</i><
5cd0: 2f 62 3e 20 64 65 66 69 6e 69 6e 67 20 61 20 43 /b> defining a C
5ce0: 52 53 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 20 RS.</li>..<li>a
5cf0: 3c 62 3e 3c 69 3e 43 52 53 20 6e 61 6d 65 3c 2f <b><i>CRS name</
5d00: 69 3e 3c 2f 62 3e 20 61 73 20 65 2e 67 2e 0d 0a i></b> as e.g...
5d10: 3c 75 6c 3e 0d 0a 3c 6c 69 3e 3c 62 3e 57 47 53 <ul>..<li><b>WGS
5d20: 20 38 34 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a 3c 6c 84</b></li>..<l
5d30: 69 3e 3c 62 3e 57 47 53 20 38 34 20 2f 20 55 54 i><b>WGS 84 / UT
5d40: 4d 20 7a 6f 6e 65 20 33 32 4e 3c 2f 62 3e 3c 2f M zone 32N</b></
5d50: 6c 69 3e 0d 0a 3c 6c 69 3e 3c 62 3e 49 47 4d 39 li>..<li><b>IGM9
5d60: 35 20 2f 20 55 54 4d 20 7a 6f 6e 65 20 33 33 4e 5 / UTM zone 33N
5d70: 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e </b></li>..</ul>
5d80: 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 6e 79 20 3c </li>..<li>any <
5d90: 62 3e 3c 69 3e 63 61 6e 6f 6e 69 63 61 6c 20 43 b><i>canonical C
5da0: 52 53 20 72 65 66 65 72 65 6e 63 65 3c 2f 69 3e RS reference</i>
5db0: 3c 2f 62 3e 20 61 73 20 65 2e 67 2e 0d 0a 3c 75 </b> as e.g...<u
5dc0: 6c 3e 0d 0a 3c 6c 69 3e 3c 62 3e 45 50 53 47 3a l>..<li><b>EPSG:
5dd0: 34 33 32 36 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a 3c 4326</b></li>..<
5de0: 6c 69 3e 3c 62 3e 75 72 6e 3a 6f 67 63 3a 64 65 li><b>urn:ogc:de
5df0: 66 3a 63 72 73 3a 45 50 53 47 3a 3a 33 30 30 33 f:crs:EPSG::3003
5e00: 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e </b></li>..</ul>
5e10: 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c 62 </li>..</ul>..<b
5e20: 72 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 3c 62 r>..<ul>..<li><b
5e30: 3e 3c 75 3e 3c 69 3e 53 70 65 63 69 61 6c 20 63 ><u><i>Special c
5e40: 61 73 65 3c 2f 69 3e 3c 2f 75 3e 3c 2f 62 3e 3a ase</i></u></b>:
5e50: 20 69 66 20 3c 62 3e 70 72 6f 6a 5f 73 74 72 69 if <b>proj_stri
5e60: 6e 67 5f 74 6f 3c 2f 62 3e 20 69 73 20 4e 55 4c ng_to</b> is NUL
5e70: 4c 20 61 6e 64 20 3c 62 3e 70 72 6f 6a 5f 73 74 L and <b>proj_st
5e80: 72 69 6e 67 5f 66 72 6f 6d 3c 2f 62 3e 20 69 73 ring_from</b> is
5e90: 20 65 78 70 6c 69 63 69 74 6c 79 20 73 65 74 2c explicitly set,
5ea0: 20 74 68 65 6e 20 69 74 20 77 69 6c 6c 20 62 65 then it will be
5eb0: 20 69 6e 74 65 72 70 72 65 74 65 64 20 61 73 20 interpreted as
5ec0: 61 6e 20 75 73 65 72 20 64 65 66 69 6e 65 64 20 an user defined
5ed0: 3c 62 3e 74 72 61 6e 73 66 6f 72 6d 61 74 69 6f <b>transformatio
5ee0: 6e 20 73 74 72 69 6e 67 3c 2f 62 3e 20 28 70 6f n string</b> (po
5ef0: 73 73 69 62 6c 79 2c 20 61 73 20 61 20 3c 62 3e ssibly, as a <b>
5f00: 74 72 61 6e 73 66 6f 72 6d 61 74 69 6f 6e 20 70 transformation p
5f10: 69 70 65 6c 69 6e 65 3c 2f 62 3e 29 20 61 73 20 ipeline</b>) as
5f20: 65 2e 67 2e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e e.g...<ul>..<li>
5f30: 3c 62 3e 2b 70 72 6f 6a 3d 70 69 70 65 6c 69 6e <b>+proj=pipelin
5f40: 65 3c 62 72 3e 0d 0a 2b 73 74 65 70 20 2b 70 72 e<br>..+step +pr
5f50: 6f 6a 3d 61 78 69 73 73 77 61 70 20 2b 6f 72 64 oj=axisswap +ord
5f60: 65 72 3d 32 2c 31 3c 62 72 3e 20 0d 0a 2b 73 74 er=2,1<br> ..+st
5f70: 65 70 20 2b 70 72 6f 6a 3d 75 6e 69 74 63 6f 6e ep +proj=unitcon
5f80: 76 65 72 74 20 2b 78 79 5f 69 6e 3d 64 65 67 20 vert +xy_in=deg
5f90: 2b 78 79 5f 6f 75 74 3d 72 61 64 3c 62 72 3e 0d +xy_out=rad<br>.
5fa0: 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 3d 70 75 73 .+step +proj=pus
5fb0: 68 20 2b 76 5f 33 3c 62 72 3e 0d 0a 2b 73 74 65 h +v_3<br>..+ste
5fc0: 70 20 2b 70 72 6f 6a 3d 63 61 72 74 20 2b 65 6c p +proj=cart +el
5fd0: 6c 70 73 3d 57 47 53 38 34 3c 62 72 3e 20 0d 0a lps=WGS84<br> ..
5fe0: 2b 73 74 65 70 20 2b 69 6e 76 20 2b 70 72 6f 6a +step +inv +proj
5ff0: 3d 68 65 6c 6d 65 72 74 20 2b 78 3d 2d 31 30 34 =helmert +x=-104
6000: 2e 31 20 2b 79 3d 2d 34 39 2e 31 20 2b 7a 3d 2d .1 +y=-49.1 +z=-
6010: 39 2e 39 20 2b 72 78 3d 30 2e 39 37 31 20 2b 72 9.9 +rx=0.971 +r
6020: 79 3d 2d 32 2e 39 31 37 20 2b 72 7a 3d 30 2e 37 y=-2.917 +rz=0.7
6030: 31 34 20 2b 73 3d 2d 31 31 2e 36 38 20 2b 63 6f 14 +s=-11.68 +co
6040: 6e 76 65 6e 74 69 6f 6e 3d 70 6f 73 69 74 69 6f nvention=positio
6050: 6e 5f 76 65 63 74 6f 72 3c 62 72 3e 0d 0a 2b 73 n_vector<br>..+s
6060: 74 65 70 20 2b 69 6e 76 20 2b 70 72 6f 6a 3d 63 tep +inv +proj=c
6070: 61 72 74 20 2b 65 6c 6c 70 73 3d 69 6e 74 6c 3c art +ellps=intl<
6080: 62 72 3e 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a br>..+step +proj
6090: 3d 70 6f 70 20 2b 76 5f 33 3c 62 72 3e 20 0d 0a =pop +v_3<br> ..
60a0: 2b 73 74 65 70 20 2b 70 72 6f 6a 3d 74 6d 65 72 +step +proj=tmer
60b0: 63 20 2b 6c 61 74 5f 30 3d 30 20 2b 6c 6f 6e 5f c +lat_0=0 +lon_
60c0: 30 3d 39 20 2b 6b 3d 30 2e 39 39 39 36 20 2b 78 0=9 +k=0.9996 +x
60d0: 5f 30 3d 31 35 30 30 30 30 30 20 2b 79 5f 30 3d _0=1500000 +y_0=
60e0: 30 20 2b 65 6c 6c 70 73 3d 69 6e 74 6c 3c 2f 62 0 +ellps=intl</b
60f0: 3e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c ></li>..</ul>..<
6100: 2f 75 6c 3e 0d 0a 3c 2f 74 64 3e 3c 2f 74 72 3e /ul>..</td></tr>
6110: 0d 0a 3c 74 72 3e 3c 74 64 20 63 6f 6c 73 70 61 ..<tr><td colspa
6120: 6e 3d 22 33 22 3e 0d 0a 3c 68 33 3e 4e 6f 74 65 n="3">..<h3>Note
6130: 73 3c 2f 68 33 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c s</h3>..<ul>..<l
6140: 69 3e 53 70 61 74 69 61 4c 69 74 65 20 64 6f 65 i>SpatiaLite doe
6150: 73 20 6e 6f 74 20 63 6f 6e 73 74 72 61 69 6e 20 s not constrain
6160: 79 6f 75 20 69 6e 20 61 6e 79 20 77 61 79 20 62 you in any way b
6170: 79 20 6d 61 6b 69 6e 67 20 61 6e 79 20 3c 69 3e y making any <i>
6180: 6d 61 67 69 63 61 6c 20 61 73 73 75 6d 70 74 69 magical assumpti
6190: 6f 6e 73 3c 2f 69 3e 20 61 6e 64 20 61 6c 6c 6f ons</i> and allo
61a0: 77 73 20 74 68 65 20 75 73 65 72 73 20 74 68 65 ws the users the
61b0: 20 66 72 65 65 64 6f 6d 20 74 6f 20 63 6f 6e 74 freedom to cont
61c0: 72 75 63 74 20 61 6e 79 20 63 6f 6d 62 69 6e 61 ruct any combina
61d0: 74 69 6f 6e 20 73 75 70 70 6f 72 74 65 64 20 62 tion supported b
61e0: 79 20 50 52 4f 4a 2e 0d 0a 3c 75 6c 3e 0d 0a 3c y PROJ...<ul>..<
61f0: 6c 69 3e 54 68 65 20 6e 65 77 20 3c 62 3e 3c 69 li>The new <b><i
6200: 3e 65 78 74 65 6e 64 65 64 20 73 69 67 6e 61 74 >extended signat
6210: 75 72 65 73 3c 2f 69 3e 3c 2f 62 3e 20 73 75 70 ures</i></b> sup
6220: 70 6f 72 74 65 64 20 62 79 20 3c 62 3e 53 54 5f ported by <b>ST_
6230: 54 72 61 6e 73 66 6f 72 6d 3c 2f 62 3e 20 63 6c Transform</b> cl
6240: 6f 73 65 6c 79 20 6d 69 6d 69 63 20 74 68 65 20 osely mimic the
6250: 6d 6f 73 74 20 72 65 63 65 6e 74 20 50 52 4f 4a most recent PROJ
6260: 2e 36 20 41 50 49 2c 20 73 6f 20 79 6f 75 20 61 .6 API, so you a
6270: 72 65 20 66 72 65 65 20 74 6f 20 64 65 66 69 6e re free to defin
6280: 65 20 79 6f 75 72 20 63 6f 6f 72 64 69 6e 61 74 e your coordinat
6290: 65 73 20 74 72 61 6e 73 66 6f 72 6d 61 74 69 6f es transformatio
62a0: 6e 73 20 69 6e 20 73 65 76 65 72 61 6c 20 64 69 ns in several di
62b0: 66 66 65 72 65 6e 74 20 77 61 79 73 2e 3c 2f 6c fferent ways.</l
62c0: 69 3e 20 0d 0a 3c 6c 69 3e 54 68 65 20 64 65 66 i> ..<li>The def
62d0: 61 75 6c 74 20 62 65 68 61 76 69 6f 72 20 6f 66 ault behavior of
62e0: 20 53 70 61 74 69 61 4c 69 74 65 20 77 68 65 6e SpatiaLite when
62f0: 20 75 73 69 6e 67 20 50 52 4f 4a 2e 36 20 69 73 using PROJ.6 is
6300: 20 74 6f 20 63 6f 6d 70 6c 65 74 65 6c 79 20 69 to completely i
6310: 67 6e 6f 72 65 20 74 68 65 20 43 52 53 20 64 65 gnore the CRS de
6320: 66 69 6e 69 74 69 6f 6e 73 20 73 74 6f 72 65 64 finitions stored
6330: 20 77 69 74 68 69 6e 20 74 68 65 20 69 6e 74 65 within the inte
6340: 72 6e 61 6c 20 74 61 62 6c 65 20 3c 62 3e 73 70 rnal table <b>sp
6350: 61 74 69 61 6c 5f 72 65 66 5f 73 79 73 3c 2f 62 atial_ref_sys</b
6360: 3e 3c 62 72 3e 0d 0a 41 6e 79 20 72 65 71 75 69 ><br>..Any requi
6370: 72 65 64 20 43 52 53 20 64 65 66 69 6e 69 74 69 red CRS definiti
6380: 6f 6e 20 77 69 6c 6c 20 62 65 20 61 6c 77 61 79 on will be alway
6390: 73 20 72 65 74 72 69 65 76 65 64 20 66 72 6f 6d s retrieved from
63a0: 20 50 52 4f 4a 2e 36 20 69 74 73 65 6c 66 20 74 PROJ.6 itself t
63b0: 68 61 74 20 77 69 6c 6c 20 73 69 6d 70 6c 79 20 hat will simply
63c0: 72 65 63 65 69 76 65 20 61 20 72 65 71 75 65 73 receive a reques
63d0: 74 20 69 6e 20 74 68 65 20 66 6f 72 6d 20 3c 62 t in the form <b
63e0: 3e 3c 69 3e 66 72 6f 6d 20 45 50 53 47 3a 33 32 ><i>from EPSG:32
63f0: 36 33 32 20 74 6f 20 45 50 53 47 3a 33 30 30 33 632 to EPSG:3003
6400: 3c 2f 69 3e 3c 2f 62 3e 2e 3c 2f 6c 69 3e 0d 0a </i></b>.</li>..
6410: 3c 6c 69 3e 49 66 2c 20 66 6f 72 20 77 68 61 74 <li>If, for what
6420: 65 76 65 72 20 72 65 61 73 6f 6e 2c 20 20 79 6f ever reason, yo
6430: 75 20 61 72 65 20 66 72 65 65 20 74 6f 20 75 73 u are free to us
6440: 65 20 61 6e 79 20 6b 69 6e 64 20 6f 66 20 70 72 e any kind of pr
6450: 6f 6a 2d 73 74 72 69 6e 67 73 2c 20 57 4b 54 20 oj-strings, WKT
6460: 64 65 66 69 6e 69 74 69 6f 6e 73 20 6f 72 20 43 definitions or C
6470: 52 53 20 6e 61 6d 65 73 20 73 75 70 70 6f 72 74 RS names support
6480: 65 64 20 62 79 20 50 52 4f 4a 2e 36 3c 2f 62 3e ed by PROJ.6</b>
6490: 2e 3c 62 72 3e 0d 0a 42 75 74 20 64 6f 20 6e 6f .<br>..But do no
64a0: 74 20 62 65 20 73 75 70 72 69 73 65 64 20 69 66 t be suprised if
64b0: 20 74 68 65 20 72 65 73 75 6c 74 20 6f 66 20 79 the result of y
64c0: 6f 75 72 20 3c 62 3e 3c 69 3e 63 72 65 61 74 69 our <b><i>creati
64d0: 76 65 3c 2f 69 3e 3c 2f 62 3e 20 63 6f 6e 73 74 ve</i></b> const
64e0: 72 75 63 74 69 6f 6e 20 72 65 73 75 6c 74 73 20 ruction results
64f0: 69 6e 20 61 6e 20 65 78 63 65 70 74 69 6f 6e 20 in an exception
6500: 74 68 61 74 20 63 6f 6e 74 61 69 6e 73 20 74 68 that contains th
6510: 65 20 74 65 78 74 3a 20 3c 62 3e 27 50 52 4f 4a e text: <b>'PROJ
6520: 20 72 65 70 6f 72 74 73 27 3c 2f 62 3e 20 21 21 reports'</b> !!
6530: 21 3c 62 72 3e 0d 0a 43 61 72 65 20 6d 75 73 74 !<br>..Care must
6540: 20 62 65 20 74 61 6b 65 6e 20 74 6f 20 61 6e 61 be taken to ana
6550: 6c 79 73 65 20 74 68 65 20 72 65 70 6f 72 74 65 lyse the reporte
6560: 64 20 50 52 4f 4a 20 65 72 72 6f 72 20 69 6e 20 d PROJ error in
6570: 73 75 63 68 20 61 20 77 61 79 20 61 73 20 74 6f such a way as to
6580: 20 72 65 73 6f 6c 76 65 20 74 68 65 20 50 52 4f resolve the PRO
6590: 4a 20 65 72 72 6f 72 2e 3c 2f 6c 69 3e 0d 0a 3c J error.</li>..<
65a0: 2f 75 6c 3e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 53 /ul></li>..<li>S
65b0: 70 61 74 69 61 4c 69 74 65 20 65 6e 63 6f 75 72 patiaLite encour
65c0: 61 67 65 73 20 61 6e 64 20 70 72 6f 6d 6f 74 65 ages and promote
65d0: 73 20 74 68 65 20 6d 6f 73 74 20 63 72 65 61 74 s the most creat
65e0: 69 76 65 20 75 73 65 20 6f 66 20 50 52 4f 4a 2e ive use of PROJ.
65f0: 36 2c 20 74 68 69 73 20 69 6e 63 6c 75 64 69 6e 6, this includin
6600: 67 20 74 68 65 20 75 73 65 20 6f 66 20 79 6f 75 g the use of you
6610: 72 20 6f 77 6e 20 63 75 73 74 6f 6d 69 7a 65 64 r own customized
6620: 20 3c 62 3e 74 72 61 6e 73 66 6f 72 6d 61 74 69 <b>transformati
6630: 6f 6e 20 70 69 70 65 6c 69 6e 65 73 2e 3c 2f 62 on pipelines.</b
6640: 3e 2e 3c 62 72 3e 0d 0a 43 6f 72 72 65 63 74 6c >.<br>..Correctl
6650: 79 20 75 73 69 6e 67 20 63 75 73 74 6f 6d 20 74 y using custom t
6660: 72 61 6e 73 66 6f 72 6d 61 74 69 6f 6e 73 20 69 ransformations i
6670: 73 6e 27 74 20 6e 65 63 65 73 73 61 72 69 6c 79 sn't necessarily
6680: 20 73 69 6d 70 6c 65 20 61 6e 64 20 65 61 73 79 simple and easy
6690: 2c 20 20 62 75 74 20 6f 66 66 65 72 73 20 67 72 , but offers gr
66a0: 65 61 74 20 6f 70 70 6f 72 74 75 6e 69 74 69 65 eat opportunitie
66b0: 73 20 66 6f 72 20 61 6c 6c 20 73 6b 69 6c 6c 65 s for all skille
66c0: 64 20 61 6e 64 20 74 61 6c 65 6e 74 65 64 20 70 d and talented p
66d0: 6f 77 65 72 20 75 73 65 72 73 2e 3c 2f 6c 69 3e ower users.</li>
66e0: 0d 0a 3c 2f 75 6c 3e 3c 62 72 3e 3c 62 72 3e 0d ..</ul><br><br>.
66f0: 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 .</td></tr>..</t
6700: 61 62 6c 65 3e 3c 62 72 3e 0d 0a 41 20 66 65 77 able><br>..A few
6710: 20 70 72 61 63 74 69 63 61 6c 20 53 51 4c 20 65 practical SQL e
6720: 78 61 6d 70 6c 65 73 3a 0d 0a 3c 76 65 72 62 61 xamples:..<verba
6730: 74 69 6d 3e 0d 0a 2d 2d 20 66 72 6f 6d 20 45 50 tim>..-- from EP
6740: 53 47 3a 34 33 32 36 20 74 6f 20 45 50 53 47 3a SG:4326 to EPSG:
6750: 33 30 30 33 20 2d 20 64 65 66 61 75 6c 74 20 73 3003 - default s
6760: 65 74 74 69 6e 67 73 3b 20 69 67 6e 6f 72 69 6e ettings; ignorin
6770: 67 20 73 70 61 74 69 61 6c 69 74 65 5f 72 65 66 g spatialite_ref
6780: 5f 73 79 73 20 61 6e 64 20 72 65 6c 79 69 6e 67 _sys and relying
6790: 20 6f 6e 20 50 52 4f 4a 2e 36 20 6f 77 6e 20 70 on PROJ.6 own p
67a0: 72 69 76 61 74 65 20 64 61 74 61 62 61 73 65 0d rivate database.
67b0: 0a 53 45 4c 45 43 54 20 41 73 45 57 4b 54 20 28 .SELECT AsEWKT (
67c0: 20 53 54 5f 54 72 61 6e 73 66 6f 72 6d 28 20 4d ST_Transform( M
67d0: 61 6b 65 50 6f 69 6e 74 28 20 31 31 2e 38 37 38 akePoint( 11.878
67e0: 30 35 36 20 2c 20 34 33 2e 34 36 33 30 35 36 20 056 , 43.463056
67f0: 2c 20 34 33 32 36 20 29 20 2c 20 33 30 30 33 20 , 4326 ) , 3003
6800: 29 29 3b 0d 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ));..-----------
6810: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
6820: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 53 52 49 44 ----------..SRID
6830: 3d 33 30 30 33 3b 50 4f 49 4e 54 28 31 37 33 32 =3003;POINT(1732
6840: 38 35 32 2e 39 34 32 37 31 36 37 36 39 20 34 38 852.942716769 48
6850: 31 36 32 37 37 2e 36 31 37 36 39 30 36 37 34 29 16277.617690674)
6860: 0d 0a 0d 0a 0d 0a 2d 2d 20 66 72 6f 6d 20 45 50 ......-- from EP
6870: 53 47 3a 34 33 32 36 20 74 6f 20 45 50 53 47 3a SG:4326 to EPSG:
6880: 33 30 30 33 20 2d 20 65 78 61 63 74 6c 79 20 74 3003 - exactly t
6890: 68 65 20 73 61 6d 65 20 61 73 20 61 62 6f 76 65 he same as above
68a0: 2c 20 62 75 74 20 74 68 69 73 20 74 69 6d 65 20 , but this time
68b0: 69 6e 20 61 6e 20 65 78 70 6c 69 63 69 74 20 66 in an explicit f
68c0: 6f 72 6d 0d 0a 53 45 4c 45 43 54 20 41 73 45 57 orm..SELECT AsEW
68d0: 4b 54 20 28 20 53 54 5f 54 72 61 6e 73 66 6f 72 KT ( ST_Transfor
68e0: 6d 28 20 4d 61 6b 65 50 6f 69 6e 74 28 20 31 31 m( MakePoint( 11
68f0: 2e 38 37 38 30 35 36 20 2c 20 34 33 2e 34 36 33 .878056 , 43.463
6900: 30 35 36 2c 20 34 33 32 36 20 29 20 2c 20 33 30 056, 4326 ) , 30
6910: 30 33 2c 20 4e 55 4c 4c 2c 20 27 45 50 53 47 3a 03, NULL, 'EPSG:
6920: 34 33 32 36 27 2c 20 27 45 50 53 47 3a 33 30 30 4326', 'EPSG:300
6930: 33 27 29 29 3b 0d 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 3'));..---------
6940: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
6950: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 53 52 ------------..SR
6960: 49 44 3d 33 30 30 33 3b 50 4f 49 4e 54 28 31 37 ID=3003;POINT(17
6970: 33 32 38 35 32 2e 39 34 32 37 31 36 37 36 39 20 32852.942716769
6980: 34 38 31 36 32 37 37 2e 36 31 37 36 39 30 36 37 4816277.61769067
6990: 34 29 0d 0a 0d 0a 0d 0a 2d 2d 20 66 72 6f 6d 20 4)......-- from
69a0: 45 50 53 47 3a 34 33 32 36 20 74 6f 20 45 50 53 EPSG:4326 to EPS
69b0: 47 3a 33 30 30 33 20 2d 20 73 61 6d 65 20 61 73 G:3003 - same as
69c0: 20 61 62 6f 76 65 2c 20 75 73 69 6e 67 20 74 68 above, using th
69d0: 65 20 61 6c 74 65 72 6e 61 74 69 76 65 20 6e 6f e alternative no
69e0: 74 61 74 69 6f 6e 0d 0a 53 45 4c 45 43 54 20 41 tation..SELECT A
69f0: 73 45 57 4b 54 20 28 20 53 54 5f 54 72 61 6e 73 sEWKT ( ST_Trans
6a00: 66 6f 72 6d 28 20 4d 61 6b 65 50 6f 69 6e 74 28 form( MakePoint(
6a10: 20 31 31 2e 38 37 38 30 35 36 20 2c 20 34 33 2e 11.878056 , 43.
6a20: 34 36 33 30 35 36 2c 20 34 33 32 36 20 29 20 2c 463056, 4326 ) ,
6a30: 20 33 30 30 33 2c 20 4e 55 4c 4c 2c 20 27 75 72 3003, NULL, 'ur
6a40: 6e 3a 6f 67 63 3a 64 65 66 3a 63 72 73 3a 45 50 n:ogc:def:crs:EP
6a50: 53 47 3a 3a 34 33 32 36 27 2c 20 27 75 72 6e 3a SG::4326', 'urn:
6a60: 6f 67 63 3a 64 65 66 3a 63 72 73 3a 45 50 53 47 ogc:def:crs:EPSG
6a70: 3a 3a 33 30 30 33 27 29 29 3b 0d 0a 2d 2d 2d 2d ::3003'));..----
6a80: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
6a90: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
6aa0: 2d 0d 0a 53 52 49 44 3d 33 30 30 33 3b 50 4f 49 -..SRID=3003;POI
6ab0: 4e 54 28 31 37 33 32 38 35 32 2e 39 34 32 37 31 NT(1732852.94271
6ac0: 36 37 36 39 20 34 38 31 36 32 37 37 2e 36 31 37 6769 4816277.617
6ad0: 36 39 30 36 37 34 29 0d 0a 0d 0a 0d 0a 2d 2d 20 690674)......--
6ae0: 66 72 6f 6d 20 45 50 53 47 3a 34 33 32 36 20 74 from EPSG:4326 t
6af0: 6f 20 45 50 53 47 3a 33 30 30 33 20 2d 20 65 78 o EPSG:3003 - ex
6b00: 70 6c 69 63 69 74 6c 79 20 70 61 73 73 69 6e 67 plicitly passing
6b10: 20 43 52 53 20 6e 61 6d 65 73 0d 0a 53 45 4c 45 CRS names..SELE
6b20: 43 54 20 41 73 45 57 4b 54 20 28 20 53 54 5f 54 CT AsEWKT ( ST_T
6b30: 72 61 6e 73 66 6f 72 6d 28 20 4d 61 6b 65 50 6f ransform( MakePo
6b40: 69 6e 74 28 20 31 31 2e 38 37 38 30 35 36 20 2c int( 11.878056 ,
6b50: 20 34 33 2e 34 36 33 30 35 36 2c 20 34 33 32 36 43.463056, 4326
6b60: 20 29 20 2c 20 33 30 30 33 2c 20 4e 55 4c 4c 2c ) , 3003, NULL,
6b70: 20 27 57 47 53 20 38 34 27 2c 20 27 4d 6f 6e 74 'WGS 84', 'Mont
6b80: 65 20 4d 61 72 69 6f 20 2f 20 49 74 61 6c 79 20 e Mario / Italy
6b90: 7a 6f 6e 65 20 31 27 29 29 3b 0d 0a 2d 2d 2d 2d zone 1'));..----
6ba0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
6bb0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
6bc0: 2d 0d 0a 53 52 49 44 3d 33 30 30 33 3b 50 4f 49 -..SRID=3003;POI
6bd0: 4e 54 28 31 37 33 32 38 35 32 2e 39 34 32 37 31 NT(1732852.94271
6be0: 36 37 36 39 20 34 38 31 36 32 37 37 2e 36 31 37 6769 4816277.617
6bf0: 36 39 30 36 37 34 29 0d 0a 0d 0a 0d 0a 2d 2d 20 690674)......--
6c00: 66 72 6f 6d 20 45 50 53 47 3a 34 33 32 36 20 74 from EPSG:4326 t
6c10: 6f 20 45 50 53 47 3a 33 30 30 33 20 2d 20 73 69 o EPSG:3003 - si
6c20: 6d 75 6c 61 74 69 6e 67 20 74 68 65 20 63 6c 61 mulating the cla
6c30: 73 73 69 63 20 50 52 4f 4a 2e 34 20 61 70 70 72 ssic PROJ.4 appr
6c40: 6f 61 63 68 20 62 61 73 65 64 20 6f 6e 20 70 72 oach based on pr
6c50: 6f 6a 2d 73 74 72 69 6e 67 73 20 73 74 6f 72 65 oj-strings store
6c60: 64 20 69 6e 74 6f 20 73 70 61 74 69 61 6c 5f 72 d into spatial_r
6c70: 65 66 5f 73 79 73 0d 0a 53 45 4c 45 43 54 20 41 ef_sys..SELECT A
6c80: 73 45 57 4b 54 20 28 20 53 54 5f 54 72 61 6e 73 sEWKT ( ST_Trans
6c90: 66 6f 72 6d 28 20 4d 61 6b 65 50 6f 69 6e 74 28 form( MakePoint(
6ca0: 20 31 31 2e 38 37 38 30 35 36 20 2c 20 34 33 2e 11.878056 , 43.
6cb0: 34 36 33 30 35 36 2c 20 34 33 32 36 20 29 20 2c 463056, 4326 ) ,
6cc0: 20 33 30 30 33 20 2c 20 4e 55 4c 4c 20 2c 20 0d 3003 , NULL , .
6cd0: 0a 20 20 28 53 45 4c 45 43 54 20 70 72 6f 6a 34 . (SELECT proj4
6ce0: 74 65 78 74 20 46 52 4f 4d 20 73 70 61 74 69 61 text FROM spatia
6cf0: 6c 5f 72 65 66 5f 73 79 73 20 57 48 45 52 45 20 l_ref_sys WHERE
6d00: 73 72 69 64 20 3d 20 34 33 32 36 29 2c 0d 0a 20 srid = 4326),..
6d10: 20 28 53 45 4c 45 43 54 20 70 72 6f 6a 34 74 65 (SELECT proj4te
6d20: 78 74 20 46 52 4f 4d 20 73 70 61 74 69 61 6c 5f xt FROM spatial_
6d30: 72 65 66 5f 73 79 73 20 57 48 45 52 45 20 73 72 ref_sys WHERE sr
6d40: 69 64 20 3d 20 33 30 30 33 29 29 29 3b 0d 0a 2d id = 3003)));..-
6d50: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
6d60: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
6d70: 2d 2d 2d 2d 0d 0a 53 52 49 44 3d 33 30 30 33 3b ----..SRID=3003;
6d80: 50 4f 49 4e 54 28 31 37 33 32 38 35 32 2e 39 34 POINT(1732852.94
6d90: 32 37 31 36 37 36 39 20 34 38 31 36 32 37 37 2e 2716769 4816277.
6da0: 36 31 37 36 39 30 36 37 34 29 0d 0a 0d 0a 0d 0a 617690674)......
6db0: 2d 2d 20 66 72 6f 6d 20 45 50 53 47 3a 34 33 32 -- from EPSG:432
6dc0: 36 20 74 6f 20 45 50 53 47 3a 33 30 30 33 20 2d 6 to EPSG:3003 -
6dd0: 20 66 61 6e 63 79 20 6d 6f 64 65 20 62 61 73 65 fancy mode base
6de0: 64 20 6f 6e 20 57 4b 54 20 65 78 70 72 65 73 73 d on WKT express
6df0: 69 6f 6e 73 20 73 74 6f 72 65 64 20 69 6e 74 6f ions stored into
6e00: 20 73 70 61 74 69 61 6c 5f 72 65 66 5f 73 79 73 spatial_ref_sys
6e10: 0d 0a 53 45 4c 45 43 54 20 41 73 45 57 4b 54 20 ..SELECT AsEWKT
6e20: 28 20 53 54 5f 54 72 61 6e 73 66 6f 72 6d 28 20 ( ST_Transform(
6e30: 4d 61 6b 65 50 6f 69 6e 74 28 20 31 31 2e 38 37 MakePoint( 11.87
6e40: 38 30 35 36 20 2c 20 34 33 2e 34 36 33 30 35 36 8056 , 43.463056
6e50: 2c 20 34 33 32 36 20 29 20 2c 20 33 30 30 33 2c , 4326 ) , 3003,
6e60: 20 4e 55 4c 4c 2c 20 0d 0a 20 20 28 53 45 4c 45 NULL, .. (SELE
6e70: 43 54 20 73 72 74 65 78 74 20 46 52 4f 4d 20 73 CT srtext FROM s
6e80: 70 61 74 69 61 6c 5f 72 65 66 5f 73 79 73 20 57 patial_ref_sys W
6e90: 48 45 52 45 20 73 72 69 64 20 3d 20 34 33 32 36 HERE srid = 4326
6ea0: 29 2c 0d 0a 20 20 28 53 45 4c 45 43 54 20 73 72 ),.. (SELECT sr
6eb0: 74 65 78 74 20 46 52 4f 4d 20 73 70 61 74 69 61 text FROM spatia
6ec0: 6c 5f 72 65 66 5f 73 79 73 20 57 48 45 52 45 20 l_ref_sys WHERE
6ed0: 73 72 69 64 20 3d 20 33 30 30 33 29 29 29 3b 0d srid = 3003)));.
6ee0: 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d .---------------
6ef0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
6f00: 2d 2d 2d 2d 2d 2d 0d 0a 53 52 49 44 3d 33 30 30 ------..SRID=300
6f10: 33 3b 50 4f 49 4e 54 28 31 37 33 32 38 35 32 2e 3;POINT(1732852.
6f20: 39 34 32 37 31 36 37 36 39 20 34 38 31 36 32 37 942716769 481627
6f30: 37 2e 36 31 37 36 39 30 36 37 34 29 0d 0a 3c 2f 7.617690674)..</
6f40: 76 65 72 62 61 74 69 6d 3e 0d 0a 54 68 69 73 20 verbatim>..This
6f50: 66 69 72 73 74 20 74 65 73 74 20 69 73 20 62 61 first test is ba
6f60: 73 65 64 20 6f 6e 20 61 20 6e 65 77 20 53 70 61 sed on a new Spa
6f70: 74 69 61 4c 69 74 65 20 64 61 74 61 62 61 73 65 tiaLite database
6f80: 20 63 72 65 61 74 65 64 20 77 69 74 68 20 66 75 created with fu
6f90: 6c 6c 20 50 52 4f 4a 2e 36 20 73 75 70 70 6f 72 ll PROJ.6 suppor
6fa0: 74 2e 20 4e 6f 74 68 69 6e 67 20 73 70 65 63 69 t. Nothing speci
6fb0: 61 6c 20 68 65 72 65 20 6f 74 68 65 72 20 74 68 al here other th
6fc0: 61 74 20 61 6c 6c 20 6d 65 74 68 6f 64 73 20 72 at all methods r
6fd0: 65 74 75 72 6e 20 74 68 65 20 73 61 6d 65 20 72 eturn the same r
6fe0: 65 73 75 6c 74 73 2e 3c 62 72 3e 3c 62 72 3e 0d esults.<br><br>.
6ff0: 0a 3c 76 65 72 62 61 74 69 6d 3e 0d 0a 2d 2d 20 .<verbatim>..--
7000: 66 72 6f 6d 20 45 50 53 47 3a 34 33 32 36 20 74 from EPSG:4326 t
7010: 6f 20 45 50 53 47 3a 33 30 30 33 20 2d 20 75 73 o EPSG:3003 - us
7020: 69 6e 67 20 61 20 74 72 61 6e 73 66 6f 72 6d 61 ing a transforma
7030: 74 69 6f 6e 20 70 69 70 65 6c 69 6e 65 0d 0a 53 tion pipeline..S
7040: 45 4c 45 43 54 20 41 73 45 57 4b 54 20 28 20 53 ELECT AsEWKT ( S
7050: 54 5f 54 72 61 6e 73 66 6f 72 6d 28 20 53 77 61 T_Transform( Swa
7060: 70 43 6f 6f 72 64 73 20 28 20 4d 61 6b 65 50 6f pCoords ( MakePo
7070: 69 6e 74 28 20 31 31 2e 38 37 38 30 35 36 20 2c int( 11.878056 ,
7080: 20 34 33 2e 34 36 33 30 35 36 2c 20 34 33 32 36 43.463056, 4326
7090: 20 29 20 29 20 2c 20 33 30 30 33 20 2c 20 4e 55 ) ) , 3003 , NU
70a0: 4c 4c 20 2c 0d 0a 27 2b 70 72 6f 6a 3d 70 69 70 LL ,..'+proj=pip
70b0: 65 6c 69 6e 65 20 0d 0a 2b 73 74 65 70 20 2b 70 eline ..+step +p
70c0: 72 6f 6a 3d 61 78 69 73 73 77 61 70 20 2b 6f 72 roj=axisswap +or
70d0: 64 65 72 3d 32 2c 31 20 0d 0a 2b 73 74 65 70 20 der=2,1 ..+step
70e0: 2b 70 72 6f 6a 3d 75 6e 69 74 63 6f 6e 76 65 72 +proj=unitconver
70f0: 74 20 2b 78 79 5f 69 6e 3d 64 65 67 20 2b 78 79 t +xy_in=deg +xy
7100: 5f 6f 75 74 3d 72 61 64 20 0d 0a 2b 73 74 65 70 _out=rad ..+step
7110: 20 2b 70 72 6f 6a 3d 70 75 73 68 20 2b 76 5f 33 +proj=push +v_3
7120: 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 3d 63 ..+step +proj=c
7130: 61 72 74 20 2b 65 6c 6c 70 73 3d 57 47 53 38 34 art +ellps=WGS84
7140: 20 0d 0a 2b 73 74 65 70 20 2b 69 6e 76 20 2b 70 ..+step +inv +p
7150: 72 6f 6a 3d 68 65 6c 6d 65 72 74 20 2b 78 3d 2d roj=helmert +x=-
7160: 31 30 34 2e 31 20 2b 79 3d 2d 34 39 2e 31 20 2b 104.1 +y=-49.1 +
7170: 7a 3d 2d 39 2e 39 20 2b 72 78 3d 30 2e 39 37 31 z=-9.9 +rx=0.971
7180: 20 2b 72 79 3d 2d 32 2e 39 31 37 20 2b 72 7a 3d +ry=-2.917 +rz=
7190: 30 2e 37 31 34 20 2b 73 3d 2d 31 31 2e 36 38 20 0.714 +s=-11.68
71a0: 2b 63 6f 6e 76 65 6e 74 69 6f 6e 3d 70 6f 73 69 +convention=posi
71b0: 74 69 6f 6e 5f 76 65 63 74 6f 72 20 0d 0a 2b 73 tion_vector ..+s
71c0: 74 65 70 20 2b 69 6e 76 20 2b 70 72 6f 6a 3d 63 tep +inv +proj=c
71d0: 61 72 74 20 2b 65 6c 6c 70 73 3d 69 6e 74 6c 20 art +ellps=intl
71e0: 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 3d 70 6f ..+step +proj=po
71f0: 70 20 2b 76 5f 33 20 0d 0a 2b 73 74 65 70 20 2b p +v_3 ..+step +
7200: 70 72 6f 6a 3d 74 6d 65 72 63 20 2b 6c 61 74 5f proj=tmerc +lat_
7210: 30 3d 30 20 2b 6c 6f 6e 5f 30 3d 39 20 2b 6b 3d 0=0 +lon_0=9 +k=
7220: 30 2e 39 39 39 36 20 2b 78 5f 30 3d 31 35 30 30 0.9996 +x_0=1500
7230: 30 30 30 20 2b 79 5f 30 3d 30 20 2b 65 6c 6c 70 000 +y_0=0 +ellp
7240: 73 3d 69 6e 74 6c 27 20 29 29 3b 0d 0a 2d 2d 2d s=intl' ));..---
7250: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
7260: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
7270: 2d 2d 0d 0a 53 52 49 44 3d 33 30 30 33 3b 50 4f --..SRID=3003;PO
7280: 49 4e 54 28 31 37 33 32 38 35 32 2e 39 34 32 37 INT(1732852.9427
7290: 31 36 37 36 39 20 34 38 31 36 32 37 37 2e 36 31 16769 4816277.61
72a0: 37 36 39 30 36 37 34 29 0d 0a 0d 0a 0d 0a 2d 2d 7690674)......--
72b0: 20 66 72 6f 6d 20 45 50 53 47 3a 34 33 32 36 20 from EPSG:4326
72c0: 74 6f 20 45 50 53 47 3a 33 30 30 33 20 2d 20 75 to EPSG:3003 - u
72d0: 73 69 6e 67 20 61 20 63 75 73 74 6f 6d 69 7a 65 sing a customize
72e0: 64 20 74 72 61 6e 73 66 6f 72 6d 61 74 69 6f 6e d transformation
72f0: 20 70 69 70 65 6c 69 6e 65 0d 0a 53 45 4c 45 43 pipeline..SELEC
7300: 54 20 41 73 45 57 4b 54 20 28 20 53 54 5f 54 72 T AsEWKT ( ST_Tr
7310: 61 6e 73 66 6f 72 6d 28 20 4d 61 6b 65 50 6f 69 ansform( MakePoi
7320: 6e 74 28 20 31 31 2e 38 37 38 30 35 36 20 2c 20 nt( 11.878056 ,
7330: 34 33 2e 34 36 33 30 35 36 2c 20 34 33 32 36 20 43.463056, 4326
7340: 29 20 2c 20 33 30 30 33 20 2c 20 4e 55 4c 4c 20 ) , 3003 , NULL
7350: 2c 0d 0a 27 2b 70 72 6f 6a 3d 70 69 70 65 6c 69 ,..'+proj=pipeli
7360: 6e 65 20 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f ne ..+step +pro
7370: 6a 3d 75 6e 69 74 63 6f 6e 76 65 72 74 20 2b 78 j=unitconvert +x
7380: 79 5f 69 6e 3d 64 65 67 20 2b 78 79 5f 6f 75 74 y_in=deg +xy_out
7390: 3d 72 61 64 20 0d 0a 2b 73 74 65 70 20 2b 70 72 =rad ..+step +pr
73a0: 6f 6a 3d 70 75 73 68 20 2b 76 5f 33 20 0d 0a 2b oj=push +v_3 ..+
73b0: 73 74 65 70 20 2b 70 72 6f 6a 3d 63 61 72 74 20 step +proj=cart
73c0: 2b 65 6c 6c 70 73 3d 57 47 53 38 34 20 0d 0a 2b +ellps=WGS84 ..+
73d0: 73 74 65 70 20 2b 69 6e 76 20 2b 70 72 6f 6a 3d step +inv +proj=
73e0: 68 65 6c 6d 65 72 74 20 2b 78 3d 2d 31 30 34 2e helmert +x=-104.
73f0: 31 20 2b 79 3d 2d 34 39 2e 31 20 2b 7a 3d 2d 39 1 +y=-49.1 +z=-9
7400: 2e 39 20 2b 72 78 3d 30 2e 39 37 31 20 2b 72 79 .9 +rx=0.971 +ry
7410: 3d 2d 32 2e 39 31 37 20 2b 72 7a 3d 30 2e 37 31 =-2.917 +rz=0.71
7420: 34 20 2b 73 3d 2d 31 31 2e 36 38 20 2b 63 6f 6e 4 +s=-11.68 +con
7430: 76 65 6e 74 69 6f 6e 3d 70 6f 73 69 74 69 6f 6e vention=position
7440: 5f 76 65 63 74 6f 72 20 0d 0a 2b 73 74 65 70 20 _vector ..+step
7450: 2b 69 6e 76 20 2b 70 72 6f 6a 3d 63 61 72 74 20 +inv +proj=cart
7460: 2b 65 6c 6c 70 73 3d 69 6e 74 6c 20 0d 0a 2b 73 +ellps=intl ..+s
7470: 74 65 70 20 2b 70 72 6f 6a 3d 70 6f 70 20 2b 76 tep +proj=pop +v
7480: 5f 33 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a _3 ..+step +proj
7490: 3d 74 6d 65 72 63 20 2b 6c 61 74 5f 30 3d 30 20 =tmerc +lat_0=0
74a0: 2b 6c 6f 6e 5f 30 3d 39 20 2b 6b 3d 30 2e 39 39 +lon_0=9 +k=0.99
74b0: 39 36 20 2b 78 5f 30 3d 31 35 30 30 30 30 30 20 96 +x_0=1500000
74c0: 2b 79 5f 30 3d 30 20 2b 65 6c 6c 70 73 3d 69 6e +y_0=0 +ellps=in
74d0: 74 6c 27 20 29 29 3b 0d 0a 2d 2d 2d 2d 2d 2d 2d tl' ));..-------
74e0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
74f0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a --------------..
7500: 53 52 49 44 3d 33 30 30 33 3b 50 4f 49 4e 54 28 SRID=3003;POINT(
7510: 31 37 33 32 38 35 32 2e 39 34 32 37 31 36 37 36 1732852.94271676
7520: 39 20 34 38 31 36 32 37 37 2e 36 31 37 36 39 30 9 4816277.617690
7530: 36 37 34 29 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 674)..</verbatim
7540: 3e 0d 0a 54 68 69 73 20 73 65 63 6f 6e 64 20 74 >..This second t
7550: 65 73 74 20 69 73 20 62 61 73 65 64 20 6f 6e 20 est is based on
7560: 75 73 69 6e 67 20 3c 62 3e 3c 69 3e 74 72 61 6e using <b><i>tran
7570: 73 66 6f 72 6d 61 74 69 6f 6e 20 70 69 70 65 6c sformation pipel
7580: 69 6e 65 73 3c 2f 69 3e 3c 2f 62 3e 3a 0d 0a 3c ines</i></b>:..<
7590: 75 6c 3e 0d 0a 3c 6c 69 3e 74 68 65 20 66 69 72 ul>..<li>the fir
75a0: 73 74 20 71 75 65 72 79 20 64 69 72 65 63 74 6c st query directl
75b0: 79 20 75 73 65 73 20 61 20 63 61 6e 6f 6e 69 63 y uses a canonic
75c0: 61 6c 20 73 74 72 69 6e 67 20 72 65 70 72 65 73 al string repres
75d0: 65 6e 74 69 6e 67 20 74 68 65 20 70 69 70 65 6c enting the pipel
75e0: 69 6e 65 20 61 73 20 72 65 74 75 72 6e 69 6e 67 ine as returning
75f0: 20 62 79 20 74 68 69 73 20 63 6f 6d 6d 61 6e 64 by this command
7600: 20 65 78 65 63 75 74 65 64 20 66 72 6f 6d 20 74 executed from t
7610: 68 65 20 73 68 65 6c 6c 3a 0d 0a 3c 76 65 72 62 he shell:..<verb
7620: 61 74 69 6d 3e 0d 0a 70 72 6f 6a 69 6e 66 6f 20 atim>..projinfo
7630: 20 2d 73 20 45 50 53 47 3a 34 33 32 36 20 2d 74 -s EPSG:4326 -t
7640: 20 45 50 53 47 3a 33 30 30 33 20 2d 2d 61 72 65 EPSG:3003 --are
7650: 61 20 20 22 49 74 61 6c 79 20 2d 20 6d 61 69 6e a "Italy - main
7660: 6c 61 6e 64 22 20 2d 6f 20 70 72 6f 6a 0d 0a 3c land" -o proj..<
7670: 2f 76 65 72 62 61 74 69 6d 3e 0d 0a 28 77 65 27 /verbatim>..(we'
7680: 6c 6c 20 73 65 65 20 74 68 69 73 20 74 6f 70 69 ll see this topi
7690: 63 20 69 6e 20 6d 6f 72 65 20 64 65 70 74 68 20 c in more depth
76a0: 6f 6e 20 74 68 65 20 6e 65 78 74 20 73 65 63 74 on the next sect
76b0: 69 6f 6e 29 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e ion).</li>..<li>
76c0: 74 68 65 20 73 65 63 6f 6e 64 20 71 75 65 72 79 the second query
76d0: 20 69 73 20 6a 75 73 74 20 61 20 73 6d 61 6c 6c is just a small
76e0: 20 61 64 61 70 74 61 74 69 6f 6e 20 6f 66 20 74 adaptation of t
76f0: 68 65 20 66 69 72 73 74 20 6f 6e 65 3a 0d 0a 3c he first one:..<
7700: 75 6c 3e 0d 0a 3c 6c 69 3e 41 73 20 79 6f 75 20 ul>..<li>As you
7710: 63 61 6e 20 6e 6f 74 69 63 65 20 74 68 65 20 66 can notice the f
7720: 69 72 73 74 20 71 75 65 72 79 20 72 65 71 75 69 irst query requi
7730: 72 65 73 20 63 61 6c 6c 69 6e 67 20 3c 62 3e 53 res calling <b>S
7740: 77 61 70 43 6f 6f 64 69 6e 61 74 65 73 28 29 3c wapCoodinates()<
7750: 2f 62 3e 20 62 65 63 61 75 73 65 20 74 68 65 20 /b> because the
7760: 66 69 72 73 74 20 73 74 65 70 20 6f 66 20 74 68 first step of th
7770: 65 20 70 69 70 65 6c 69 6e 65 20 68 61 73 20 61 e pipeline has a
7780: 6e 20 3c 62 3e 61 78 69 73 73 77 61 70 3c 2f 62 n <b>axisswap</b
7790: 3e 20 64 69 72 65 63 74 69 76 65 2e 3c 2f 6c 69 > directive.</li
77a0: 3e 0d 0a 3c 6c 69 3e 54 68 65 20 73 65 63 6f 6e >..<li>The secon
77b0: 64 20 71 75 65 72 79 20 6a 75 73 74 20 61 76 6f d query just avo
77c0: 69 64 73 20 74 6f 20 63 61 6c 6c 20 3c 62 3e 53 ids to call <b>S
77d0: 77 61 70 43 6f 6f 72 64 73 28 29 3c 2f 62 3e 20 wapCoords()</b>
77e0: 61 6e 64 20 63 6f 6e 73 65 71 75 65 6e 74 6c 79 and consequently
77f0: 20 74 68 69 73 20 66 69 72 73 74 20 73 74 65 70 this first step
7800: 20 68 61 73 20 62 65 65 6e 20 72 65 6d 6f 76 65 has been remove
7810: 64 20 66 72 6f 6d 20 74 68 65 20 70 69 70 65 6c d from the pipel
7820: 69 6e 65 20 73 6f 20 74 6f 20 67 65 74 20 74 68 ine so to get th
7830: 65 20 73 61 6d 65 20 69 64 65 6e 74 69 63 61 6c e same identical
7840: 20 6f 76 65 72 61 6c 6c 20 65 66 66 65 63 74 2e overall effect.
7850: 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c 2f 6c 69 </li>..</ul></li
7860: 3e 0d 0a 3c 6c 69 3e 3c 62 3e 3c 75 3e 4e 6f 74 >..<li><b><u>Not
7870: 65 3c 2f 75 3e 3c 2f 62 3e 3a 20 53 70 61 74 69 e</u></b>: Spati
7880: 61 4c 69 74 65 20 61 6e 64 20 50 52 4f 4a 2e 36 aLite and PROJ.6
7890: 20 77 69 6c 6c 20 61 6c 77 61 79 73 20 61 74 74 will always att
78a0: 65 6d 70 74 20 74 6f 20 64 65 74 65 72 6d 69 6e empt to determin
78b0: 65 20 69 66 20 73 77 61 70 70 69 6e 67 20 74 68 e if swapping th
78c0: 65 20 63 6f 6f 72 64 69 6e 61 74 65 73 20 69 73 e coordinates is
78d0: 20 72 65 71 75 69 72 65 64 20 6f 72 20 6e 6f 74 required or not
78e0: 2e 3c 62 72 3e 0d 0a 42 75 74 20 69 6e 20 74 68 .<br>..But in th
78f0: 65 20 73 70 65 63 69 66 69 63 20 63 61 73 65 20 e specific case
7900: 6f 66 20 74 72 61 6e 73 66 6f 72 6d 61 74 69 6f of transformatio
7910: 6e 20 70 69 70 65 6c 69 6e 65 73 20 74 68 65 20 n pipelines the
7920: 75 73 65 72 20 69 73 20 65 78 70 65 63 74 65 64 user is expected
7930: 20 74 6f 20 65 78 70 6c 69 63 69 74 6c 79 20 63 to explicitly c
7940: 61 6c 6c 20 3c 62 3e 53 77 61 70 43 6f 6f 72 64 all <b>SwapCoord
7950: 73 28 29 3c 2f 62 3e 20 77 68 65 6e 65 76 65 72 s()</b> whenever
7960: 20 72 65 71 75 69 72 65 64 2e 3c 2f 6c 69 3e 0d required.</li>.
7970: 0a 3c 2f 75 6c 3e 3c 62 72 3e 0d 0a 3c 74 61 62 .</ul><br>..<tab
7980: 6c 65 20 63 65 6c 6c 73 70 61 63 69 6e 67 3d 22 le cellspacing="
7990: 38 22 20 63 65 6c 6c 70 61 64 64 69 6e 67 3d 22 8" cellpadding="
79a0: 31 36 22 20 62 67 63 6f 6c 6f 72 3d 22 23 63 39 16" bgcolor="#c9
79b0: 66 66 66 30 22 3e 0d 0a 3c 74 72 3e 3c 74 64 3e fff0">..<tr><td>
79c0: 0d 0a 3c 68 32 3e 54 65 63 68 20 4e 6f 74 65 3a ..<h2>Tech Note:
79d0: 20 75 73 69 6e 67 20 70 72 6f 6a 69 6e 66 6f 20 using projinfo
79e0: 66 6f 72 20 64 69 73 63 6f 76 65 72 69 6e 67 20 for discovering
79f0: 70 69 70 65 6c 69 6e 65 73 20 61 6e 64 20 61 72 pipelines and ar
7a00: 65 61 73 20 6f 66 20 75 73 65 3c 2f 68 32 3e 0d eas of use</h2>.
7a10: 0a 3c 76 65 72 62 61 74 69 6d 3e 0d 0a 70 72 6f .<verbatim>..pro
7a20: 6a 69 6e 66 6f 20 2d 73 20 45 50 53 47 3a 34 33 jinfo -s EPSG:43
7a30: 32 36 20 2d 74 20 45 50 53 47 3a 33 30 30 33 20 26 -t EPSG:3003
7a40: 2d 6f 20 70 72 6f 6a 20 2d 2d 73 70 61 74 69 61 -o proj --spatia
7a50: 6c 2d 74 65 73 74 20 69 6e 74 65 72 73 65 63 74 l-test intersect
7a60: 0d 0a 43 61 6e 64 69 64 61 74 65 20 6f 70 65 72 ..Candidate oper
7a70: 61 74 69 6f 6e 73 20 66 6f 75 6e 64 3a 20 33 0d ations found: 3.
7a80: 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d .---------------
7a90: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
7aa0: 2d 2d 2d 2d 2d 2d 0d 0a 4f 70 65 72 61 74 69 6f ------..Operatio
7ab0: 6e 20 6e c2 b0 31 3a 0d 0a 0d 0a 75 6e 6b 6e 6f n n..1:....unkno
7ac0: 77 6e 20 69 64 2c 20 49 6e 76 65 72 73 65 20 6f wn id, Inverse o
7ad0: 66 20 4d 6f 6e 74 65 20 4d 61 72 69 6f 20 74 6f f Monte Mario to
7ae0: 20 57 47 53 20 38 34 20 28 34 29 20 2b 20 49 74 WGS 84 (4) + It
7af0: 61 6c 79 20 7a 6f 6e 65 20 31 2c 20 34 20 6d 2c aly zone 1, 4 m,
7b00: 20 49 74 61 6c 79 20 2d 20 6d 61 69 6e 6c 61 6e Italy - mainlan
7b10: 64 0d 0a 0d 0a 50 52 4f 4a 20 73 74 72 69 6e 67 d....PROJ string
7b20: 3a 0d 0a 2b 70 72 6f 6a 3d 70 69 70 65 6c 69 6e :..+proj=pipelin
7b30: 65 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 3d e ..+step +proj=
7b40: 61 78 69 73 73 77 61 70 20 2b 6f 72 64 65 72 3d axisswap +order=
7b50: 32 2c 31 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 2,1 ..+step +pro
7b60: 6a 3d 75 6e 69 74 63 6f 6e 76 65 72 74 20 2b 78 j=unitconvert +x
7b70: 79 5f 69 6e 3d 64 65 67 20 2b 78 79 5f 6f 75 74 y_in=deg +xy_out
7b80: 3d 72 61 64 20 0d 0a 2b 73 74 65 70 20 2b 70 72 =rad ..+step +pr
7b90: 6f 6a 3d 70 75 73 68 20 2b 76 5f 33 20 0d 0a 2b oj=push +v_3 ..+
7ba0: 73 74 65 70 20 2b 70 72 6f 6a 3d 63 61 72 74 20 step +proj=cart
7bb0: 2b 65 6c 6c 70 73 3d 57 47 53 38 34 20 0d 0a 2b +ellps=WGS84 ..+
7bc0: 73 74 65 70 20 2b 69 6e 76 20 2b 70 72 6f 6a 3d step +inv +proj=
7bd0: 68 65 6c 6d 65 72 74 20 2b 78 3d 2d 31 30 34 2e helmert +x=-104.
7be0: 31 20 2b 79 3d 2d 34 39 2e 31 20 2b 7a 3d 2d 39 1 +y=-49.1 +z=-9
7bf0: 2e 39 20 2b 72 78 3d 30 2e 39 37 31 20 2b 72 79 .9 +rx=0.971 +ry
7c00: 3d 2d 32 2e 39 31 37 20 2b 72 7a 3d 30 2e 37 31 =-2.917 +rz=0.71
7c10: 34 20 2b 73 3d 2d 31 31 2e 36 38 20 2b 63 6f 6e 4 +s=-11.68 +con
7c20: 76 65 6e 74 69 6f 6e 3d 70 6f 73 69 74 69 6f 6e vention=position
7c30: 5f 76 65 63 74 6f 72 20 0d 0a 2b 73 74 65 70 20 _vector ..+step
7c40: 2b 69 6e 76 20 2b 70 72 6f 6a 3d 63 61 72 74 20 +inv +proj=cart
7c50: 2b 65 6c 6c 70 73 3d 69 6e 74 6c 20 0d 0a 2b 73 +ellps=intl ..+s
7c60: 74 65 70 20 2b 70 72 6f 6a 3d 70 6f 70 20 2b 76 tep +proj=pop +v
7c70: 5f 33 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a _3 ..+step +proj
7c80: 3d 74 6d 65 72 63 20 2b 6c 61 74 5f 30 3d 30 20 =tmerc +lat_0=0
7c90: 2b 6c 6f 6e 5f 30 3d 39 20 2b 6b 3d 30 2e 39 39 +lon_0=9 +k=0.99
7ca0: 39 36 20 2b 78 5f 30 3d 31 35 30 30 30 30 30 20 96 +x_0=1500000
7cb0: 2b 79 5f 30 3d 30 20 2b 65 6c 6c 70 73 3d 69 6e +y_0=0 +ellps=in
7cc0: 74 6c 0d 0a 0d 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d tl....----------
7cd0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
7ce0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 4f 70 65 -----------..Ope
7cf0: 72 61 74 69 6f 6e 20 6e c2 b0 32 3a 0d 0a 0d 0a ration n..2:....
7d00: 75 6e 6b 6e 6f 77 6e 20 69 64 2c 20 49 6e 76 65 unknown id, Inve
7d10: 72 73 65 20 6f 66 20 4d 6f 6e 74 65 20 4d 61 72 rse of Monte Mar
7d20: 69 6f 20 74 6f 20 57 47 53 20 38 34 20 28 32 29 io to WGS 84 (2)
7d30: 20 2b 20 49 74 61 6c 79 20 7a 6f 6e 65 20 31 2c + Italy zone 1,
7d40: 20 34 20 6d 2c 20 49 74 61 6c 79 20 2d 20 53 61 4 m, Italy - Sa
7d50: 72 64 69 6e 69 61 20 6f 6e 73 68 6f 72 65 0d 0a rdinia onshore..
7d60: 0d 0a 50 52 4f 4a 20 73 74 72 69 6e 67 3a 0d 0a ..PROJ string:..
7d70: 2b 70 72 6f 6a 3d 70 69 70 65 6c 69 6e 65 20 0d +proj=pipeline .
7d80: 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 3d 61 78 69 .+step +proj=axi
7d90: 73 73 77 61 70 20 2b 6f 72 64 65 72 3d 32 2c 31 sswap +order=2,1
7da0: 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 3d 75 ..+step +proj=u
7db0: 6e 69 74 63 6f 6e 76 65 72 74 20 2b 78 79 5f 69 nitconvert +xy_i
7dc0: 6e 3d 64 65 67 20 2b 78 79 5f 6f 75 74 3d 72 61 n=deg +xy_out=ra
7dd0: 64 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 3d d ..+step +proj=
7de0: 70 75 73 68 20 2b 76 5f 33 20 0d 0a 2b 73 74 65 push +v_3 ..+ste
7df0: 70 20 2b 70 72 6f 6a 3d 63 61 72 74 20 2b 65 6c p +proj=cart +el
7e00: 6c 70 73 3d 57 47 53 38 34 20 0d 0a 2b 73 74 65 lps=WGS84 ..+ste
7e10: 70 20 2b 69 6e 76 20 2b 70 72 6f 6a 3d 68 65 6c p +inv +proj=hel
7e20: 6d 65 72 74 20 2b 78 3d 2d 31 36 38 2e 36 20 2b mert +x=-168.6 +
7e30: 79 3d 2d 33 34 20 2b 7a 3d 33 38 2e 36 20 2b 72 y=-34 +z=38.6 +r
7e40: 78 3d 2d 30 2e 33 37 34 20 2b 72 79 3d 2d 30 2e x=-0.374 +ry=-0.
7e50: 36 37 39 20 2b 72 7a 3d 2d 31 2e 33 37 39 20 2b 679 +rz=-1.379 +
7e60: 73 3d 2d 39 2e 34 38 20 2b 63 6f 6e 76 65 6e 74 s=-9.48 +convent
7e70: 69 6f 6e 3d 70 6f 73 69 74 69 6f 6e 5f 76 65 63 ion=position_vec
7e80: 74 6f 72 20 0d 0a 2b 73 74 65 70 20 2b 69 6e 76 tor ..+step +inv
7e90: 20 2b 70 72 6f 6a 3d 63 61 72 74 20 2b 65 6c 6c +proj=cart +ell
7ea0: 70 73 3d 69 6e 74 6c 20 0d 0a 2b 73 74 65 70 20 ps=intl ..+step
7eb0: 2b 70 72 6f 6a 3d 70 6f 70 20 2b 76 5f 33 20 0d +proj=pop +v_3 .
7ec0: 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 3d 74 6d 65 .+step +proj=tme
7ed0: 72 63 20 2b 6c 61 74 5f 30 3d 30 20 2b 6c 6f 6e rc +lat_0=0 +lon
7ee0: 5f 30 3d 39 20 2b 6b 3d 30 2e 39 39 39 36 20 2b _0=9 +k=0.9996 +
7ef0: 78 5f 30 3d 31 35 30 30 30 30 30 20 2b 79 5f 30 x_0=1500000 +y_0
7f00: 3d 30 20 2b 65 6c 6c 70 73 3d 69 6e 74 6c 0d 0a =0 +ellps=intl..
7f10: 0d 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ..--------------
7f20: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
7f30: 2d 2d 2d 2d 2d 2d 2d 0d 0a 4f 70 65 72 61 74 69 -------..Operati
7f40: 6f 6e 20 6e c2 b0 33 3a 0d 0a 0d 0a 75 6e 6b 6e on n..3:....unkn
7f50: 6f 77 6e 20 69 64 2c 20 49 6e 76 65 72 73 65 20 own id, Inverse
7f60: 6f 66 20 4d 6f 6e 74 65 20 4d 61 72 69 6f 20 74 of Monte Mario t
7f70: 6f 20 57 47 53 20 38 34 20 28 31 31 29 20 2b 20 o WGS 84 (11) +
7f80: 49 74 61 6c 79 20 7a 6f 6e 65 20 31 2c 20 31 30 Italy zone 1, 10
7f90: 20 6d 2c 20 49 74 61 6c 79 20 2d 20 53 69 63 69 m, Italy - Sici
7fa0: 6c 79 20 53 74 72 61 69 74 20 77 65 73 74 20 6f ly Strait west o
7fb0: 66 20 31 33 c2 b0 45 0d 0a 0d 0a 50 52 4f 4a 20 f 13..E....PROJ
7fc0: 73 74 72 69 6e 67 3a 0d 0a 2b 70 72 6f 6a 3d 70 string:..+proj=p
7fd0: 69 70 65 6c 69 6e 65 20 0d 0a 2b 73 74 65 70 20 ipeline ..+step
7fe0: 2b 70 72 6f 6a 3d 61 78 69 73 73 77 61 70 20 2b +proj=axisswap +
7ff0: 6f 72 64 65 72 3d 32 2c 31 20 0d 0a 2b 73 74 65 order=2,1 ..+ste
8000: 70 20 2b 70 72 6f 6a 3d 75 6e 69 74 63 6f 6e 76 p +proj=unitconv
8010: 65 72 74 20 2b 78 79 5f 69 6e 3d 64 65 67 20 2b ert +xy_in=deg +
8020: 78 79 5f 6f 75 74 3d 72 61 64 20 0d 0a 2b 73 74 xy_out=rad ..+st
8030: 65 70 20 2b 70 72 6f 6a 3d 70 75 73 68 20 2b 76 ep +proj=push +v
8040: 5f 33 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a _3 ..+step +proj
8050: 3d 63 61 72 74 20 2b 65 6c 6c 70 73 3d 57 47 53 =cart +ellps=WGS
8060: 38 34 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 84 ..+step +proj
8070: 3d 68 65 6c 6d 65 72 74 20 2b 78 3d 32 33 30 2e =helmert +x=230.
8080: 34 37 20 2b 79 3d 35 36 2e 30 38 20 2b 7a 3d 2d 47 +y=56.08 +z=-
8090: 32 32 2e 34 33 20 0d 0a 2b 73 74 65 70 20 2b 69 22.43 ..+step +i
80a0: 6e 76 20 2b 70 72 6f 6a 3d 63 61 72 74 20 2b 65 nv +proj=cart +e
80b0: 6c 6c 70 73 3d 69 6e 74 6c 20 0d 0a 2b 73 74 65 llps=intl ..+ste
80c0: 70 20 2b 70 72 6f 6a 3d 70 6f 70 20 2b 76 5f 33 p +proj=pop +v_3
80d0: 20 0d 0a 2b 73 74 65 70 20 2b 70 72 6f 6a 3d 74 ..+step +proj=t
80e0: 6d 65 72 63 20 2b 6c 61 74 5f 30 3d 30 20 2b 6c merc +lat_0=0 +l
80f0: 6f 6e 5f 30 3d 39 20 2b 6b 3d 30 2e 39 39 39 36 on_0=9 +k=0.9996
8100: 20 2b 78 5f 30 3d 31 35 30 30 30 30 30 20 2b 79 +x_0=1500000 +y
8110: 5f 30 3d 30 20 2b 65 6c 6c 70 73 3d 69 6e 74 6c _0=0 +ellps=intl
8120: 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 3e 0d 0a 3c ..</verbatim>..<
8130: 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 62 /td></tr>..</tab
8140: 6c 65 3e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 76 65 le><br><br>..<ve
8150: 72 62 61 74 69 6d 3e 0d 0a 2d 2d 20 66 72 6f 6d rbatim>..-- from
8160: 20 45 50 53 47 3a 34 32 36 20 74 6f 20 45 50 53 EPSG:426 to EPS
8170: 47 3a 33 30 30 33 20 2d 20 64 65 66 61 75 6c 74 G:3003 - default
8180: 20 73 65 74 74 69 6e 67 73 2c 20 4e 55 4c 4c 20 settings, NULL
8190: 61 72 65 61 20 6f 66 20 75 73 65 0d 0a 53 45 4c area of use..SEL
81a0: 45 43 54 20 41 73 45 57 4b 54 20 28 20 53 54 5f ECT AsEWKT ( ST_
81b0: 54 72 61 6e 73 66 6f 72 6d 28 20 4d 61 6b 65 50 Transform( MakeP
81c0: 6f 69 6e 74 28 20 39 2e 31 36 39 34 36 34 2c 20 oint( 9.169464,
81d0: 33 39 2e 34 37 38 32 37 35 2c 20 34 33 32 36 20 39.478275, 4326
81e0: 29 2c 20 33 30 30 33 20 29 29 3b 0d 0a 2d 2d 2d ), 3003 ));..---
81f0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
8200: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
8210: 2d 2d 0d 0a 53 52 49 44 3d 33 30 30 33 3b 50 4f --..SRID=3003;PO
8220: 49 4e 54 28 31 35 31 34 36 30 30 2e 31 33 34 33 INT(1514600.1343
8230: 32 31 38 36 32 20 34 33 36 39 38 37 34 2e 34 38 21862 4369874.48
8240: 39 32 36 39 39 35 37 29 0d 0a 0d 0a 0d 0a 2d 2d 9269957)......--
8250: 20 66 72 6f 6d 20 45 50 53 47 3a 34 32 36 20 74 from EPSG:426 t
8260: 6f 20 45 50 53 47 3a 33 30 30 33 20 2d 20 64 65 o EPSG:3003 - de
8270: 66 61 75 6c 74 20 73 65 74 74 69 6e 67 73 2c 20 fault settings,
8280: 62 75 74 20 74 68 69 73 20 74 69 6d 65 20 65 78 but this time ex
8290: 70 6c 69 63 69 74 6c 79 20 64 65 66 69 6e 69 6e plicitly definin
82a0: 67 20 74 68 65 20 4d 42 52 20 61 6b 61 20 42 42 g the MBR aka BB
82b0: 4f 58 20 6f 66 20 61 20 73 70 65 63 69 66 69 63 OX of a specific
82c0: 20 61 72 65 61 20 6f 66 20 75 73 65 0d 0a 53 45 area of use..SE
82d0: 4c 45 43 54 20 41 73 45 57 4b 54 20 28 20 53 54 LECT AsEWKT ( ST
82e0: 5f 54 72 61 6e 73 66 6f 72 6d 28 20 4d 61 6b 65 _Transform( Make
82f0: 50 6f 69 6e 74 28 20 39 2e 31 36 39 34 36 34 2c Point( 9.169464,
8300: 20 33 39 2e 34 37 38 32 37 35 2c 20 34 33 32 36 39.478275, 4326
8310: 20 29 2c 20 33 30 30 33 20 2c 20 42 75 69 6c 64 ), 3003 , Build
8320: 4d 42 52 28 39 2e 31 20 2c 20 33 39 2e 34 20 2c MBR(9.1 , 39.4 ,
8330: 20 39 2e 32 20 2c 20 33 39 2e 35 20 2c 20 34 33 9.2 , 39.5 , 43
8340: 32 36 20 29 29 29 3b 0d 0a 2d 2d 2d 2d 2d 2d 2d 26 )));..-------
8350: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
8360: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a --------------..
8370: 53 52 49 44 3d 33 30 30 33 3b 50 4f 49 4e 54 28 SRID=3003;POINT(
8380: 31 35 31 34 36 30 35 2e 39 38 32 37 36 32 32 34 1514605.98276224
8390: 38 20 34 33 36 39 38 37 33 2e 30 30 34 32 32 36 8 4369873.004226
83a0: 39 34 33 29 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 943)..</verbatim
83b0: 3e 0d 0a 54 68 69 72 64 20 61 6e 64 20 66 69 6e >..Third and fin
83c0: 61 6c 20 65 78 61 6d 70 6c 65 2e 20 49 6e 20 73 al example. In s
83d0: 6f 6d 65 20 63 61 73 65 73 20 65 78 70 6c 69 63 ome cases explic
83e0: 69 74 6c 79 20 64 65 66 69 6e 69 6e 67 20 61 20 itly defining a
83f0: 73 70 65 63 69 66 69 63 20 3c 62 3e 3c 69 3e 61 specific <b><i>a
8400: 72 65 61 20 6f 66 20 75 73 65 3c 2f 69 3e 3c 2f rea of use</i></
8410: 62 3e 20 6d 61 79 20 65 6e 61 62 6c 65 20 50 52 b> may enable PR
8420: 4f 4a 2e 36 20 74 6f 20 73 65 6c 65 63 74 20 61 OJ.6 to select a
8430: 6e 20 6f 70 74 69 6d 69 7a 65 64 20 74 72 61 6e n optimized tran
8440: 73 66 6f 72 6d 61 74 69 6f 6e 20 6c 65 61 64 69 sformation leadi
8450: 6e 67 20 74 6f 20 6d 6f 72 65 20 70 72 65 63 69 ng to more preci
8460: 73 65 20 72 65 73 75 6c 74 73 2e 3c 62 72 3e 0d se results.<br>.
8470: 0a 49 6e 20 74 68 69 73 20 65 78 61 6d 70 6c 65 .In this example
8480: 20 77 65 27 76 65 20 75 73 65 64 20 61 20 50 6f we've used a Po
8490: 69 6e 74 20 6c 6f 63 61 74 65 64 20 69 6e 20 53 int located in S
84a0: 61 72 64 69 6e 69 61 2c 20 61 6e 64 20 50 52 4f ardinia, and PRO
84b0: 4a 2e 36 20 73 75 70 70 6f 72 74 73 20 73 65 76 J.6 supports sev
84c0: 65 72 61 6c 20 66 6c 61 76 6f 72 73 20 6f 66 20 eral flavors of
84d0: 3c 62 3e 45 50 53 47 3a 33 30 30 33 3c 2f 62 3e <b>EPSG:3003</b>
84e0: 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 74 68 depending on th
84f0: 65 20 73 70 65 63 69 66 69 63 20 61 72 65 61 20 e specific area
8500: 6f 66 20 75 73 65 20 61 6e 64 0d 0a 3c 62 3e 49 of use and..<b>I
8510: 74 61 6c 79 20 2d 20 53 61 72 64 69 6e 69 61 20 taly - Sardinia
8520: 6f 6e 73 68 6f 72 65 3c 2f 62 3e 20 69 73 20 6f onshore</b> is o
8530: 6e 65 20 62 65 74 77 65 65 6e 20 74 68 65 6d 2e ne between them.
8540: 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 74 68 65 20 ..<ul>..<li>the
8550: 66 69 72 73 74 20 71 75 65 72 79 20 64 6f 65 73 first query does
8560: 20 6e 6f 74 20 64 65 66 69 6e 65 20 61 6e 79 20 not define any
8570: 73 70 65 63 69 66 69 63 20 61 72 65 61 20 6f 66 specific area of
8580: 20 75 73 65 2c 20 61 6e 64 20 63 6f 6e 73 65 71 use, and conseq
8590: 75 65 6e 74 6c 79 20 50 52 4f 4a 2e 36 20 63 61 uently PROJ.6 ca
85a0: 6c 63 75 6c 61 74 65 64 20 74 68 65 20 74 72 61 lculated the tra
85b0: 6e 73 66 6f 72 6d 61 74 69 6f 6e 20 62 79 20 61 nsformation by a
85c0: 70 70 6c 79 69 6e 67 20 74 68 65 20 67 65 6e 65 pplying the gene
85d0: 72 69 63 20 70 61 72 61 6d 65 74 65 72 73 20 73 ric parameters s
85e0: 75 70 70 6f 72 74 69 6e 67 20 3c 62 3e 49 74 61 upporting <b>Ita
85f0: 6c 79 20 2d 20 4d 61 69 6e 6c 61 6e 64 3c 2f 62 ly - Mainland</b
8600: 3e 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 74 68 65 >.</li>..<li>the
8610: 20 73 65 63 6f 6e 64 20 71 75 65 72 79 20 69 6e second query in
8620: 73 74 65 61 64 20 64 65 66 69 6e 65 73 20 61 20 stead defines a
8630: 73 70 65 63 69 66 69 63 20 61 72 65 20 6f 66 20 specific are of
8640: 75 73 65 2c 20 61 6e 64 20 74 68 69 73 20 74 69 use, and this ti
8650: 6d 65 20 50 52 4f 4a 2e 36 20 63 61 6c 63 75 6c me PROJ.6 calcul
8660: 61 74 65 64 20 74 68 65 20 74 72 61 6e 73 66 6f ated the transfo
8670: 72 6d 61 74 69 6f 6e 20 62 79 20 61 70 70 6c 79 rmation by apply
8680: 69 6e 67 20 74 68 65 20 6d 6f 73 74 20 70 72 65 ing the most pre
8690: 63 69 73 65 20 70 61 72 61 6d 65 74 65 72 73 20 cise parameters
86a0: 73 75 70 70 6f 72 74 69 6e 67 20 3c 62 3e 49 74 supporting <b>It
86b0: 61 6c 79 20 2d 20 53 61 72 64 69 6e 69 61 20 6f aly - Sardinia o
86c0: 6e 73 68 6f 72 65 3c 2f 62 3e 2e 3c 2f 6c 69 3e nshore</b>.</li>
86d0: 0d 0a 3c 2f 75 6c 3e 3c 62 72 3e 3c 62 72 3e 0d ..</ul><br><br>.
86e0: 0a 3c 74 61 62 6c 65 20 63 65 6c 6c 73 70 61 63 .<table cellspac
86f0: 69 6e 67 3d 22 38 22 20 63 65 6c 6c 70 61 64 64 ing="8" cellpadd
8700: 69 6e 67 3d 22 31 36 22 20 62 67 63 6f 6c 6f 72 ing="16" bgcolor
8710: 3d 22 23 66 66 66 66 64 30 22 3e 0d 0a 3c 74 72 ="#ffffd0">..<tr
8720: 3e 3c 74 64 3e 0d 0a 3c 62 3e 3c 75 3e 4c 65 73 ><td>..<b><u>Les
8730: 73 6f 6e 20 6c 65 61 72 6e 65 64 3c 2f 75 3e 3c son learned</u><
8740: 2f 62 3e 3a 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e /b>:..<ul>..<li>
8750: 54 68 65 20 62 65 73 74 20 6d 6f 64 65 20 66 6f The best mode fo
8760: 72 20 74 61 6b 69 6e 67 20 66 75 6c 6c 20 70 72 r taking full pr
8770: 6f 66 69 74 20 66 72 6f 6d 20 50 52 4f 4a 2e 36 ofit from PROJ.6
8780: 20 69 73 20 62 79 20 69 67 6e 6f 72 69 6e 67 20 is by ignoring
8790: 61 6c 6c 20 43 52 53 20 64 65 66 69 6e 69 74 69 all CRS definiti
87a0: 6f 6e 73 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e ons contained in
87b0: 74 6f 20 3c 62 3e 73 70 61 74 69 61 6c 5f 72 65 to <b>spatial_re
87c0: 66 5f 73 79 73 3c 2f 62 3e 2c 20 74 68 75 73 20 f_sys</b>, thus
87d0: 6c 65 61 76 69 6e 67 20 50 52 4f 4a 20 66 72 65 leaving PROJ fre
87e0: 65 20 74 6f 20 63 68 6f 6f 73 65 20 74 68 65 20 e to choose the
87f0: 62 65 73 74 20 70 6f 73 73 69 62 6c 65 20 61 70 best possible ap
8800: 70 72 6f 61 63 68 2e 20 28 77 68 69 63 68 20 69 proach. (which i
8810: 73 20 74 68 65 20 3c 62 3e 3c 69 3e 64 65 66 61 s the <b><i>defa
8820: 75 6c 74 20 73 65 74 74 69 6e 67 3c 2f 69 3e 3c ult setting</i><
8830: 2f 62 3e 29 2e 3c 62 72 3e 0d 0a 54 68 69 73 20 /b>).<br>..This
8840: 77 61 79 20 79 6f 75 27 6c 6c 20 62 65 20 61 62 way you'll be ab
8850: 73 6f 6c 75 74 65 6c 79 20 73 75 72 65 20 74 68 solutely sure th
8860: 61 74 20 74 68 65 20 6d 6f 73 74 20 72 65 63 65 at the most rece
8870: 6e 74 20 61 6e 64 20 66 75 6c 6c 79 20 64 65 74 nt and fully det
8880: 61 69 6c 65 64 20 64 65 66 69 6e 69 74 69 6f 6e ailed definition
8890: 73 20 77 69 6c 6c 20 61 6c 77 61 79 73 20 62 65 s will always be
88a0: 20 72 65 74 72 69 65 76 65 64 20 66 72 6f 6d 20 retrieved from
88b0: 74 68 65 20 50 52 4f 4a 2e 36 20 6f 77 6e 20 70 the PROJ.6 own p
88c0: 72 69 76 61 74 65 20 64 61 74 61 62 61 73 65 2e rivate database.
88d0: 3c 62 72 3e 0d 0a 54 68 69 73 20 77 69 6c 6c 20 <br>..This will
88e0: 68 61 70 70 65 6e 20 65 76 65 6e 20 77 68 65 6e happen even when
88f0: 20 70 72 6f 63 65 73 73 69 6e 67 20 70 72 6f 63 processing proc
8900: 65 73 73 69 6e 67 20 73 6f 6d 65 20 3c 62 3e 3c essing some <b><
8910: 69 3e 6c 65 67 61 63 79 20 44 42 3c 2f 69 3e 3c i>legacy DB</i><
8920: 2f 62 3e 20 20 74 68 61 74 20 77 61 73 20 63 72 /b> that was cr
8930: 65 61 74 65 64 20 62 79 20 61 20 65 61 72 6c 69 eated by a earli
8940: 65 72 20 76 65 72 73 69 6f 6e 20 61 6e 64 20 74 er version and t
8950: 68 75 73 20 70 6f 74 65 6e 74 69 61 6c 6c 79 20 hus potentially
8960: 63 6f 6e 74 61 69 6e 73 20 61 6e 20 6f 75 74 64 contains an outd
8970: 61 74 65 64 20 3c 62 3e 3c 69 3e 73 70 61 74 69 ated <b><i>spati
8980: 61 6c 5f 72 65 66 5f 73 79 73 3c 2f 69 3e 3c 2f al_ref_sys</i></
8990: 62 3e 20 74 61 62 6c 65 2e 3c 2f 6c 69 3e 0d 0a b> table.</li>..
89a0: 3c 6c 69 3e 53 70 61 74 69 61 4c 69 74 65 20 66 <li>SpatiaLite f
89b0: 75 6c 6c 79 20 72 65 73 70 65 63 74 73 20 75 73 ully respects us
89c0: 65 72 73 20 66 72 65 65 64 6f 6d 2c 20 61 76 6f ers freedom, avo
89d0: 69 64 69 6e 67 20 61 6e 79 20 69 6d 70 6f 73 65 iding any impose
89e0: 64 20 63 6f 6e 73 74 72 61 69 6e 74 2e 3c 62 72 d constraint.<br
89f0: 3e 0d 0a 49 66 20 79 6f 75 20 74 68 69 6e 6b 20 >..If you think
8a00: 74 68 61 74 20 75 73 69 6e 67 20 61 6e 6f 74 68 that using anoth
8a10: 65 72 20 43 52 53 20 64 65 66 69 6e 69 74 69 6f er CRS definitio
8a20: 6e 73 20 69 73 20 61 20 67 6f 6f 64 20 69 64 65 ns is a good ide
8a30: 61 2c 20 79 6f 75 20 61 72 65 20 66 72 65 65 20 a, you are free
8a40: 74 6f 20 75 73 65 20 74 72 61 64 69 74 69 6f 6e to use tradition
8a50: 61 6c 20 70 72 6f 6a 2d 73 74 72 69 6e 67 73 2c al proj-strings,
8a60: 20 57 4b 54 20 64 65 66 69 6e 69 74 69 6f 6e 73 WKT definitions
8a70: 2c 20 43 52 53 20 6e 61 6d 65 73 20 61 6e 64 20 , CRS names and
8a80: 77 68 61 74 65 76 65 72 20 65 6c 73 65 20 74 68 whatever else th
8a90: 61 74 20 6d 61 79 20 62 65 20 64 65 65 6d 65 64 at may be deemed
8aa0: 20 61 70 70 72 6f 70 72 69 61 74 65 2e 3c 2f 6c appropriate.</l
8ab0: 69 3e 0d 0a 3c 6c 69 3e 53 70 61 74 69 61 4c 69 i>..<li>SpatiaLi
8ac0: 74 65 20 65 6e 63 6f 75 72 61 67 65 73 20 61 6e te encourages an
8ad0: 64 20 70 72 6f 6d 6f 74 65 73 20 74 68 65 20 6d d promotes the m
8ae0: 6f 73 74 20 63 72 65 61 74 69 76 65 20 75 73 65 ost creative use
8af0: 20 6f 66 20 50 52 4f 4a 2e 36 3a 20 75 73 69 6e of PROJ.6: usin
8b00: 67 20 79 6f 75 72 20 6f 77 6e 20 63 75 73 74 6f g your own custo
8b10: 6d 20 3c 62 3e 3c 69 3e 74 72 61 6e 73 66 6f 72 m <b><i>transfor
8b20: 6d 61 74 69 6f 6e 20 70 69 70 65 6c 69 6e 65 73 mation pipelines
8b30: 3c 2f 69 3e 3c 2f 62 3e 20 69 73 6e 27 74 20 6e </i></b> isn't n
8b40: 65 63 65 73 73 61 72 69 6c 79 20 73 69 6d 70 6c ecessarily simpl
8b50: 65 20 61 6e 64 20 65 61 73 79 2c 20 62 75 74 20 e and easy, but
8b60: 6f 66 66 65 72 73 20 61 20 66 6c 65 78 69 62 6c offers a flexibl
8b70: 65 20 63 61 70 61 62 69 6c 69 74 79 20 74 6f 20 e capability to
8b80: 72 65 73 6f 6c 76 65 20 63 6f 6d 70 6c 65 78 20 resolve complex
8b90: 70 72 6f 62 6c 65 6d 73 20 6f 72 20 6e 6f 6e 2d problems or non-
8ba0: 73 74 61 6e 64 61 72 64 20 73 6f 6c 75 74 69 6f standard solutio
8bb0: 6e 73 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d ns.</li>..</ul>.
8bc0: 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 .</td></tr>..</t
8bd0: 61 62 6c 65 3e 3c 62 72 3e 0d 0a 3c 68 33 3e 4e able><br>..<h3>N
8be0: 65 77 20 61 75 78 69 6c 69 61 72 79 20 53 51 4c ew auxiliary SQL
8bf0: 20 66 75 6e 63 74 69 6f 6e 73 20 73 70 65 63 69 functions speci
8c00: 66 69 63 61 6c 6c 79 20 73 75 70 70 6f 72 74 69 fically supporti
8c10: 6e 67 20 50 52 4f 4a 2e 36 3c 2f 68 33 3e 0d 0a ng PROJ.6</h3>..
8c20: 3c 74 61 62 6c 65 20 63 65 6c 6c 73 70 61 63 69 <table cellspaci
8c30: 6e 67 3d 22 38 22 20 63 65 6c 6c 70 61 64 64 69 ng="8" cellpaddi
8c40: 6e 67 3d 22 38 22 20 62 67 63 6f 6c 6f 72 3d 22 ng="8" bgcolor="
8c50: 23 65 38 66 66 65 38 22 20 62 6f 72 64 65 72 3d #e8ffe8" border=
8c60: 22 31 22 3e 0d 0a 3c 74 72 3e 3c 74 68 20 62 67 "1">..<tr><th bg
8c70: 63 6f 6c 6f 72 3d 22 23 66 66 62 30 33 65 22 3e color="#ffb03e">
8c80: 53 51 4c 20 46 75 6e 63 74 69 6f 6e 3c 2f 74 68 SQL Function</th
8c90: 3e 3c 74 68 20 62 67 63 6f 6c 6f 72 3d 22 23 66 ><th bgcolor="#f
8ca0: 66 62 30 33 65 22 3e 53 75 70 70 6f 72 74 65 64 fb03e">Supported
8cb0: 20 61 72 67 75 6d 65 6e 74 73 3c 2f 74 68 3e 3c arguments</th><
8cc0: 74 68 20 62 67 63 6f 6c 6f 72 3d 22 23 66 66 62 th bgcolor="#ffb
8cd0: 30 33 65 22 3e 44 65 73 63 72 69 70 74 69 6f 6e 03e">Description
8ce0: 3c 2f 74 68 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e </th></tr>..<tr>
8cf0: 3c 74 64 3e 3c 62 3e 48 61 73 50 72 6f 6a 36 3c <td><b>HasProj6<
8d00: 2f 62 3e 28 20 3c 69 3e 76 6f 69 64 3c 2f 69 3e /b>( <i>void</i>
8d10: 20 29 20 3a 20 3c 69 3e 42 6f 6f 6c 65 61 6e 3c ) : <i>Boolean<
8d20: 2f 69 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 4e 6f /i></td>..<td>No
8d30: 6e 65 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 57 69 6c ne</td>..<td>Wil
8d40: 6c 20 72 65 74 75 72 6e 20 3c 62 3e 31 3c 2f 62 l return <b>1</b
8d50: 3e 20 28 3c 62 3e 54 52 55 45 3c 2f 62 3e 29 20 > (<b>TRUE</b>)
8d60: 69 66 20 74 68 65 20 6c 69 62 72 61 72 79 20 68 if the library h
8d70: 61 73 20 62 65 65 6e 20 62 75 69 6c 74 20 77 69 as been built wi
8d80: 74 68 20 3c 62 3e 50 52 4f 4a 2e 36 3c 2f 62 3e th <b>PROJ.6</b>
8d90: 20 28 6f 72 20 61 6e 79 20 6c 61 74 65 72 20 76 (or any later v
8da0: 65 72 73 69 6f 6e 29 2c 20 6f 74 68 65 72 77 69 ersion), otherwi
8db0: 73 65 20 3c 62 3e 30 3c 2f 62 3e 20 28 3c 62 3e se <b>0</b> (<b>
8dc0: 46 41 4c 53 45 3c 2f 62 3e 29 2e 3c 2f 74 64 3e FALSE</b>).</td>
8dd0: 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 3c </tr>..<tr><td><
8de0: 62 3e 50 52 4f 4a 5f 47 65 74 4c 61 73 74 45 72 b>PROJ_GetLastEr
8df0: 72 6f 72 4d 73 67 3c 2f 62 3e 28 20 3c 69 3e 76 rorMsg</b>( <i>v
8e00: 6f 69 64 3c 2f 69 3e 20 29 20 3a 20 3c 69 3e 53 oid</i> ) : <i>S
8e10: 74 72 69 6e 67 3c 2f 69 3e 3c 2f 74 64 3e 0d 0a tring</i></td>..
8e20: 3c 74 64 3e 4e 6f 6e 65 3c 2f 74 64 3e 0d 0a 3c <td>None</td>..<
8e30: 74 64 3e 57 69 6c 6c 20 72 65 74 75 72 6e 20 74 td>Will return t
8e40: 68 65 20 6d 6f 73 74 20 72 65 63 65 6e 74 20 65 he most recent e
8e50: 72 72 6f 72 20 6d 65 73 73 61 67 65 20 72 65 74 rror message ret
8e60: 75 72 6e 65 64 20 62 79 20 50 52 4f 4a 20 28 69 urned by PROJ (i
8e70: 66 20 61 6e 79 29 2e 3c 62 72 3e 0d 0a 3c 62 3e f any).<br>..<b>
8e80: 4e 55 4c 4c 3c 2f 62 3e 20 77 69 6c 6c 20 62 65 NULL</b> will be
8e90: 20 72 65 74 75 72 6e 65 64 20 69 66 20 74 68 65 returned if the
8ea0: 72 65 20 69 73 20 6e 6f 20 63 75 72 72 65 6e 74 re is no current
8eb0: 6c 79 20 70 65 6e 64 69 6e 67 20 50 52 4f 4a 20 ly pending PROJ
8ec0: 65 72 72 6f 72 2e 3c 2f 74 64 3e 3c 2f 74 72 3e error.</td></tr>
8ed0: 0d 0a 3c 74 72 3e 3c 74 64 3e 3c 62 3e 50 52 4f ..<tr><td><b>PRO
8ee0: 4a 5f 47 65 74 44 61 74 61 62 61 73 65 50 61 74 J_GetDatabasePat
8ef0: 68 3c 2f 62 3e 28 20 3c 69 3e 76 6f 69 64 3c 2f h</b>( <i>void</
8f00: 69 3e 20 3a 20 3c 69 3e 53 74 72 69 6e 67 3c 2f i> : <i>String</
8f10: 69 3e 29 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 4e 6f i>)</td>..<td>No
8f20: 6e 65 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 57 69 6c ne</td>..<td>Wil
8f30: 6c 20 72 65 74 75 72 6e 20 74 68 65 20 63 75 72 l return the cur
8f40: 72 65 6e 74 6c 79 20 73 65 74 20 70 61 74 68 6e rently set pathn
8f50: 61 6d 65 20 6c 65 61 64 69 6e 67 20 74 6f 20 74 ame leading to t
8f60: 68 65 20 70 72 69 76 61 74 65 20 50 52 4f 4a 27 he private PROJ'
8f70: 73 20 53 51 4c 69 74 65 20 64 61 74 61 62 61 73 s SQLite databas
8f80: 65 2e 3c 62 72 3e 0d 0a 3c 62 3e 4e 55 4c 4c 3c e.<br>..<b>NULL<
8f90: 2f 62 3e 20 77 69 6c 6c 20 62 65 20 72 65 74 75 /b> will be retu
8fa0: 72 6e 65 64 20 69 66 20 74 68 65 72 65 20 69 73 rned if there is
8fb0: 20 6e 6f 20 70 72 69 76 61 74 65 20 50 52 4f 4a no private PROJ
8fc0: 27 73 20 53 51 4c 69 74 65 20 64 61 74 61 62 61 's SQLite databa
8fd0: 73 65 20 63 75 72 72 65 6e 74 6c 79 20 63 6f 6e se currently con
8fe0: 6e 65 63 74 65 64 2e 3c 2f 74 64 3e 3c 2f 74 72 nected.</td></tr
8ff0: 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 3c 62 3e 50 52 >..<tr><td><b>PR
9000: 4f 4a 5f 53 65 74 44 61 74 61 62 61 73 65 50 61 OJ_SetDatabasePa
9010: 74 68 3c 2f 62 3e 20 28 20 6e 65 77 5f 70 61 74 th</b> ( new_pat
9020: 68 20 3c 69 3e 53 74 72 69 6e 67 3c 2f 69 3e 20 h <i>String</i>
9030: 29 20 3a 20 3c 69 3e 53 74 72 69 6e 67 3c 2f 69 ) : <i>String</i
9040: 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 0d 0a 3c 75 ></td>..<td>..<u
9050: 6c 3e 0d 0a 3c 6c 69 3e 3c 62 3e 6e 65 77 5f 70 l>..<li><b>new_p
9060: 61 74 68 3c 2f 62 3e 3a 20 61 20 72 65 6c 61 74 ath</b>: a relat
9070: 69 76 65 20 6f 72 20 61 62 73 6f 6c 75 74 65 20 ive or absolute
9080: 70 61 74 68 6e 61 6d 65 20 6c 65 61 64 69 6e 67 pathname leading
9090: 20 74 6f 20 61 20 76 61 6c 69 64 20 50 52 4f 4a to a valid PROJ
90a0: 27 73 20 53 51 4c 69 74 65 20 64 61 74 61 62 61 's SQLite databa
90b0: 73 65 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c se.</li>..</ul><
90c0: 2f 74 64 3e 0d 0a 3c 74 64 3e 57 69 6c 6c 20 63 /td>..<td>Will c
90d0: 68 61 6e 67 65 20 74 68 65 20 63 75 72 72 65 6e hange the curren
90e0: 74 6c 79 20 73 65 74 20 70 61 74 68 6e 61 6d 65 tly set pathname
90f0: 20 6c 65 61 64 69 6e 67 20 74 6f 20 74 68 65 20 leading to the
9100: 70 72 69 76 61 74 65 20 50 52 4f 4a 27 73 20 53 private PROJ's S
9110: 51 4c 69 74 65 20 64 61 74 61 62 61 73 65 2e 3c QLite database.<
9120: 62 72 3e 0d 0a 3c 62 3e 4e 55 4c 4c 3c 2f 62 3e br>..<b>NULL</b>
9130: 20 77 69 6c 6c 20 62 65 20 72 65 74 75 72 6e 65 will be returne
9140: 64 20 69 66 20 74 68 65 20 70 61 73 73 65 64 20 d if the passed
9150: 70 61 74 68 20 69 73 20 69 6e 76 61 6c 69 64 2c path is invalid,
9160: 20 6f 74 68 65 72 77 69 73 65 20 74 68 65 20 70 otherwise the p
9170: 61 74 68 20 6f 66 20 74 68 65 20 63 75 72 72 65 ath of the curre
9180: 6e 74 6c 79 20 73 65 74 20 70 72 69 76 61 74 65 ntly set private
9190: 20 50 52 4f 4a 27 73 20 53 51 4c 69 74 65 20 64 PROJ's SQLite d
91a0: 61 74 61 62 61 73 65 20 77 69 6c 6c 20 62 65 20 atabase will be
91b0: 72 65 74 75 72 6e 65 64 2e 3c 2f 74 64 3e 3c 2f returned.</td></
91c0: 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 3c 62 3e tr>..<tr><td><b>
91d0: 50 52 4f 4a 5f 41 73 50 72 6f 6a 53 74 72 69 6e PROJ_AsProjStrin
91e0: 67 3c 2f 62 3e 20 28 20 61 75 74 68 5f 6e 61 6d g</b> ( auth_nam
91f0: 65 20 3c 69 3e 53 74 72 69 6e 67 3c 2f 69 3e 20 e <i>String</i>
9200: 2c 20 61 75 74 68 5f 73 72 69 64 20 3c 69 3e 49 , auth_srid <i>I
9210: 6e 74 65 67 65 72 3c 2f 69 3e 20 29 20 3a 20 3c nteger</i> ) : <
9220: 69 3e 53 74 72 69 6e 67 3c 2f 69 3e 3c 2f 74 64 i>String</i></td
9230: 3e 0d 0a 3c 74 64 3e 3c 75 6c 3e 0d 0a 3c 6c 69 >..<td><ul>..<li
9240: 3e 3c 62 3e 61 75 74 68 5f 6e 61 6d 65 3c 2f 62 ><b>auth_name</b
9250: 3e 20 61 6e 64 20 3c 62 3e 61 75 74 68 5f 73 72 > and <b>auth_sr
9260: 69 64 3c 2f 62 3e 20 69 64 65 6e 74 69 66 79 20 id</b> identify
9270: 74 68 65 20 69 6e 74 65 6e 64 65 64 20 43 52 53 the intended CRS
9280: 2e 3c 62 72 3e 0d 0a 3c 62 3e 61 75 74 68 5f 6e .<br>..<b>auth_n
9290: 61 6d 65 3c 2f 62 3e 20 63 61 6e 20 62 65 20 3c ame</b> can be <
92a0: 62 3e 4e 55 4c 4c 3c 2f 62 3e 2c 20 61 6e 64 20 b>NULL</b>, and
92b0: 69 6e 20 74 68 69 73 20 63 61 73 65 20 3c 62 3e in this case <b>
92c0: 45 50 53 47 3c 2f 62 3e 20 77 69 6c 6c 20 62 65 EPSG</b> will be
92d0: 20 61 73 73 75 6d 65 64 2e 3c 2f 6c 69 3e 0d 0a assumed.</li>..
92e0: 3c 2f 75 6c 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 3e </ul></td>..<td>
92f0: 57 69 6c 6c 20 72 65 74 75 72 6e 20 74 68 65 20 Will return the
9300: 57 4b 54 20 65 78 70 72 65 73 73 69 6f 6e 20 63 WKT expression c
9310: 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 orresponding to
9320: 61 20 67 69 76 65 6e 20 43 52 53 3b 20 74 68 65 a given CRS; the
9330: 20 64 65 66 69 6e 69 74 69 6f 6e 73 20 77 69 6c definitions wil
9340: 6c 20 62 65 20 74 61 6b 65 6e 20 64 69 72 65 63 l be taken direc
9350: 74 6c 79 20 66 72 6f 6d 20 74 68 65 20 70 72 69 tly from the pri
9360: 76 61 74 65 20 50 52 4f 4a 27 73 20 6f 77 6e 20 vate PROJ's own
9370: 64 61 74 61 62 61 73 65 2e 3c 62 72 3e 0d 0a 3c database.<br>..<
9380: 62 3e 4e 55 4c 4c 3c 2f 62 3e 20 77 69 6c 6c 20 b>NULL</b> will
9390: 62 65 20 72 65 74 75 72 6e 65 64 20 6f 6e 20 66 be returned on f
93a0: 61 69 6c 75 72 65 20 6f 72 20 6f 6e 20 69 6e 76 ailure or on inv
93b0: 61 6c 69 64 20 61 72 67 75 6d 65 6e 74 73 2e 3c alid arguments.<
93c0: 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c /td></tr>..<tr><
93d0: 74 64 3e 3c 62 3e 50 52 4f 4a 5f 41 73 57 4b 54 td><b>PROJ_AsWKT
93e0: 3c 2f 62 3e 20 28 20 61 75 74 68 5f 6e 61 6d 65 </b> ( auth_name
93f0: 20 3c 69 3e 53 74 72 69 6e 67 3c 2f 69 3e 20 2c <i>String</i> ,
9400: 20 61 75 74 68 5f 73 72 69 64 20 3c 69 3e 49 6e auth_srid <i>In
9410: 74 65 67 65 72 3c 2f 69 3e 20 29 20 3a 20 3c 69 teger</i> ) : <i
9420: 3e 53 74 72 69 6e 67 3c 2f 69 3e 3c 68 72 3e 0d >String</i><hr>.
9430: 0a 3c 62 3e 50 52 4f 4a 5f 41 73 57 4b 54 3c 2f .<b>PROJ_AsWKT</
9440: 62 3e 20 28 20 61 75 74 68 5f 6e 61 6d 65 20 3c b> ( auth_name <
9450: 69 3e 53 74 72 69 6e 67 3c 2f 69 3e 20 2c 20 61 i>String</i> , a
9460: 75 74 68 5f 73 72 69 64 20 3c 69 3e 49 6e 74 65 uth_srid <i>Inte
9470: 67 65 72 3c 2f 69 3e 20 2c 20 77 6b 74 5f 73 74 ger</i> , wkt_st
9480: 79 6c 65 20 3c 69 3e 53 74 72 69 6e 67 3c 2f 69 yle <i>String</i
9490: 3e 20 29 20 3a 20 3c 69 3e 53 74 72 69 6e 67 3c > ) : <i>String<
94a0: 2f 69 3e 3c 68 72 3e 0d 0a 3c 62 3e 50 52 4f 4a /i><hr>..<b>PROJ
94b0: 5f 41 73 57 4b 54 3c 2f 62 3e 20 28 20 61 75 74 _AsWKT</b> ( aut
94c0: 68 5f 6e 61 6d 65 20 3c 69 3e 53 74 72 69 6e 67 h_name <i>String
94d0: 3c 2f 69 3e 20 2c 20 61 75 74 68 5f 73 72 69 64 </i> , auth_srid
94e0: 20 3c 69 3e 49 6e 74 65 67 65 72 3c 2f 69 3e 20 <i>Integer</i>
94f0: 2c 20 77 6b 74 5f 73 74 79 6c 65 20 3c 69 3e 53 , wkt_style <i>S
9500: 74 72 69 6e 67 3c 2f 69 3e 20 2c 20 69 6e 64 65 tring</i> , inde
9510: 6e 74 65 64 20 3c 69 3e 42 6f 6f 6c 65 61 6e 3c nted <i>Boolean<
9520: 2f 69 3e 20 29 20 3a 20 3c 69 3e 53 74 72 69 6e /i> ) : <i>Strin
9530: 67 3c 2f 69 3e 3c 68 72 3e 0d 0a 3c 62 3e 50 52 g</i><hr>..<b>PR
9540: 4f 4a 5f 41 73 57 4b 54 3c 2f 62 3e 20 28 20 61 OJ_AsWKT</b> ( a
9550: 75 74 68 5f 6e 61 6d 65 20 3c 69 3e 53 74 72 69 uth_name <i>Stri
9560: 6e 67 3c 2f 69 3e 20 2c 20 61 75 74 68 5f 73 72 ng</i> , auth_sr
9570: 69 64 20 3c 69 3e 49 6e 74 65 67 65 72 3c 2f 69 id <i>Integer</i
9580: 3e 20 2c 20 77 6b 74 5f 73 74 79 6c 65 20 3c 69 > , wkt_style <i
9590: 3e 53 74 72 69 6e 67 3c 2f 69 3e 20 2c 20 69 6e >String</i> , in
95a0: 64 65 6e 74 65 64 20 3c 69 3e 42 6f 6f 6c 65 61 dented <i>Boolea
95b0: 6e 3c 2f 69 3e 20 2c 20 69 6e 64 65 6e 74 61 74 n</i> , indentat
95c0: 69 6f 6e 20 3c 69 3e 49 6e 74 65 67 65 72 3c 2f ion <i>Integer</
95d0: 69 3e 20 29 20 3a 20 3c 69 3e 53 74 72 69 6e 67 i> ) : <i>String
95e0: 3c 2f 69 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 3c </i></td>..<td><
95f0: 75 6c 3e 0d 0a 3c 6c 69 3e 3c 62 3e 61 75 74 68 ul>..<li><b>auth
9600: 5f 6e 61 6d 65 3c 2f 62 3e 20 61 6e 64 20 3c 62 _name</b> and <b
9610: 3e 61 75 74 68 5f 73 72 69 64 3c 2f 62 3e 20 69 >auth_srid</b> i
9620: 64 65 6e 74 69 66 79 20 74 68 65 20 69 6e 74 65 dentify the inte
9630: 6e 64 65 64 20 43 52 53 2e 3c 62 72 3e 0d 0a 3c nded CRS.<br>..<
9640: 62 3e 61 75 74 68 5f 6e 61 6d 65 3c 2f 62 3e 20 b>auth_name</b>
9650: 63 61 6e 20 62 65 20 3c 62 3e 4e 55 4c 4c 3c 2f can be <b>NULL</
9660: 62 3e 2c 20 61 6e 64 20 69 6e 20 74 68 69 73 20 b>, and in this
9670: 63 61 73 65 20 3c 62 3e 45 50 53 47 3c 2f 62 3e case <b>EPSG</b>
9680: 20 77 69 6c 6c 20 62 65 20 61 73 73 75 6d 65 64 will be assumed
9690: 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 74 68 65 20 .</li>..<li>the
96a0: 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e optional argumen
96b0: 74 20 3c 62 3e 73 74 79 6c 65 3c 2f 62 3e 20 64 t <b>style</b> d
96c0: 65 74 65 72 6d 69 6e 65 73 20 77 68 69 63 68 20 etermines which
96d0: 73 70 65 63 69 66 69 63 20 57 4b 54 20 66 6f 72 specific WKT for
96e0: 6d 61 74 20 73 68 6f 75 6c 64 20 62 65 20 61 64 mat should be ad
96f0: 6f 70 74 65 64 2c 20 61 6e 64 20 6d 75 73 74 20 opted, and must
9700: 62 65 20 6f 6e 65 20 62 65 74 77 65 65 6e 20 3c be one between <
9710: 62 3e 47 44 41 4c 3c 2f 62 3e 2c 20 3c 62 3e 45 b>GDAL</b>, <b>E
9720: 53 52 49 3c 2f 62 3e 2c 20 3c 62 3e 49 53 4f 2d SRI</b>, <b>ISO-
9730: 32 30 31 35 3c 2f 62 3e 20 6f 72 20 3c 62 3e 49 2015</b> or <b>I
9740: 53 4f 2d 32 30 31 38 3c 2f 62 3e 20 28 74 68 69 SO-2018</b> (thi
9750: 73 20 6c 61 74 74 65 72 20 62 65 69 6e 67 20 74 s latter being t
9760: 68 65 20 64 65 66 61 75 6c 74 20 73 65 74 74 69 he default setti
9770: 6e 67 29 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 74 ng).</li>..<li>t
9780: 68 65 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 he optional argu
9790: 6d 65 6e 74 20 3c 62 3e 69 6e 64 65 6e 74 65 64 ment <b>indented
97a0: 3c 2f 62 3e 20 69 66 20 73 65 74 20 74 6f 20 3c </b> if set to <
97b0: 62 3e 54 52 55 45 3c 2f 62 3e 20 77 69 6c 6c 20 b>TRUE</b> will
97c0: 6e 69 63 65 6c 79 20 66 6f 72 6d 61 74 20 61 20 nicely format a
97d0: 6d 75 6c 74 69 6c 69 6e 65 20 57 4b 54 20 65 78 multiline WKT ex
97e0: 70 72 65 73 73 69 6f 6e 2c 20 6f 74 68 65 72 77 pression, otherw
97f0: 69 73 65 20 61 20 73 69 6e 67 6c 65 20 6d 6f 6e ise a single mon
9800: 6f 6c 69 74 68 69 63 20 6c 69 6e 65 20 6c 61 63 olithic line lac
9810: 6b 69 6e 67 20 61 6e 79 20 77 68 69 74 65 2d 73 king any white-s
9820: 70 61 63 65 20 6f 72 20 6e 65 77 2d 6c 69 6e 65 pace or new-line
9830: 20 77 69 6c 6c 20 62 65 20 70 72 69 6e 74 65 64 will be printed
9840: 20 28 74 68 65 20 64 65 66 61 75 6c 74 20 69 73 (the default is
9850: 20 3c 62 3e 54 52 55 45 3c 2f 62 3e 29 2e 3c 2f <b>TRUE</b>).</
9860: 6c 69 3e 0d 0a 3c 6c 69 3e 74 68 65 20 6f 70 74 li>..<li>the opt
9870: 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 20 3c ional argument <
9880: 62 3e 69 6e 64 65 6e 74 61 74 69 6f 6e 3c 2f 62 b>indentation</b
9890: 3e 20 64 65 74 65 72 6d 69 6e 65 73 20 68 6f 77 > determines how
98a0: 20 6d 61 6e 79 20 77 68 69 74 65 2d 73 70 61 63 many white-spac
98b0: 65 73 20 61 72 65 20 74 6f 20 62 65 20 75 73 65 es are to be use
98c0: 64 20 66 6f 72 20 69 6e 64 65 6e 74 69 6e 67 20 d for indenting
98d0: 28 6f 6e 6c 79 20 6d 65 61 6e 69 6e 67 66 75 6c (only meaningful
98e0: 20 69 66 20 3c 62 3e 3c 69 3e 69 6e 64 65 6e 74 if <b><i>indent
98f0: 65 64 3d 54 52 55 45 3c 2f 69 3e 3c 2f 62 3e 3b ed=TRUE</i></b>;
9900: 20 74 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c the default val
9910: 75 65 73 20 69 73 20 3c 62 3e 34 3c 2f 62 3e 29 ues is <b>4</b>)
9920: 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c 2f 74 .</li>..</ul></t
9930: 64 3e 0d 0a 3c 74 64 3e 57 69 6c 6c 20 72 65 74 d>..<td>Will ret
9940: 75 72 6e 20 74 68 65 20 57 4b 54 20 65 78 70 72 urn the WKT expr
9950: 65 73 73 69 6f 6e 20 63 6f 72 72 65 73 70 6f 6e ession correspon
9960: 64 69 6e 67 20 74 6f 20 61 20 67 69 76 65 6e 20 ding to a given
9970: 43 52 53 3b 20 74 68 65 20 64 65 66 69 6e 69 74 CRS; the definit
9980: 69 6f 6e 73 20 77 69 6c 6c 20 62 65 20 74 61 6b ions will be tak
9990: 65 6e 20 64 69 72 65 63 74 6c 79 20 66 72 6f 6d en directly from
99a0: 20 74 68 65 20 70 72 69 76 61 74 65 20 50 52 4f the private PRO
99b0: 4a 27 73 20 6f 77 6e 20 64 61 74 61 62 61 73 65 J's own database
99c0: 2e 3c 62 72 3e 0d 0a 3c 62 3e 4e 55 4c 4c 3c 2f .<br>..<b>NULL</
99d0: 62 3e 20 77 69 6c 6c 20 62 65 20 72 65 74 75 72 b> will be retur
99e0: 6e 65 64 20 6f 6e 20 66 61 69 6c 75 72 65 20 6f ned on failure o
99f0: 72 20 6f 6e 20 69 6e 76 61 6c 69 64 20 61 72 67 r on invalid arg
9a00: 75 6d 65 6e 74 73 2e 3c 2f 74 64 3e 3c 2f 74 72 uments.</td></tr
9a10: 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 3c 62 3e 50 52 >..<tr><td><b>PR
9a20: 4f 4a 5f 47 75 65 73 73 53 72 69 64 46 72 6f 6d OJ_GuessSridFrom
9a30: 57 4b 54 3c 2f 62 3e 20 28 20 77 6b 74 5f 65 78 WKT</b> ( wkt_ex
9a40: 70 72 20 3c 69 3e 53 74 72 69 6e 67 3c 2f 69 3e pr <i>String</i>
9a50: 20 29 20 3a 20 3c 69 3e 49 6e 74 65 67 65 72 3c ) : <i>Integer<
9a60: 2f 69 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 3c 75 /i></td>..<td><u
9a70: 6c 3e 0d 0a 3c 6c 69 3e 3c 62 3e 77 6b 74 5f 65 l>..<li><b>wkt_e
9a80: 78 70 72 3c 2f 62 3e 3a 20 74 68 65 20 57 4b 54 xpr</b>: the WKT
9a90: 20 65 78 70 72 65 73 73 69 6f 6e 20 74 6f 20 62 expression to b
9aa0: 65 20 65 76 61 6c 75 61 74 65 64 2e 3c 2f 6c 69 e evaluated.</li
9ab0: 3e 0d 0a 3c 2f 75 6c 3e 3c 2f 74 64 3e 0d 0a 3c >..</ul></td>..<
9ac0: 74 64 3e 0d 0a 57 69 6c 6c 20 70 6f 73 73 69 62 td>..Will possib
9ad0: 6c 79 20 72 65 74 75 72 6e 20 74 68 65 20 3c 62 ly return the <b
9ae0: 3e 53 52 49 44 20 76 61 6c 75 65 3c 2f 62 3e 20 >SRID value</b>
9af0: 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f corresponding to
9b00: 20 61 20 67 69 76 65 6e 20 57 4b 54 20 65 78 70 a given WKT exp
9b10: 72 65 73 73 69 6f 6e 20 64 65 66 69 6e 69 6e 67 ression defining
9b20: 20 61 20 43 52 53 2e 3c 62 72 3e 0d 0a 3c 62 3e a CRS.<br>..<b>
9b30: 2d 31 3c 2f 62 3e 20 77 69 6c 6c 20 62 65 20 72 -1</b> will be r
9b40: 65 74 75 72 6e 65 64 20 69 66 20 6e 6f 20 43 52 eturned if no CR
9b50: 53 20 73 75 70 70 6f 72 74 65 64 20 62 79 20 50 S supported by P
9b60: 52 4f 4a 2e 36 20 6d 61 74 63 68 65 73 20 74 68 ROJ.6 matches th
9b70: 65 20 57 4b 54 20 65 78 70 72 65 73 73 69 6f 6e e WKT expression
9b80: 2e 3c 62 72 3e 0d 0a 3c 62 3e 4e 55 4c 4c 3c 2f .<br>..<b>NULL</
9b90: 62 3e 20 77 69 6c 6c 20 62 65 20 72 65 74 75 72 b> will be retur
9ba0: 6e 65 64 20 6f 6e 20 69 6e 76 61 6c 69 64 20 61 ned on invalid a
9bb0: 72 67 75 6d 65 6e 74 2e 0d 0a 3c 2f 74 64 3e 3c rgument...</td><
9bc0: 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 3c 62 /tr>..<tr><td><b
9bd0: 3e 50 52 4f 4a 5f 47 75 65 73 73 53 72 69 64 46 >PROJ_GuessSridF
9be0: 72 6f 6d 53 48 50 3c 2f 62 3e 20 28 20 66 69 6c romSHP</b> ( fil
9bf0: 65 6e 61 6d 65 20 3c 69 3e 53 74 72 69 6e 67 3c ename <i>String<
9c00: 2f 69 3e 20 29 20 3a 20 3c 69 3e 49 6e 74 65 67 /i> ) : <i>Integ
9c10: 65 72 3c 2f 69 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 er</i></td>..<td
9c20: 3e 3c 75 6c 3e 0d 0a 3c 6c 69 3e 3c 62 3e 66 69 ><ul>..<li><b>fi
9c30: 6c 65 6e 61 6d 65 3c 2f 62 3e 3a 20 74 68 65 20 lename</b>: the
9c40: 61 62 73 6f 6c 75 74 65 20 6f 72 20 72 65 6c 61 absolute or rela
9c50: 74 69 76 65 20 70 61 74 68 20 6c 65 61 64 69 6e tive path leadin
9c60: 67 20 74 6f 20 73 6f 6d 65 20 53 68 61 70 65 66 g to some Shapef
9c70: 69 6c 65 2e 3c 62 72 3e 0d 0a 4e 6f 74 65 3a 20 ile.<br>..Note:
9c80: 65 78 61 63 74 6c 79 20 61 73 20 72 65 71 75 69 exactly as requi
9c90: 72 65 64 20 62 79 20 3c 62 3e 3c 69 3e 49 6d 70 red by <b><i>Imp
9ca0: 6f 72 74 53 48 50 3c 2f 69 3e 3c 2f 62 3e 28 29 ortSHP</i></b>()
9cb0: 20 3c 62 3e 3c 69 3e 66 69 6c 65 6e 61 6d 65 3c <b><i>filename<
9cc0: 2f 69 3e 3c 2f 62 3e 20 6d 75 73 74 20 6f 6d 69 /i></b> must omi
9cd0: 74 20 61 6e 79 20 3c 62 3e 2e 73 68 70 3c 2f 62 t any <b>.shp</b
9ce0: 3e 2c 20 3c 62 3e 2e 73 68 78 3c 2f 62 3e 2c 20 >, <b>.shx</b>,
9cf0: 3c 62 3e 2e 64 62 66 3c 2f 62 3e 20 6f 72 20 3c <b>.dbf</b> or <
9d00: 62 3e 2e 70 72 6a 3c 2f 62 3e 20 73 75 66 66 69 b>.prj</b> suffi
9d10: 78 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c 2f x.</li>..</ul></
9d20: 74 64 3e 0d 0a 3c 74 64 3e 0d 0a 57 69 6c 6c 20 td>..<td>..Will
9d30: 70 6f 73 73 69 62 6c 79 20 72 65 74 75 72 6e 20 possibly return
9d40: 74 68 65 20 3c 62 3e 53 52 49 44 20 76 61 6c 75 the <b>SRID valu
9d50: 65 3c 2f 62 3e 20 63 6f 72 72 65 73 70 6f 6e 64 e</b> correspond
9d60: 69 6e 67 20 74 6f 20 74 68 65 20 43 52 53 20 64 ing to the CRS d
9d70: 65 66 69 6e 65 64 20 62 79 20 74 68 65 20 2e 50 efined by the .P
9d80: 52 4a 20 6d 65 6d 62 65 72 20 6f 66 20 74 68 65 RJ member of the
9d90: 20 53 68 61 70 65 66 69 6c 65 2e 3c 62 72 3e 0d Shapefile.<br>.
9da0: 0a 3c 62 3e 2d 31 3c 2f 62 3e 20 77 69 6c 6c 20 .<b>-1</b> will
9db0: 62 65 20 72 65 74 75 72 6e 65 64 20 69 66 20 6e be returned if n
9dc0: 6f 20 43 52 53 20 73 75 70 70 6f 72 74 65 64 20 o CRS supported
9dd0: 62 79 20 50 52 4f 4a 2e 36 20 6d 61 74 63 68 65 by PROJ.6 matche
9de0: 73 20 50 52 4a 20 6d 65 6d 62 65 72 20 6f 66 20 s PRJ member of
9df0: 74 68 65 20 53 68 61 70 65 66 69 6c 65 2e 3c 62 the Shapefile.<b
9e00: 72 3e 0d 0a 3c 62 3e 4e 55 4c 4c 3c 2f 62 3e 20 r>..<b>NULL</b>
9e10: 77 69 6c 6c 20 62 65 20 72 65 74 75 72 6e 65 64 will be returned
9e20: 20 6f 6e 20 69 6e 76 61 6c 69 64 20 61 72 67 75 on invalid argu
9e30: 6d 65 6e 74 2e 3c 68 72 3e 0d 0a 3c 75 3e 50 6c ment.<hr>..<u>Pl
9e40: 65 61 73 65 20 6e 6f 74 65 20 77 65 6c 6c 3c 2f ease note well</
9e50: 75 3e 3a 20 74 68 69 73 20 53 51 4c 20 66 75 6e u>: this SQL fun
9e60: 63 74 69 6f 6e 20 6f 70 65 6e 73 20 74 68 65 20 ction opens the
9e70: 64 6f 6f 72 20 74 6f 20 6d 61 6e 79 20 70 6f 74 door to many pot
9e80: 65 6e 74 69 61 6c 20 73 65 63 75 72 69 74 79 20 ential security
9e90: 69 73 73 75 65 73 2c 20 61 6e 64 20 74 68 75 73 issues, and thus
9ea0: 20 69 73 20 61 6c 77 61 79 73 20 3c 69 3e 64 69 is always <i>di
9eb0: 73 61 62 6c 65 64 20 62 79 20 64 65 66 61 75 6c sabled by defaul
9ec0: 74 3c 2f 69 3e 2e 3c 62 72 3e 0d 0a 45 78 70 6c t</i>.<br>..Expl
9ed0: 69 63 69 74 6c 79 20 73 65 74 74 69 6e 67 20 74 icitly setting t
9ee0: 68 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 he environment v
9ef0: 61 72 69 61 62 6c 65 20 3c 62 3e 53 50 41 54 49 ariable <b>SPATI
9f00: 41 4c 49 54 45 5f 53 45 43 55 52 49 54 59 3d 72 ALITE_SECURITY=r
9f10: 65 6c 61 78 65 64 3c 2f 62 3e 20 69 73 20 61 62 elaxed</b> is ab
9f20: 73 6f 6c 75 74 65 6c 79 20 72 65 71 75 69 72 65 solutely require
9f30: 64 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 65 6e d in order to en
9f40: 61 62 6c 65 20 74 68 69 73 20 66 75 6e 63 74 69 able this functi
9f50: 6f 6e 2e 0d 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 0d on...</td></tr>.
9f60: 0a 3c 2f 74 61 62 6c 65 3e 3c 62 72 3e 0d 0a 3c .</table><br>..<
9f70: 74 61 62 6c 65 20 63 65 6c 6c 73 70 61 63 69 6e table cellspacin
9f80: 67 3d 22 38 22 20 63 65 6c 6c 70 61 64 64 69 6e g="8" cellpaddin
9f90: 67 3d 22 31 36 22 20 62 67 63 6f 6c 6f 72 3d 22 g="16" bgcolor="
9fa0: 23 66 66 66 66 65 39 22 3e 0d 0a 3c 74 72 3e 3c #ffffe9">..<tr><
9fb0: 74 64 3e 0d 0a 3c 62 3e 3c 75 3e 4e 6f 74 65 3c td>..<b><u>Note<
9fc0: 2f 75 3e 3c 2f 62 3e 3a 20 61 6c 6c 20 74 68 65 /u></b>: all the
9fd0: 20 61 62 6f 76 65 20 53 51 4c 20 46 75 6e 63 74 above SQL Funct
9fe0: 69 6f 6e 73 20 77 69 6c 6c 20 62 65 20 61 76 61 ions will be ava
9ff0: 69 6c 61 62 6c 65 20 6f 6e 6c 79 20 77 68 65 6e ilable only when
a000: 20 53 70 61 74 69 61 6c 69 74 65 2d 35 2e 30 2e Spatialite-5.0.
a010: 30 20 68 61 73 20 62 65 65 6e 20 62 75 69 6c 74 0 has been built
a020: 20 61 67 61 69 6e 73 74 20 3c 62 3e 50 52 4f 4a against <b>PROJ
a030: 2e 36 3c 2f 62 3e 20 28 6f 72 20 61 6e 79 20 73 .6</b> (or any s
a040: 75 62 73 65 71 75 65 6e 74 20 76 65 72 73 69 6f ubsequent versio
a050: 6e 29 2e 3c 62 72 3e 0d 0a 49 66 20 53 70 61 74 n).<br>..If Spat
a060: 69 61 4c 69 74 65 2d 35 2e 30 2e 30 20 68 61 73 iaLite-5.0.0 has
a070: 20 62 65 65 6e 20 62 75 69 6c 74 20 69 6e 73 74 been built inst
a080: 65 61 64 20 61 67 61 69 6e 73 74 20 61 6e 79 20 ead against any
a090: 70 72 65 76 69 6f 75 73 20 76 65 72 73 69 6f 6e previous version
a0a0: 20 28 61 73 20 65 2e 67 2e 20 3c 62 3e 50 52 4f (as e.g. <b>PRO
a0b0: 4a 2e 34 3c 2f 62 3e 29 20 61 6e 79 20 61 74 74 J.4</b>) any att
a0c0: 65 6d 70 74 20 74 6f 20 63 61 6c 6c 20 6f 6e 65 empt to call one
a0d0: 20 6f 66 20 74 68 65 73 65 20 53 51 4c 20 46 75 of these SQL Fu
a0e0: 6e 63 74 69 6f 6e 73 20 77 69 6c 6c 20 73 69 6d nctions will sim
a0f0: 70 6c 79 20 72 65 74 75 72 6e 20 61 20 3c 62 3e ply return a <b>
a100: 3c 69 3e 3c 75 3e 6e 6f 20 73 75 63 68 20 66 75 <i><u>no such fu
a110: 6e 63 74 69 6f 6e 3c 2f 75 3e 3c 2f 69 3e 3c 2f nction</u></i></
a120: 62 3e 20 53 51 4c 20 65 72 72 6f 72 2e 0d 0a 3c b> SQL error...<
a130: 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 62 /td></tr>..</tab
a140: 6c 65 3e 3c 62 72 3e 0d 0a 3c 62 3e 50 72 61 63 le><br>..<b>Prac
a150: 74 69 63 61 6c 20 65 78 61 6d 70 6c 65 73 3a 3c tical examples:<
a160: 2f 62 3e 0d 0a 3c 76 65 72 62 61 74 69 6d 3e 0d /b>..<verbatim>.
a170: 0a 53 45 4c 45 43 54 20 50 52 4f 4a 5f 47 65 74 .SELECT PROJ_Get
a180: 44 61 74 61 62 61 73 65 50 61 74 68 28 29 3b 20 DatabasePath();
a190: 20 2d 2d 20 72 65 74 72 69 65 76 69 6e 67 20 74 -- retrieving t
a1a0: 68 65 20 63 75 72 72 65 6e 74 6c 79 20 73 65 74 he currently set
a1b0: 20 50 52 4f 4a 27 73 20 6f 77 6e 20 64 61 74 61 PROJ's own data
a1c0: 62 61 73 65 0d 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d base..----------
a1d0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
a1e0: 2d 2d 2d 2d 0d 0a 2f 75 73 72 2f 6c 6f 63 61 6c ----../usr/local
a1f0: 2f 73 68 61 72 65 2f 70 72 6f 6a 2f 70 72 6f 6a /share/proj/proj
a200: 2e 64 62 0d 0a 0d 0a 0d 0a 53 45 4c 45 43 54 20 .db......SELECT
a210: 50 52 4f 4a 5f 53 65 74 44 61 74 61 62 61 73 65 PROJ_SetDatabase
a220: 50 61 74 68 28 27 2f 68 6f 6d 65 2f 73 61 6e 64 Path('/home/sand
a230: 72 6f 2f 6e 6f 74 5f 65 78 69 73 74 69 6e 67 5f ro/not_existing_
a240: 70 72 6f 6a 2e 64 62 27 29 3b 20 2d 2d 20 6e 6f proj.db'); -- no
a250: 6e 20 65 78 69 73 74 69 6e 67 20 64 61 74 61 62 n existing datab
a260: 61 73 65 0d 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ase..-----------
a270: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
a280: 2d 2d 2d 0d 0a 4e 55 4c 4c 0d 0a 0d 0a 0d 0a 53 ---..NULL......S
a290: 45 4c 45 43 54 20 50 52 4f 4a 5f 47 65 74 4c 61 ELECT PROJ_GetLa
a2a0: 73 74 45 72 72 6f 72 4d 73 67 28 29 3b 20 2d 2d stErrorMsg(); --
a2b0: 20 72 65 74 72 69 65 76 69 6e 67 20 74 68 65 20 retrieving the
a2c0: 66 61 69 6c 75 72 65 20 63 61 75 73 65 0d 0a 2d failure cause..-
a2d0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
a2e0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 70 -------------..p
a2f0: 72 6f 6a 5f 63 6f 6e 74 65 78 74 5f 73 65 74 5f roj_context_set_
a300: 64 61 74 61 62 61 73 65 5f 70 61 74 68 3a 20 4f database_path: O
a310: 70 65 6e 20 6f 66 20 2f 68 6f 6d 65 2f 73 61 6e pen of /home/san
a320: 64 72 6f 2f 6e 6f 74 5f 65 78 69 73 74 69 6e 67 dro/not_existing
a330: 5f 70 72 6f 6a 2e 64 62 20 66 61 69 6c 65 64 0d _proj.db failed.
a340: 0a 0d 0a 0d 0a 53 45 4c 45 43 54 20 50 52 4f 4a .....SELECT PROJ
a350: 5f 53 65 74 44 61 74 61 62 61 73 65 50 61 74 68 _SetDatabasePath
a360: 28 27 2f 68 6f 6d 65 2f 73 61 6e 64 72 6f 2f 76 ('/home/sandro/v
a370: 61 6c 69 64 5f 70 72 6f 6a 2e 64 62 27 29 3b 20 alid_proj.db');
a380: 2d 2d 20 76 61 6c 69 64 20 64 61 74 61 62 61 73 -- valid databas
a390: 65 0d 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d e..-------------
a3a0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
a3b0: 2d 0d 0a 2f 68 6f 6d 65 2f 73 61 6e 64 72 6f 2f -../home/sandro/
a3c0: 76 61 6c 69 64 5f 70 72 6f 6a 2e 64 62 0d 0a 0d valid_proj.db...
a3d0: 0a 0d 0a 53 45 4c 45 43 54 20 50 52 4f 4a 5f 41 ...SELECT PROJ_A
a3e0: 73 50 72 6f 6a 53 74 72 69 6e 67 28 27 45 50 53 sProjString('EPS
a3f0: 47 27 2c 20 33 32 36 33 32 29 3b 0d 0a 2d 2d 2d G', 32632);..---
a400: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
a410: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 2b 70 72 -----------..+pr
a420: 6f 6a 3d 75 74 6d 20 2b 7a 6f 6e 65 3d 33 32 20 oj=utm +zone=32
a430: 2b 64 61 74 75 6d 3d 57 47 53 38 34 20 2b 75 6e +datum=WGS84 +un
a440: 69 74 73 3d 6d 20 2b 6e 6f 5f 64 65 66 73 20 2b its=m +no_defs +
a450: 74 79 70 65 3d 63 72 73 0d 0a 0d 0a 0d 0a 53 45 type=crs......SE
a460: 4c 45 43 54 20 50 52 4f 4a 5f 41 73 57 4b 54 28 LECT PROJ_AsWKT(
a470: 27 45 50 53 47 27 2c 20 34 33 32 36 29 3b 20 2d 'EPSG', 4326); -
a480: 2d 20 64 65 66 61 75 6c 74 20 73 65 74 74 69 6e - default settin
a490: 67 73 3a 20 49 53 4f 2d 32 30 31 38 20 73 74 79 gs: ISO-2018 sty
a4a0: 6c 65 2c 20 69 6e 64 65 6e 74 65 64 20 77 69 74 le, indented wit
a4b0: 68 20 69 6e 64 65 6e 74 61 74 69 6f 6e 20 34 0d h indentation 4.
a4c0: 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d .---------------
a4d0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d ---------------.
a4e0: 0a 47 45 4f 44 43 52 53 5b 22 57 47 53 20 38 34 .GEODCRS["WGS 84
a4f0: 22 2c 0d 0a 20 20 20 20 44 41 54 55 4d 5b 22 57 ",.. DATUM["W
a500: 6f 72 6c 64 20 47 65 6f 64 65 74 69 63 20 53 79 orld Geodetic Sy
a510: 73 74 65 6d 20 31 39 38 34 22 2c 0d 0a 20 20 20 stem 1984",..
a520: 20 20 20 20 20 45 4c 4c 49 50 53 4f 49 44 5b 22 ELLIPSOID["
a530: 57 47 53 20 38 34 22 2c 36 33 37 38 31 33 37 2c WGS 84",6378137,
a540: 32 39 38 2e 32 35 37 32 32 33 35 36 33 2c 0d 0a 298.257223563,..
a550: 20 20 20 20 20 20 20 20 20 20 20 20 4c 45 4e 47 LENG
a560: 54 48 55 4e 49 54 5b 22 6d 65 74 72 65 22 2c 31 THUNIT["metre",1
a570: 5d 5d 5d 2c 0d 0a 20 20 20 20 50 52 49 4d 45 4d ]]],.. PRIMEM
a580: 5b 22 47 72 65 65 6e 77 69 63 68 22 2c 30 2c 0d ["Greenwich",0,.
a590: 0a 20 20 20 20 20 20 20 20 41 4e 47 4c 45 55 4e . ANGLEUN
a5a0: 49 54 5b 22 64 65 67 72 65 65 22 2c 30 2e 30 31 IT["degree",0.01
a5b0: 37 34 35 33 32 39 32 35 31 39 39 34 33 33 5d 5d 74532925199433]]
a5c0: 2c 0d 0a 20 20 20 20 43 53 5b 65 6c 6c 69 70 73 ,.. CS[ellips
a5d0: 6f 69 64 61 6c 2c 32 5d 2c 0d 0a 20 20 20 20 20 oidal,2],..
a5e0: 20 20 20 41 58 49 53 5b 22 67 65 6f 64 65 74 69 AXIS["geodeti
a5f0: 63 20 6c 61 74 69 74 75 64 65 20 28 4c 61 74 29 c latitude (Lat)
a600: 22 2c 6e 6f 72 74 68 2c 0d 0a 20 20 20 20 20 20 ",north,..
a610: 20 20 20 20 20 20 4f 52 44 45 52 5b 31 5d 2c 0d ORDER[1],.
a620: 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 4e 47 . ANG
a630: 4c 45 55 4e 49 54 5b 22 64 65 67 72 65 65 22 2c LEUNIT["degree",
a640: 30 2e 30 31 37 34 35 33 32 39 32 35 31 39 39 34 0.01745329251994
a650: 33 33 5d 5d 2c 0d 0a 20 20 20 20 20 20 20 20 41 33]],.. A
a660: 58 49 53 5b 22 67 65 6f 64 65 74 69 63 20 6c 6f XIS["geodetic lo
a670: 6e 67 69 74 75 64 65 20 28 4c 6f 6e 29 22 2c 65 ngitude (Lon)",e
a680: 61 73 74 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 ast,..
a690: 20 20 4f 52 44 45 52 5b 32 5d 2c 0d 0a 20 20 20 ORDER[2],..
a6a0: 20 20 20 20 20 20 20 20 20 41 4e 47 4c 45 55 4e ANGLEUN
a6b0: 49 54 5b 22 64 65 67 72 65 65 22 2c 30 2e 30 31 IT["degree",0.01
a6c0: 37 34 35 33 32 39 32 35 31 39 39 34 33 33 5d 5d 74532925199433]]
a6d0: 2c 0d 0a 20 20 20 20 41 52 45 41 5b 22 57 6f 72 ,.. AREA["Wor
a6e0: 6c 64 22 5d 2c 0d 0a 20 20 20 20 42 42 4f 58 5b ld"],.. BBOX[
a6f0: 2d 39 30 2c 2d 31 38 30 2c 39 30 2c 31 38 30 5d -90,-180,90,180]
a700: 2c 0d 0a 20 20 20 20 49 44 5b 22 45 50 53 47 22 ,.. ID["EPSG"
a710: 2c 34 33 32 36 5d 5d 0d 0a 0d 0a 0d 0a 53 45 4c ,4326]]......SEL
a720: 45 43 54 20 50 52 4f 4a 5f 41 73 57 4b 54 28 27 ECT PROJ_AsWKT('
a730: 45 50 53 47 27 2c 20 34 33 32 36 2c 20 27 45 53 EPSG', 4326, 'ES
a740: 52 49 27 2c 20 30 2c 20 30 29 3b 20 2d 2d 20 45 RI', 0, 0); -- E
a750: 53 52 49 20 73 74 79 6c 65 2c 20 6d 6f 6e 6f 6c SRI style, monol
a760: 69 74 68 69 63 20 6c 69 6e 65 0d 0a 2d 2d 2d 2d ithic line..----
a770: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
a780: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 47 45 4f 47 ----------..GEOG
a790: 43 53 5b 22 47 43 53 5f 57 47 53 5f 31 39 38 34 CS["GCS_WGS_1984
a7a0: 22 2c 44 41 54 55 4d 5b 22 44 5f 57 47 53 5f 31 ",DATUM["D_WGS_1
a7b0: 39 38 34 22 2c 53 50 48 45 52 4f 49 44 5b 22 57 984",SPHEROID["W
a7c0: 47 53 5f 31 39 38 34 22 2c 36 33 37 38 31 33 37 GS_1984",6378137
a7d0: 2e 30 2c 32 39 38 2e 32 35 37 32 32 33 35 36 33 .0,298.257223563
a7e0: 5d 5d 2c 50 52 49 4d 45 4d 5b 22 47 72 65 65 6e ]],PRIMEM["Green
a7f0: 77 69 63 68 22 2c 30 2e 30 5d 2c 55 4e 49 54 5b wich",0.0],UNIT[
a800: 22 44 65 67 72 65 65 22 2c 30 2e 30 31 37 34 35 "Degree",0.01745
a810: 33 32 39 32 35 31 39 39 34 33 33 5d 5d 0d 0a 0d 32925199433]]...
a820: 0a 0d 0a 53 45 4c 45 43 54 20 50 52 4f 4a 5f 47 ...SELECT PROJ_G
a830: 75 65 73 73 53 72 69 64 46 72 6f 6d 57 4b 54 28 uessSridFromWKT(
a840: 27 47 45 4f 47 43 53 5b 22 47 43 53 5f 4d 6f 6e 'GEOGCS["GCS_Mon
a850: 74 65 5f 4d 61 72 69 6f 5f 52 6f 6d 65 22 2c 44 te_Mario_Rome",D
a860: 41 54 55 4d 5b 22 44 5f 4d 6f 6e 74 65 5f 4d 61 ATUM["D_Monte_Ma
a870: 72 69 6f 22 2c 53 50 48 45 52 4f 49 44 5b 22 49 rio",SPHEROID["I
a880: 6e 74 65 72 6e 61 74 69 6f 6e 61 6c 5f 31 39 32 nternational_192
a890: 34 22 2c 36 33 37 38 33 38 38 2e 30 2c 32 39 37 4",6378388.0,297
a8a0: 2e 30 5d 5d 2c 50 52 49 4d 45 4d 5b 22 52 6f 6d .0]],PRIMEM["Rom
a8b0: 65 22 2c 31 32 2e 34 35 32 33 33 33 33 33 33 33 e",12.4523333333
a8c0: 33 33 33 5d 2c 55 4e 49 54 5b 22 44 65 67 72 65 333],UNIT["Degre
a8d0: 65 22 2c 30 2e 30 31 37 34 35 33 32 39 32 35 31 e",0.01745329251
a8e0: 39 39 34 33 33 5d 5d 27 29 3b 20 0d 0a 2d 2d 2d 99433]]'); ..---
a8f0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
a900: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 34 38 30 -----------..480
a910: 36 0d 0a 0d 0a 0d 0a 53 45 4c 45 43 54 20 50 52 6......SELECT PR
a920: 4f 4a 5f 47 75 65 73 73 53 72 69 64 46 72 6f 6d OJ_GuessSridFrom
a930: 53 48 50 28 27 2f 68 6f 6d 65 2f 73 61 6e 64 72 SHP('/home/sandr
a940: 6f 2f 74 75 73 63 61 6e 79 5f 73 68 70 2f 70 72 o/tuscany_shp/pr
a950: 6f 76 32 30 31 31 27 29 3b 20 2d 2d 20 72 65 6d ov2011'); -- rem
a960: 65 6d 62 65 72 3a 20 72 65 71 75 69 72 65 73 20 ember: requires
a970: 74 6f 20 65 78 70 6c 69 63 69 74 6c 79 20 73 65 to explicitly se
a980: 74 20 53 50 41 54 49 41 4c 49 54 45 5f 53 45 43 t SPATIALITE_SEC
a990: 55 52 49 54 59 3d 72 65 6c 61 78 65 64 0d 0a 2d URITY=relaxed..-
a9a0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
a9b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 33 -------------..3
a9c0: 30 30 33 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 3e 003..</verbatim>
a9d0: 0d 0a 3c 62 72 3e 0d 0a 3c 68 72 3e 3c 62 72 3e ..<br>..<hr><br>
a9e0: 0d 0a 3c 74 61 62 6c 65 20 63 65 6c 6c 73 70 61 ..<table cellspa
a9f0: 63 69 6e 67 3d 22 38 22 20 63 65 6c 6c 70 61 64 cing="8" cellpad
aa00: 64 69 6e 67 3d 22 38 22 20 62 67 63 6f 6c 6f 72 ding="8" bgcolor
aa10: 3d 22 23 66 66 65 30 65 39 22 20 77 69 64 74 68 ="#ffe0e9" width
aa20: 3d 22 31 30 30 25 22 3e 0d 0a 3c 74 72 3e 3c 74 ="100%">..<tr><t
aa30: 68 3e 0d 0a 3c 68 31 3e 49 6d 70 6f 72 74 61 6e h>..<h1>Importan
aa40: 74 20 6e 6f 74 69 63 65 20 66 6f 72 20 57 69 6e t notice for Win
aa50: 64 6f 77 73 20 75 73 65 72 73 3c 2f 68 31 3e 0d dows users</h1>.
aa60: 0a 3c 2f 74 68 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 .</th></tr>..<tr
aa70: 3e 3c 74 64 3e 0d 0a 3c 62 3e 50 52 4f 4a 2e 36 ><td>..<b>PROJ.6
aa80: 3c 2f 62 3e 20 63 72 69 74 69 63 61 6c 6c 79 20 </b> critically
aa90: 64 65 70 65 6e 64 73 20 6f 6e 20 69 74 73 20 6f depends on its o
aaa0: 77 6e 20 70 72 69 76 61 74 65 20 53 51 4c 69 74 wn private SQLit
aab0: 65 20 64 61 74 61 62 61 73 65 20 28 3c 62 3e 70 e database (<b>p
aac0: 72 6f 6a 2e 64 62 3c 2f 62 3e 29 20 63 6f 6e 74 roj.db</b>) cont
aad0: 61 69 6e 69 6e 67 20 61 6c 6c 20 72 65 6c 65 76 aining all relev
aae0: 61 6e 74 20 64 65 66 69 6e 69 74 69 6f 6e 73 20 ant definitions
aaf0: 61 62 6f 75 74 20 45 6c 6c 69 70 73 6f 69 64 73 about Ellipsoids
ab00: 2c 20 50 72 69 6d 65 20 4d 65 72 69 64 69 61 6e , Prime Meridian
ab10: 73 2c 20 43 52 53 65 73 2c 20 54 72 61 6e 73 66 s, CRSes, Transf
ab20: 6f 72 6d 61 74 69 6f 6e 73 20 61 6e 64 20 61 6c ormations and al
ab30: 69 6b 65 2e 3c 62 72 3e 0d 0a 49 66 20 50 52 4f ike.<br>..If PRO
ab40: 4a 2e 36 20 69 73 20 75 6e 61 62 6c 65 20 74 6f J.6 is unable to
ab50: 20 63 6f 72 72 65 63 74 6c 79 20 65 73 74 61 62 correctly estab
ab60: 6c 69 73 68 20 61 20 63 6f 6e 6e 65 63 74 69 6f lish a connectio
ab70: 6e 20 74 6f 20 74 68 69 73 20 64 61 74 61 62 61 n to this databa
ab80: 73 65 20 69 74 20 77 69 6c 6c 20 62 65 20 73 65 se it will be se
ab90: 76 65 72 65 6c 79 20 6c 69 6d 69 74 65 64 20 61 verely limited a
aba0: 6e 64 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 61 nd will not be a
abb0: 62 6c 65 20 74 6f 20 63 6f 72 72 65 63 74 6c 79 ble to correctly
abc0: 20 62 65 68 61 76 65 20 61 73 20 65 78 70 65 63 behave as expec
abd0: 74 65 64 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 75 ted.<br><br>..<u
abe0: 6c 3e 0d 0a 3c 6c 69 3e 3c 62 3e 3c 75 3e 3c 69 l>..<li><b><u><i
abf0: 3e 53 68 6f 72 74 20 63 6f 6e 63 6c 75 73 69 6f >Short conclusio
ac00: 6e 3c 2f 69 3e 3c 2f 75 3e 3c 2f 62 3e 3a 20 69 n</i></u></b>: i
ac10: 6e 73 74 61 6c 6c 69 6e 67 20 74 68 65 20 73 6f nstalling the so
ac20: 66 74 77 61 72 65 20 61 6c 6f 6e 65 20 69 73 20 ftware alone is
ac30: 6e 6f 74 20 65 6e 6f 75 67 68 2e 3c 62 72 3e 0d not enough.<br>.
ac40: 0a 54 68 65 20 50 52 4f 4a 2e 36 20 70 72 69 76 .The PROJ.6 priv
ac50: 61 74 65 20 64 61 74 61 62 61 73 65 20 3c 62 3e ate database <b>
ac60: 70 72 6f 6a 2e 64 62 3c 2f 62 3e 20 6d 75 73 74 proj.db</b> must
ac70: 20 62 65 20 70 72 6f 70 65 72 6c 79 20 69 6e 73 be properly ins
ac80: 74 61 6c 6c 65 64 20 61 73 20 77 65 6c 6c 2c 20 talled as well,
ac90: 69 6e 20 6f 72 64 65 72 20 74 6f 20 65 6e 73 75 in order to ensu
aca0: 72 65 20 74 68 61 74 20 61 6e 79 74 68 69 6e 67 re that anything
acb0: 20 72 75 6e 73 20 73 6d 6f 6f 74 68 6c 79 2e 3c runs smoothly.<
acc0: 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c 62 72 3e 0d /li>..</ul><br>.
acd0: 0a 54 68 69 73 20 69 73 6e 27 74 20 75 73 75 61 .This isn't usua
ace0: 6c 6c 79 20 61 20 62 69 67 20 69 73 73 75 65 20 lly a big issue
acf0: 6f 6e 20 4c 69 6e 75 78 20 61 6e 64 20 55 6e 69 on Linux and Uni
ad00: 78 2d 6c 69 6b 65 20 70 6c 61 74 66 6f 72 6d 73 x-like platforms
ad10: 2c 20 77 68 65 72 65 20 61 20 72 61 74 69 6f 6e , where a ration
ad20: 61 6c 20 61 6e 64 20 76 65 72 79 20 63 6c 65 61 al and very clea
ad30: 72 20 66 69 6c 65 73 79 73 74 65 6d 20 6c 61 79 r filesystem lay
ad40: 6f 75 74 20 65 78 69 73 74 73 2e 3c 62 72 3e 0d out exists.<br>.
ad50: 0a 4f 6e 20 74 68 65 73 65 20 6f 70 65 72 61 74 .On these operat
ad60: 69 6e 67 20 73 79 73 74 65 6d 73 20 74 68 65 20 ing systems the
ad70: 70 61 63 6b 61 67 65 20 6d 61 6e 61 67 65 72 20 package manager
ad80: 28 6f 72 20 3c 62 3e 6d 61 6b 65 20 69 6e 73 74 (or <b>make inst
ad90: 61 6c 6c 3c 2f 62 3e 29 20 77 69 6c 6c 20 61 75 all</b>) will au
ada0: 74 6f 6d 61 74 69 63 61 6c 6c 79 20 74 61 6b 65 tomatically take
adb0: 20 63 61 72 65 20 74 6f 20 69 6e 73 74 61 6c 6c care to install
adc0: 20 3c 62 3e 70 72 6f 6a 2e 64 62 3c 2f 62 3e 20 <b>proj.db</b>
add0: 6f 6e 20 74 68 65 20 6d 6f 73 74 20 61 70 70 72 on the most appr
ade0: 6f 70 72 69 61 74 65 20 64 69 72 65 63 74 6f 72 opriate director
adf0: 79 20 28 75 73 75 61 6c 6c 79 20 61 73 20 3c 62 y (usually as <b
ae00: 3e 2f 75 73 72 2f 73 68 61 72 65 2f 70 72 6f 6a >/usr/share/proj
ae10: 2f 70 72 6f 6a 2e 64 62 3c 2f 62 3e 20 6f 72 20 /proj.db</b> or
ae20: 61 73 20 3c 62 3e 2f 75 73 72 2f 6c 6f 63 61 6c as <b>/usr/local
ae30: 2f 73 68 61 72 65 2f 70 72 6f 6a 2f 70 72 6f 6a /share/proj/proj
ae40: 2e 64 62 3c 2f 62 3e 29 20 61 6e 64 20 74 68 61 .db</b>) and tha
ae50: 74 27 73 20 61 6c 6c 2e 3c 62 72 3e 3c 62 72 3e t's all.<br><br>
ae60: 0d 0a 54 68 69 6e 67 73 20 61 72 65 20 75 6e 68 ..Things are unh
ae70: 61 70 70 69 6c 79 20 61 20 6c 69 74 74 6c 65 20 appily a little
ae80: 62 69 74 20 6d 6f 72 65 20 64 69 66 66 69 63 75 bit more difficu
ae90: 6c 74 20 6f 6e 20 57 69 6e 64 6f 77 73 20 70 6c lt on Windows pl
aea0: 61 74 66 6f 72 6d 73 2e 0d 0a 54 68 65 20 75 73 atforms...The us
aeb0: 65 72 20 69 74 73 65 6c 66 20 69 73 20 72 65 73 er itself is res
aec0: 70 6f 6e 73 69 62 6c 65 20 66 6f 72 20 70 72 6f ponsible for pro
aed0: 70 65 72 6c 79 20 69 6e 73 74 61 6c 6c 69 6e 67 perly installing
aee0: 20 3c 62 3e 70 72 6f 6a 2e 64 62 3c 2f 62 3e 0d <b>proj.db</b>.
aef0: 0a 53 6f 20 69 74 20 62 65 63 6f 6d 65 73 20 63 .So it becomes c
af00: 72 69 74 69 63 61 6c 20 75 6e 64 65 72 73 74 61 ritical understa
af10: 6e 64 69 6e 67 20 74 68 65 20 62 61 73 69 63 20 nding the basic
af20: 72 75 6c 65 73 20 61 64 6f 70 74 65 64 20 62 79 rules adopted by
af30: 20 3c 62 3e 6c 69 62 73 70 61 74 69 61 6c 69 74 <b>libspatialit
af40: 65 3c 2f 62 3e 20 69 6e 20 6f 72 64 65 72 20 74 e</b> in order t
af50: 6f 20 70 72 6f 70 65 72 6c 79 20 6c 6f 63 61 74 o properly locat
af60: 65 20 3c 62 3e 70 72 6f 6a 2e 64 62 3c 2f 62 3e e <b>proj.db</b>
af70: 20 6f 6e 20 57 69 6e 64 6f 77 73 2e 0d 0a 3c 2f on Windows...</
af80: 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 td></tr>..<tr><t
af90: 68 3e 0d 0a 3c 68 32 3e 57 68 65 72 65 20 70 72 h>..<h2>Where pr
afa0: 6f 6a 2e 64 62 20 69 73 20 65 78 70 65 63 74 65 oj.db is expecte
afb0: 64 20 74 6f 20 62 65 20 66 6f 75 6e 64 20 6f 6e d to be found on
afc0: 20 57 69 6e 64 6f 77 73 3c 2f 68 32 3e 0d 0a 3c Windows</h2>..<
afd0: 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c /td></tr>..<tr><
afe0: 74 64 3e 0d 0a 3c 6f 6c 3e 0d 0a 3c 6c 69 3e 74 td>..<ol>..<li>t
aff0: 68 65 20 66 69 72 73 74 20 70 6c 61 63 65 20 77 he first place w
b000: 68 65 72 65 20 3c 62 3e 70 72 6f 6a 2e 64 62 3c here <b>proj.db<
b010: 2f 62 3e 20 77 69 6c 6c 20 62 65 20 73 65 61 72 /b> will be sear
b020: 63 68 65 64 20 69 73 20 74 68 65 20 73 61 6d 65 ched is the same
b030: 20 66 6f 6c 64 65 72 20 66 6f 72 6d 20 77 68 65 folder form whe
b040: 72 65 20 74 68 65 20 3c 62 3e 45 58 45 3c 2f 62 re the <b>EXE</b
b050: 3e 20 62 69 6e 61 72 79 20 77 61 73 20 69 6e 69 > binary was ini
b060: 74 69 61 6c 6c 79 20 6c 6f 61 64 65 64 2e 3c 62 tially loaded.<b
b070: 72 3e 0d 0a 3c 69 3e 3c 75 3e 45 78 61 6d 70 6c r>..<i><u>Exampl
b080: 65 3c 2f 69 3e 3c 2f 75 3e 3a 20 61 73 73 75 6d e</i></u>: assum
b090: 69 6e 67 20 74 68 61 74 20 79 6f 75 20 61 72 65 ing that you are
b0a0: 20 63 75 72 72 65 6e 74 6c 79 20 65 78 65 63 75 currently execu
b0b0: 74 69 6e 67 20 3c 62 3e 43 3a 5c 6d 79 70 72 6f ting <b>C:\mypro
b0c0: 67 73 5c 73 70 61 74 69 61 6c 69 74 65 5c 62 69 gs\spatialite\bi
b0d0: 6e 5c 73 70 61 74 69 61 6c 69 74 65 2e 65 78 65 n\spatialite.exe
b0e0: 3c 2f 62 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e </b>..<ul>..<li>
b0f0: 74 68 65 6e 20 61 6e 20 61 74 74 65 6d 70 74 20 then an attempt
b100: 77 69 6c 6c 20 62 65 20 6d 61 64 65 20 74 6f 20 will be made to
b110: 63 6f 6e 6e 65 63 74 20 3c 62 3e 43 3a 5c 6d 79 connect <b>C:\my
b120: 70 72 6f 67 73 5c 73 70 61 74 69 61 6c 69 74 65 progs\spatialite
b130: 5c 62 69 6e 5c 70 72 6f 6a 2e 64 62 3c 2f 62 3e \bin\proj.db</b>
b140: 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c 2f 6c 69 </li>..</ul></li
b150: 3e 0d 0a 3c 6c 69 3e 61 20 73 65 63 6f 6e 64 20 >..<li>a second
b160: 61 74 74 65 6d 70 74 20 77 69 6c 6c 20 62 65 20 attempt will be
b170: 6d 61 64 65 20 6f 6e 20 62 65 68 61 6c 66 20 6f made on behalf o
b180: 66 20 74 68 65 20 3c 62 3e 50 75 62 6c 69 63 3c f the <b>Public<
b190: 2f 62 3e 20 66 6f 6c 64 65 72 2e 3c 62 72 3e 0d /b> folder.<br>.
b1a0: 0a 3c 69 3e 3c 75 3e 45 78 61 6d 70 6c 65 3c 2f .<i><u>Example</
b1b0: 75 3e 3c 2f 69 3e 3a 20 61 6e 20 61 74 74 65 6d u></i>: an attem
b1c0: 70 74 20 77 69 6c 6c 20 62 65 20 6d 61 64 65 20 pt will be made
b1d0: 74 6f 20 63 6f 6e 6e 65 63 74 20 3c 62 3e 43 3a to connect <b>C:
b1e0: 5c 55 73 65 72 73 5c 50 75 62 6c 69 63 5c 73 70 \Users\Public\sp
b1f0: 61 74 69 61 6c 69 74 65 5c 70 72 6f 6a 5c 70 72 atialite\proj\pr
b200: 6f 6a 2e 64 62 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a oj.db</b></li>..
b210: 3c 6c 69 3e 61 20 74 68 69 72 64 20 28 61 6e 64 <li>a third (and
b220: 20 6c 61 73 74 29 20 61 74 74 65 6d 70 74 20 77 last) attempt w
b230: 69 6c 6c 20 62 65 20 6d 61 64 65 20 6f 6e 20 62 ill be made on b
b240: 65 68 61 6c 66 20 6f 66 20 74 68 65 20 3c 62 3e ehalf of the <b>
b250: 55 73 65 72 3c 2f 62 3e 20 66 6f 6c 64 65 72 2e User</b> folder.
b260: 3c 62 72 3e 0d 0a 3c 69 3e 3c 75 3e 45 78 61 6d <br>..<i><u>Exam
b270: 70 6c 65 3c 2f 69 3e 3c 2f 75 3e 3a 20 61 6e 20 ple</i></u>: an
b280: 61 74 74 65 6d 70 74 20 77 69 6c 6c 20 62 65 20 attempt will be
b290: 6d 61 64 65 20 74 6f 20 63 6f 6e 6e 65 63 74 20 made to connect
b2a0: 3c 62 3e 43 3a 5c 55 73 65 72 73 5c 73 61 6e 64 <b>C:\Users\sand
b2b0: 72 6f 5c 73 70 61 74 69 61 6c 69 74 65 5c 70 72 ro\spatialite\pr
b2c0: 6f 6a 5c 70 72 6f 6a 2e 64 62 3c 2f 62 3e 3c 2f oj\proj.db</b></
b2d0: 6c 69 3e 0d 0a 3c 2f 6f 6c 3e 0d 0a 3c 68 33 3e li>..</ol>..<h3>
b2e0: 41 6e 20 75 73 65 66 75 6c 20 64 69 61 67 6e 6f An useful diagno
b2f0: 73 74 69 63 20 63 68 65 63 6b 3c 2f 68 33 3e 0d stic check</h3>.
b300: 0a 3c 76 65 72 62 61 74 69 6d 3e 0d 0a 53 45 4c .<verbatim>..SEL
b310: 45 43 54 20 50 52 4f 4a 5f 47 65 74 44 61 74 61 ECT PROJ_GetData
b320: 62 61 73 65 50 61 74 68 28 29 3b 0d 0a 3c 2f 76 basePath();..</v
b330: 65 72 62 61 74 69 6d 3e 0d 0a 3c 75 6c 3e 0d 0a erbatim>..<ul>..
b340: 3c 6c 69 3e 69 66 20 3c 62 3e 4e 55 4c 4c 3c 2f <li>if <b>NULL</
b350: 62 3e 20 69 73 20 72 65 74 75 72 6e 65 64 2c 20 b> is returned,
b360: 74 68 65 6e 20 50 52 4f 4a 2e 36 20 69 73 20 64 then PROJ.6 is d
b370: 65 66 69 6e 69 74 65 6c 79 20 75 6e 61 62 6c 65 efinitely unable
b380: 20 74 6f 20 63 6f 6e 6e 65 63 74 20 74 6f 20 69 to connect to i
b390: 74 73 20 6f 77 6e 20 70 72 69 76 61 74 65 20 53 ts own private S
b3a0: 51 4c 69 74 65 20 64 61 74 61 62 61 73 65 20 3c QLite database <
b3b0: 62 3e 70 72 6f 6a 2e 64 62 3c 2f 62 3e 3c 62 72 b>proj.db</b><br
b3c0: 3e 0d 0a 59 6f 75 20 68 61 76 65 20 74 6f 20 63 >..You have to c
b3d0: 61 72 65 66 75 6c 6c 79 20 76 65 72 69 66 79 20 arefully verify
b3e0: 74 68 61 74 20 69 74 27 73 20 72 65 61 6c 6c 79 that it's really
b3f0: 20 69 6e 73 74 61 6c 6c 65 64 20 6f 6e 20 6f 6e installed on on
b400: 65 20 6f 66 20 74 68 65 20 65 78 70 65 63 74 65 e of the expecte
b410: 64 20 73 74 61 6e 64 61 72 64 20 6c 6f 63 61 74 d standard locat
b420: 69 6f 6e 73 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e ions.</li>..<li>
b430: 6f 74 68 65 72 77 69 73 65 20 74 68 65 20 70 61 otherwise the pa
b440: 74 68 20 6c 65 61 64 69 6e 67 20 74 6f 20 74 68 th leading to th
b450: 65 20 63 75 72 72 65 6e 74 6c 79 20 63 6f 6e 6e e currently conn
b460: 65 63 74 65 64 20 3c 62 3e 70 72 6f 6a 2e 64 62 ected <b>proj.db
b470: 3c 2f 62 3e 20 77 69 6c 6c 20 62 65 20 72 65 74 </b> will be ret
b480: 75 72 6e 65 64 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 urned.</li>..</u
b490: 6c 3e 3c 62 72 3e 0d 0a 3c 2f 74 64 3e 3c 2f 74 l><br>..</td></t
b4a0: 72 3e 0d 0a 3c 2f 74 61 62 6c 65 3e 3c 62 72 3e r>..</table><br>
b4b0: 3c 62 72 3e 0d 0a 3c 74 61 62 6c 65 20 63 65 6c <br>..<table cel
b4c0: 6c 73 70 61 63 69 6e 67 3d 22 38 22 20 63 65 6c lspacing="8" cel
b4d0: 6c 70 61 64 64 69 6e 67 3d 22 38 22 20 62 67 63 lpadding="8" bgc
b4e0: 6f 6c 6f 72 3d 22 23 63 39 66 66 66 30 22 3e 0d olor="#c9fff0">.
b4f0: 0a 3c 74 72 3e 3c 74 68 3e 0d 0a 3c 68 32 3e 55 .<tr><th>..<h2>U
b500: 73 69 6e 67 20 74 68 65 20 65 6e 76 69 72 6f 6e sing the environ
b510: 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 20 50 52 ment variable PR
b520: 4f 4a 5f 4c 49 42 3c 2f 68 32 3e 0d 0a 3c 2f 74 OJ_LIB</h2>..</t
b530: 68 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 h></tr>..<tr><td
b540: 3e 0d 0a 3c 62 3e 50 52 4f 4a 5f 4c 49 42 3c 2f >..<b>PROJ_LIB</
b550: 62 3e 20 69 73 20 61 20 73 74 61 6e 64 61 72 64 b> is a standard
b560: 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 environment var
b570: 69 61 62 6c 65 20 73 75 70 70 6f 72 74 65 64 20 iable supported
b580: 62 79 20 50 52 4f 4a 20 69 74 73 65 6c 66 2e 0d by PROJ itself..
b590: 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 74 68 65 20 3c .<ul>..<li>the <
b5a0: 62 3e 61 62 73 6f 6c 75 74 65 3c 2f 62 3e 20 70 b>absolute</b> p
b5b0: 61 74 68 20 74 6f 20 74 68 65 20 64 69 72 74 6f ath to the dirto
b5c0: 72 79 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 ry containing th
b5d0: 65 20 3c 62 3e 70 72 6f 6a 2e 64 62 3c 2f 62 3e e <b>proj.db</b>
b5e0: 20 73 68 6f 75 6c 64 20 62 65 20 75 73 65 64 3c should be used<
b5f0: 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c 62 72 3e 0d /li>..</ul><br>.
b600: 0a 57 68 65 6e 20 3c 62 3e 50 52 4f 4a 5f 4c 49 .When <b>PROJ_LI
b610: 42 3c 2f 62 3e 20 69 73 20 73 65 74 2c 20 74 68 B</b> is set, th
b620: 65 6e 20 50 52 4f 4a 2e 36 20 77 69 6c 6c 20 64 en PROJ.6 will d
b630: 69 72 65 63 74 6c 79 20 75 73 65 20 69 74 73 20 irectly use its
b640: 6f 77 6e 20 70 72 69 76 61 74 65 20 64 61 74 61 own private data
b650: 62 61 73 65 20 28 61 6e 64 20 77 68 65 6e 20 6e base (and when n
b660: 65 65 64 65 64 20 61 6e 79 20 67 72 69 64 73 29 eeded any grids)
b670: 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 in the director
b680: 79 20 72 65 66 65 72 65 6e 63 65 64 20 62 79 20 y referenced by
b690: 74 68 65 20 76 61 72 69 61 62 6c 65 2e 3c 62 72 the variable.<br
b6a0: 3e 0d 0a 53 75 63 68 20 61 20 63 61 70 61 62 69 >..Such a capabi
b6b0: 6c 69 74 79 20 69 73 20 73 75 70 70 6f 72 74 65 lity is supporte
b6c0: 64 20 6f 6e 20 62 6f 74 68 20 57 69 6e 64 6f 77 d on both Window
b6d0: 73 20 61 6e 64 20 4c 69 6e 75 78 20 28 61 6e 64 s and Linux (and
b6e0: 20 6f 6e 20 61 6e 79 20 6f 74 68 65 72 20 70 6c on any other pl
b6f0: 61 74 66 6f 72 6d 29 2e 3c 62 72 3e 3c 62 72 3e atform).<br><br>
b700: 0d 0a 3c 69 3e 3c 75 3e 4c 69 6e 75 78 20 65 78 ..<i><u>Linux ex
b710: 61 6d 70 6c 65 3c 2f 75 3e 3c 2f 69 3e 3a 0d 0a ample</u></i>:..
b720: 3c 75 6c 3e 0d 0a 3c 6c 69 3e 3c 62 3e 65 78 70 <ul>..<li><b>exp
b730: 6f 72 74 20 22 50 52 4f 4a 5f 4c 49 42 3d 2f 68 ort "PROJ_LIB=/h
b740: 6f 6d 65 2f 73 61 6e 64 72 6f 2f 70 72 6f 6a 22 ome/sandro/proj"
b750: 3c 62 72 3e 0d 0a 65 63 68 6f 20 24 50 52 4f 4a <br>..echo $PROJ
b760: 5f 4c 49 42 3c 62 72 3e 0d 0a 73 70 61 74 69 61 _LIB<br>..spatia
b770: 6c 69 74 65 3c 62 3e 3c 2f 6c 69 3e 0d 0a 3c 2f lite<b></li>..</
b780: 75 6c 3e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 69 3e ul><br><br>..<i>
b790: 3c 75 3e 57 69 6e 64 6f 77 73 20 65 78 61 6d 70 <u>Windows examp
b7a0: 6c 65 3c 2f 75 3e 3c 2f 69 3e 3a 0d 0a 3c 75 6c le</u></i>:..<ul
b7b0: 3e 0d 0a 3c 6c 69 3e 3c 62 3e 53 45 54 20 50 52 >..<li><b>SET PR
b7c0: 4f 4a 5f 4c 49 42 3d 43 3a 5c 55 73 65 72 73 5c OJ_LIB=C:\Users\
b7d0: 73 61 6e 64 72 6f 5c 70 72 6f 6a 3c 62 72 3e 0d sandro\proj<br>.
b7e0: 0a 65 63 68 6f 20 25 50 52 4f 4a 5f 4c 49 42 25 .echo %PROJ_LIB%
b7f0: 3c 62 72 3e 0d 0a 73 70 61 74 69 61 6c 69 74 65 <br>..spatialite
b800: 5f 67 75 69 3c 62 3e 3c 2f 6c 69 3e 0d 0a 3c 2f _gui<b></li>..</
b810: 75 6c 3e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 2f 74 ul><br><br>..</t
b820: 68 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 62 6c 65 h></tr>..</table
b830: 3e 3c 62 72 3e 0d 0a 3c 68 72 3e 0d 0a 3c 68 31 ><br>..<hr>..<h1
b840: 3e 50 52 4f 4a 2e 36 20 73 75 70 70 6f 72 74 20 >PROJ.6 support
b850: 6f 6e 20 73 70 61 74 69 61 6c 69 74 65 5f 67 75 on spatialite_gu
b860: 69 3c 2f 68 31 3e 0d 0a 3c 74 61 62 6c 65 20 63 i</h1>..<table c
b870: 65 6c 6c 73 70 61 63 69 6e 67 3d 22 38 22 20 63 ellspacing="8" c
b880: 65 6c 6c 70 61 64 64 69 6e 67 3d 22 38 22 20 62 ellpadding="8" b
b890: 67 63 6f 6c 6f 72 3d 22 23 65 38 66 66 65 38 22 gcolor="#e8ffe8"
b8a0: 20 62 6f 72 64 65 72 3d 22 31 22 3e 0d 0a 3c 74 border="1">..<t
b8b0: 72 3e 3c 74 64 3e 0d 0a 54 68 65 20 47 55 49 20 r><td>..The GUI
b8c0: 74 6f 6f 6c 20 6e 6f 77 20 63 6f 6e 74 61 69 6e tool now contain
b8d0: 73 20 61 20 6e 65 77 20 66 65 61 74 75 72 65 20 s a new feature
b8e0: 69 6e 74 65 6e 64 65 64 20 74 6f 20 6d 61 6b 65 intended to make
b8f0: 20 69 74 20 61 73 20 65 61 73 79 20 61 73 20 70 it as easy as p
b900: 6f 73 73 69 62 6c 65 20 74 6f 20 73 65 74 20 3c ossible to set <
b910: 62 3e 50 52 4f 4a 5f 4c 49 42 3c 2f 62 3e 20 75 b>PROJ_LIB</b> u
b920: 73 65 64 20 62 79 20 50 52 4f 4a 2e 36 3c 62 72 sed by PROJ.6<br
b930: 3e 3c 62 72 3e 0d 0a 54 68 65 20 6d 61 69 6e 20 ><br>..The main
b940: 6d 65 6e 75 20 6e 6f 77 20 63 6f 6e 74 61 69 6e menu now contain
b950: 73 20 61 6e 20 3c 62 3e 3c 69 3e 45 78 74 65 72 s an <b><i>Exter
b960: 6e 61 6c 20 76 61 72 69 61 62 6c 65 20 50 52 4f nal variable PRO
b970: 4a 5f 4c 49 42 3c 2f 69 3e 3c 2f 62 3e 20 69 74 J_LIB</i></b> it
b980: 65 6d 2e 3c 62 72 3e 0d 0a 41 66 74 65 72 20 61 em.<br>..After a
b990: 63 74 69 76 61 74 69 6e 67 20 74 68 65 20 63 6f ctivating the co
b9a0: 72 72 65 73 70 6f 6e 64 69 6e 67 20 6f 70 74 69 rresponding opti
b9b0: 6f 6e 20 61 20 73 74 61 6e 64 61 72 64 20 3c 62 on a standard <b
b9c0: 3e 3c 69 3e 46 69 6c 65 20 53 65 6c 65 63 74 69 ><i>File Selecti
b9d0: 6f 6e 20 44 69 61 6c 6f 67 20 3c 2f 69 3e 3c 2f on Dialog </i></
b9e0: 62 3e 20 77 69 6c 6c 20 62 65 20 73 68 6f 77 6e b> will be shown
b9f0: 2c 20 74 68 75 73 20 65 6e 61 62 6c 69 6e 67 20 , thus enabling
ba00: 74 68 65 20 75 73 65 72 20 74 6f 20 6c 6f 63 61 the user to loca
ba10: 74 65 20 74 68 65 20 70 72 69 76 61 74 65 20 3c te the private <
ba20: 62 3e 70 72 6f 6a 2e 64 62 3c 2f 62 3e 20 64 61 b>proj.db</b> da
ba30: 74 61 62 61 73 65 20 6f 66 20 50 52 4f 4a 2e 36 tabase of PROJ.6
ba40: 20 69 6e 20 74 68 65 20 66 69 6c 65 2d 73 79 73 in the file-sys
ba50: 74 65 6d 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 4f 6e tem.<br><br>..On
ba60: 63 65 20 74 68 65 20 3c 62 3e 70 72 6f 6a 2e 64 ce the <b>proj.d
ba70: 62 3c 2f 62 3e 20 68 61 73 20 62 65 65 6e 20 63 b</b> has been c
ba80: 6f 72 72 65 63 74 6c 79 20 6c 6f 63 61 74 65 64 orrectly located
ba90: 2c 20 3c 62 3e 73 70 61 74 69 61 6c 69 74 65 5f , <b>spatialite_
baa0: 67 75 69 3c 2f 62 3e 20 77 69 6c 6c 20 61 75 74 gui</b> will aut
bab0: 6f 6d 61 74 69 63 61 6c 6c 79 20 73 65 74 20 74 omatically set t
bac0: 68 65 20 3c 62 3e 50 52 4f 4a 5f 4c 49 42 3c 2f he <b>PROJ_LIB</
bad0: 62 3e 20 76 61 72 69 61 62 6c 65 2e 3c 62 72 3e b> variable.<br>
bae0: 3c 62 72 3e 0d 0a 41 6e 64 20 74 68 61 74 27 73 <br>..And that's
baf0: 20 6e 6f 74 20 61 6c 6c 3b 20 3c 62 3e 73 70 61 not all; <b>spa
bb00: 74 69 61 6c 69 74 65 5f 67 75 69 3c 2f 62 3e 20 tialite_gui</b>
bb10: 77 69 6c 6c 20 72 65 61 64 20 74 68 65 20 63 75 will read the cu
bb20: 72 72 65 6e 74 20 76 61 6c 75 65 20 6f 66 20 3c rrent value of <
bb30: 62 3e 50 52 4f 4a 5f 4c 49 42 3c 2f 62 3e 20 77 b>PROJ_LIB</b> w
bb40: 68 65 6e 20 73 74 61 72 74 65 64 2c 20 73 6f 20 hen started, so
bb50: 74 68 61 74 20 77 69 6c 6c 20 62 65 20 61 20 6f that will be a o
bb60: 6e 65 20 74 69 6d 65 20 61 66 66 61 69 72 2e 0d ne time affair..
bb70: 0a 3c 2f 74 64 3e 0d 0a 3c 74 64 3e 0d 0a 3c 69 .</td>..<td>..<i
bb80: 6d 67 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f mg src="https://
bb90: 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f www.gaia-gis.it/
bba0: 67 61 69 61 2d 73 69 6e 73 2f 70 72 6f 6a 36 70 gaia-sins/proj6p
bbb0: 69 63 73 2f 67 75 69 2d 70 72 6f 6a 36 2e 70 6e ics/gui-proj6.pn
bbc0: 67 22 20 61 6c 74 3d 22 67 75 69 20 70 72 6f 6a g" alt="gui proj
bbd0: 36 22 3e 0d 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 3c 6">..</td></tr><
bbe0: 74 72 3e 3c 74 64 3e 0d 0a 54 68 65 72 65 20 69 tr><td>..There i
bbf0: 73 20 61 20 66 75 72 74 68 65 72 20 65 6e 68 61 s a further enha
bc00: 6e 63 65 6d 65 6e 74 20 61 76 61 69 6c 61 62 6c ncement availabl
bc10: 65 20 77 68 65 6e 20 3c 62 3e 73 70 61 74 69 61 e when <b>spatia
bc20: 6c 69 74 65 5f 67 75 69 3c 2f 62 3e 20 69 73 20 lite_gui</b> is
bc30: 75 73 69 6e 67 20 50 52 4f 4a 2e 36 3c 62 72 3e using PROJ.6<br>
bc40: 0d 0a 49 74 27 73 20 61 20 76 65 72 79 20 6c 69 ..It's a very li
bc50: 74 74 6c 65 20 65 76 69 64 65 6e 74 20 69 6e 6e ttle evident inn
bc60: 6f 76 61 74 69 6f 6e 2c 20 62 75 74 20 69 74 20 ovation, but it
bc70: 77 69 6c 6c 20 70 72 6f 62 61 62 6c 79 20 62 65 will probably be
bc80: 20 68 69 67 68 6c 79 20 61 70 70 72 65 63 69 61 highly apprecia
bc90: 74 65 64 20 62 79 20 6d 61 6e 79 20 75 73 65 72 ted by many user
bca0: 73 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 57 68 65 6e s.<br><br>..When
bcb0: 20 6c 6f 61 64 69 6e 67 20 61 20 53 68 61 70 65 loading a Shape
bcc0: 66 69 6c 65 2c 20 74 68 65 20 61 70 70 72 6f 70 file, the approp
bcd0: 72 69 61 74 65 20 3c 62 3e 53 52 49 44 20 76 61 riate <b>SRID va
bce0: 6c 75 65 3c 2f 62 3e 20 77 69 6c 6c 20 62 65 20 lue</b> will be
bcf0: 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 64 65 automatically de
bd00: 74 65 72 6d 69 6e 65 64 20 62 79 20 65 78 61 6d termined by exam
bd10: 69 6e 69 6e 67 20 74 68 65 20 63 6f 6e 74 65 6e ining the conten
bd20: 74 20 6f 66 20 74 68 65 20 63 6f 6d 70 61 6e 69 t of the compani
bd30: 6f 6e 20 3c 62 3e 2e 70 72 6a 3c 2f 62 3e 20 66 on <b>.prj</b> f
bd40: 69 6c 65 20 28 69 66 20 69 74 20 65 78 69 73 74 ile (if it exist
bd50: 73 29 2e 0d 0a 3c 2f 74 64 3e 0d 0a 3c 74 64 3e s)...</td>..<td>
bd60: 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 ..<img src="http
bd70: 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 s://www.gaia-gis
bd80: 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 70 72 .it/gaia-sins/pr
bd90: 6f 6a 36 70 69 63 73 2f 6c 6f 61 64 2d 73 68 70 oj6pics/load-shp
bda0: 2d 70 72 6f 6a 36 2e 70 6e 67 22 20 61 6c 74 3d -proj6.png" alt=
bdb0: 22 67 75 69 20 70 72 6f 6a 36 22 3e 0d 0a 3c 2f "gui proj6">..</
bdc0: 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 62 6c td></tr>..</tabl
bdd0: 65 3e 3c 62 72 3e 0d 0a 3c 68 72 3e 3c 62 72 3e e><br>..<hr><br>
bde0: 0d 0a 42 61 63 6b 20 74 6f 20 3c 61 20 68 72 65 ..Back to <a hre
bdf0: 66 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 f="https://www.g
be00: 61 69 61 2d 67 69 73 2e 69 74 2f 66 6f 73 73 69 aia-gis.it/fossi
be10: 6c 2f 6c 69 62 73 70 61 74 69 61 6c 69 74 65 2f l/libspatialite/
be20: 77 69 6b 69 3f 6e 61 6d 65 3d 35 2e 30 2e 30 2d wiki?name=5.0.0-
be30: 64 6f 63 22 3e 35 2e 30 2e 30 2d 64 6f 63 20 6d doc">5.0.0-doc m
be40: 61 69 6e 20 70 61 67 65 3c 2f 61 3e 0a 5a 20 64 ain page</a>.Z d
be50: 38 64 32 32 34 30 62 62 32 35 30 34 65 30 64 30 8d2240bb2504e0d0
be60: 33 64 62 34 66 36 64 64 34 65 63 39 33 34 37 0a 3db4f6dd4ec9347.