Artifact
e9f80d57bbe5979c02f3a0297c5ec5c246034986:
Wiki page
[version-1.8.0] by
sandro
2014-07-22 10:02:28.
0000: 44 20 32 30 31 34 2d 30 37 2d 32 32 54 31 30 3a D 2014-07-22T10:
0010: 30 32 3a 32 38 2e 34 31 31 0a 4c 20 76 65 72 73 02:28.411.L vers
0020: 69 6f 6e 2d 31 2e 38 2e 30 0a 50 20 34 62 36 62 ion-1.8.0.P 4b6b
0030: 65 61 39 34 34 61 61 65 62 62 34 32 32 39 61 36 ea944aaebb4229a6
0040: 63 34 33 66 61 34 65 34 34 66 32 30 33 34 39 32 c43fa4e44f203492
0050: 62 31 38 63 0a 55 20 73 61 6e 64 72 6f 0a 57 20 b18c.U sandro.W
0060: 38 31 39 35 0a 42 61 63 6b 20 74 6f 20 3c 61 20 8195.Back to <a
0070: 68 72 65 66 3d 22 68 74 74 70 73 3a 2f 2f 77 77 href="https://ww
0080: 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 66 6f w.gaia-gis.it/fo
0090: 73 73 69 6c 2f 73 70 61 74 69 61 6c 69 74 65 5f ssil/spatialite_
00a0: 67 75 69 2f 77 69 6b 69 3f 6e 61 6d 65 3d 73 70 gui/wiki?name=sp
00b0: 61 74 69 61 6c 69 74 65 2d 67 75 69 22 3e 6d 61 atialite-gui">ma
00c0: 69 6e 20 57 69 6b 69 20 70 61 67 65 3c 2f 61 3e in Wiki page</a>
00d0: 3c 68 72 3e 3c 62 72 3e 0d 0a 3c 68 31 3e 43 68 <hr><br>..<h1>Ch
00e0: 61 6e 67 65 73 20 69 6e 74 72 6f 64 75 63 65 64 anges introduced
00f0: 20 73 74 61 72 74 69 6e 67 20 73 69 6e 63 65 20 starting since
0100: 76 65 72 73 69 6f 6e 20 31 2e 38 2e 30 3c 2f 68 version 1.8.0</h
0110: 31 3e 0d 0a 3c 68 32 3e 31 20 2d 20 45 78 65 63 1>..<h2>1 - Exec
0120: 75 74 69 6e 67 20 6d 6f 72 65 20 53 51 4c 20 73 uting more SQL s
0130: 74 61 74 65 6d 65 6e 74 73 20 69 6e 20 61 20 73 tatements in a s
0140: 69 6e 67 6c 65 20 73 68 6f 74 3c 2f 68 32 3e 0d ingle shot</h2>.
0150: 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 .<img src="https
0160: 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e ://www.gaia-gis.
0170: 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 73 70 61 it/gaia-sins/spa
0180: 74 69 61 6c 69 74 65 2d 67 75 69 2d 70 69 63 2f tialite-gui-pic/
0190: 6d 75 6c 74 69 2d 73 74 6d 74 2e 70 6e 67 22 20 multi-stmt.png"
01a0: 61 6c 74 3d 22 6d 75 6c 74 69 70 6c 65 20 53 51 alt="multiple SQ
01b0: 4c 20 73 74 61 74 65 6d 65 6e 74 73 22 3e 3c 62 L statements"><b
01c0: 72 3e 0d 0a 54 68 65 20 65 78 65 63 75 74 69 6f r>..The executio
01d0: 6e 20 6f 66 20 6d 75 6c 74 69 70 6c 65 20 53 51 n of multiple SQ
01e0: 4c 20 73 74 61 74 65 6d 65 6e 74 73 20 69 6e 20 L statements in
01f0: 61 20 73 69 6e 67 6c 65 20 70 61 73 73 20 69 73 a single pass is
0200: 20 6e 6f 77 20 73 75 70 70 6f 72 74 65 64 3a 0d now supported:.
0210: 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 65 78 65 63 75 .<ul>..<li>execu
0220: 74 69 6f 6e 20 77 69 6c 6c 20 69 6d 6d 65 64 69 tion will immedi
0230: 61 74 65 6c 79 20 73 74 6f 70 20 77 68 65 6e 20 ately stop when
0240: 73 6f 6d 65 20 53 51 4c 20 65 72 72 6f 72 20 69 some SQL error i
0250: 73 20 65 76 65 6e 74 75 61 6c 6c 79 20 66 6f 75 s eventually fou
0260: 6e 64 3b 20 74 68 69 73 20 70 72 61 63 74 69 63 nd; this practic
0270: 61 6c 6c 79 20 6d 65 61 6e 73 20 74 68 61 74 20 ally means that
0280: 73 6f 6d 65 20 73 74 61 74 65 6d 65 6e 74 73 20 some statements
0290: 63 6f 75 6c 64 20 62 65 20 65 66 66 65 63 74 69 could be effecti
02a0: 76 65 6c 79 20 70 72 6f 63 65 73 73 65 64 2c 20 vely processed,
02b0: 77 68 69 6c 65 20 6f 74 68 65 72 20 73 74 61 74 while other stat
02c0: 65 6d 65 6e 74 73 20 63 6f 75 6c 64 20 62 65 20 ements could be
02d0: 69 67 6e 6f 72 65 64 20 64 75 65 20 74 6f 20 70 ignored due to p
02e0: 72 65 6d 61 74 75 72 65 20 74 65 72 6d 69 6e 61 remature termina
02f0: 74 69 6f 6e 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e tion.</li>..<li>
0300: 6f 6e 6c 79 20 74 68 65 20 3c 75 3e 3c 69 3e 72 only the <u><i>r
0310: 65 73 75 6c 74 73 65 74 3c 2f 69 3e 3c 2f 75 3e esultset</i></u>
0320: 20 28 69 66 20 61 6e 79 29 20 72 65 74 75 72 6e (if any) return
0330: 65 64 20 62 79 20 74 68 65 20 6d 6f 73 74 20 72 ed by the most r
0340: 65 63 65 6e 74 20 53 51 4c 20 73 74 61 74 65 6d ecent SQL statem
0350: 65 6e 74 20 62 65 69 6e 67 20 73 75 63 63 65 73 ent being succes
0360: 73 66 75 6c 6c 79 20 65 78 65 63 75 74 65 64 20 sfully executed
0370: 77 69 6c 6c 20 62 65 20 73 68 6f 77 6e 20 69 6e will be shown in
0380: 20 74 68 65 20 70 61 6e 65 6c 2e 3c 2f 6c 69 3e the panel.</li>
0390: 0d 0a 3c 6c 69 3e 65 78 70 6c 69 63 69 74 6c 79 ..<li>explicitly
03a0: 20 74 65 72 6d 69 6e 61 74 69 6e 67 20 65 61 63 terminating eac
03b0: 68 20 73 69 6e 67 6c 65 20 53 51 4c 20 73 74 61 h single SQL sta
03c0: 74 65 6d 65 6e 74 20 62 79 20 69 6e 73 65 72 74 tement by insert
03d0: 69 6e 67 20 61 20 3c 75 3e 3c 69 3e 73 65 6d 69 ing a <u><i>semi
03e0: 2d 63 6f 6c 6f 6e 3c 2f 69 3e 3c 2f 75 3e 20 28 -colon</i></u> (
03f0: 3c 62 3e 3b 3c 2f 62 3e 29 20 69 73 20 61 6e 20 <b>;</b>) is an
0400: 61 6c 77 61 79 73 20 73 75 67 67 65 73 74 65 64 always suggested
0410: 20 67 6f 6f 64 20 70 72 61 63 74 69 63 65 20 77 good practice w
0420: 68 65 6e 20 65 78 65 63 75 74 69 6e 67 20 6d 75 hen executing mu
0430: 6c 74 69 70 6c 65 20 73 74 61 74 65 6d 65 6e 74 ltiple statement
0440: 73 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c 62 s.</li>..</ul><b
0450: 72 3e 0d 0a 3c 68 72 3e 0d 0a 3c 68 32 3e 32 20 r>..<hr>..<h2>2
0460: 2d 20 44 42 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 - DB connections
0470: 20 61 6e 64 20 53 65 63 75 72 69 74 79 20 6d 6f and Security mo
0480: 64 65 73 3c 2f 68 32 3e 0d 0a 41 73 20 79 6f 75 des</h2>..As you
0490: 20 70 72 6f 62 61 62 6c 79 20 72 65 6d 65 6d 62 probably rememb
04a0: 65 72 2c 20 74 68 65 72 65 20 61 72 65 20 66 65 er, there are fe
04b0: 77 20 53 51 4c 20 66 75 6e 63 74 69 6f 6e 73 20 w SQL functions
04c0: 73 75 70 70 6f 72 74 65 64 20 62 79 20 53 70 61 supported by Spa
04d0: 74 69 61 4c 69 74 65 20 74 68 61 74 20 63 6f 75 tiaLite that cou
04e0: 6c 64 20 65 76 65 6e 74 75 61 6c 6c 79 20 70 6f ld eventually po
04f0: 73 65 20 73 6f 6d 65 20 73 65 63 75 72 69 74 79 se some security
0500: 20 63 6f 6e 63 65 72 6e 20 62 65 63 61 75 73 65 concern because
0510: 20 74 68 65 79 20 69 6d 70 6c 65 6d 65 6e 74 20 they implement
0520: 73 6f 6d 65 20 6b 69 6e 64 20 6f 66 20 64 69 72 some kind of dir
0530: 65 63 74 20 64 61 74 61 20 65 78 63 68 61 6e 67 ect data exchang
0540: 65 20 62 65 74 77 65 65 6e 20 74 68 65 20 44 42 e between the DB
0550: 20 61 6e 64 20 74 68 65 20 6c 6f 63 61 6c 20 66 and the local f
0560: 69 6c 65 2d 73 79 73 74 65 6d 2e 3c 62 72 3e 0d ile-system.<br>.
0570: 0a 49 6e 20 74 68 65 20 77 6f 72 73 74 20 70 6f .In the worst po
0580: 73 73 69 62 6c 65 20 73 63 65 6e 61 72 69 6f 20 ssible scenario
0590: 61 6e 20 68 79 70 6f 74 68 65 74 69 63 61 6c 20 an hypothetical
05a0: 68 61 63 6b 65 72 20 63 6f 75 6c 64 20 65 76 65 hacker could eve
05b0: 6e 74 75 61 6c 6c 79 20 61 74 74 65 6d 70 74 20 ntually attempt
05c0: 74 6f 20 61 74 74 61 63 6b 20 61 6e 20 65 78 74 to attack an ext
05d0: 65 72 6e 61 6c 20 73 79 73 74 65 6d 20 62 79 20 ernal system by
05e0: 6f 66 66 65 72 69 6e 67 20 66 6f 72 20 64 6f 77 offering for dow
05f0: 6e 6c 6f 61 64 20 61 20 70 75 72 70 6f 73 65 6c nload a purposel
0600: 79 20 66 6f 72 67 65 64 20 53 70 61 74 69 61 4c y forged SpatiaL
0610: 69 74 65 20 44 42 20 63 6f 6e 74 61 69 6e 69 6e ite DB containin
0620: 67 20 6d 61 6c 69 63 69 6f 75 73 6c 79 20 66 6f g maliciously fo
0630: 72 67 65 64 20 54 72 69 67 67 65 72 73 2c 20 61 rged Triggers, a
0640: 6e 64 20 74 68 65 20 75 73 65 72 20 77 69 6c 6c nd the user will
0650: 20 74 68 65 6e 20 62 65 20 63 6f 6d 70 6c 65 74 then be complet
0660: 65 6c 79 20 75 6e 61 77 61 72 65 20 6f 66 20 73 ely unaware of s
0670: 75 63 68 20 61 20 70 6f 74 65 6e 74 69 61 6c 6c uch a potentiall
0680: 79 20 64 61 6e 67 65 72 6f 75 73 20 74 68 72 65 y dangerous thre
0690: 61 74 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 54 68 65 at.<br><br>..The
06a0: 20 73 74 61 6e 64 61 72 64 20 61 70 70 72 6f 61 standard approa
06b0: 63 68 20 69 6d 70 6c 65 6d 65 6e 74 65 64 20 62 ch implemented b
06c0: 79 20 3c 75 3e 3c 69 3e 6c 69 62 73 74 70 61 74 y <u><i>libstpat
06d0: 69 61 6c 69 74 65 3c 2f 69 3e 3c 2f 75 3e 20 69 ialite</i></u> i
06e0: 73 20 74 68 65 20 6f 6e 65 20 74 6f 20 61 6c 77 s the one to alw
06f0: 61 79 73 20 6b 65 65 70 20 63 6f 6d 70 6c 65 74 ays keep complet
0700: 65 6c 79 20 64 69 73 61 62 6c 65 64 20 61 6c 6c ely disabled all
0710: 20 74 68 65 73 65 20 70 6f 74 65 6e 74 69 61 6c these potential
0720: 6c 79 20 68 61 72 6d 66 75 6c 20 53 51 4c 20 66 ly harmful SQL f
0730: 75 6e 63 74 69 6f 6e 73 2c 20 75 6e 6c 65 73 73 unctions, unless
0740: 20 74 68 65 20 3c 75 3e 3c 69 3e 65 6e 76 69 72 the <u><i>envir
0750: 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 3c onment variable<
0760: 2f 69 3e 3c 2f 75 3e 20 3c 62 3e 53 50 41 54 49 /i></u> <b>SPATI
0770: 41 4c 49 54 45 5f 53 45 43 55 52 49 54 59 3d 3c ALITE_SECURITY=<
0780: 69 3e 72 65 6c 61 78 65 64 3c 2f 69 3e 3c 2f 62 i>relaxed</i></b
0790: 3e 20 69 73 20 65 78 70 6c 69 63 69 74 6c 79 20 > is explicitly
07a0: 73 65 74 20 62 79 20 74 68 65 20 75 73 65 72 2e set by the user.
07b0: 3c 62 72 3e 0d 0a 4e 6f 77 20 3c 62 3e 73 70 61 <br>..Now <b>spa
07c0: 74 69 61 6c 69 74 65 5f 67 75 69 3c 2f 62 3e 20 tialite_gui</b>
07d0: 73 75 70 70 6f 72 74 20 61 20 73 6d 61 72 74 65 support a smarte
07e0: 72 20 61 6e 64 20 65 61 73 69 65 73 74 20 61 70 r and easiest ap
07f0: 70 72 6f 61 63 68 2c 20 63 6f 6d 70 6c 65 74 65 proach, complete
0800: 6c 79 20 62 61 73 65 64 20 6f 6e 20 69 6e 74 65 ly based on inte
0810: 72 6e 61 6c 20 61 63 74 69 6f 6e 73 20 61 6e 64 rnal actions and
0820: 20 6e 6f 20 6c 6f 6e 67 65 72 20 72 65 71 75 69 no longer requi
0830: 72 69 6e 67 20 61 6e 79 20 65 78 70 6c 69 63 69 ring any explici
0840: 74 20 75 73 65 72 20 61 63 74 69 6f 6e 2e 3c 62 t user action.<b
0850: 72 3e 3c 62 72 3e 0d 0a 3c 69 6d 67 20 73 72 63 r><br>..<img src
0860: 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 ="https://www.ga
0870: 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 ia-gis.it/gaia-s
0880: 69 6e 73 2f 73 70 61 74 69 61 6c 69 74 65 2d 67 ins/spatialite-g
0890: 75 69 2d 70 69 63 2f 73 65 63 75 72 69 74 79 2d ui-pic/security-
08a0: 6e 6f 74 2d 63 6f 6e 6e 65 63 74 65 64 2e 70 6e not-connected.pn
08b0: 67 22 20 61 6c 74 3d 22 6e 6f 74 20 63 6f 6e 6e g" alt="not conn
08c0: 65 63 74 65 64 22 3e 3c 62 72 3e 0d 0a 3c 75 3e ected"><br>..<u>
08d0: 50 6c 65 61 73 65 20 6e 6f 74 65 3c 2f 75 3e 3a Please note</u>:
08e0: 20 6e 6f 77 20 61 20 73 6d 61 6c 6c 20 3c 75 3e now a small <u>
08f0: 3c 69 3e 69 63 6f 6e 3c 2f 69 3e 3c 2f 75 3e 20 <i>icon</i></u>
0900: 61 6c 77 61 79 73 20 73 68 6f 77 73 20 74 68 65 always shows the
0910: 20 73 74 61 74 75 73 20 6f 66 20 74 68 65 20 63 status of the c
0920: 75 72 72 65 6e 74 20 44 42 20 43 6f 6e 6e 65 63 urrent DB Connec
0930: 74 69 6f 6e 2e 0d 0a 3c 68 33 3e 63 61 73 65 20 tion...<h3>case
0940: 41 29 20 63 6f 6e 6e 65 63 74 69 6e 67 20 74 6f A) connecting to
0950: 20 61 20 73 61 6e 65 20 44 42 3c 2f 68 33 3e 0d a sane DB</h3>.
0960: 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 .<img src="https
0970: 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e ://www.gaia-gis.
0980: 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 73 70 61 it/gaia-sins/spa
0990: 74 69 61 6c 69 74 65 2d 67 75 69 2d 70 69 63 2f tialite-gui-pic/
09a0: 73 65 63 75 72 69 74 79 2d 72 65 6c 61 78 65 64 security-relaxed
09b0: 2e 70 6e 67 22 20 61 6c 74 3d 22 73 65 63 75 72 .png" alt="secur
09c0: 69 74 79 20 72 65 6c 61 78 65 64 22 3e 3c 62 72 ity relaxed"><br
09d0: 3e 0d 0a 3c 62 3e 73 70 61 74 69 61 6c 69 74 65 >..<b>spatialite
09e0: 5f 67 75 69 3c 2f 62 3e 20 77 69 6c 6c 20 6e 6f _gui</b> will no
09f0: 77 20 61 6c 77 61 79 73 20 70 65 72 66 6f 72 6d w always perform
0a00: 20 61 20 70 72 65 6c 69 6d 69 6e 61 72 79 20 73 a preliminary s
0a10: 61 6e 69 74 79 20 63 68 65 63 6b 20 3c 62 3e 62 anity check <b>b
0a20: 65 66 6f 72 65 3c 2f 62 3e 20 63 6f 6e 6e 65 63 efore</b> connec
0a30: 74 69 6e 67 20 61 6e 79 20 61 6c 72 65 61 64 79 ting any already
0a40: 20 65 78 69 73 74 69 6e 67 20 44 42 2e 0d 0a 3c existing DB...<
0a50: 75 6c 3e 0d 0a 3c 6c 69 3e 69 66 20 6e 6f 20 61 ul>..<li>if no a
0a60: 63 74 75 61 6c 20 74 68 72 65 61 74 20 69 73 20 ctual threat is
0a70: 66 6f 75 6e 64 2c 20 74 68 65 6e 20 3c 62 3e 73 found, then <b>s
0a80: 70 61 74 69 61 6c 69 74 65 5f 67 75 69 3c 2f 62 patialite_gui</b
0a90: 3e 20 77 69 6c 6c 20 61 75 74 6f 6d 61 74 69 63 > will automatic
0aa0: 61 6c 6c 79 20 65 6e 61 62 6c 65 20 3c 62 3e 53 ally enable <b>S
0ab0: 50 41 54 49 41 4c 49 54 45 5f 53 45 43 55 52 49 PATIALITE_SECURI
0ac0: 54 59 3d 3c 69 3e 72 65 6c 61 78 65 64 3c 2f 69 TY=<i>relaxed</i
0ad0: 3e 3c 2f 62 3e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e ></b></li>..<li>
0ae0: 74 68 75 73 20 61 6c 6c 6f 77 69 6e 67 20 74 68 thus allowing th
0af0: 65 20 75 73 65 72 20 74 6f 20 66 72 65 65 6c 79 e user to freely
0b00: 20 69 6e 76 6f 6b 65 20 61 6c 6c 20 73 65 63 75 invoke all secu
0b10: 72 69 74 79 2d 72 65 6c 61 74 65 64 20 53 51 4c rity-related SQL
0b20: 20 66 75 6e 63 74 69 6f 6e 73 20 77 69 74 68 6f functions witho
0b30: 75 74 20 61 6e 79 20 72 65 73 74 72 69 63 74 69 ut any restricti
0b40: 6f 6e 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 69 6e on.</li>..<li>in
0b50: 20 74 68 69 73 20 63 61 73 65 20 74 68 65 20 3c this case the <
0b60: 75 3e 3c 69 3e 63 6f 6e 6e 65 63 74 69 6f 6e 20 u><i>connection
0b70: 69 63 6f 6e 3c 2f 69 3e 3c 2f 75 3e 20 77 69 6c icon</i></u> wil
0b80: 6c 20 62 65 20 74 68 65 20 6f 6e 65 20 73 68 6f l be the one sho
0b90: 77 6e 20 69 6e 20 74 68 69 73 20 66 69 67 75 72 wn in this figur
0ba0: 65 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a e.</li>..</ul>..
0bb0: 3c 68 33 3e 63 61 73 65 20 42 29 20 73 74 61 72 <h3>case B) star
0bc0: 74 69 6e 67 20 61 20 52 45 41 44 20 4f 4e 4c 59 ting a READ ONLY
0bd0: 20 44 42 20 63 6f 6e 6e 65 63 74 69 6f 6e 3c 2f DB connection</
0be0: 68 33 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68 h3>..<img src="h
0bf0: 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d ttps://www.gaia-
0c00: 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 gis.it/gaia-sins
0c10: 2f 73 70 61 74 69 61 6c 69 74 65 2d 67 75 69 2d /spatialite-gui-
0c20: 70 69 63 2f 73 65 63 75 72 69 74 79 2d 72 64 6f pic/security-rdo
0c30: 6e 6c 79 2e 70 6e 67 22 20 61 6c 74 3d 22 73 65 nly.png" alt="se
0c40: 63 75 72 69 74 79 20 72 65 61 64 20 6f 6e 6c 79 curity read only
0c50: 22 3e 3c 62 72 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c "><br>..<ul>..<l
0c60: 69 3e 61 6e 79 77 61 79 20 77 68 65 6e 65 76 65 i>anyway wheneve
0c70: 72 20 61 20 3c 62 3e 52 45 41 44 20 4f 4e 4c 59 r a <b>READ ONLY
0c80: 3c 2f 62 3e 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 </b> connection
0c90: 69 73 20 65 73 74 61 62 6c 69 73 68 65 64 20 74 is established t
0ca0: 68 65 20 6f 72 64 69 6e 61 72 79 20 73 65 63 75 he ordinary secu
0cb0: 72 69 74 79 20 72 65 73 74 72 69 63 74 69 6f 6e rity restriction
0cc0: 73 20 77 69 6c 6c 20 61 6c 77 61 79 73 20 62 65 s will always be
0cd0: 20 65 6e 66 6f 72 63 65 64 2e 3c 2f 6c 69 3e 0d enforced.</li>.
0ce0: 0a 3c 6c 69 3e 69 6e 20 74 68 69 73 20 63 61 73 .<li>in this cas
0cf0: 65 20 74 68 65 20 3c 75 3e 3c 69 3e 63 6f 6e 6e e the <u><i>conn
0d00: 65 63 74 69 6f 6e 20 69 63 6f 6e 3c 2f 69 3e 3c ection icon</i><
0d10: 2f 75 3e 20 77 69 6c 6c 20 62 65 20 74 68 65 20 /u> will be the
0d20: 6f 6e 65 20 73 68 6f 77 6e 20 69 6e 20 74 68 69 one shown in thi
0d30: 73 20 66 69 67 75 72 65 2e 3c 2f 6c 69 3e 0d 0a s figure.</li>..
0d40: 3c 2f 75 6c 3e 0d 0a 3c 68 33 3e 63 61 73 65 20 </ul>..<h3>case
0d50: 43 29 20 63 6f 6e 6e 65 63 74 69 6e 67 20 74 6f C) connecting to
0d60: 20 61 20 70 6f 74 65 6e 74 69 61 6c 6c 79 20 68 a potentially h
0d70: 61 72 6d 66 75 6c 20 44 42 3c 2f 68 33 3e 0d 0a armful DB</h3>..
0d80: 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 3a <img src="https:
0d90: 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 //www.gaia-gis.i
0da0: 74 2f 67 61 69 61 2d 73 69 6e 73 2f 73 70 61 74 t/gaia-sins/spat
0db0: 69 61 6c 69 74 65 2d 67 75 69 2d 70 69 63 2f 73 ialite-gui-pic/s
0dc0: 65 63 75 72 69 74 79 2d 61 6c 65 72 74 2e 70 6e ecurity-alert.pn
0dd0: 67 22 20 61 6c 74 3d 22 73 65 63 75 72 69 74 79 g" alt="security
0de0: 20 61 6c 65 72 74 22 3e 3c 62 72 3e 0d 0a 49 6e alert"><br>..In
0df0: 20 74 68 65 20 75 6e 6c 75 63 6b 79 20 63 61 73 the unlucky cas
0e00: 65 20 74 68 61 74 20 74 68 65 20 70 72 65 6c 69 e that the preli
0e10: 6d 69 6e 61 72 79 20 73 65 63 75 72 69 74 79 20 minary security
0e20: 63 68 65 63 6b 20 77 6f 75 6c 64 20 69 64 65 6e check would iden
0e30: 74 69 66 79 20 73 6f 6d 65 20 70 72 6f 62 6c 65 tify some proble
0e40: 6d 61 74 69 63 20 54 72 69 67 67 65 72 2c 20 61 matic Trigger, a
0e50: 6e 20 61 70 70 72 6f 70 72 69 61 74 65 20 3c 75 n appropriate <u
0e60: 3e 3c 69 3e 73 65 63 75 72 69 74 79 20 61 6c 65 ><i>security ale
0e70: 72 74 3c 2f 69 3e 3c 2f 75 3e 20 77 69 6c 6c 20 rt</i></u> will
0e80: 62 65 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 72 be immediately r
0e90: 61 69 73 65 64 2e 3c 62 72 3e 3c 62 72 3e 20 0d aised.<br><br> .
0ea0: 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 .<img src="https
0eb0: 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e ://www.gaia-gis.
0ec0: 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 73 70 61 it/gaia-sins/spa
0ed0: 74 69 61 6c 69 74 65 2d 67 75 69 2d 70 69 63 2f tialite-gui-pic/
0ee0: 73 65 63 75 72 69 74 79 2d 6c 6f 63 6b 2e 70 6e security-lock.pn
0ef0: 67 22 20 61 6c 74 3d 22 73 65 63 75 72 69 74 79 g" alt="security
0f00: 20 6c 6f 63 6b 22 3e 3c 62 72 3e 0d 0a 3c 75 6c lock"><br>..<ul
0f10: 3e 0d 0a 3c 6c 69 3e 69 6e 20 74 68 69 73 20 63 >..<li>in this c
0f20: 61 73 65 20 74 68 65 20 6f 72 64 69 6e 61 72 79 ase the ordinary
0f30: 20 73 65 63 75 72 69 74 79 20 72 65 73 74 72 69 security restri
0f40: 63 74 69 6f 6e 73 20 77 69 6c 6c 20 61 6c 77 61 ctions will alwa
0f50: 79 73 20 62 65 20 65 6e 66 6f 72 63 65 64 2e 3c ys be enforced.<
0f60: 2f 6c 69 3e 0d 0a 3c 6c 69 3e 74 68 65 20 3c 75 /li>..<li>the <u
0f70: 3e 3c 69 3e 63 6f 6e 6e 65 63 74 69 6f 6e 20 69 ><i>connection i
0f80: 63 6f 6e 3c 2f 69 3e 3c 2f 75 3e 20 77 69 6c 6c con</i></u> will
0f90: 20 62 65 20 74 68 65 20 6f 6e 65 20 73 68 6f 77 be the one show
0fa0: 6e 20 69 6e 20 74 68 69 73 20 66 69 67 75 72 65 n in this figure
0fb0: 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 3c 75 3e 50 .</li>..<li><u>P
0fc0: 6c 65 61 73 65 20 6e 6f 74 65 20 77 65 6c 6c 3c lease note well<
0fd0: 2f 75 3e 3a 20 61 6e 79 77 61 79 20 61 6e 20 65 /u>: anyway an e
0fe0: 78 74 65 72 6e 61 6c 20 28 69 2e 65 2e 20 66 72 xternal (i.e. fr
0ff0: 6f 6d 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 73 om the command s
1000: 68 65 6c 6c 29 20 3c 62 3e 53 50 41 54 49 41 4c hell) <b>SPATIAL
1010: 49 54 45 5f 53 45 43 55 52 49 54 59 3d 3c 69 3e ITE_SECURITY=<i>
1020: 72 65 6c 61 78 65 64 3c 2f 69 3e 3c 2f 62 3e 20 relaxed</i></b>
1030: 64 65 63 6c 61 72 61 74 69 6f 6e 20 77 69 6c 6c declaration will
1040: 20 73 74 69 6c 6c 20 63 6f 6e 74 69 6e 75 65 20 still continue
1050: 74 6f 20 62 65 20 68 6f 6e 6f 72 65 64 2e 3c 2f to be honored.</
1060: 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c 68 32 3e li>..</ul>..<h2>
1070: 33 20 2d 20 52 61 73 74 65 72 4c 69 74 65 32 20 3 - RasterLite2
1080: 69 6e 74 65 67 72 61 74 65 64 20 73 75 70 70 6f integrated suppo
1090: 72 74 3c 2f 68 32 3e 0d 0a 53 74 61 72 74 69 6e rt</h2>..Startin
10a0: 67 20 73 69 6e 63 65 20 76 65 72 73 69 6f 6e 20 g since version
10b0: 3c 62 3e 31 2e 38 2e 30 3c 2f 62 3e 20 3c 69 3e <b>1.8.0</b> <i>
10c0: 6c 69 62 72 61 73 74 65 72 6c 69 74 65 32 3c 2f librasterlite2</
10d0: 69 3e 20 62 65 63 6f 6d 65 73 20 69 6e 74 65 67 i> becomes integ
10e0: 72 61 6c 20 70 61 72 74 20 6f 66 20 3c 62 3e 73 ral part of <b>s
10f0: 70 61 74 69 61 6c 69 74 65 5f 67 75 69 3c 2f 62 patialite_gui</b
1100: 3e 20 28 69 2e 65 2e 20 69 74 20 77 69 6c 6c 20 > (i.e. it will
1110: 62 65 63 6f 6d 65 20 61 20 6e 6f 74 20 63 6f 6e become a not con
1120: 66 69 67 75 72 61 62 6c 65 20 6d 61 6e 64 61 74 figurable mandat
1130: 6f 72 79 20 64 65 70 65 6e 64 65 6e 63 79 29 2e ory dependency).
1140: 0d 0a 3c 68 33 3e 33 2e 31 20 2d 20 52 61 73 74 ..<h3>3.1 - Rast
1150: 65 72 20 43 6f 76 65 72 61 67 65 73 3c 2f 68 33 er Coverages</h3
1160: 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 >..<img src="htt
1170: 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 ps://www.gaia-gi
1180: 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 73 s.it/gaia-sins/s
1190: 70 61 74 69 61 6c 69 74 65 2d 67 75 69 2d 70 69 patialite-gui-pi
11a0: 63 2f 72 61 73 74 65 72 2d 63 6f 76 65 72 61 67 c/raster-coverag
11b0: 65 73 2d 31 2e 70 6e 67 22 20 61 6c 74 3d 22 72 es-1.png" alt="r
11c0: 61 73 74 65 72 20 63 6f 76 65 72 61 67 65 73 20 aster coverages
11d0: 31 22 3e 3c 62 72 3e 0d 0a 41 6c 6c 20 52 61 73 1"><br>..All Ras
11e0: 74 65 72 43 6f 76 65 72 61 67 65 2d 72 65 6c 61 terCoverage-rela
11f0: 74 65 64 20 74 61 62 6c 65 73 20 77 69 6c 6c 20 ted tables will
1200: 62 65 20 68 69 65 72 61 72 63 68 69 63 61 6c 6c be hierarchicall
1210: 79 20 67 72 6f 75 70 65 64 20 6f 6e 20 61 20 64 y grouped on a d
1220: 69 73 74 69 6e 63 74 20 62 72 61 6e 63 68 20 6f istinct branch o
1230: 66 20 74 68 65 20 54 61 62 6c 65 73 20 54 72 65 f the Tables Tre
1240: 65 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 69 6d 67 e.<br><br>..<img
1250: 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 src="https://ww
1260: 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 w.gaia-gis.it/ga
1270: 69 61 2d 73 69 6e 73 2f 73 70 61 74 69 61 6c 69 ia-sins/spatiali
1280: 74 65 2d 67 75 69 2d 70 69 63 2f 72 61 73 74 65 te-gui-pic/raste
1290: 72 2d 63 6f 76 65 72 61 67 65 73 2d 32 2e 70 6e r-coverages-2.pn
12a0: 67 22 20 61 6c 74 3d 22 72 61 73 74 65 72 20 63 g" alt="raster c
12b0: 6f 76 65 72 61 67 65 73 20 32 22 3e 3c 62 72 3e overages 2"><br>
12c0: 0d 0a 41 64 6d 69 6e 69 73 74 65 72 69 6e 67 20 ..Administering
12d0: 61 6c 6c 20 3c 75 3e 3c 69 3e 53 4c 44 2f 53 45 all <u><i>SLD/SE
12e0: 20 53 74 79 6c 65 73 3c 2f 69 3e 3c 2f 75 3e 20 Styles</i></u>
12f0: 66 6f 72 20 65 61 63 68 20 73 69 6e 67 6c 65 20 for each single
1300: 52 61 73 74 65 72 20 43 6f 76 65 72 61 67 65 20 Raster Coverage
1310: 77 69 6c 6c 20 6e 6f 77 20 62 65 20 64 69 72 65 will now be dire
1320: 63 74 6c 79 20 61 63 63 65 73 73 69 62 6c 65 20 ctly accessible
1330: 76 69 61 20 74 68 65 20 63 6f 72 72 65 73 70 6f via the correspo
1340: 6e 64 69 6e 67 20 63 6f 6e 74 65 78 74 20 6d 65 nding context me
1350: 6e 75 2e 0d 0a 3c 68 33 3e 3c 61 20 6e 61 6d 65 nu...<h3><a name
1360: 3d 22 72 61 73 74 65 72 2d 73 74 79 6c 65 73 22 ="raster-styles"
1370: 3e 33 2e 32 20 2d 20 53 4c 44 2f 53 45 20 53 74 >3.2 - SLD/SE St
1380: 79 6c 65 73 20 61 64 6d 69 6e 69 73 74 72 61 74 yles administrat
1390: 69 6f 6e 3c 2f 61 3e 3c 2f 68 33 3e 0d 0a 3c 68 ion</a></h3>..<h
13a0: 34 3e 33 2e 32 61 20 2d 20 41 64 64 69 6e 67 20 4>3.2a - Adding
13b0: 61 20 6e 65 77 20 52 61 73 74 65 72 20 53 74 79 a new Raster Sty
13c0: 6c 65 20 66 6f 72 20 61 20 67 69 76 65 6e 20 43 le for a given C
13d0: 6f 76 65 72 61 67 65 3c 2f 68 34 3e 0d 0a 59 6f overage</h4>..Yo
13e0: 75 20 63 61 6e 20 61 63 63 65 73 73 20 74 68 69 u can access thi
13f0: 73 20 66 65 61 74 75 72 65 20 66 72 6f 6d 20 74 s feature from t
1400: 68 65 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 20 he context menu
1410: 64 69 72 65 63 74 6c 79 20 73 75 70 70 6f 72 74 directly support
1420: 69 6e 67 20 65 61 63 68 20 43 6f 76 65 72 61 67 ing each Coverag
1430: 65 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 69 6d 67 e.<br><br>..<img
1440: 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 src="https://ww
1450: 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 w.gaia-gis.it/ga
1460: 69 61 2d 73 69 6e 73 2f 73 70 61 74 69 61 6c 69 ia-sins/spatiali
1470: 74 65 2d 67 75 69 2d 70 69 63 2f 72 61 73 74 65 te-gui-pic/raste
1480: 72 2d 73 74 79 6c 65 73 2d 31 2e 70 6e 67 22 20 r-styles-1.png"
1490: 61 6c 74 3d 22 72 61 73 74 65 72 20 73 74 79 6c alt="raster styl
14a0: 65 73 20 31 22 3e 3c 62 72 3e 0d 0a 46 69 72 73 es 1"><br>..Firs
14b0: 74 20 6f 66 20 61 6c 6c 20 79 6f 75 20 73 68 6f t of all you sho
14c0: 75 6c 64 20 73 65 6c 65 63 74 20 66 72 6f 6d 20 uld select from
14d0: 74 68 65 20 66 69 6c 65 2d 73 79 73 74 65 6d 20 the file-system
14e0: 74 68 65 20 58 4d 4c 20 64 6f 63 75 6d 65 6e 74 the XML document
14f0: 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 65 20 containing the
1500: 53 4c 44 2f 44 45 20 53 74 79 6c 65 20 79 6f 75 SLD/DE Style you
1510: 20 69 6e 74 65 6e 64 20 74 6f 20 6c 6f 61 64 2e intend to load.
1520: 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 69 6d 67 20 73 <br><br>..<img s
1530: 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e rc="https://www.
1540: 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 gaia-gis.it/gaia
1550: 2d 73 69 6e 73 2f 73 70 61 74 69 61 6c 69 74 65 -sins/spatialite
1560: 2d 67 75 69 2d 70 69 63 2f 72 61 73 74 65 72 2d -gui-pic/raster-
1570: 73 74 79 6c 65 73 2d 32 2e 70 6e 67 22 20 61 6c styles-2.png" al
1580: 74 3d 22 72 61 73 74 65 72 20 73 74 79 6c 65 73 t="raster styles
1590: 20 32 22 3e 3c 62 72 3e 0d 0a 54 68 65 6e 20 79 2"><br>..Then y
15a0: 6f 75 20 73 69 6d 70 6c 79 20 68 61 76 65 20 74 ou simply have t
15b0: 6f 20 64 65 66 69 6e 69 74 65 6c 79 20 63 6f 6e o definitely con
15c0: 66 69 72 6d 2e 0d 0a 54 68 65 20 58 4d 4c 20 64 firm...The XML d
15d0: 6f 63 75 6d 65 6e 74 20 77 69 6c 6c 20 62 65 20 ocument will be
15e0: 70 61 72 73 65 64 20 61 6e 64 20 66 6f 72 6d 61 parsed and forma
15f0: 6c 6c 79 20 63 68 65 63 6b 65 64 20 66 6f 72 20 lly checked for
1600: 66 75 6c 6c 20 53 63 68 65 6d 61 20 76 61 6c 69 full Schema vali
1610: 64 61 74 69 6f 6e 20 75 6e 64 65 72 20 74 68 65 dation under the
1620: 20 65 78 70 65 63 74 61 74 69 6f 6e 20 74 68 61 expectation tha
1630: 74 20 69 74 20 73 68 6f 75 6c 64 20 63 6f 6e 74 t it should cont
1640: 61 69 6e 20 61 20 76 61 6c 69 64 20 53 4c 44 2f ain a valid SLD/
1650: 53 45 20 52 61 73 74 65 72 53 79 6d 62 6f 6c 69 SE RasterSymboli
1660: 7a 65 72 2e 3c 62 72 3e 0d 0a 49 66 20 6e 6f 20 zer.<br>..If no
1670: 65 72 72 6f 72 20 69 73 20 66 6f 75 6e 64 20 74 error is found t
1680: 68 65 6e 20 74 68 65 20 53 74 79 6c 65 20 77 69 hen the Style wi
1690: 6c 6c 20 62 65 20 69 6d 6d 65 64 69 61 74 65 6c ll be immediatel
16a0: 79 20 61 64 64 65 64 20 74 6f 20 74 68 65 20 43 y added to the C
16b0: 6f 76 65 72 61 67 65 2e 0d 0a 3c 68 34 3e 33 2e overage...<h4>3.
16c0: 32 62 20 2d 20 4c 69 73 74 69 6e 67 20 61 6c 6c 2b - Listing all
16d0: 20 52 61 73 74 65 72 20 53 74 79 6c 65 73 20 66 Raster Styles f
16e0: 6f 72 20 61 20 67 69 76 65 6e 20 43 6f 76 65 72 or a given Cover
16f0: 61 67 65 3c 2f 68 34 3e 0d 0a 59 6f 75 20 63 61 age</h4>..You ca
1700: 6e 20 61 63 63 65 73 73 20 74 68 69 73 20 66 65 n access this fe
1710: 61 74 75 72 65 20 66 72 6f 6d 20 74 68 65 20 63 ature from the c
1720: 6f 6e 74 65 78 74 20 6d 65 6e 75 20 64 69 72 65 ontext menu dire
1730: 63 74 6c 79 20 73 75 70 70 6f 72 74 69 6e 67 20 ctly supporting
1740: 65 61 63 68 20 43 6f 76 65 72 61 67 65 2e 3c 62 each Coverage.<b
1750: 72 3e 3c 62 72 3e 0d 0a 3c 69 6d 67 20 73 72 63 r><br>..<img src
1760: 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 ="https://www.ga
1770: 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 ia-gis.it/gaia-s
1780: 69 6e 73 2f 73 70 61 74 69 61 6c 69 74 65 2d 67 ins/spatialite-g
1790: 75 69 2d 70 69 63 2f 72 61 73 74 65 72 2d 73 74 ui-pic/raster-st
17a0: 79 6c 65 73 2d 33 2e 70 6e 67 22 20 61 6c 74 3d yles-3.png" alt=
17b0: 22 72 61 73 74 65 72 20 73 74 79 6c 65 73 20 33 "raster styles 3
17c0: 22 3e 3c 62 72 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c "><br>..<ul>..<l
17d0: 69 3e 74 68 69 73 20 3c 75 3e 3c 69 3e 64 69 61 i>this <u><i>dia
17e0: 6c 6f 67 20 62 6f 78 3c 2f 69 3e 3c 2f 75 3e 20 log box</i></u>
17f0: 77 69 6c 6c 20 72 65 70 6f 72 74 20 61 6c 6c 20 will report all
1800: 53 4c 44 2f 53 45 20 53 74 79 6c 65 73 20 61 6c SLD/SE Styles al
1810: 72 65 61 64 79 20 64 65 66 69 6e 65 64 20 66 6f ready defined fo
1820: 72 20 65 61 63 68 20 73 69 6e 67 6c 65 20 52 61 r each single Ra
1830: 73 74 65 72 20 43 6f 76 65 72 61 67 65 2e 3c 2f ster Coverage.</
1840: 6c 69 3e 0d 0a 3c 6c 69 3e 74 68 65 20 73 61 6d li>..<li>the sam
1850: 65 20 64 69 61 6c 6f 67 20 63 6f 75 6c 64 20 62 e dialog could b
1860: 65 20 75 73 65 64 20 69 6e 20 6f 72 64 65 72 20 e used in order
1870: 74 6f 20 61 64 64 20 6d 6f 72 65 20 53 4c 44 2f to add more SLD/
1880: 53 45 20 53 74 79 6c 65 73 2e 3c 2f 6c 69 3e 0d SE Styles.</li>.
1890: 0a 3c 2f 75 6c 3e 0d 0a 3c 62 72 3e 0d 0a 3c 69 .</ul>..<br>..<i
18a0: 6d 67 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f mg src="https://
18b0: 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f www.gaia-gis.it/
18c0: 67 61 69 61 2d 73 69 6e 73 2f 73 70 61 74 69 61 gaia-sins/spatia
18d0: 6c 69 74 65 2d 67 75 69 2d 70 69 63 2f 72 61 73 lite-gui-pic/ras
18e0: 74 65 72 2d 73 74 79 6c 65 73 2d 34 2e 70 6e 67 ter-styles-4.png
18f0: 22 20 61 6c 74 3d 22 72 61 73 74 65 72 20 73 74 " alt="raster st
1900: 79 6c 65 73 20 34 22 3e 3c 62 72 3e 0d 0a 46 69 yles 4"><br>..Fi
1910: 72 73 74 20 6f 66 20 61 6c 6c 20 79 6f 75 20 73 rst of all you s
1920: 68 6f 75 6c 64 20 73 65 6c 65 63 74 20 66 72 6f hould select fro
1930: 6d 20 74 68 65 20 66 69 6c 65 2d 73 79 73 74 65 m the file-syste
1940: 6d 20 74 68 65 20 58 4d 4c 20 64 6f 63 75 6d 65 m the XML docume
1950: 6e 74 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 nt containing th
1960: 65 20 53 4c 44 2f 44 45 20 53 74 79 6c 65 20 79 e SLD/DE Style y
1970: 6f 75 20 69 6e 74 65 6e 64 20 74 6f 20 6c 6f 61 ou intend to loa
1980: 64 3b 20 62 75 74 20 64 69 66 66 65 72 65 6e 74 d; but different
1990: 6c 79 20 66 72 6f 6d 20 74 68 65 20 61 62 6f 76 ly from the abov
19a0: 65 20 63 61 73 65 20 79 6f 75 20 63 61 6e 20 6e e case you can n
19b0: 6f 77 20 73 65 6c 65 63 74 20 6d 75 6c 74 69 70 ow select multip
19c0: 6c 65 20 66 69 6c 65 73 20 69 6e 20 61 20 73 69 le files in a si
19d0: 6e 67 6c 65 20 70 61 73 73 2e 3c 62 72 3e 3c 62 ngle pass.<br><b
19e0: 72 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74 r>..<img src="ht
19f0: 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 tps://www.gaia-g
1a00: 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f is.it/gaia-sins/
1a10: 73 70 61 74 69 61 6c 69 74 65 2d 67 75 69 2d 70 spatialite-gui-p
1a20: 69 63 2f 72 61 73 74 65 72 2d 73 74 79 6c 65 73 ic/raster-styles
1a30: 2d 35 2e 70 6e 67 22 20 61 6c 74 3d 22 72 61 73 -5.png" alt="ras
1a40: 74 65 72 20 73 74 79 6c 65 73 20 35 22 3e 3c 62 ter styles 5"><b
1a50: 72 3e 0d 0a 54 68 65 6e 20 65 61 63 68 20 73 69 r>..Then each si
1a60: 6e 67 6c 65 20 58 4d 4c 20 64 6f 63 75 6d 65 6e ngle XML documen
1a70: 74 20 77 69 6c 6c 20 62 65 20 6c 6f 61 64 65 64 t will be loaded
1a80: 20 28 65 78 61 63 74 6c 79 20 61 73 20 77 65 27 (exactly as we'
1a90: 76 65 20 61 6c 72 65 61 64 79 20 73 65 65 6e 20 ve already seen
1aa0: 69 6e 20 74 68 65 20 70 72 65 76 69 6f 75 73 20 in the previous
1ab0: 73 74 65 70 29 2e 3c 62 72 3e 3c 62 72 3e 0d 0a step).<br><br>..
1ac0: 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 3a <img src="https:
1ad0: 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 //www.gaia-gis.i
1ae0: 74 2f 67 61 69 61 2d 73 69 6e 73 2f 73 70 61 74 t/gaia-sins/spat
1af0: 69 61 6c 69 74 65 2d 67 75 69 2d 70 69 63 2f 72 ialite-gui-pic/r
1b00: 61 73 74 65 72 2d 73 74 79 6c 65 73 2d 36 2e 70 aster-styles-6.p
1b10: 6e 67 22 20 61 6c 74 3d 22 72 61 73 74 65 72 20 ng" alt="raster
1b20: 73 74 79 6c 65 73 20 36 22 3e 3c 62 72 3e 0d 0a styles 6"><br>..
1b30: 59 6f 75 20 63 6f 75 6c 64 20 65 76 65 6e 74 75 You could eventu
1b40: 61 6c 6c 79 20 72 65 6d 6f 76 65 20 73 6f 6d 65 ally remove some
1b50: 20 61 6c 72 65 61 64 79 20 64 65 66 69 6e 65 64 already defined
1b60: 20 53 74 79 6c 65 3b 20 6a 75 73 74 20 3c 62 3e Style; just <b>
1b70: 3c 69 3e 6c 65 66 74 2d 63 6c 69 63 6b 3c 2f 69 <i>left-click</i
1b80: 3e 3c 2f 62 3e 20 6f 6e 20 74 68 65 20 63 6f 72 ></b> on the cor
1b90: 72 65 73 70 6f 6e 64 69 6e 67 20 72 6f 77 2e 3c responding row.<
1ba0: 62 72 3e 3c 62 72 3e 0d 0a 3c 69 6d 67 20 73 72 br><br>..<img sr
1bb0: 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 c="https://www.g
1bc0: 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d aia-gis.it/gaia-
1bd0: 73 69 6e 73 2f 73 70 61 74 69 61 6c 69 74 65 2d sins/spatialite-
1be0: 67 75 69 2d 70 69 63 2f 72 61 73 74 65 72 2d 73 gui-pic/raster-s
1bf0: 74 79 6c 65 73 2d 37 2e 70 6e 67 22 20 61 6c 74 tyles-7.png" alt
1c00: 3d 22 72 61 73 74 65 72 20 73 74 79 6c 65 73 20 ="raster styles
1c10: 37 22 3e 3c 62 72 3e 0d 0a 41 66 74 65 72 20 66 7"><br>..After f
1c20: 69 6e 61 6c 20 63 6f 6e 66 69 72 6d 61 74 69 6f inal confirmatio
1c30: 6e 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 53 n the selected S
1c40: 74 79 6c 65 20 77 69 6c 6c 20 62 65 20 64 65 66 tyle will be def
1c50: 69 6e 69 74 65 6c 79 20 72 65 6d 6f 76 65 64 20 initely removed
1c60: 66 72 6f 6d 20 74 68 65 20 43 6f 76 65 72 61 67 from the Coverag
1c70: 65 2e 0d 0a 3c 68 33 3e 33 2e 33 20 2d 20 43 6f e...<h3>3.3 - Co
1c80: 76 65 72 61 67 65 20 54 69 6c 65 73 20 50 72 65 verage Tiles Pre
1c90: 76 69 65 77 3c 2f 68 33 3e 0d 0a 3c 69 6d 67 20 view</h3>..<img
1ca0: 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 src="https://www
1cb0: 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 .gaia-gis.it/gai
1cc0: 61 2d 73 69 6e 73 2f 73 70 61 74 69 61 6c 69 74 a-sins/spatialit
1cd0: 65 2d 67 75 69 2d 70 69 63 2f 74 69 6c 65 2d 70 e-gui-pic/tile-p
1ce0: 72 65 76 69 65 77 2d 31 2e 70 6e 67 22 20 61 6c review-1.png" al
1cf0: 74 3d 22 74 69 6c 65 20 70 72 65 76 69 65 77 20 t="tile preview
1d00: 31 22 3e 3c 62 72 3e 0d 0a 46 6f 72 20 65 61 63 1"><br>..For eac
1d10: 68 20 3c 62 3e 26 6c 74 3b 3c 69 3e 63 6f 76 65 h <b><<i>cove
1d20: 72 61 67 65 2d 70 72 65 66 69 78 3c 2f 69 3e 26 rage-prefix</i>&
1d30: 67 74 3b 5f 74 69 6c 65 5f 64 61 74 61 3c 2f 62 gt;_tile_data</b
1d40: 3e 20 74 61 62 6c 65 20 28 74 68 65 20 6f 6e 65 > table (the one
1d50: 20 65 66 66 65 63 74 69 76 65 6c 79 20 63 6f 6e effectively con
1d60: 74 61 69 6e 69 6e 67 20 72 61 73 74 65 72 20 74 taining raster t
1d70: 69 6c 65 73 29 20 61 20 3c 62 3e 70 72 65 76 69 iles) a <b>previ
1d80: 65 77 3c 2f 62 3e 20 66 65 61 74 75 72 65 20 69 ew</b> feature i
1d90: 73 20 73 75 70 70 6f 72 74 65 64 2e 3c 62 72 3e s supported.<br>
1da0: 3c 62 72 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 <br>..<img src="
1db0: 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 https://www.gaia
1dc0: 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e -gis.it/gaia-sin
1dd0: 73 2f 73 70 61 74 69 61 6c 69 74 65 2d 67 75 69 s/spatialite-gui
1de0: 2d 70 69 63 2f 74 69 6c 65 2d 70 72 65 76 69 65 -pic/tile-previe
1df0: 77 2d 32 2e 6a 70 67 22 20 61 6c 74 3d 22 74 69 w-2.jpg" alt="ti
1e00: 6c 65 20 70 72 65 76 69 65 77 20 32 22 3e 3c 62 le preview 2"><b
1e10: 72 3e 0d 0a 45 61 63 68 20 74 69 6c 65 20 77 69 r>..Each tile wi
1e20: 6c 6c 20 62 65 20 73 68 6f 77 6e 20 61 63 63 6f ll be shown acco
1e30: 72 64 69 6e 67 6c 79 20 74 6f 20 74 68 65 20 43 rdingly to the C
1e40: 6f 76 65 72 61 67 65 27 73 20 3c 75 3e 3c 69 3e overage's <u><i>
1e50: 64 65 66 61 75 6c 74 3c 2f 69 3e 3c 2f 75 3e 20 default</i></u>
1e60: 73 74 79 6c 65 2e 3c 62 72 3e 3c 62 72 3e 0d 0a style.<br><br>..
1e70: 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 3a <img src="https:
1e80: 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 //www.gaia-gis.i
1e90: 74 2f 67 61 69 61 2d 73 69 6e 73 2f 73 70 61 74 t/gaia-sins/spat
1ea0: 69 61 6c 69 74 65 2d 67 75 69 2d 70 69 63 2f 74 ialite-gui-pic/t
1eb0: 69 6c 65 2d 70 72 65 76 69 65 77 2d 33 2e 70 6e ile-preview-3.pn
1ec0: 67 22 20 61 6c 74 3d 22 74 69 6c 65 20 70 72 65 g" alt="tile pre
1ed0: 76 69 65 77 20 33 22 3e 3c 62 72 3e 0d 0a 49 6e view 3"><br>..In
1ee0: 20 74 68 65 20 73 70 65 63 69 61 6c 20 63 61 73 the special cas
1ef0: 65 20 6f 66 20 74 69 6c 65 73 20 61 64 6f 70 74 e of tiles adopt
1f00: 69 6e 67 20 73 6f 6d 65 20 65 78 6f 74 69 63 20 ing some exotic
1f10: 70 69 78 65 6c 20 66 6f 72 6d 61 74 20 28 65 2e pixel format (e.
1f20: 67 2e 20 55 49 4e 54 33 32 2c 20 46 4c 4f 41 54 g. UINT32, FLOAT
1f30: 20 6f 72 20 44 4f 55 42 4c 45 29 20 61 20 64 65 or DOUBLE) a de
1f40: 66 61 75 6c 74 20 3c 75 3e 3c 69 3e 67 72 61 79 fault <u><i>gray
1f50: 73 63 61 6c 65 3c 2f 69 3e 3c 2f 75 3e 20 72 65 scale</i></u> re
1f60: 6e 64 65 72 69 6e 67 20 77 69 6c 6c 20 62 65 20 ndering will be
1f70: 61 64 6f 70 74 65 64 2e 3c 62 72 3e 0d 0a 49 6e adopted.<br>..In
1f80: 20 74 68 65 20 76 65 72 79 20 73 70 65 63 69 61 the very specia
1f90: 6c 20 63 61 73 65 20 6f 66 20 3c 75 3e 3c 69 3e l case of <u><i>
1fa0: 6d 75 6c 74 69 2d 62 61 6e 64 3c 2f 69 3e 3c 2f multi-band</i></
1fb0: 75 3e 20 70 69 78 65 6c 73 20 6f 6e 6c 79 20 74 u> pixels only t
1fc0: 68 65 20 66 69 72 73 74 20 62 61 6e 64 20 28 3c he first band (<
1fd0: 62 3e 42 61 6e 64 20 23 30 3c 2f 62 3e 29 20 77 b>Band #0</b>) w
1fe0: 69 6c 6c 20 62 65 20 73 68 6f 77 6e 2e 0d 0a 3c ill be shown...<
1ff0: 62 72 3e 3c 62 72 3e 3c 68 72 3e 0d 0a 42 61 63 br><br><hr>..Bac
2000: 6b 20 74 6f 20 3c 61 20 68 72 65 66 3d 22 68 74 k to <a href="ht
2010: 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 tps://www.gaia-g
2020: 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f 73 70 61 is.it/fossil/spa
2030: 74 69 61 6c 69 74 65 5f 67 75 69 2f 77 69 6b 69 tialite_gui/wiki
2040: 3f 6e 61 6d 65 3d 73 70 61 74 69 61 6c 69 74 65 ?name=spatialite
2050: 2d 67 75 69 22 3e 6d 61 69 6e 20 57 69 6b 69 20 -gui">main Wiki
2060: 70 61 67 65 3c 2f 61 3e 0a 5a 20 32 66 62 32 39 page</a>.Z 2fb29
2070: 39 32 63 36 38 38 32 35 32 66 30 66 30 66 34 32 92c688252f0f0f42
2080: 61 63 35 38 37 62 62 33 37 66 33 0a ac587bb37f3.