Hex Artifact Content
Not logged in

Artifact c04f9668012f06227090564e8680b963233ee0c4:

Wiki page [version-1.8.0] by sandro 2016-07-04 09:26:49.
0000: 44 20 32 30 31 36 2d 30 37 2d 30 34 54 30 39 3a  D 2016-07-04T09:
0010: 32 36 3a 34 39 2e 30 38 32 0a 4c 20 76 65 72 73  26:49.082.L vers
0020: 69 6f 6e 2d 31 2e 38 2e 30 0a 50 20 65 39 66 38  ion-1.8.0.P e9f8
0030: 30 64 35 37 62 62 65 35 39 37 39 63 30 32 66 33  0d57bbe5979c02f3
0040: 61 30 32 39 37 63 35 65 63 35 63 32 34 36 30 33  a0297c5ec5c24603
0050: 34 39 38 36 0a 55 20 73 61 6e 64 72 6f 0a 57 20  4986.U sandro.W 
0060: 38 31 33 32 0a 42 61 63 6b 20 74 6f 20 3c 61 20  8132.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 75 6c 74 69 70 6c 65 20 53  uting multiple S
0130: 51 4c 20 73 74 61 74 65 6d 65 6e 74 73 20 69 6e  QL statements in
0140: 20 61 20 73 69 6e 67 6c 65 20 73 68 6f 74 3c 2f   a single shot</
0150: 68 32 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68  h2>..<img src="h
0160: 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d  ttps://www.gaia-
0170: 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73  gis.it/gaia-sins
0180: 2f 73 70 61 74 69 61 6c 69 74 65 2d 67 75 69 2d  /spatialite-gui-
0190: 70 69 63 2f 6d 75 6c 74 69 2d 73 74 6d 74 2e 70  pic/multi-stmt.p
01a0: 6e 67 22 20 61 6c 74 3d 22 6d 75 6c 74 69 70 6c  ng" alt="multipl
01b0: 65 20 53 51 4c 20 73 74 61 74 65 6d 65 6e 74 73  e SQL statements
01c0: 22 3e 3c 62 72 3e 0d 0a 54 68 65 20 65 78 65 63  "><br>..The exec
01d0: 75 74 69 6f 6e 20 6f 66 20 6d 75 6c 74 69 70 6c  ution of multipl
01e0: 65 20 53 51 4c 20 73 74 61 74 65 6d 65 6e 74 73  e SQL statements
01f0: 20 69 6e 20 61 20 73 69 6e 67 6c 65 20 70 61 73   in a single pas
0200: 73 20 69 73 20 6e 6f 77 20 73 75 70 70 6f 72 74  s is now support
0210: 65 64 3a 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 65  ed:..<ul>..<li>e
0220: 78 65 63 75 74 69 6f 6e 20 77 69 6c 6c 20 69 6d  xecution will im
0230: 6d 65 64 69 61 74 65 6c 79 20 73 74 6f 70 20 77  mediately stop w
0240: 68 65 6e 20 73 6f 6d 65 20 53 51 4c 20 65 72 72  hen some SQL err
0250: 6f 72 20 69 73 20 65 76 65 6e 74 75 61 6c 6c 79  or is eventually
0260: 20 66 6f 75 6e 64 3b 20 74 68 69 73 20 70 72 61   found; this pra
0270: 63 74 69 63 61 6c 6c 79 20 6d 65 61 6e 73 20 74  ctically means t
0280: 68 61 74 20 73 6f 6d 65 20 73 74 61 74 65 6d 65  hat some stateme
0290: 6e 74 73 20 63 6f 75 6c 64 20 62 65 20 65 66 66  nts could be eff
02a0: 65 63 74 69 76 65 6c 79 20 70 72 6f 63 65 73 73  ectively process
02b0: 65 64 2c 20 77 68 69 6c 65 20 6f 74 68 65 72 20  ed, while other 
02c0: 73 74 61 74 65 6d 65 6e 74 73 20 63 6f 75 6c 64  statements could
02d0: 20 62 65 20 69 67 6e 6f 72 65 64 20 64 75 65 20   be ignored due 
02e0: 74 6f 20 70 72 65 6d 61 74 75 72 65 20 74 65 72  to premature ter
02f0: 6d 69 6e 61 74 69 6f 6e 2e 3c 2f 6c 69 3e 0d 0a  mination.</li>..
0300: 3c 6c 69 3e 6f 6e 6c 79 20 74 68 65 20 3c 75 3e  <li>only the <u>
0310: 3c 69 3e 72 65 73 75 6c 74 73 65 74 3c 2f 69 3e  <i>resultset</i>
0320: 3c 2f 75 3e 20 28 69 66 20 61 6e 79 29 20 72 65  </u> (if any) re
0330: 74 75 72 6e 65 64 20 62 79 20 74 68 65 20 6d 6f  turned by the mo
0340: 73 74 20 72 65 63 65 6e 74 20 53 51 4c 20 73 74  st recent SQL st
0350: 61 74 65 6d 65 6e 74 20 62 65 69 6e 67 20 73 75  atement being su
0360: 63 63 65 73 73 66 75 6c 6c 79 20 65 78 65 63 75  ccessfully execu
0370: 74 65 64 20 77 69 6c 6c 20 62 65 20 73 68 6f 77  ted will be show
0380: 6e 20 69 6e 20 74 68 65 20 70 61 6e 65 6c 2e 3c  n in the panel.<
0390: 2f 6c 69 3e 0d 0a 3c 6c 69 3e 65 78 70 6c 69 63  /li>..<li>explic
03a0: 69 74 6c 79 20 74 65 72 6d 69 6e 61 74 69 6e 67  itly terminating
03b0: 20 65 61 63 68 20 73 69 6e 67 6c 65 20 53 51 4c   each single SQL
03c0: 20 73 74 61 74 65 6d 65 6e 74 20 62 79 20 69 6e   statement by in
03d0: 73 65 72 74 69 6e 67 20 61 20 3c 75 3e 3c 69 3e  serting a <u><i>
03e0: 73 65 6d 69 2d 63 6f 6c 6f 6e 3c 2f 69 3e 3c 2f  semi-colon</i></
03f0: 75 3e 20 28 3c 62 3e 3b 3c 2f 62 3e 29 20 69 73  u> (<b>;</b>) is
0400: 20 61 6e 20 61 6c 77 61 79 73 20 73 75 67 67 65   an always sugge
0410: 73 74 65 64 20 67 6f 6f 64 20 70 72 61 63 74 69  sted good practi
0420: 63 65 20 77 68 65 6e 20 65 78 65 63 75 74 69 6e  ce when executin
0430: 67 20 6d 75 6c 74 69 70 6c 65 20 73 74 61 74 65  g multiple state
0440: 6d 65 6e 74 73 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 75  ments.</li>..</u
0450: 6c 3e 3c 62 72 3e 0d 0a 3c 68 72 3e 0d 0a 3c 68  l><br>..<hr>..<h
0460: 32 3e 32 20 2d 20 44 42 20 63 6f 6e 6e 65 63 74  2>2 - DB connect
0470: 69 6f 6e 73 20 61 6e 64 20 53 65 63 75 72 69 74  ions and Securit
0480: 79 20 6d 6f 64 65 73 3c 2f 68 32 3e 0d 0a 41 73  y modes</h2>..As
0490: 20 79 6f 75 20 70 72 6f 62 61 62 6c 79 20 72 65   you probably re
04a0: 6d 65 6d 62 65 72 2c 20 74 68 65 72 65 20 61 72  member, there ar
04b0: 65 20 66 65 77 20 53 51 4c 20 66 75 6e 63 74 69  e few SQL functi
04c0: 6f 6e 73 20 73 75 70 70 6f 72 74 65 64 20 62 79  ons supported by
04d0: 20 53 70 61 74 69 61 4c 69 74 65 20 74 68 61 74   SpatiaLite that
04e0: 20 63 6f 75 6c 64 20 65 76 65 6e 74 75 61 6c 6c   could eventuall
04f0: 79 20 70 6f 73 65 20 73 6f 6d 65 20 73 65 63 75  y pose some secu
0500: 72 69 74 79 20 63 6f 6e 63 65 72 6e 20 62 65 63  rity concern bec
0510: 61 75 73 65 20 74 68 65 79 20 69 6d 70 6c 65 6d  ause they implem
0520: 65 6e 74 20 73 6f 6d 65 20 6b 69 6e 64 20 6f 66  ent some kind of
0530: 20 64 69 72 65 63 74 20 64 61 74 61 20 65 78 63   direct data exc
0540: 68 61 6e 67 65 20 62 65 74 77 65 65 6e 20 74 68  hange between th
0550: 65 20 44 42 20 61 6e 64 20 74 68 65 20 6c 6f 63  e DB and the loc
0560: 61 6c 20 66 69 6c 65 2d 73 79 73 74 65 6d 2e 3c  al file-system.<
0570: 62 72 3e 0d 0a 49 6e 20 74 68 65 20 77 6f 72 73  br>..In the wors
0580: 74 20 70 6f 73 73 69 62 6c 65 20 73 63 65 6e 61  t possible scena
0590: 72 69 6f 20 61 6e 20 68 79 70 6f 74 68 65 74 69  rio an hypotheti
05a0: 63 61 6c 20 68 61 63 6b 65 72 20 63 6f 75 6c 64  cal hacker could
05b0: 20 65 76 65 6e 74 75 61 6c 6c 79 20 61 74 74 65   eventually atte
05c0: 6d 70 74 20 74 6f 20 61 74 74 61 63 6b 20 61 6e  mpt to attack an
05d0: 20 65 78 74 65 72 6e 61 6c 20 73 79 73 74 65 6d   external system
05e0: 20 62 79 20 6f 66 66 65 72 69 6e 67 20 66 6f 72   by offering for
05f0: 20 64 6f 77 6e 6c 6f 61 64 20 61 20 70 75 72 70   download a purp
0600: 6f 73 65 6c 79 20 66 6f 72 67 65 64 20 53 70 61  osely forged Spa
0610: 74 69 61 4c 69 74 65 20 44 42 20 63 6f 6e 74 61  tiaLite DB conta
0620: 69 6e 69 6e 67 20 6d 61 6c 69 63 69 6f 75 73 6c  ining maliciousl
0630: 79 20 66 6f 72 67 65 64 20 54 72 69 67 67 65 72  y forged Trigger
0640: 73 2c 20 61 6e 64 20 74 68 65 20 75 73 65 72 20  s, and the user 
0650: 77 69 6c 6c 20 74 68 65 6e 20 62 65 20 63 6f 6d  will then be com
0660: 70 6c 65 74 65 6c 79 20 75 6e 61 77 61 72 65 20  pletely unaware 
0670: 6f 66 20 73 75 63 68 20 61 20 70 6f 74 65 6e 74  of such a potent
0680: 69 61 6c 6c 79 20 64 61 6e 67 65 72 6f 75 73 20  ially dangerous 
0690: 74 68 72 65 61 74 2e 3c 62 72 3e 3c 62 72 3e 0d  threat.<br><br>.
06a0: 0a 54 68 65 20 73 74 61 6e 64 61 72 64 20 61 70  .The standard ap
06b0: 70 72 6f 61 63 68 20 69 6d 70 6c 65 6d 65 6e 74  proach implement
06c0: 65 64 20 62 79 20 3c 75 3e 3c 69 3e 6c 69 62 73  ed by <u><i>libs
06d0: 70 61 74 69 61 6c 69 74 65 3c 2f 69 3e 3c 2f 75  patialite</i></u
06e0: 3e 20 69 73 20 74 68 65 20 6f 6e 65 20 74 6f 20  > is the one to 
06f0: 61 6c 77 61 79 73 20 6b 65 65 70 20 63 6f 6d 70  always keep comp
0700: 6c 65 74 65 6c 79 20 64 69 73 61 62 6c 65 64 20  letely disabled 
0710: 61 6c 6c 20 74 68 65 73 65 20 70 6f 74 65 6e 74  all these potent
0720: 69 61 6c 6c 79 20 68 61 72 6d 66 75 6c 20 53 51  ially harmful SQ
0730: 4c 20 66 75 6e 63 74 69 6f 6e 73 2c 20 75 6e 6c  L functions, unl
0740: 65 73 73 20 74 68 65 20 3c 75 3e 3c 69 3e 65 6e  ess the <u><i>en
0750: 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62  vironment variab
0760: 6c 65 3c 2f 69 3e 3c 2f 75 3e 20 3c 62 3e 53 50  le</i></u> <b>SP
0770: 41 54 49 41 4c 49 54 45 5f 53 45 43 55 52 49 54  ATIALITE_SECURIT
0780: 59 3d 3c 69 3e 72 65 6c 61 78 65 64 3c 2f 69 3e  Y=<i>relaxed</i>
0790: 3c 2f 62 3e 20 69 73 20 65 78 70 6c 69 63 69 74  </b> is explicit
07a0: 6c 79 20 73 65 74 20 62 79 20 74 68 65 20 75 73  ly set by the us
07b0: 65 72 2e 3c 62 72 3e 0d 0a 4e 6f 77 20 3c 62 3e  er.<br>..Now <b>
07c0: 73 70 61 74 69 61 6c 69 74 65 5f 67 75 69 3c 2f  spatialite_gui</
07d0: 62 3e 20 73 75 70 70 6f 72 74 20 61 20 73 6d 61  b> support a sma
07e0: 72 74 65 72 20 61 6e 64 20 65 61 73 69 65 73 74  rter and easiest
07f0: 20 61 70 70 72 6f 61 63 68 2c 20 63 6f 6d 70 6c   approach, compl
0800: 65 74 65 6c 79 20 62 61 73 65 64 20 6f 6e 20 69  etely based on i
0810: 6e 74 65 72 6e 61 6c 20 61 63 74 69 6f 6e 73 20  nternal actions 
0820: 61 6e 64 20 6e 6f 20 6c 6f 6e 67 65 72 20 72 65  and no longer re
0830: 71 75 69 72 69 6e 67 20 61 6e 79 20 65 78 70 6c  quiring any expl
0840: 69 63 69 74 20 75 73 65 72 20 61 63 74 69 6f 6e  icit user action
0850: 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 69 6d 67 20  .<br><br>..<img 
0860: 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77  src="https://www
0870: 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69  .gaia-gis.it/gai
0880: 61 2d 73 69 6e 73 2f 73 70 61 74 69 61 6c 69 74  a-sins/spatialit
0890: 65 2d 67 75 69 2d 70 69 63 2f 73 65 63 75 72 69  e-gui-pic/securi
08a0: 74 79 2d 6e 6f 74 2d 63 6f 6e 6e 65 63 74 65 64  ty-not-connected
08b0: 2e 70 6e 67 22 20 61 6c 74 3d 22 6e 6f 74 20 63  .png" alt="not c
08c0: 6f 6e 6e 65 63 74 65 64 22 3e 3c 62 72 3e 0d 0a  onnected"><br>..
08d0: 3c 75 3e 50 6c 65 61 73 65 20 6e 6f 74 65 3c 2f  <u>Please note</
08e0: 75 3e 3a 20 6e 6f 77 20 61 20 73 6d 61 6c 6c 20  u>: now a small 
08f0: 3c 75 3e 3c 69 3e 69 63 6f 6e 3c 2f 69 3e 3c 2f  <u><i>icon</i></
0900: 75 3e 20 61 6c 77 61 79 73 20 73 68 6f 77 73 20  u> always shows 
0910: 74 68 65 20 73 74 61 74 75 73 20 6f 66 20 74 68  the status of th
0920: 65 20 63 75 72 72 65 6e 74 20 44 42 20 43 6f 6e  e current DB Con
0930: 6e 65 63 74 69 6f 6e 2e 0d 0a 3c 68 33 3e 63 61  nection...<h3>ca
0940: 73 65 20 41 29 20 63 6f 6e 6e 65 63 74 69 6e 67  se A) connecting
0950: 20 74 6f 20 61 20 73 61 6e 65 20 44 42 3c 2f 68   to a sane DB</h
0960: 33 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74  3>..<img src="ht
0970: 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67  tps://www.gaia-g
0980: 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f  is.it/gaia-sins/
0990: 73 70 61 74 69 61 6c 69 74 65 2d 67 75 69 2d 70  spatialite-gui-p
09a0: 69 63 2f 73 65 63 75 72 69 74 79 2d 72 65 6c 61  ic/security-rela
09b0: 78 65 64 2e 70 6e 67 22 20 61 6c 74 3d 22 73 65  xed.png" alt="se
09c0: 63 75 72 69 74 79 20 72 65 6c 61 78 65 64 22 3e  curity relaxed">
09d0: 3c 62 72 3e 0d 0a 3c 62 3e 73 70 61 74 69 61 6c  <br>..<b>spatial
09e0: 69 74 65 5f 67 75 69 3c 2f 62 3e 20 77 69 6c 6c  ite_gui</b> will
09f0: 20 6e 6f 77 20 61 6c 77 61 79 73 20 70 65 72 66   now always perf
0a00: 6f 72 6d 20 61 20 70 72 65 6c 69 6d 69 6e 61 72  orm a preliminar
0a10: 79 20 73 61 6e 69 74 79 20 63 68 65 63 6b 20 3c  y sanity check <
0a20: 62 3e 62 65 66 6f 72 65 3c 2f 62 3e 20 63 6f 6e  b>before</b> con
0a30: 6e 65 63 74 69 6e 67 20 74 6f 20 61 6e 20 65 78  necting to an ex
0a40: 69 73 74 69 6e 67 20 44 42 2e 0d 0a 3c 75 6c 3e  isting DB...<ul>
0a50: 0d 0a 3c 6c 69 3e 77 68 65 6e 20 6e 6f 20 73 65  ..<li>when no se
0a60: 63 75 72 69 74 79 20 63 6f 6e 63 65 72 6e 73 20  curity concerns 
0a70: 77 65 72 65 20 66 6f 75 6e 64 2c 20 74 68 65 6e  were found, then
0a80: 20 3c 62 3e 73 70 61 74 69 61 6c 69 74 65 5f 67   <b>spatialite_g
0a90: 75 69 3c 2f 62 3e 20 77 69 6c 6c 20 61 75 74 6f  ui</b> will auto
0aa0: 6d 61 74 69 63 61 6c 6c 79 20 65 6e 61 62 6c 65  matically enable
0ab0: 20 3c 62 3e 53 50 41 54 49 41 4c 49 54 45 5f 53   <b>SPATIALITE_S
0ac0: 45 43 55 52 49 54 59 3d 3c 69 3e 72 65 6c 61 78  ECURITY=<i>relax
0ad0: 65 64 3c 2f 69 3e 3c 2f 62 3e 3c 2f 6c 69 3e 0d  ed</i></b></li>.
0ae0: 0a 3c 6c 69 3e 74 68 75 73 20 61 6c 6c 6f 77 69  .<li>thus allowi
0af0: 6e 67 20 74 68 65 20 75 73 65 72 20 74 6f 20 66  ng the user to f
0b00: 72 65 65 6c 79 20 69 6e 76 6f 6b 65 20 61 6c 6c  reely invoke all
0b10: 20 73 65 63 75 72 69 74 79 2d 72 65 6c 61 74 65   security-relate
0b20: 64 20 53 51 4c 20 66 75 6e 63 74 69 6f 6e 73 20  d SQL functions 
0b30: 77 69 74 68 6f 75 74 20 61 6e 79 20 72 65 73 74  without any rest
0b40: 72 69 63 74 69 6f 6e 73 2e 3c 2f 6c 69 3e 0d 0a  rictions.</li>..
0b50: 3c 6c 69 3e 69 6e 20 74 68 69 73 20 63 61 73 65  <li>in this case
0b60: 20 74 68 65 20 3c 75 3e 3c 69 3e 63 6f 6e 6e 65   the <u><i>conne
0b70: 63 74 69 6f 6e 20 69 63 6f 6e 3c 2f 69 3e 3c 2f  ction icon</i></
0b80: 75 3e 20 74 68 61 74 20 77 69 6c 6c 20 62 65 20  u> that will be 
0b90: 73 68 6f 77 6e 2c 20 63 61 6e 20 62 65 20 73 65  shown, can be se
0ba0: 65 6e 20 69 6e 20 74 68 65 20 61 62 6f 76 65 20  en in the above 
0bb0: 66 69 67 75 72 65 2e 3c 2f 6c 69 3e 0d 0a 3c 2f  figure.</li>..</
0bc0: 75 6c 3e 0d 0a 3c 68 33 3e 63 61 73 65 20 42 29  ul>..<h3>case B)
0bd0: 20 73 74 61 72 74 69 6e 67 20 61 20 52 45 41 44   starting a READ
0be0: 20 4f 4e 4c 59 20 44 42 20 63 6f 6e 6e 65 63 74   ONLY DB connect
0bf0: 69 6f 6e 3c 2f 68 33 3e 0d 0a 3c 69 6d 67 20 73  ion</h3>..<img s
0c00: 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e  rc="https://www.
0c10: 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61  gaia-gis.it/gaia
0c20: 2d 73 69 6e 73 2f 73 70 61 74 69 61 6c 69 74 65  -sins/spatialite
0c30: 2d 67 75 69 2d 70 69 63 2f 73 65 63 75 72 69 74  -gui-pic/securit
0c40: 79 2d 72 64 6f 6e 6c 79 2e 70 6e 67 22 20 61 6c  y-rdonly.png" al
0c50: 74 3d 22 73 65 63 75 72 69 74 79 20 72 65 61 64  t="security read
0c60: 20 6f 6e 6c 79 22 3e 3c 62 72 3e 0d 0a 3c 75 6c   only"><br>..<ul
0c70: 3e 0d 0a 3c 6c 69 3e 77 68 65 6e 65 76 65 72 20  >..<li>whenever 
0c80: 61 20 3c 62 3e 52 45 41 44 20 4f 4e 4c 59 3c 2f  a <b>READ ONLY</
0c90: 62 3e 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 68 61  b> connection ha
0ca0: 73 20 62 65 65 6e 20 65 73 74 61 62 6c 69 73 68  s been establish
0cb0: 65 64 2c 20 61 6c 6c 20 73 65 63 75 72 69 74 79  ed, all security
0cc0: 20 72 65 73 74 72 69 63 74 69 6f 6e 73 20 77 69   restrictions wi
0cd0: 6c 6c 20 62 65 20 65 6e 66 6f 72 63 65 64 2e 3c  ll be enforced.<
0ce0: 2f 6c 69 3e 0d 0a 3c 6c 69 3e 69 6e 20 74 68 69  /li>..<li>in thi
0cf0: 73 20 63 61 73 65 20 74 68 65 20 3c 75 3e 3c 69  s case the <u><i
0d00: 3e 63 6f 6e 6e 65 63 74 69 6f 6e 20 69 63 6f 6e  >connection icon
0d10: 3c 2f 69 3e 3c 2f 75 3e 20 74 68 61 74 20 77 69  </i></u> that wi
0d20: 6c 6c 20 62 65 20 73 68 6f 77 6e 2c 20 63 61 6e  ll be shown, can
0d30: 20 62 65 20 73 65 65 6e 20 69 6e 20 74 68 65 20   be seen in the 
0d40: 61 62 6f 76 65 20 66 69 67 75 72 65 2e 3c 2f 6c  above figure.</l
0d50: 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c 68 33 3e 63  i>..</ul>..<h3>c
0d60: 61 73 65 20 43 29 20 63 6f 6e 6e 65 63 74 69 6e  ase C) connectin
0d70: 67 20 74 6f 20 61 20 70 6f 74 65 6e 74 69 61 6c  g to a potential
0d80: 6c 79 20 68 61 72 6d 66 75 6c 20 44 42 3c 2f 68  ly harmful DB</h
0d90: 33 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74  3>..<img src="ht
0da0: 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67  tps://www.gaia-g
0db0: 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f  is.it/gaia-sins/
0dc0: 73 70 61 74 69 61 6c 69 74 65 2d 67 75 69 2d 70  spatialite-gui-p
0dd0: 69 63 2f 73 65 63 75 72 69 74 79 2d 61 6c 65 72  ic/security-aler
0de0: 74 2e 70 6e 67 22 20 61 6c 74 3d 22 73 65 63 75  t.png" alt="secu
0df0: 72 69 74 79 20 61 6c 65 72 74 22 3e 3c 62 72 3e  rity alert"><br>
0e00: 0d 0a 49 6e 20 74 68 65 20 75 6e 6c 75 63 6b 79  ..In the unlucky
0e10: 20 63 61 73 65 2c 20 77 68 65 6e 20 74 68 65 20   case, when the 
0e20: 70 72 65 6c 69 6d 69 6e 61 72 79 20 73 65 63 75  preliminary secu
0e30: 72 69 74 79 20 63 68 65 63 6b 20 69 64 65 6e 74  rity check ident
0e40: 69 66 69 65 73 20 73 6f 6d 65 20 70 72 6f 62 6c  ifies some probl
0e50: 65 6d 61 74 69 63 20 54 72 69 67 67 65 72 2c 20  ematic Trigger, 
0e60: 61 6e 20 61 70 70 72 6f 70 72 69 61 74 65 20 3c  an appropriate <
0e70: 75 3e 3c 69 3e 73 65 63 75 72 69 74 79 20 61 6c  u><i>security al
0e80: 65 72 74 3c 2f 69 3e 3c 2f 75 3e 20 77 69 6c 6c  ert</i></u> will
0e90: 20 6d 6d 65 64 69 61 74 65 6c 79 20 62 65 20 72   mmediately be r
0ea0: 61 69 73 65 64 2e 3c 62 72 3e 3c 62 72 3e 20 0d  aised.<br><br> .
0eb0: 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73  .<img src="https
0ec0: 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e  ://www.gaia-gis.
0ed0: 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 73 70 61  it/gaia-sins/spa
0ee0: 74 69 61 6c 69 74 65 2d 67 75 69 2d 70 69 63 2f  tialite-gui-pic/
0ef0: 73 65 63 75 72 69 74 79 2d 6c 6f 63 6b 2e 70 6e  security-lock.pn
0f00: 67 22 20 61 6c 74 3d 22 73 65 63 75 72 69 74 79  g" alt="security
0f10: 20 6c 6f 63 6b 22 3e 3c 62 72 3e 0d 0a 3c 75 6c   lock"><br>..<ul
0f20: 3e 0d 0a 3c 6c 69 3e 61 73 20 69 6e 20 61 6c 6c  >..<li>as in all
0f30: 20 73 75 63 68 20 63 61 73 65 73 2c 20 61 6c 6c   such cases, all
0f40: 20 73 65 63 75 72 69 74 79 20 72 65 73 74 72 69   security restri
0f50: 63 74 69 6f 6e 73 20 77 69 6c 6c 20 62 65 20 65  ctions will be e
0f60: 6e 66 6f 72 63 65 64 2e 0d 0a 3c 2f 6c 69 3e 0d  nforced...</li>.
0f70: 0a 3c 6c 69 3e 74 68 65 20 3c 75 3e 3c 69 3e 63  .<li>the <u><i>c
0f80: 6f 6e 6e 65 63 74 69 6f 6e 20 69 63 6f 6e 3c 2f  onnection icon</
0f90: 69 3e 3c 2f 75 3e 20 77 69 6c 6c 20 62 65 20 74  i></u> will be t
0fa0: 68 65 20 6f 6e 65 20 73 68 6f 77 6e 20 69 6e 20  he one shown in 
0fb0: 74 68 69 73 20 66 69 67 75 72 65 2e 3c 2f 6c 69  this figure.</li
0fc0: 3e 0d 0a 3c 6c 69 3e 3c 75 3e 50 6c 65 61 73 65  >..<li><u>Please
0fd0: 20 6e 6f 74 65 20 77 65 6c 6c 3c 2f 75 3e 3a 20   note well</u>: 
0fe0: 61 6e 79 77 61 79 20 61 6e 20 65 78 74 65 72 6e  anyway an extern
0ff0: 61 6c 20 28 69 2e 65 2e 20 66 72 6f 6d 20 74 68  al (i.e. from th
1000: 65 20 63 6f 6d 6d 61 6e 64 20 73 68 65 6c 6c 29  e command shell)
1010: 20 3c 62 3e 53 50 41 54 49 41 4c 49 54 45 5f 53   <b>SPATIALITE_S
1020: 45 43 55 52 49 54 59 3d 3c 69 3e 72 65 6c 61 78  ECURITY=<i>relax
1030: 65 64 3c 2f 69 3e 3c 2f 62 3e 20 64 65 63 6c 61  ed</i></b> decla
1040: 72 61 74 69 6f 6e 20 77 69 6c 6c 20 73 74 69 6c  ration will stil
1050: 6c 20 63 6f 6e 74 69 6e 75 65 20 74 6f 20 62 65  l continue to be
1060: 20 68 6f 6e 6f 72 65 64 2e 3c 2f 6c 69 3e 0d 0a   honored.</li>..
1070: 3c 2f 75 6c 3e 0d 0a 3c 68 32 3e 33 20 2d 20 52  </ul>..<h2>3 - R
1080: 61 73 74 65 72 4c 69 74 65 32 20 69 6e 74 65 67  asterLite2 integ
1090: 72 61 74 65 64 20 73 75 70 70 6f 72 74 3c 2f 68  rated support</h
10a0: 32 3e 0d 0a 53 74 61 72 74 69 6e 67 20 73 69 6e  2>..Starting sin
10b0: 63 65 20 76 65 72 73 69 6f 6e 20 3c 62 3e 32 2e  ce version <b>2.
10c0: 30 2e 30 3c 2f 62 3e 20 3c 69 3e 6c 69 62 72 61  0.0</b> <i>libra
10d0: 73 74 65 72 6c 69 74 65 32 3c 2f 69 3e 20 77 69  sterlite2</i> wi
10e0: 6c 6c 20 62 65 63 6f 6d 65 20 61 6e 20 69 6e 74  ll become an int
10f0: 65 67 72 61 6c 20 70 61 72 74 20 6f 66 20 3c 62  egral part of <b
1100: 3e 73 70 61 74 69 61 6c 69 74 65 5f 67 75 69 3c  >spatialite_gui<
1110: 2f 62 3e 20 28 69 2e 65 2e 20 69 74 20 77 69 6c  /b> (i.e. it wil
1120: 6c 20 62 65 63 6f 6d 65 20 61 20 6e 6f 74 20 63  l become a not c
1130: 6f 6e 66 69 67 75 72 61 62 6c 65 20 6d 61 6e 64  onfigurable mand
1140: 61 74 6f 72 79 20 64 65 70 65 6e 64 65 6e 63 79  atory dependency
1150: 29 2e 0d 0a 3c 68 33 3e 33 2e 31 20 2d 20 52 61  )...<h3>3.1 - Ra
1160: 73 74 65 72 20 43 6f 76 65 72 61 67 65 73 3c 2f  ster Coverages</
1170: 68 33 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68  h3>..<img src="h
1180: 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d  ttps://www.gaia-
1190: 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73  gis.it/gaia-sins
11a0: 2f 73 70 61 74 69 61 6c 69 74 65 2d 67 75 69 2d  /spatialite-gui-
11b0: 70 69 63 2f 72 61 73 74 65 72 2d 63 6f 76 65 72  pic/raster-cover
11c0: 61 67 65 73 2d 31 2e 70 6e 67 22 20 61 6c 74 3d  ages-1.png" alt=
11d0: 22 72 61 73 74 65 72 20 63 6f 76 65 72 61 67 65  "raster coverage
11e0: 73 20 31 22 3e 3c 62 72 3e 0d 0a 41 6c 6c 20 52  s 1"><br>..All R
11f0: 61 73 74 65 72 43 6f 76 65 72 61 67 65 2d 72 65  asterCoverage-re
1200: 6c 61 74 65 64 20 74 61 62 6c 65 73 20 77 69 6c  lated tables wil
1210: 6c 20 62 65 20 68 69 65 72 61 72 63 68 69 63 61  l be hierarchica
1220: 6c 6c 79 20 67 72 6f 75 70 65 64 20 61 73 20 61  lly grouped as a
1230: 20 64 69 73 74 69 6e 63 74 20 62 72 61 6e 63 68   distinct branch
1240: 20 6f 66 20 74 68 65 20 54 61 62 6c 65 73 20 54   of the Tables T
1250: 72 65 65 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 69  ree.<br><br>..<i
1260: 6d 67 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f  mg src="https://
1270: 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f  www.gaia-gis.it/
1280: 67 61 69 61 2d 73 69 6e 73 2f 73 70 61 74 69 61  gaia-sins/spatia
1290: 6c 69 74 65 2d 67 75 69 2d 70 69 63 2f 72 61 73  lite-gui-pic/ras
12a0: 74 65 72 2d 63 6f 76 65 72 61 67 65 73 2d 32 2e  ter-coverages-2.
12b0: 70 6e 67 22 20 61 6c 74 3d 22 72 61 73 74 65 72  png" alt="raster
12c0: 20 63 6f 76 65 72 61 67 65 73 20 32 22 3e 3c 62   coverages 2"><b
12d0: 72 3e 0d 0a 41 64 6d 69 6e 69 73 74 65 72 69 6e  r>..Administerin
12e0: 67 20 61 6c 6c 20 3c 75 3e 3c 69 3e 53 4c 44 2f  g all <u><i>SLD/
12f0: 53 45 20 53 74 79 6c 65 73 3c 2f 69 3e 3c 2f 75  SE Styles</i></u
1300: 3e 20 66 6f 72 20 65 61 63 68 20 73 69 6e 67 6c  > for each singl
1310: 65 20 52 61 73 74 65 72 20 43 6f 76 65 72 61 67  e Raster Coverag
1320: 65 20 77 69 6c 6c 20 6e 6f 77 20 62 65 20 64 69  e will now be di
1330: 72 65 63 74 6c 79 20 61 63 63 65 73 73 69 62 6c  rectly accessibl
1340: 65 20 76 69 61 20 74 68 65 20 63 6f 72 72 65 73  e via the corres
1350: 70 6f 6e 64 69 6e 67 20 63 6f 6e 74 65 78 74 20  ponding context 
1360: 6d 65 6e 75 2e 0d 0a 3c 68 33 3e 3c 61 20 6e 61  menu...<h3><a na
1370: 6d 65 3d 22 72 61 73 74 65 72 2d 73 74 79 6c 65  me="raster-style
1380: 73 22 3e 33 2e 32 20 2d 20 53 4c 44 2f 53 45 20  s">3.2 - SLD/SE 
1390: 53 74 79 6c 65 73 20 61 64 6d 69 6e 69 73 74 72  Styles administr
13a0: 61 74 69 6f 6e 3c 2f 61 3e 3c 2f 68 33 3e 0d 0a  ation</a></h3>..
13b0: 3c 68 34 3e 33 2e 32 61 20 2d 20 41 64 64 69 6e  <h4>3.2a - Addin
13c0: 67 20 61 20 6e 65 77 20 52 61 73 74 65 72 20 53  g a new Raster S
13d0: 74 79 6c 65 20 66 6f 72 20 61 20 67 69 76 65 6e  tyle for a given
13e0: 20 43 6f 76 65 72 61 67 65 3c 2f 68 34 3e 0d 0a   Coverage</h4>..
13f0: 59 6f 75 20 63 61 6e 20 61 63 63 65 73 73 20 74  You can access t
1400: 68 69 73 20 66 65 61 74 75 72 65 20 66 72 6f 6d  his feature from
1410: 20 74 68 65 20 63 6f 6e 74 65 78 74 20 6d 65 6e   the context men
1420: 75 2c 20 77 68 69 63 68 20 77 69 6c 6c 20 61 70  u, which will ap
1430: 70 6c 79 20 74 6f 20 74 68 65 20 63 6f 72 72 65  ply to the corre
1440: 73 70 6f 6e 64 69 6e 67 20 52 61 73 74 65 72 20  sponding Raster 
1450: 43 6f 76 65 72 61 67 65 2e 3c 62 72 3e 3c 62 72  Coverage.<br><br
1460: 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74 74  >..<img src="htt
1470: 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69  ps://www.gaia-gi
1480: 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 73  s.it/gaia-sins/s
1490: 70 61 74 69 61 6c 69 74 65 2d 67 75 69 2d 70 69  patialite-gui-pi
14a0: 63 2f 72 61 73 74 65 72 2d 73 74 79 6c 65 73 2d  c/raster-styles-
14b0: 31 2e 70 6e 67 22 20 61 6c 74 3d 22 72 61 73 74  1.png" alt="rast
14c0: 65 72 20 73 74 79 6c 65 73 20 31 22 3e 3c 62 72  er styles 1"><br
14d0: 3e 0d 0a 59 6f 75 20 73 68 6f 75 6c 64 20 66 69  >..You should fi
14e0: 72 73 74 20 73 65 6c 65 63 74 20 74 68 65 20 58  rst select the X
14f0: 4d 4c 20 64 6f 63 75 6d 65 6e 74 2c 20 66 72 6f  ML document, fro
1500: 6d 20 74 68 65 20 66 69 6c 65 2d 73 79 73 74 65  m the file-syste
1510: 6d 2c 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68  m, containing th
1520: 65 20 53 4c 44 2f 44 45 20 53 74 79 6c 65 20 79  e SLD/DE Style y
1530: 6f 75 20 69 6e 74 65 6e 64 20 74 6f 20 6c 6f 61  ou intend to loa
1540: 64 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 69 6d 67  d.<br><br>..<img
1550: 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77   src="https://ww
1560: 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61  w.gaia-gis.it/ga
1570: 69 61 2d 73 69 6e 73 2f 73 70 61 74 69 61 6c 69  ia-sins/spatiali
1580: 74 65 2d 67 75 69 2d 70 69 63 2f 72 61 73 74 65  te-gui-pic/raste
1590: 72 2d 73 74 79 6c 65 73 2d 32 2e 70 6e 67 22 20  r-styles-2.png" 
15a0: 61 6c 74 3d 22 72 61 73 74 65 72 20 73 74 79 6c  alt="raster styl
15b0: 65 73 20 32 22 3e 3c 62 72 3e 0d 0a 41 66 74 65  es 2"><br>..Afte
15c0: 72 20 74 68 65 20 66 69 6c 65 20 73 65 6c 65 63  r the file selec
15d0: 74 69 6f 6e 20 61 6e 64 20 70 72 65 73 73 69 6e  tion and pressin
15e0: 67 20 27 3c 62 3e 4f 4b 3c 2f 62 3e 27 2c 20 74  g '<b>OK</b>', t
15f0: 68 65 20 58 4d 4c 20 64 6f 63 75 6d 65 6e 74 20  he XML document 
1600: 77 69 6c 6c 20 62 65 20 70 61 72 73 65 64 20 61  will be parsed a
1610: 6e 64 20 66 6f 72 6d 61 6c 6c 79 20 63 68 65 63  nd formally chec
1620: 6b 65 64 20 66 6f 72 20 66 75 6c 6c 20 53 63 68  ked for full Sch
1630: 65 6d 61 20 76 61 6c 69 64 61 74 69 6f 6e 20 61  ema validation a
1640: 73 20 61 20 76 61 6c 69 64 20 53 4c 44 2f 53 45  s a valid SLD/SE
1650: 20 52 61 73 74 65 72 2d 53 79 6d 62 6f 6c 69 7a   Raster-Symboliz
1660: 65 72 2e 3c 62 72 3e 0d 0a 49 66 20 6e 6f 20 65  er.<br>..If no e
1670: 72 72 6f 72 20 69 73 20 66 6f 75 6e 64 20 74 68  rror is found th
1680: 65 6e 20 74 68 65 20 53 74 79 6c 65 20 77 69 6c  en the Style wil
1690: 6c 20 62 65 20 69 6d 6d 65 64 69 61 74 65 6c 79  l be immediately
16a0: 20 61 64 64 65 64 20 74 6f 20 74 68 65 20 43 6f   added to the Co
16b0: 76 65 72 61 67 65 2e 0d 0a 3c 68 34 3e 33 2e 32  verage...<h4>3.2
16c0: 62 20 2d 20 4c 69 73 74 69 6e 67 20 61 6c 6c 20  b - Listing all 
16d0: 52 61 73 74 65 72 20 53 74 79 6c 65 73 20 66 6f  Raster Styles fo
16e0: 72 20 61 20 67 69 76 65 6e 20 43 6f 76 65 72 61  r a given Covera
16f0: 67 65 3c 2f 68 34 3e 0d 0a 59 6f 75 20 63 61 6e  ge</h4>..You can
1700: 20 61 63 63 65 73 73 20 74 68 69 73 20 66 65 61   access this fea
1710: 74 75 72 65 20 66 72 6f 6d 20 74 68 65 20 63 6f  ture from the co
1720: 6e 74 65 78 74 20 6d 65 6e 75 2c 20 77 68 69 63  ntext menu, whic
1730: 68 20 77 69 6c 6c 20 61 70 70 6c 79 20 74 6f 20  h will apply to 
1740: 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e  the correspondin
1750: 67 20 52 61 73 74 65 72 20 43 6f 76 65 72 61 67  g Raster Coverag
1760: 65 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 69 6d 67  e.<br><br>..<img
1770: 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77   src="https://ww
1780: 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61  w.gaia-gis.it/ga
1790: 69 61 2d 73 69 6e 73 2f 73 70 61 74 69 61 6c 69  ia-sins/spatiali
17a0: 74 65 2d 67 75 69 2d 70 69 63 2f 72 61 73 74 65  te-gui-pic/raste
17b0: 72 2d 73 74 79 6c 65 73 2d 33 2e 70 6e 67 22 20  r-styles-3.png" 
17c0: 61 6c 74 3d 22 72 61 73 74 65 72 20 73 74 79 6c  alt="raster styl
17d0: 65 73 20 33 22 3e 3c 62 72 3e 0d 0a 3c 75 6c 3e  es 3"><br>..<ul>
17e0: 0d 0a 3c 6c 69 3e 74 68 69 73 20 3c 75 3e 3c 69  ..<li>this <u><i
17f0: 3e 64 69 61 6c 6f 67 20 62 6f 78 3c 2f 69 3e 3c  >dialog box</i><
1800: 2f 75 3e 20 77 69 6c 6c 20 72 65 70 6f 72 74 20  /u> will report 
1810: 61 6c 6c 20 53 4c 44 2f 53 45 20 53 74 79 6c 65  all SLD/SE Style
1820: 73 20 61 6c 72 65 61 64 79 20 64 65 66 69 6e 65  s already define
1830: 64 20 66 6f 72 20 65 61 63 68 20 73 69 6e 67 6c  d for each singl
1840: 65 20 52 61 73 74 65 72 20 43 6f 76 65 72 61 67  e Raster Coverag
1850: 65 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 74 68 65  e.</li>..<li>the
1860: 20 73 61 6d 65 20 64 69 61 6c 6f 67 20 63 6f 75   same dialog cou
1870: 6c 64 20 62 65 20 75 73 65 64 20 69 6e 20 6f 72  ld be used in or
1880: 64 65 72 20 74 6f 20 61 64 64 20 6d 6f 72 65 20  der to add more 
1890: 53 4c 44 2f 53 45 20 53 74 79 6c 65 73 2e 3c 2f  SLD/SE Styles.</
18a0: 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c 62 72 3e  li>..</ul>..<br>
18b0: 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70  ..<img src="http
18c0: 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73  s://www.gaia-gis
18d0: 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 73 70  .it/gaia-sins/sp
18e0: 61 74 69 61 6c 69 74 65 2d 67 75 69 2d 70 69 63  atialite-gui-pic
18f0: 2f 72 61 73 74 65 72 2d 73 74 79 6c 65 73 2d 34  /raster-styles-4
1900: 2e 70 6e 67 22 20 61 6c 74 3d 22 72 61 73 74 65  .png" alt="raste
1910: 72 20 73 74 79 6c 65 73 20 34 22 3e 3c 62 72 3e  r styles 4"><br>
1920: 0d 0a 44 69 66 66 65 72 65 6e 74 6c 79 20 66 72  ..Differently fr
1930: 6f 6d 20 74 68 65 20 61 62 6f 76 65 20 63 61 73  om the above cas
1940: 65 20 79 6f 75 20 63 61 6e 20 6e 6f 77 20 73 65  e you can now se
1950: 6c 65 63 74 20 6d 75 6c 74 69 70 6c 65 20 66 69  lect multiple fi
1960: 6c 65 73 20 69 6e 20 61 20 73 69 6e 67 6c 65 20  les in a single 
1970: 70 61 73 73 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c  pass.<br><br>..<
1980: 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 3a 2f  img src="https:/
1990: 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74  /www.gaia-gis.it
19a0: 2f 67 61 69 61 2d 73 69 6e 73 2f 73 70 61 74 69  /gaia-sins/spati
19b0: 61 6c 69 74 65 2d 67 75 69 2d 70 69 63 2f 72 61  alite-gui-pic/ra
19c0: 73 74 65 72 2d 73 74 79 6c 65 73 2d 35 2e 70 6e  ster-styles-5.pn
19d0: 67 22 20 61 6c 74 3d 22 72 61 73 74 65 72 20 73  g" alt="raster s
19e0: 74 79 6c 65 73 20 35 22 3e 3c 62 72 3e 0d 0a 54  tyles 5"><br>..T
19f0: 68 65 6e 20 65 61 63 68 20 73 69 6e 67 6c 65 20  hen each single 
1a00: 58 4d 4c 20 64 6f 63 75 6d 65 6e 74 20 77 69 6c  XML document wil
1a10: 6c 20 62 65 20 6c 6f 61 64 65 64 20 28 77 69 74  l be loaded (wit
1a20: 68 20 61 20 76 61 6c 69 64 61 74 69 6f 6e 20 63  h a validation c
1a30: 68 65 63 6b 20 62 65 69 6e 67 20 64 6f 6e 65 20  heck being done 
1a40: 66 6f 72 20 65 61 63 68 20 73 65 6c 65 63 74 65  for each selecte
1a50: 64 20 58 4d 4c 20 64 6f 63 75 6d 65 6e 74 29 2e  d XML document).
1a60: 0d 0a 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 69 6d 67  ..<br><br>..<img
1a70: 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77   src="https://ww
1a80: 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61  w.gaia-gis.it/ga
1a90: 69 61 2d 73 69 6e 73 2f 73 70 61 74 69 61 6c 69  ia-sins/spatiali
1aa0: 74 65 2d 67 75 69 2d 70 69 63 2f 72 61 73 74 65  te-gui-pic/raste
1ab0: 72 2d 73 74 79 6c 65 73 2d 36 2e 70 6e 67 22 20  r-styles-6.png" 
1ac0: 61 6c 74 3d 22 72 61 73 74 65 72 20 73 74 79 6c  alt="raster styl
1ad0: 65 73 20 36 22 3e 3c 62 72 3e 0d 0a 59 6f 75 20  es 6"><br>..You 
1ae0: 63 6f 75 6c 64 20 65 76 65 6e 74 75 61 6c 6c 79  could eventually
1af0: 20 72 65 6d 6f 76 65 20 73 6f 6d 65 20 61 6c 72   remove some alr
1b00: 65 61 64 79 20 64 65 66 69 6e 65 64 20 53 74 79  eady defined Sty
1b10: 6c 65 3b 20 6a 75 73 74 20 3c 62 3e 3c 69 3e 6c  le; just <b><i>l
1b20: 65 66 74 2d 63 6c 69 63 6b 3c 2f 69 3e 3c 2f 62  eft-click</i></b
1b30: 3e 20 6f 6e 20 74 68 65 20 63 6f 72 72 65 73 70  > on the corresp
1b40: 6f 6e 64 69 6e 67 20 72 6f 77 2e 3c 62 72 3e 3c  onding row.<br><
1b50: 62 72 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68  br>..<img src="h
1b60: 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d  ttps://www.gaia-
1b70: 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73  gis.it/gaia-sins
1b80: 2f 73 70 61 74 69 61 6c 69 74 65 2d 67 75 69 2d  /spatialite-gui-
1b90: 70 69 63 2f 72 61 73 74 65 72 2d 73 74 79 6c 65  pic/raster-style
1ba0: 73 2d 37 2e 70 6e 67 22 20 61 6c 74 3d 22 72 61  s-7.png" alt="ra
1bb0: 73 74 65 72 20 73 74 79 6c 65 73 20 37 22 3e 3c  ster styles 7"><
1bc0: 62 72 3e 0d 0a 41 66 74 65 72 20 66 69 6e 61 6c  br>..After final
1bd0: 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 74 68   confirmation th
1be0: 65 20 73 65 6c 65 63 74 65 64 20 53 74 79 6c 65  e selected Style
1bf0: 20 77 69 6c 6c 20 62 65 20 64 65 66 69 6e 69 74   will be definit
1c00: 65 6c 79 20 72 65 6d 6f 76 65 64 20 66 72 6f 6d  ely removed from
1c10: 20 74 68 65 20 43 6f 76 65 72 61 67 65 2e 0d 0a   the Coverage...
1c20: 3c 68 33 3e 33 2e 33 20 2d 20 43 6f 76 65 72 61  <h3>3.3 - Covera
1c30: 67 65 20 54 69 6c 65 73 20 50 72 65 76 69 65 77  ge Tiles Preview
1c40: 3c 2f 68 33 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d  </h3>..<img src=
1c50: 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69  "https://www.gai
1c60: 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69  a-gis.it/gaia-si
1c70: 6e 73 2f 73 70 61 74 69 61 6c 69 74 65 2d 67 75  ns/spatialite-gu
1c80: 69 2d 70 69 63 2f 74 69 6c 65 2d 70 72 65 76 69  i-pic/tile-previ
1c90: 65 77 2d 31 2e 70 6e 67 22 20 61 6c 74 3d 22 74  ew-1.png" alt="t
1ca0: 69 6c 65 20 70 72 65 76 69 65 77 20 31 22 3e 3c  ile preview 1"><
1cb0: 62 72 3e 0d 0a 46 6f 72 20 65 61 63 68 20 3c 62  br>..For each <b
1cc0: 3e 26 6c 74 3b 3c 69 3e 63 6f 76 65 72 61 67 65  >&lt;<i>coverage
1cd0: 2d 70 72 65 66 69 78 3c 2f 69 3e 26 67 74 3b 5f  -prefix</i>&gt;_
1ce0: 74 69 6c 65 5f 64 61 74 61 3c 2f 62 3e 20 74 61  tile_data</b> ta
1cf0: 62 6c 65 20 28 77 68 69 63 68 20 63 6f 6e 74 61  ble (which conta
1d00: 69 6e 73 20 74 68 65 20 72 61 73 74 65 72 20 74  ins the raster t
1d10: 69 6c 65 73 29 20 61 20 3c 62 3e 70 72 65 76 69  iles) a <b>previ
1d20: 65 77 3c 2f 62 3e 20 66 65 61 74 75 72 65 20 69  ew</b> feature i
1d30: 73 20 73 75 70 70 6f 72 74 65 64 2e 3c 62 72 3e  s supported.<br>
1d40: 3c 62 72 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22  <br>..<img src="
1d50: 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61  https://www.gaia
1d60: 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e  -gis.it/gaia-sin
1d70: 73 2f 73 70 61 74 69 61 6c 69 74 65 2d 67 75 69  s/spatialite-gui
1d80: 2d 70 69 63 2f 74 69 6c 65 2d 70 72 65 76 69 65  -pic/tile-previe
1d90: 77 2d 32 2e 6a 70 67 22 20 61 6c 74 3d 22 74 69  w-2.jpg" alt="ti
1da0: 6c 65 20 70 72 65 76 69 65 77 20 32 22 3e 3c 62  le preview 2"><b
1db0: 72 3e 0d 0a 45 61 63 68 20 74 69 6c 65 20 77 69  r>..Each tile wi
1dc0: 6c 6c 20 62 65 20 73 68 6f 77 6e 20 61 63 63 6f  ll be shown acco
1dd0: 72 64 69 6e 67 6c 79 20 74 6f 20 74 68 65 20 43  rdingly to the C
1de0: 6f 76 65 72 61 67 65 27 73 20 3c 75 3e 3c 69 3e  overage's <u><i>
1df0: 64 65 66 61 75 6c 74 3c 2f 69 3e 3c 2f 75 3e 20  default</i></u> 
1e00: 73 74 79 6c 65 2e 3c 62 72 3e 3c 62 72 3e 0d 0a  style.<br><br>..
1e10: 3c 69 6d 67 20 73 72 63 3d 22 68 74 74 70 73 3a  <img src="https:
1e20: 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69  //www.gaia-gis.i
1e30: 74 2f 67 61 69 61 2d 73 69 6e 73 2f 73 70 61 74  t/gaia-sins/spat
1e40: 69 61 6c 69 74 65 2d 67 75 69 2d 70 69 63 2f 74  ialite-gui-pic/t
1e50: 69 6c 65 2d 70 72 65 76 69 65 77 2d 33 2e 70 6e  ile-preview-3.pn
1e60: 67 22 20 61 6c 74 3d 22 74 69 6c 65 20 70 72 65  g" alt="tile pre
1e70: 76 69 65 77 20 33 22 3e 3c 62 72 3e 0d 0a 49 6e  view 3"><br>..In
1e80: 20 74 68 65 20 63 61 73 65 20 6f 66 20 74 69 6c   the case of til
1e90: 65 73 20 61 64 6f 70 74 69 6e 67 20 73 6f 6d 65  es adopting some
1ea0: 20 65 78 6f 74 69 63 20 70 69 78 65 6c 20 66 6f   exotic pixel fo
1eb0: 72 6d 61 74 20 6e 6f 74 20 64 69 72 65 63 74 6c  rmat not directl
1ec0: 79 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20  y corresponding 
1ed0: 74 6f 20 61 20 70 6c 61 69 6e 20 52 47 42 20 63  to a plain RGB c
1ee0: 6f 6c 6f 72 20 6d 6f 64 65 6c 20 28 65 2e 67 2e  olor model (e.g.
1ef0: 20 55 49 4e 54 33 32 2c 20 46 4c 4f 41 54 20 6f   UINT32, FLOAT o
1f00: 72 20 44 4f 55 42 4c 45 29 20 61 20 64 65 66 61  r DOUBLE) a defa
1f10: 75 6c 74 20 3c 75 3e 3c 69 3e 67 72 61 79 73 63  ult <u><i>graysc
1f20: 61 6c 65 3c 2f 69 3e 3c 2f 75 3e 20 72 65 6e 64  ale</i></u> rend
1f30: 65 72 69 6e 67 20 77 69 6c 6c 20 62 65 20 61 64  ering will be ad
1f40: 6f 70 74 65 64 2e 3c 62 72 3e 0d 0a 49 6e 20 74  opted.<br>..In t
1f50: 68 65 20 63 61 73 65 20 6f 66 20 3c 75 3e 3c 69  he case of <u><i
1f60: 3e 6d 75 6c 74 69 2d 62 61 6e 64 3c 2f 69 3e 3c  >multi-band</i><
1f70: 2f 75 3e 20 70 69 78 65 6c 73 20 6f 6e 6c 79 20  /u> pixels only 
1f80: 74 68 65 20 66 69 72 73 74 20 62 61 6e 64 20 28  the first band (
1f90: 3c 62 3e 42 61 6e 64 20 23 30 3c 2f 62 3e 29 20  <b>Band #0</b>) 
1fa0: 77 69 6c 6c 20 62 65 20 73 68 6f 77 6e 2e 0d 0a  will be shown...
1fb0: 3c 62 72 3e 3c 62 72 3e 3c 68 72 3e 0d 0a 42 61  <br><br><hr>..Ba
1fc0: 63 6b 20 74 6f 20 3c 61 20 68 72 65 66 3d 22 68  ck to <a href="h
1fd0: 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d  ttps://www.gaia-
1fe0: 67 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f 73 70  gis.it/fossil/sp
1ff0: 61 74 69 61 6c 69 74 65 5f 67 75 69 2f 77 69 6b  atialite_gui/wik
2000: 69 3f 6e 61 6d 65 3d 73 70 61 74 69 61 6c 69 74  i?name=spatialit
2010: 65 2d 67 75 69 22 3e 6d 61 69 6e 20 57 69 6b 69  e-gui">main Wiki
2020: 20 70 61 67 65 3c 2f 61 3e 0a 5a 20 33 61 66 37   page</a>.Z 3af7
2030: 38 66 36 36 33 36 37 35 33 39 61 65 61 39 38 37  8f66367539aea987
2040: 31 36 63 65 35 37 66 35 65 64 63 65 0a           16ce57f5edce.