Wiki page
[tuscany] by
sandro
2017-06-18 06:48:47.
0000: 44 20 32 30 31 37 2d 30 36 2d 31 38 54 30 36 3a D 2017-06-18T06:
0010: 34 38 3a 34 37 2e 32 31 34 0a 4c 20 74 75 73 63 48:47.214.L tusc
0020: 61 6e 79 0a 50 20 38 36 65 34 37 64 64 32 62 66 any.P 86e47dd2bf
0030: 62 34 64 39 66 63 30 62 62 34 64 63 63 61 64 31 b4d9fc0bb4dccad1
0040: 39 31 37 36 38 37 36 31 33 66 37 64 34 35 0a 55 917687613f7d45.U
0050: 20 73 61 6e 64 72 6f 0a 57 20 31 31 34 30 36 0a sandro.W 11406.
0060: 42 61 63 6b 20 74 6f 20 3c 61 20 68 72 65 66 3d Back to <a href=
0070: 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 "https://www.gai
0080: 61 2d 67 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f a-gis.it/fossil/
0090: 73 70 61 74 69 61 6c 69 74 65 5f 67 75 69 2f 77 spatialite_gui/w
00a0: 69 6b 69 3f 6e 61 6d 65 3d 73 70 61 74 69 61 6c iki?name=spatial
00b0: 69 74 65 2d 67 75 69 22 3e 6d 61 69 6e 20 57 69 ite-gui">main Wi
00c0: 6b 69 20 70 61 67 65 3c 2f 61 3e 3c 68 72 3e 3c ki page</a><hr><
00d0: 62 72 3e 0d 0a 3c 68 31 3e 43 72 65 61 74 69 6e br>..<h1>Creatin
00e0: 67 20 74 68 65 20 74 75 73 63 61 6e 79 2e 73 71 g the tuscany.sq
00f0: 6c 69 74 65 20 73 61 6d 70 6c 65 20 64 61 74 61 lite sample data
0100: 62 61 73 65 3c 2f 68 31 3e 0d 0a 54 68 69 73 20 base</h1>..This
0110: 71 75 69 63 6b 20 74 75 74 6f 72 69 61 6c 20 65 quick tutorial e
0120: 78 70 6c 61 69 6e 73 20 62 79 20 70 72 61 63 74 xplains by pract
0130: 69 63 61 6c 20 73 74 65 70 20 62 79 20 73 74 65 ical step by ste
0140: 70 20 65 78 61 6d 70 6c 65 73 20 68 6f 77 20 74 p examples how t
0150: 68 65 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 he <a href="http
0160: 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 s://www.gaia-gis
0170: 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 .it/gaia-sins/gu
0180: 69 32 2d 73 61 6d 70 6c 65 73 2f 74 75 73 63 61 i2-samples/tusca
0190: 6e 79 2e 73 71 6c 69 74 65 22 3e 74 75 73 63 61 ny.sqlite">tusca
01a0: 6e 79 2e 73 71 6c 69 74 65 3c 2f 61 3e 20 73 61 ny.sqlite</a> sa
01b0: 6d 70 6c 65 20 64 61 74 61 62 61 73 65 20 77 61 mple database wa
01c0: 73 20 61 63 74 75 61 6c 6c 79 20 63 72 65 61 74 s actually creat
01d0: 65 64 2e 3c 62 72 3e 0d 0a 49 74 27 73 20 6d 61 ed.<br>..It's ma
01e0: 69 6e 6c 79 20 69 6e 74 65 6e 64 65 64 20 66 6f inly intended fo
01f0: 72 20 64 69 64 61 63 74 69 63 20 70 75 72 70 6f r didactic purpo
0200: 73 65 73 3a 20 79 6f 75 20 61 72 65 20 65 78 70 ses: you are exp
0210: 65 63 74 65 64 20 74 6f 20 72 65 70 6c 69 63 61 ected to replica
0220: 74 65 20 61 6c 6c 20 73 69 6e 67 6c 65 20 73 74 te all single st
0230: 65 70 73 2c 20 61 6e 64 20 61 74 20 74 68 65 20 eps, and at the
0240: 65 6e 64 20 6f 66 20 74 68 65 20 70 72 6f 63 65 end of the proce
0250: 73 73 20 79 6f 75 27 6c 6c 20 73 75 72 65 6c 79 ss you'll surely
0260: 20 6d 61 73 74 65 72 20 74 68 65 20 6e 65 77 20 master the new
0270: 74 6f 6f 6c 73 20 0d 0a 61 6e 64 20 77 69 7a 61 tools ..and wiza
0280: 72 64 73 20 73 75 70 70 6f 72 74 65 64 20 62 79 rds supported by
0290: 20 3c 62 3e 73 70 61 74 69 61 6c 69 74 65 5f 67 <b>spatialite_g
02a0: 75 69 20 32 2e 31 2e 30 3c 2f 62 3e 2e 3c 62 72 ui 2.1.0</b>.<br
02b0: 3e 3c 62 72 3e 0d 0a 41 6c 6c 20 3c 62 3e 56 65 ><br>..All <b>Ve
02c0: 63 74 6f 72 3c 2f 62 3e 20 61 6e 64 20 3c 62 3e ctor</b> and <b>
02d0: 52 61 73 74 65 72 20 43 6f 76 65 72 61 67 65 73 Raster Coverages
02e0: 3c 2f 62 3e 20 77 69 6c 6c 20 62 65 20 62 61 73 </b> will be bas
02f0: 65 64 20 6f 6e 20 3c 61 20 68 72 65 66 3d 22 68 ed on <a href="h
0300: 74 74 70 3a 2f 2f 77 77 77 35 30 32 2e 72 65 67 ttp://www502.reg
0310: 69 6f 6e 65 2e 74 6f 73 63 61 6e 61 2e 69 74 2f ione.toscana.it/
0320: 67 65 6f 73 63 6f 70 69 6f 2f 63 61 72 74 6f 74 geoscopio/cartot
0330: 65 63 61 2e 68 74 6d 6c 22 3e 54 75 73 63 61 6e eca.html">Tuscan
0340: 79 20 4f 70 65 6e 20 44 61 74 61 3c 2f 61 3e 20 y Open Data</a>
0350: 64 61 74 61 73 65 74 73 2e 0d 0a 3c 6f 6c 3e 0d datasets...<ol>.
0360: 0a 3c 6c 69 3e 3c 62 3e 61 6d 62 69 74 69 5f 61 .<li><b>ambiti_a
0370: 6d 6d 69 6e 69 73 74 61 74 69 76 69 3c 2f 62 3e mministativi</b>
0380: 3a 20 61 20 63 6f 6c 6c 65 63 74 69 6f 6e 20 6f : a collection o
0390: 66 20 61 64 6d 69 6e 69 73 74 61 74 69 76 65 20 f administative
03a0: 62 6f 75 6e 64 61 72 69 65 73 20 64 61 74 61 73 boundaries datas
03b0: 65 72 73 20 28 56 65 63 74 6f 72 29 2e 3c 2f 6c ers (Vector).</l
03c0: 69 3e 0d 0a 3c 6c 69 3e 3c 62 3e 67 72 61 66 6f i>..<li><b>grafo
03d0: 20 73 74 72 61 64 61 6c 65 20 49 74 65 72 2e 4e stradale Iter.N
03e0: 65 74 3c 2f 62 3e 3a 20 72 6f 61 64 73 20 61 6e et</b>: roads an
03f0: 64 20 72 61 69 6c 77 61 79 73 20 28 77 65 27 6c d railways (we'l
0400: 6c 20 75 73 65 20 74 68 65 20 72 61 69 6c 77 61 l use the railwa
0410: 79 73 20 6f 6e 6c 79 29 2e 3c 2f 6c 69 3e 0d 0a ys only).</li>..
0420: 3c 6c 69 3e 3c 62 3e 4d 6f 72 66 6f 6c 6f 67 69 <li><b>Morfologi
0430: 61 20 2d 20 64 74 6d 6f 72 6f 3c 2f 62 3e 3a 20 a - dtmoro</b>:
0440: 61 20 3c 62 3e 44 54 4d 3c 2f 62 3e 20 28 52 61 a <b>DTM</b> (Ra
0450: 73 74 65 72 29 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 ster).</li>..<li
0460: 3e 3c 62 3e 57 4d 53 20 2d 20 57 65 62 20 4d 61 ><b>WMS - Web Ma
0470: 70 20 53 65 72 76 69 63 65 73 3c 2f 62 3e 20 70 p Services</b> p
0480: 75 62 6c 69 73 68 65 64 20 62 79 20 54 75 73 63 ublished by Tusc
0490: 61 6e 79 20 52 65 67 69 6f 6e 20 28 0d 0a 3c 61 any Region (..<a
04a0: 20 68 72 65 66 3d 22 68 74 74 70 3a 2f 2f 77 77 href="http://ww
04b0: 77 2e 72 65 67 69 6f 6e 65 2e 74 6f 73 63 61 6e w.regione.toscan
04c0: 61 2e 69 74 2f 2d 2f 67 65 6f 73 63 6f 70 69 6f a.it/-/geoscopio
04d0: 2d 77 6d 73 22 3e 47 45 4f 73 63 6f 70 69 6f 20 -wms">GEOscopio
04e0: 57 4d 53 3c 2f 61 3e 29 3c 2f 6c 69 3e 0d 0a 3c WMS</a>)</li>..<
04f0: 2f 6f 6c 3e 0d 0a 3c 68 33 3e 53 74 65 70 20 23 /ol>..<h3>Step #
0500: 31 3a 20 70 6f 70 75 6c 61 74 69 6e 67 20 74 68 1: populating th
0510: 65 20 64 61 74 61 62 61 73 65 20 62 79 20 69 6d e database by im
0520: 70 6f 72 74 69 6e 67 20 69 6e 70 75 74 20 53 68 porting input Sh
0530: 61 70 65 66 69 6c 65 73 3c 2f 68 33 3e 0d 0a 3c apefiles</h3>..<
0540: 74 61 62 6c 65 20 63 65 6c 6c 70 61 64 64 69 6e table cellpaddin
0550: 67 3d 22 38 22 20 63 65 6c 6c 73 70 61 63 69 6e g="8" cellspacin
0560: 67 3d 22 34 22 20 62 6f 72 64 65 72 3d 22 31 22 g="4" border="1"
0570: 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 54 68 69 73 20 >..<tr><td>This
0580: 6f 6e 65 20 69 73 20 61 20 70 75 72 65 20 53 51 one is a pure SQ
0590: 4c 20 74 61 73 6b 2c 20 61 6e 64 20 77 65 27 6c L task, and we'l
05a0: 6c 20 61 73 73 75 6d 65 20 74 68 61 74 20 79 6f l assume that yo
05b0: 75 20 73 68 6f 75 6c 64 20 62 65 20 61 6c 72 65 u should be alre
05c0: 61 64 79 20 77 65 6c 6c 20 61 63 63 75 73 74 6f ady well accusto
05d0: 6d 65 64 20 74 6f 20 74 68 69 73 2e 3c 2f 74 64 med to this.</td
05e0: 3e 0d 0a 3c 74 64 3e 3c 76 65 72 62 61 74 69 6d >..<td><verbatim
05f0: 3e 0d 0a 53 45 4c 45 43 54 20 49 6d 70 6f 72 74 >..SELECT Import
0600: 53 68 70 28 27 43 3a 5c 76 61 6e 75 61 74 75 5c Shp('C:\vanuatu\
0610: 74 6f 73 63 61 6e 61 5c 61 6d 62 69 74 69 5f 61 toscana\ambiti_a
0620: 6d 6d 69 6e 69 73 74 72 61 74 69 76 69 5c 61 6d mministrativi\am
0630: 5f 72 65 67 5f 72 65 67 69 6f 6e 5f 61 6d 5f 72 _reg_region_am_r
0640: 65 67 27 2c 20 27 72 65 67 69 6f 6e 65 27 2c 20 eg', 'regione',
0650: 27 43 50 31 32 35 32 27 2c 20 33 30 30 33 29 3b 'CP1252', 3003);
0660: 0d 0a 53 45 4c 45 43 54 20 49 6d 70 6f 72 74 53 ..SELECT ImportS
0670: 68 70 28 27 43 3a 5c 76 61 6e 75 61 74 75 5c 74 hp('C:\vanuatu\t
0680: 6f 73 63 61 6e 61 5c 61 6d 62 69 74 69 5f 61 6d oscana\ambiti_am
0690: 6d 69 6e 69 73 74 72 61 74 69 76 69 5c 61 6d 5f ministrativi\am_
06a0: 70 72 6f 76 5f 6d 75 6c 74 69 70 61 72 74 27 2c prov_multipart',
06b0: 20 27 70 72 6f 76 69 6e 63 65 27 2c 20 27 43 50 'province', 'CP
06c0: 31 32 35 32 27 2c 20 33 30 30 33 29 3b 0d 0a 53 1252', 3003);..S
06d0: 45 4c 45 43 54 20 49 6d 70 6f 72 74 53 68 70 28 ELECT ImportShp(
06e0: 27 43 3a 5c 76 61 6e 75 61 74 75 5c 74 6f 73 63 'C:\vanuatu\tosc
06f0: 61 6e 61 5c 61 6d 62 69 74 69 5f 61 6d 6d 69 6e ana\ambiti_ammin
0700: 69 73 74 72 61 74 69 76 69 5c 61 6d 5f 63 6f 6d istrativi\am_com
0710: 5f 6d 75 6c 74 69 70 61 72 74 27 2c 20 27 63 6f _multipart', 'co
0720: 6d 75 6e 69 27 2c 20 27 43 50 31 32 35 32 27 2c muni', 'CP1252',
0730: 20 33 30 30 33 29 3b 0d 0a 53 45 4c 45 43 54 20 3003);..SELECT
0740: 49 6d 70 6f 72 74 53 68 70 28 27 43 3a 5c 76 61 ImportShp('C:\va
0750: 6e 75 61 74 75 5c 74 6f 73 63 61 6e 61 5c 49 74 nuatu\toscana\It
0760: 65 72 6e 65 74 5c 73 68 70 5c 5c 65 6c 65 6d 5f ernet\shp\\elem_
0770: 66 65 72 72 27 2c 20 27 65 6c 65 6d 5f 66 65 72 ferr', 'elem_fer
0780: 72 27 2c 20 27 43 50 31 32 35 32 27 2c 20 33 30 r', 'CP1252', 30
0790: 30 33 29 3b 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 03);..</verbatim
07a0: 3e 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 ></td></tr>..<tr
07b0: 3e 3c 74 64 3e 4e 6f 77 20 61 20 3c 62 3e 53 70 ><td>Now a <b>Sp
07c0: 61 74 69 61 6c 20 56 69 65 77 3c 2f 62 3e 20 77 atial View</b> w
07d0: 69 6c 6c 20 62 65 20 63 72 65 61 74 65 64 20 61 ill be created a
07e0: 6e 64 20 70 72 6f 70 65 72 6c 79 20 72 65 67 69 nd properly regi
07f0: 73 74 65 72 65 64 2e 3c 2f 74 64 3e 0d 0a 3c 74 stered.</td>..<t
0800: 64 3e 3c 76 65 72 62 61 74 69 6d 3e 0d 0a 43 52 d><verbatim>..CR
0810: 45 41 54 45 20 49 4e 44 45 58 20 69 64 78 5f 63 EATE INDEX idx_c
0820: 6f 64 70 72 6f 76 20 4f 4e 20 70 72 6f 76 69 6e odprov ON provin
0830: 63 65 20 28 73 75 62 73 74 72 28 63 6f 64 70 72 ce (substr(codpr
0840: 6f 76 2c 20 33 29 29 3b 0d 0a 0d 0a 43 52 45 41 ov, 3));....CREA
0850: 54 45 20 56 49 45 57 20 6d 75 6e 69 63 69 70 61 TE VIEW municipa
0860: 6c 69 74 69 65 73 20 41 53 0d 0a 53 45 4c 45 43 lities AS..SELEC
0870: 54 20 63 2e 70 6b 5f 75 69 64 20 41 53 20 72 6f T c.pk_uid AS ro
0880: 77 69 64 2c 20 63 2e 6e 6f 6d 65 20 41 53 20 6d wid, c.nome AS m
0890: 75 6e 69 63 69 70 61 6c 69 74 79 2c 20 0d 0a 63 unicipality, ..c
08a0: 2e 63 6f 64 63 6f 6d 20 41 53 20 63 65 6e 73 75 .codcom AS censu
08b0: 73 5f 63 6f 64 65 2c 20 63 2e 63 6f 64 63 61 74 s_code, c.codcat
08c0: 61 73 74 6f 20 41 53 20 63 61 64 61 73 74 72 61 asto AS cadastra
08d0: 6c 5f 63 6f 64 65 2c 0d 0a 70 2e 6e 6f 6d 65 20 l_code,..p.nome
08e0: 41 53 20 70 72 6f 76 69 6e 63 65 2c 20 70 2e 73 AS province, p.s
08f0: 69 67 6c 61 20 41 53 20 63 61 72 5f 70 6c 61 74 igla AS car_plat
0900: 65 2c 0d 0a 63 2e 67 65 6f 6d 65 74 72 79 20 41 e,..c.geometry A
0910: 53 20 67 65 6f 6d 0d 0a 46 52 4f 4d 20 63 6f 6d S geom..FROM com
0920: 75 6e 69 20 41 53 20 63 0d 0a 4a 4f 49 4e 20 70 uni AS c..JOIN p
0930: 72 6f 76 69 6e 63 65 20 41 53 20 70 20 4f 4e 20 rovince AS p ON
0940: 28 73 75 62 73 74 72 28 70 2e 63 6f 64 70 72 6f (substr(p.codpro
0950: 76 2c 20 33 29 20 3d 20 63 2e 63 6f 64 70 72 6f v, 3) = c.codpro
0960: 76 29 0d 0a 0d 0a 49 4e 53 45 52 54 20 49 4e 54 v)....INSERT INT
0970: 4f 20 76 69 65 77 73 5f 67 65 6f 6d 65 74 72 79 O views_geometry
0980: 5f 63 6f 6c 75 6d 6e 73 20 0d 0a 56 41 4c 55 45 _columns ..VALUE
0990: 53 20 28 27 6d 75 6e 69 63 69 70 61 6c 69 74 69 S ('municipaliti
09a0: 65 73 27 2c 20 27 67 65 6f 6d 27 2c 20 27 72 6f es', 'geom', 'ro
09b0: 77 69 64 27 2c 20 27 63 6f 6d 75 6e 69 27 2c 20 wid', 'comuni',
09c0: 27 67 65 6f 6d 65 74 72 79 27 2c 20 31 29 3b 0d 'geometry', 1);.
09d0: 0a 3c 2f 76 65 72 62 61 74 69 6d 3e 3c 2f 74 64 .</verbatim></td
09e0: 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e ></tr>..<tr><td>
09f0: 0d 0a 54 68 65 20 3c 62 3e 74 75 73 63 61 6e 79 ..The <b>tuscany
0a00: 2e 73 71 6c 69 74 65 3c 2f 62 3e 20 73 61 6d 70 .sqlite</b> samp
0a10: 6c 65 20 63 6f 6e 74 61 69 6e 73 20 61 20 6d 65 le contains a me
0a20: 61 69 6e 69 6e 67 6c 65 73 73 20 3c 62 3e 6d 69 ainingless <b>mi
0a30: 78 65 64 20 47 65 6f 6d 65 74 72 79 20 54 79 70 xed Geometry Typ
0a40: 65 73 3c 2f 62 3e 20 53 70 61 74 69 61 6c 20 54 es</b> Spatial T
0a50: 61 62 6c 65 20 6a 75 73 74 20 69 6e 74 65 6e 64 able just intend
0a60: 65 64 20 66 6f 72 20 74 65 73 74 69 6e 67 20 70 ed for testing p
0a70: 75 72 70 6f 73 65 73 2e 3c 62 72 3e 0d 0a 59 6f urposes.<br>..Yo
0a80: 75 20 63 61 6e 20 65 61 73 69 6c 79 20 63 72 65 u can easily cre
0a90: 61 74 65 20 62 79 20 79 6f 75 72 73 65 6c 66 20 ate by yourself
0aa0: 73 6f 6d 65 74 68 69 6e 67 20 73 69 6d 69 6c 61 something simila
0ab0: 72 2c 20 73 6f 20 6a 75 73 74 20 76 65 72 79 20 r, so just very
0ac0: 73 6b 65 6c 65 74 69 63 61 6c 0d 0a 64 69 72 65 skeletical..dire
0ad0: 63 74 69 6f 6e 73 20 77 69 6c 6c 20 62 65 20 73 ctions will be s
0ae0: 75 70 70 6c 69 65 64 20 68 65 72 65 2e 3c 62 72 upplied here.<br
0af0: 3e 0d 0a 50 6c 65 61 73 65 20 63 68 65 63 6b 20 >..Please check
0b00: 74 68 65 20 53 51 4c 20 53 6e 69 70 70 65 74 73 the SQL Snippets
0b10: 20 6f 6e 20 74 68 65 20 73 69 64 65 2e 3c 2f 74 on the side.</t
0b20: 64 3e 0d 0a 3c 74 64 3e 3c 76 65 72 62 61 74 69 d>..<td><verbati
0b30: 6d 3e 0d 0a 43 52 45 41 54 45 20 54 41 42 4c 45 m>..CREATE TABLE
0b40: 20 6d 69 78 65 64 5f 67 65 6f 6d 5f 74 79 70 65 mixed_geom_type
0b50: 73 20 28 0d 0a 20 20 20 20 69 64 20 49 4e 54 45 s (.. id INTE
0b60: 47 45 52 20 50 52 49 4d 41 52 59 20 4b 45 59 20 GER PRIMARY KEY
0b70: 41 55 54 4f 49 4e 43 52 45 4d 45 4e 54 2c 0d 0a AUTOINCREMENT,..
0b80: 20 20 20 20 63 6c 61 73 73 20 54 45 58 54 20 4e class TEXT N
0b90: 4f 54 20 4e 55 4c 4c 2c 0d 0a 20 20 20 20 6e 6f OT NULL,.. no
0ba0: 6d 65 20 54 45 58 54 20 4e 4f 54 20 4e 55 4c 4c me TEXT NOT NULL
0bb0: 29 3b 0d 0a 0d 0a 53 45 4c 45 43 54 20 41 64 64 );....SELECT Add
0bc0: 47 65 6f 6d 65 74 72 79 43 6f 6c 75 6d 6e 28 27 GeometryColumn('
0bd0: 6d 69 78 65 64 5f 67 65 6f 6d 5f 74 79 70 65 73 mixed_geom_types
0be0: 27 2c 20 27 67 65 6f 6d 27 2c 20 33 30 30 33 2c ', 'geom', 3003,
0bf0: 0d 0a 27 47 45 4f 4d 45 54 52 59 27 2c 20 27 58 ..'GEOMETRY', 'X
0c00: 59 27 29 3b 0d 0a 0d 0a 49 4e 53 45 52 54 20 49 Y');....INSERT I
0c10: 4e 54 4f 20 6d 69 78 65 64 5f 67 65 6f 6d 5f 74 NTO mixed_geom_t
0c20: 79 70 65 73 20 28 69 64 2c 20 63 6c 61 73 73 2c ypes (id, class,
0c30: 20 6e 6f 6d 65 2c 20 67 65 6f 6d 29 0d 0a 53 45 nome, geom)..SE
0c40: 4c 45 43 54 20 4e 55 4c 4c 2c 20 27 50 6f 69 6e LECT NULL, 'Poin
0c50: 74 73 27 2c 20 6e 61 6d 65 2c 20 70 6f 69 6e 74 ts', name, point
0c60: 5f 67 65 6f 6d 0d 0a 46 52 4f 4d 20 70 6f 69 6e _geom..FROM poin
0c70: 74 5f 74 61 62 6c 65 3b 0d 0a 0d 0a 49 4e 53 45 t_table;....INSE
0c80: 52 54 20 49 4e 54 4f 20 6d 69 78 65 64 5f 67 65 RT INTO mixed_ge
0c90: 6f 6d 5f 74 79 70 65 73 20 28 69 64 2c 20 63 6c om_types (id, cl
0ca0: 61 73 73 2c 20 6e 6f 6d 65 2c 20 67 65 6f 6d 29 ass, nome, geom)
0cb0: 0d 0a 53 45 4c 45 43 54 20 4e 55 4c 4c 2c 20 27 ..SELECT NULL, '
0cc0: 4c 69 6e 65 73 74 72 69 6e 73 27 2c 20 6e 61 6d Linestrins', nam
0cd0: 65 2c 20 6c 69 6e 65 73 74 72 69 6e 67 5f 67 65 e, linestring_ge
0ce0: 6f 6d 0d 0a 46 52 4f 4d 20 6c 69 6e 73 74 72 69 om..FROM linstri
0cf0: 6e 67 5f 74 61 62 6c 65 3b 0d 0a 0d 0a 49 4e 53 ng_table;....INS
0d00: 45 52 54 20 49 4e 54 4f 20 6d 69 78 65 64 5f 67 ERT INTO mixed_g
0d10: 65 6f 6d 5f 74 79 70 65 73 20 28 69 64 2c 20 63 eom_types (id, c
0d20: 6c 61 73 73 2c 20 6e 6f 6d 65 2c 20 67 65 6f 6d lass, nome, geom
0d30: 29 0d 0a 53 45 4c 45 43 54 20 4e 55 4c 4c 2c 20 )..SELECT NULL,
0d40: 27 50 6f 6c 79 67 6f 6e 73 27 2c 20 6e 61 6d 65 'Polygons', name
0d50: 2c 20 70 6f 6c 79 67 6f 6e 5f 67 65 6f 6d 0d 0a , polygon_geom..
0d60: 46 52 4f 4d 20 70 6f 6c 79 67 6f 6e 5f 74 61 62 FROM polygon_tab
0d70: 6c 65 3b 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 3e le;..</verbatim>
0d80: 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 </td></tr>..</ta
0d90: 62 6c 65 3e 3c 62 72 3e 0d 0a 3c 68 72 3e 0d 0a ble><br>..<hr>..
0da0: 3c 68 33 3e 53 74 65 70 20 23 32 3a 20 63 72 65 <h3>Step #2: cre
0db0: 61 74 69 6e 67 20 56 65 63 74 6f 72 20 43 6f 76 ating Vector Cov
0dc0: 65 72 61 67 65 73 20 62 61 73 65 64 20 6f 6e 20 erages based on
0dd0: 53 70 61 74 69 61 6c 20 54 61 62 6c 65 73 20 61 Spatial Tables a
0de0: 6e 64 20 53 70 61 74 69 61 6c 20 56 69 65 77 73 nd Spatial Views
0df0: 2e 3c 2f 68 33 3e 0d 0a 3c 74 61 62 6c 65 20 63 .</h3>..<table c
0e00: 65 6c 6c 70 61 64 64 69 6e 67 3d 22 38 22 20 63 ellpadding="8" c
0e10: 65 6c 6c 73 70 61 63 69 6e 67 3d 22 34 22 20 62 ellspacing="4" b
0e20: 6f 72 64 65 72 3d 22 31 22 3e 0d 0a 3c 74 72 3e order="1">..<tr>
0e30: 3c 74 64 3e 53 70 61 74 69 61 6c 20 54 61 62 6c <td>Spatial Tabl
0e40: 65 73 20 64 65 63 6c 61 72 69 6e 67 20 61 20 3c es declaring a <
0e50: 62 3e 47 45 4f 4d 45 54 52 59 43 4f 4c 4c 45 43 b>GEOMETRYCOLLEC
0e60: 54 49 4f 4e 3c 2f 62 3e 20 6f 72 20 3c 62 3e 47 TION</b> or <b>G
0e70: 45 4f 4d 45 54 52 59 3c 2f 62 3e 20 54 79 70 65 EOMETRY</b> Type
0e80: 20 61 72 65 6e 27 74 20 63 6f 6e 73 69 64 65 72 aren't consider
0e90: 65 64 20 61 74 20 61 6c 6c 20 65 78 63 65 70 74 ed at all except
0ea0: 69 6f 6e 61 6c 20 69 6e 20 53 70 61 74 69 61 4c ional in SpatiaL
0eb0: 69 74 65 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 59 6f ite.<br><br>..Yo
0ec0: 75 20 6a 75 73 74 20 68 61 76 65 20 74 6f 20 63 u just have to c
0ed0: 72 65 61 74 65 20 61 20 56 65 63 74 6f 72 20 43 reate a Vector C
0ee0: 6f 76 65 72 61 67 65 73 20 61 73 20 79 6f 75 27 overages as you'
0ef0: 76 65 20 61 6c 72 65 61 64 79 20 73 65 65 6e 20 ve already seen
0f00: 69 6e 20 74 68 65 20 70 72 65 76 69 6f 75 73 20 in the previous
0f10: 74 75 74 6f 72 69 61 6c 20 61 62 6f 75 74 20 3c tutorial about <
0f20: 62 3e 6e 61 74 75 72 61 6c 5f 65 61 72 74 68 2e b>natural_earth.
0f30: 73 71 6c 69 74 65 3c 2f 62 3e 2e 3c 2f 74 64 3e sqlite</b>.</td>
0f40: 0d 0a 3c 74 64 20 61 6c 69 67 6e 3d 22 63 65 6e ..<td align="cen
0f50: 74 65 72 22 3e 3c 69 6d 67 20 61 6c 74 3d 22 74 ter"><img alt="t
0f60: 75 73 63 61 6e 79 31 22 20 73 72 63 3d 22 68 74 uscany1" src="ht
0f70: 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 tps://www.gaia-g
0f80: 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f is.it/gaia-sins/
0f90: 67 75 69 32 2d 70 69 63 73 2f 74 75 73 63 61 6e gui2-pics/tuscan
0fa0: 79 31 2e 70 6e 67 22 3e 3c 2f 74 64 3e 3c 2f 74 y1.png"></td></t
0fb0: 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 4a 75 73 74 r>..<tr><td>Just
0fc0: 20 73 65 6c 65 63 74 20 61 20 53 70 61 74 69 61 select a Spatia
0fd0: 6c 20 54 61 62 6c 65 20 66 72 6f 6d 20 74 68 65 l Table from the
0fe0: 20 6c 69 73 74 2c 20 74 68 65 6e 20 66 69 6c 6c list, then fill
0ff0: 20 61 6c 6c 20 64 69 61 6c 6f 67 20 66 69 65 6c all dialog fiel
1000: 64 73 20 61 6e 64 20 66 69 6e 61 6c 6c 79 20 63 ds and finally c
1010: 6f 6e 66 69 72 6d 2e 3c 2f 74 64 3e 0d 0a 3c 74 onfirm.</td>..<t
1020: 64 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 d align="center"
1030: 3e 3c 69 6d 67 20 61 6c 74 3d 22 74 75 73 63 61 ><img alt="tusca
1040: 6e 79 32 22 20 73 72 63 3d 22 68 74 74 70 73 3a ny2" src="https:
1050: 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 //www.gaia-gis.i
1060: 74 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 69 32 t/gaia-sins/gui2
1070: 2d 70 69 63 73 2f 74 75 73 63 61 6e 79 32 2e 70 -pics/tuscany2.p
1080: 6e 67 22 3e 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a ng"></td></tr>..
1090: 3c 74 72 3e 3c 74 64 3e 52 65 67 69 73 74 65 72 <tr><td>Register
10a0: 69 6e 67 20 61 20 56 65 63 74 6f 72 20 43 6f 76 ing a Vector Cov
10b0: 65 72 61 67 65 20 62 61 73 65 64 20 6f 6e 20 73 erage based on s
10c0: 6f 6d 65 20 3c 62 3e 53 70 61 74 69 61 6c 20 56 ome <b>Spatial V
10d0: 69 65 77 3c 2f 62 3e 20 69 73 20 6d 6f 72 65 20 iew</b> is more
10e0: 6f 72 20 6c 65 73 73 20 74 68 65 20 73 61 6d 65 or less the same
10f0: 3a 20 79 6f 75 20 6a 75 73 74 20 68 61 76 65 20 : you just have
1100: 74 6f 20 73 65 6c 65 63 74 20 61 20 64 69 66 66 to select a diff
1110: 65 72 65 6e 74 20 74 6f 6f 6c 20 66 72 6f 6d 20 erent tool from
1120: 74 68 65 20 6d 65 6e 75 2e 3c 2f 74 64 3e 0d 0a the menu.</td>..
1130: 3c 74 64 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 <td align="cente
1140: 72 22 3e 3c 69 6d 67 20 61 6c 74 3d 22 74 75 73 r"><img alt="tus
1150: 63 61 6e 79 33 22 20 73 72 63 3d 22 68 74 74 70 cany3" src="http
1160: 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 s://www.gaia-gis
1170: 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 .it/gaia-sins/gu
1180: 69 32 2d 70 69 63 73 2f 74 75 73 63 61 6e 79 33 i2-pics/tuscany3
1190: 2e 70 6e 67 22 3e 3c 2f 74 64 3e 3c 2f 74 72 3e .png"></td></tr>
11a0: 0d 0a 3c 74 72 3e 3c 74 64 3e 4a 75 73 74 20 73 ..<tr><td>Just s
11b0: 65 6c 65 63 74 20 61 20 53 70 61 74 69 61 6c 20 elect a Spatial
11c0: 54 61 62 6c 65 20 66 72 6f 6d 20 74 68 65 20 6c Table from the l
11d0: 69 73 74 2c 20 74 68 65 6e 20 66 69 6c 6c 20 61 ist, then fill a
11e0: 6c 6c 20 64 69 61 6c 6f 67 20 66 69 65 6c 64 73 ll dialog fields
11f0: 20 61 6e 64 20 66 69 6e 61 6c 6c 79 20 63 6f 6e and finally con
1200: 66 69 72 6d 2e 3c 2f 74 64 3e 0d 0a 3c 74 64 20 firm.</td>..<td
1210: 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 3c align="center"><
1220: 69 6d 67 20 61 6c 74 3d 22 74 75 73 63 61 6e 79 img alt="tuscany
1230: 34 22 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 4" src="https://
1240: 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f www.gaia-gis.it/
1250: 67 61 69 61 2d 73 69 6e 73 2f 67 75 69 32 2d 70 gaia-sins/gui2-p
1260: 69 63 73 2f 74 75 73 63 61 6e 79 34 2e 70 6e 67 ics/tuscany4.png
1270: 22 3e 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 "></td></tr>..<t
1280: 72 3e 3c 74 64 3e 53 70 61 74 69 61 4c 69 74 65 r><td>SpatiaLite
1290: 20 70 6f 73 73 65 73 73 20 74 68 65 20 63 61 70 possess the cap
12a0: 61 62 69 6c 69 74 79 20 74 6f 20 72 65 70 72 6f ability to repro
12b0: 6a 65 63 74 20 6f 6e 2d 74 68 65 2d 66 6c 79 20 ject on-the-fly
12c0: 61 20 56 65 63 74 6f 72 20 43 6f 76 65 72 61 67 a Vector Coverag
12d0: 65 2c 20 62 75 74 20 79 6f 75 20 68 61 76 65 20 e, but you have
12e0: 74 6f 20 64 65 63 6c 61 72 65 20 69 6e 20 61 64 to declare in ad
12f0: 76 61 6e 63 65 20 61 6c 6c 20 74 68 65 20 73 75 vance all the su
1300: 70 70 6f 72 74 65 64 20 53 52 49 44 73 2e 3c 62 pported SRIDs.<b
1310: 72 3e 3c 62 72 3e 0d 0a 57 68 65 6e 20 79 6f 75 r><br>..When you
1320: 20 68 61 76 65 20 74 6f 20 63 6f 6e 66 69 67 75 have to configu
1330: 72 65 20 73 65 76 65 72 61 6c 20 73 74 72 69 63 re several stric
1340: 74 6c 79 20 72 65 6c 61 74 65 64 20 56 65 63 74 tly related Vect
1350: 6f 72 20 43 6f 76 65 72 61 67 65 73 20 69 74 20 or Coverages it
1360: 63 6f 75 6c 64 20 62 65 20 73 69 6d 70 6c 65 72 could be simpler
1370: 20 61 6e 64 20 65 61 73 69 65 72 20 63 6f 6e 66 and easier conf
1380: 69 67 75 72 69 6e 67 20 61 6c 6c 20 43 6f 76 65 iguring all Cove
1390: 72 61 67 65 73 20 69 6e 20 61 20 73 69 6e 67 6c rages in a singl
13a0: 65 20 66 69 6e 61 6c 20 70 61 73 73 2e 3c 2f 74 e final pass.</t
13b0: 64 3e 0d 0a 3c 74 64 20 61 6c 69 67 6e 3d 22 63 d>..<td align="c
13c0: 65 6e 74 65 72 22 3e 3c 69 6d 67 20 61 6c 74 3d enter"><img alt=
13d0: 22 74 75 73 63 61 6e 79 35 22 20 73 72 63 3d 22 "tuscany5" src="
13e0: 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 https://www.gaia
13f0: 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e -gis.it/gaia-sin
1400: 73 2f 67 75 69 32 2d 70 69 63 73 2f 74 75 73 63 s/gui2-pics/tusc
1410: 61 6e 79 35 2e 70 6e 67 22 3e 3c 2f 74 64 3e 3c any5.png"></td><
1420: 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 59 6f /tr>..<tr><td>Yo
1430: 75 20 63 61 6e 20 61 64 64 20 6a 75 73 74 20 61 u can add just a
1440: 20 73 69 6e 67 6c 65 20 53 52 49 44 20 61 74 20 single SRID at
1450: 65 61 63 68 20 74 69 6d 65 2c 20 62 75 74 20 79 each time, but y
1460: 6f 75 20 63 61 6e 20 65 61 73 69 6c 79 20 72 65 ou can easily re
1470: 63 69 63 6c 65 20 6f 6e 20 74 68 65 20 73 61 6d cicle on the sam
1480: 65 20 73 74 65 70 20 75 6e 74 69 6c 20 61 6c 6c e step until all
1490: 20 53 52 49 44 73 20 68 61 76 65 20 62 65 65 6e SRIDs have been
14a0: 20 61 64 64 65 64 2e 3c 2f 74 64 3e 0d 0a 3c 74 added.</td>..<t
14b0: 64 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 d align="center"
14c0: 3e 3c 69 6d 67 20 61 6c 74 3d 22 74 75 73 63 61 ><img alt="tusca
14d0: 6e 79 36 22 20 73 72 63 3d 22 68 74 74 70 73 3a ny6" src="https:
14e0: 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 //www.gaia-gis.i
14f0: 74 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 69 32 t/gaia-sins/gui2
1500: 2d 70 69 63 73 2f 74 75 73 63 61 6e 79 36 2e 70 -pics/tuscany6.p
1510: 6e 67 22 3e 3c 62 72 3e 3c 69 6d 67 20 61 6c 74 ng"><br><img alt
1520: 3d 22 74 75 73 63 61 6e 79 37 22 20 73 72 63 3d ="tuscany7" src=
1530: 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 "https://www.gai
1540: 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 a-gis.it/gaia-si
1550: 6e 73 2f 67 75 69 32 2d 70 69 63 73 2f 74 75 73 ns/gui2-pics/tus
1560: 63 61 6e 79 37 2e 70 6e 67 22 3e 0d 0a 3c 2f 74 cany7.png">..</t
1570: 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 d></tr>..<tr><td
1580: 3e 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 20 79 >Alternatively y
1590: 6f 75 20 63 61 6e 20 61 64 64 20 6f 72 20 64 65 ou can add or de
15a0: 6c 65 74 65 20 74 68 65 20 61 73 73 6f 63 69 61 lete the associa
15b0: 74 65 64 20 53 52 49 44 73 20 6a 75 73 74 20 66 ted SRIDs just f
15c0: 6f 72 20 61 20 73 69 6e 67 6c 65 20 56 65 63 74 or a single Vect
15d0: 6f 72 20 43 6f 76 65 72 61 67 65 2e 3c 2f 74 64 or Coverage.</td
15e0: 3e 0d 0a 3c 74 64 20 61 6c 69 67 6e 3d 22 63 65 >..<td align="ce
15f0: 6e 74 65 72 22 3e 3c 69 6d 67 20 61 6c 74 3d 22 nter"><img alt="
1600: 74 75 73 63 61 6e 79 35 30 22 20 73 72 63 3d 22 tuscany50" src="
1610: 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 https://www.gaia
1620: 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e -gis.it/gaia-sin
1630: 73 2f 67 75 69 32 2d 70 69 63 73 2f 74 75 73 63 s/gui2-pics/tusc
1640: 61 6e 79 35 30 2e 70 6e 67 22 3e 3c 2f 74 64 3e any50.png"></td>
1650: 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 4a </tr>..<tr><td>J
1660: 75 73 74 20 75 73 65 20 74 68 65 20 64 69 61 6c ust use the dial
1670: 6f 67 20 73 68 6f 77 6e 20 6f 6e 20 74 68 65 20 og shown on the
1680: 73 69 64 65 20 69 6e 20 6f 72 64 65 72 20 74 6f side in order to
1690: 20 61 64 64 20 6f 72 20 72 65 6d 6f 76 65 20 53 add or remove S
16a0: 52 49 44 20 64 65 66 69 6e 69 74 69 6f 6e 73 2e RID definitions.
16b0: 3c 2f 74 64 3e 0d 0a 3c 74 64 20 61 6c 69 67 6e </td>..<td align
16c0: 3d 22 63 65 6e 74 65 72 22 3e 3c 69 6d 67 20 61 ="center"><img a
16d0: 6c 74 3d 22 74 75 73 63 61 6e 79 35 31 22 20 73 lt="tuscany51" s
16e0: 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e rc="https://www.
16f0: 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 gaia-gis.it/gaia
1700: 2d 73 69 6e 73 2f 67 75 69 32 2d 70 69 63 73 2f -sins/gui2-pics/
1710: 74 75 73 63 61 6e 79 35 31 2e 70 6e 67 22 3e 3c tuscany51.png"><
1720: 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c /td></tr>..<tr><
1730: 74 64 3e 3c 75 3e 52 65 6d 65 6d 62 65 72 3c 2f td><u>Remember</
1740: 75 3e 3a 20 79 6f 75 20 61 6c 77 61 79 73 20 68 u>: you always h
1750: 61 76 65 20 74 6f 20 75 70 64 61 74 65 20 74 68 ave to update th
1760: 65 20 45 78 74 65 6e 74 73 20 65 76 65 72 79 20 e Extents every
1770: 74 69 6d 65 20 74 68 61 74 20 79 6f 75 27 6c 6c time that you'll
1780: 20 61 64 64 20 61 20 6e 65 77 20 56 65 63 74 6f add a new Vecto
1790: 72 20 43 6f 76 65 72 61 72 65 20 6f 72 20 74 68 r Coverare or th
17a0: 61 74 20 79 6f 75 27 6c 6c 20 63 68 61 6e 67 65 at you'll change
17b0: 20 69 74 73 20 61 73 73 6f 63 69 61 74 65 64 20 its associated
17c0: 53 52 49 44 73 2e 3c 2f 74 64 3e 0d 0a 3c 74 64 SRIDs.</td>..<td
17d0: 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e align="center">
17e0: 3c 69 6d 67 20 61 6c 74 3d 22 74 75 73 63 61 6e <img alt="tuscan
17f0: 79 38 22 20 73 72 63 3d 22 68 74 74 70 73 3a 2f y8" src="https:/
1800: 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 /www.gaia-gis.it
1810: 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 69 32 2d /gaia-sins/gui2-
1820: 70 69 63 73 2f 74 75 73 63 61 6e 79 38 2e 70 6e pics/tuscany8.pn
1830: 67 22 3e 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c g"></td></tr>..<
1840: 2f 74 61 62 6c 65 3e 3c 62 72 3e 0d 0a 3c 68 72 /table><br>..<hr
1850: 3e 0d 0a 3c 68 33 3e 53 74 65 70 20 23 33 3a 20 >..<h3>Step #3:
1860: 72 65 67 69 73 74 65 72 69 6e 67 20 57 4d 53 20 registering WMS
1870: 4c 61 79 65 72 73 2e 3c 2f 68 33 3e 0d 0a 3c 74 Layers.</h3>..<t
1880: 61 62 6c 65 20 63 65 6c 6c 70 61 64 64 69 6e 67 able cellpadding
1890: 3d 22 38 22 20 63 65 6c 6c 73 70 61 63 69 6e 67 ="8" cellspacing
18a0: 3d 22 34 22 20 62 6f 72 64 65 72 3d 22 31 22 3e ="4" border="1">
18b0: 0d 0a 3c 74 72 3e 3c 74 64 3e 53 70 61 74 69 61 ..<tr><td>Spatia
18c0: 6c 4c 69 74 65 20 70 6f 73 73 65 73 73 20 74 68 lLite possess th
18d0: 65 20 63 61 70 61 62 69 6c 69 74 79 20 74 6f 20 e capability to
18e0: 70 65 72 6d 61 6e 65 6e 74 6c 79 20 72 65 67 69 permanently regi
18f0: 73 74 65 72 20 57 4d 53 20 4c 61 79 65 72 73 20 ster WMS Layers
1900: 69 6e 74 6f 20 61 20 64 61 74 61 62 61 73 65 20 into a database
1910: 66 69 6c 65 2e 3c 2f 74 64 3e 0d 0a 3c 74 64 20 file.</td>..<td
1920: 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 3c align="center"><
1930: 69 6d 67 20 61 6c 74 3d 22 74 75 73 63 61 6e 79 img alt="tuscany
1940: 39 22 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 9" src="https://
1950: 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f www.gaia-gis.it/
1960: 67 61 69 61 2d 73 69 6e 73 2f 67 75 69 32 2d 70 gaia-sins/gui2-p
1970: 69 63 73 2f 74 75 73 63 61 6e 79 39 2e 70 6e 67 ics/tuscany9.png
1980: 22 3e 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 "></td></tr>..<t
1990: 72 3e 3c 74 64 3e 59 6f 75 20 61 72 65 20 72 65 r><td>You are re
19a0: 71 75 69 72 65 64 20 66 69 72 73 74 20 74 6f 20 quired first to
19b0: 6d 61 6e 75 61 6c 6c 79 20 69 6e 73 65 72 74 20 manually insert
19c0: 74 68 65 20 55 52 4c 20 63 6f 72 72 65 73 70 6f the URL correspo
19d0: 6e 64 69 6e 67 20 74 6f 20 74 68 65 20 3c 62 3e nding to the <b>
19e0: 57 4d 53 20 47 65 74 43 61 70 61 62 69 6c 69 74 WMS GetCapabilit
19f0: 69 73 3c 2f 62 3e 2c 20 74 68 65 6e 20 70 72 65 is</b>, then pre
1a00: 73 73 69 6e 67 20 74 68 65 20 3c 62 3e 4c 6f 61 ssing the <b>Loa
1a10: 64 3c 2f 62 3e 20 62 75 74 74 6f 6e 2e 3c 62 72 d</b> button.<br
1a20: 3e 3c 62 72 3e 0d 0a 4d 61 79 20 77 65 6c 6c 20 ><br>..May well
1a30: 62 65 20 74 68 61 74 20 79 6f 75 72 20 6c 6f 63 be that your loc
1a40: 61 6c 20 6e 65 74 77 6f 72 6b 20 63 6f 6e 66 69 al network confi
1a50: 67 75 72 61 74 69 6f 6e 20 63 6f 75 6c 64 20 72 guration could r
1a60: 65 71 75 69 72 65 20 64 65 66 69 6e 69 6e 67 20 equire defining
1a70: 61 6e 20 3c 62 3e 48 54 54 50 20 50 72 6f 78 79 an <b>HTTP Proxy
1a80: 20 53 65 72 76 65 72 3c 2f 62 3e 2e 3c 62 72 3e Server</b>.<br>
1a90: 3c 62 72 3e 0d 0a 49 66 20 74 68 65 20 61 62 6f <br>..If the abo
1aa0: 76 65 20 47 65 74 43 61 70 61 62 69 6c 69 74 79 ve GetCapability
1ab0: 20 55 52 4c 20 64 6f 20 65 66 66 65 63 74 69 76 URL do effectiv
1ac0: 65 6c 79 20 6d 61 74 63 68 20 61 6e 20 65 78 69 ely match an exi
1ad0: 73 74 69 6e 67 20 57 4d 53 20 73 65 72 76 65 72 sting WMS server
1ae0: 20 61 20 6c 69 73 74 20 6f 66 20 57 4d 53 20 6c a list of WMS l
1af0: 61 79 65 72 73 20 77 69 6c 6c 20 61 70 70 65 61 ayers will appea
1b00: 72 3a 20 6a 75 73 74 20 73 65 6c 65 63 74 20 74 r: just select t
1b10: 68 65 20 6f 6e 65 20 79 6f 75 20 69 6e 74 65 6e he one you inten
1b20: 64 20 74 6f 20 72 65 67 69 73 74 65 72 2c 20 61 d to register, a
1b30: 64 6a 75 73 74 20 74 68 65 20 57 4d 53 20 63 6f djust the WMS co
1b40: 6e 66 69 67 75 72 61 74 69 6f 6e 20 74 68 65 6e nfiguration then
1b50: 20 63 6f 6e 66 69 72 6d 2e 3c 62 72 3e 3c 62 72 confirm.<br><br
1b60: 3e 0d 0a 49 6e 20 74 68 69 73 20 73 70 65 63 69 >..In this speci
1b70: 66 69 63 20 65 78 61 6d 70 6c 65 20 79 6f 75 27 fic example you'
1b80: 6c 6c 20 72 65 67 69 73 74 65 72 20 61 20 57 4d ll register a WM
1b90: 53 20 6c 61 79 65 72 20 62 61 73 65 64 20 6f 6e S layer based on
1ba0: 20 74 68 65 20 6d 6f 73 74 20 72 65 63 65 6e 74 the most recent
1bb0: 20 28 32 30 31 33 29 20 76 65 72 73 69 6f 6e 20 (2013) version
1bc0: 6f 66 20 41 65 72 75 61 6c 20 4f 72 74 6f 70 68 of Aerual Ortoph
1bd0: 6f 74 6f 20 66 75 6c 6c 79 20 63 6f 76 65 72 69 oto fully coveri
1be0: 6e 67 20 77 68 6f 6c 65 20 54 75 73 63 61 6e 79 ng whole Tuscany
1bf0: 2e 3c 2f 74 64 3e 0d 0a 3c 74 64 20 61 6c 69 67 .</td>..<td alig
1c00: 6e 3d 22 63 65 6e 74 65 72 22 3e 3c 69 6d 67 20 n="center"><img
1c10: 61 6c 74 3d 22 74 75 73 63 61 6e 79 31 30 22 20 alt="tuscany10"
1c20: 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 src="https://www
1c30: 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 .gaia-gis.it/gai
1c40: 61 2d 73 69 6e 73 2f 67 75 69 32 2d 70 69 63 73 a-sins/gui2-pics
1c50: 2f 74 75 73 63 61 6e 79 31 30 2e 70 6e 67 22 3e /tuscany10.png">
1c60: 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e </td></tr>..<tr>
1c70: 3c 74 64 3e 4e 6f 77 20 79 6f 75 27 6c 6c 20 72 <td>Now you'll r
1c80: 65 67 69 73 74 65 72 20 61 20 73 65 63 6f 6e 64 egister a second
1c90: 20 57 4d 53 20 6c 61 79 65 72 20 62 61 73 65 64 WMS layer based
1ca0: 20 6f 6e 20 3c 61 20 68 72 65 66 3d 22 68 74 74 on <a href="htt
1cb0: 70 73 3a 2f 2f 77 77 77 2e 6f 70 65 6e 73 74 72 ps://www.openstr
1cc0: 65 65 74 6d 61 70 2e 6f 72 67 22 3e 4f 70 65 6e eetmap.org">Open
1cd0: 20 53 74 72 65 65 74 20 4d 61 70 3c 2f 61 3e 20 Street Map</a>
1ce0: 76 65 63 74 6f 72 20 64 61 74 61 73 65 74 73 20 vector datasets
1cf0: 73 74 79 6c 65 64 20 6c 69 6b 65 20 74 68 65 20 styled like the
1d00: 76 65 72 79 20 70 6f 70 75 6c 61 72 20 3c 62 3e very popular <b>
1d10: 47 65 6f 6f 6c 65 4d 61 70 73 3c 2f 62 3e 2e 3c GeooleMaps</b>.<
1d20: 62 72 3e 3c 62 72 3e 0d 0a 3c 75 3e 4e 6f 74 65 br><br>..<u>Note
1d30: 3c 2f 75 3e 3a 20 69 6e 20 74 68 69 73 20 63 61 </u>: in this ca
1d40: 73 65 20 79 6f 75 27 6c 6c 20 6e 6f 74 20 73 65 se you'll not se
1d50: 6c 65 63 74 20 61 6e 79 20 73 70 65 63 69 66 69 lect any specifi
1d60: 63 20 63 68 69 6c 64 20 6c 61 79 65 72 3b 20 79 c child layer; y
1d70: 6f 75 27 6c 6c 20 73 65 6c 65 63 74 20 69 6e 73 ou'll select ins
1d80: 74 65 61 64 20 74 68 65 20 70 61 72 65 6e 74 20 tead the parent
1d90: 57 4d 53 20 73 75 70 65 72 2d 6c 61 79 65 72 2c WMS super-layer,
1da0: 20 73 6f 20 74 6f 20 67 65 74 20 61 20 63 6f 6d so to get a com
1db0: 70 6c 65 74 65 20 4f 53 4d 20 4d 61 70 20 69 6e plete OSM Map in
1dc0: 20 61 20 73 69 6e 67 6c 65 20 57 4d 53 20 72 65 a single WMS re
1dd0: 71 75 65 73 74 2e 3c 2f 74 64 3e 0d 0a 3c 74 64 quest.</td>..<td
1de0: 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e align="center">
1df0: 3c 69 6d 67 20 61 6c 74 3d 22 74 75 73 63 61 6e <img alt="tuscan
1e00: 79 31 31 22 20 73 72 63 3d 22 68 74 74 70 73 3a y11" src="https:
1e10: 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 //www.gaia-gis.i
1e20: 74 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 69 32 t/gaia-sins/gui2
1e30: 2d 70 69 63 73 2f 74 75 73 63 61 6e 79 31 31 2e -pics/tuscany11.
1e40: 70 6e 67 22 3e 3c 2f 74 64 3e 3c 2f 74 72 3e 0d png"></td></tr>.
1e50: 0a 3c 74 72 3e 3c 74 64 3e 41 73 20 79 6f 75 20 .<tr><td>As you
1e60: 68 61 76 65 20 61 6c 72 65 61 64 79 20 73 65 65 have already see
1e70: 6e 20 61 62 6f 75 74 20 3c 62 3e 52 61 73 74 65 n about <b>Raste
1e80: 72 3c 2f 62 3e 20 61 6e 64 20 3c 62 3e 56 65 63 r</b> and <b>Vec
1e90: 74 6f 72 20 43 6f 76 65 72 61 67 65 73 3c 2f 62 tor Coverages</b
1ea0: 3e 2c 20 65 78 70 6c 69 63 69 74 6c 79 20 73 65 >, explicitly se
1eb0: 74 74 69 6e 67 20 3c 62 3e 43 6f 70 79 72 69 67 tting <b>Copyrig
1ec0: 68 74 3c 2f 62 3e 20 61 6e 64 20 3c 62 3e 4c 69 ht</b> and <b>Li
1ed0: 63 65 6e 73 65 3c 2f 62 3e 20 69 6e 66 6f 72 6d cense</b> inform
1ee0: 61 74 69 6f 6e 73 20 61 6c 77 61 79 73 20 69 73 ations always is
1ef0: 20 61 20 62 65 73 74 20 70 72 61 63 74 69 63 65 a best practice
1f00: 3b 20 74 68 69 73 20 61 70 70 6c 69 65 73 20 74 ; this applies t
1f10: 6f 20 3c 62 3e 57 4d 53 20 4c 61 79 65 72 73 3c o <b>WMS Layers<
1f20: 2f 62 3e 20 74 6f 6f 2e 3c 2f 74 64 3e 0d 0a 3c /b> too.</td>..<
1f30: 74 64 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 td align="center
1f40: 22 3e 3c 69 6d 67 20 61 6c 74 3d 22 74 75 73 63 "><img alt="tusc
1f50: 61 6e 79 31 33 22 20 73 72 63 3d 22 68 74 74 70 any13" src="http
1f60: 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 s://www.gaia-gis
1f70: 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 .it/gaia-sins/gu
1f80: 69 32 2d 70 69 63 73 2f 74 75 73 63 61 6e 79 31 i2-pics/tuscany1
1f90: 33 2e 70 6e 67 22 3e 3c 2f 74 64 3e 3c 2f 74 72 3.png"></td></tr
1fa0: 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 54 68 69 73 20 >..<tr><td>This
1fb0: 69 73 20 74 68 65 20 64 69 61 6c 6f 67 20 62 6f is the dialog bo
1fc0: 78 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 x corresponding
1fd0: 74 6f 20 74 68 65 20 3c 62 3e 41 65 72 69 61 6c to the <b>Aerial
1fe0: 20 4f 72 74 6f 70 68 6f 74 6f 73 3c 2f 62 3e 20 Ortophotos</b>
1ff0: 57 4d 53 20 4c 61 79 65 72 2e 3c 2f 74 64 3e 0d WMS Layer.</td>.
2000: 0a 3c 74 64 20 61 6c 69 67 6e 3d 22 63 65 6e 74 .<td align="cent
2010: 65 72 22 3e 3c 69 6d 67 20 61 6c 74 3d 22 74 75 er"><img alt="tu
2020: 73 63 61 6e 79 31 32 22 20 73 72 63 3d 22 68 74 scany12" src="ht
2030: 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 tps://www.gaia-g
2040: 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f is.it/gaia-sins/
2050: 67 75 69 32 2d 70 69 63 73 2f 74 75 73 63 61 6e gui2-pics/tuscan
2060: 79 31 32 2e 70 6e 67 22 3e 3c 2f 74 64 3e 3c 2f y12.png"></td></
2070: 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 41 6e 64 tr>..<tr><td>And
2080: 20 74 68 69 73 20 69 73 20 74 68 65 20 64 69 61 this is the dia
2090: 6c 6f 67 20 62 6f 78 20 63 6f 72 72 65 73 70 6f log box correspo
20a0: 6e 64 69 6e 67 20 74 6f 20 74 68 65 20 3c 62 3e nding to the <b>
20b0: 4f 53 4d 20 47 6f 6f 67 6c 65 3c 2f 62 3e 20 57 OSM Google</b> W
20c0: 4d 53 20 4c 61 79 65 72 2e 3c 2f 74 64 3e 0d 0a MS Layer.</td>..
20d0: 3c 74 64 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 <td align="cente
20e0: 72 22 3e 3c 69 6d 67 20 61 6c 74 3d 22 74 75 73 r"><img alt="tus
20f0: 63 61 6e 79 31 34 22 20 73 72 63 3d 22 68 74 74 cany14" src="htt
2100: 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 ps://www.gaia-gi
2110: 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 67 s.it/gaia-sins/g
2120: 75 69 32 2d 70 69 63 73 2f 74 75 73 63 61 6e 79 ui2-pics/tuscany
2130: 31 34 2e 70 6e 67 22 3e 3c 2f 74 64 3e 3c 2f 74 14.png"></td></t
2140: 72 3e 0d 0a 3c 2f 74 61 62 6c 65 3e 3c 62 72 3e r>..</table><br>
2150: 0d 0a 3c 68 72 3e 0d 0a 3c 68 33 3e 53 74 65 70 ..<hr>..<h3>Step
2160: 20 23 34 3a 20 43 72 65 61 74 69 6e 67 2c 20 70 #4: Creating, p
2170: 6f 70 75 6c 61 74 69 6e 67 20 61 6e 64 20 63 6f opulating and co
2180: 6e 66 69 67 75 72 69 6e 67 20 74 68 65 20 44 54 nfiguring the DT
2190: 4d 20 43 6f 76 65 72 61 67 65 2e 3c 2f 68 33 3e M Coverage.</h3>
21a0: 0d 0a 3c 74 61 62 6c 65 20 63 65 6c 6c 70 61 64 ..<table cellpad
21b0: 64 69 6e 67 3d 22 38 22 20 63 65 6c 6c 73 70 61 ding="8" cellspa
21c0: 63 69 6e 67 3d 22 34 22 20 62 6f 72 64 65 72 3d cing="4" border=
21d0: 22 31 22 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 46 69 "1">..<tr><td>Fi
21e0: 6e 61 6c 20 74 61 73 6b 3a 20 6e 6f 77 20 79 6f nal task: now yo
21f0: 75 20 61 72 65 20 72 65 71 75 65 73 74 65 64 20 u are requested
2200: 74 6f 20 73 65 74 20 75 70 20 61 20 52 61 73 74 to set up a Rast
2210: 65 72 20 43 6f 76 65 72 61 67 65 20 62 61 73 65 er Coverage base
2220: 64 20 6f 6e 20 74 68 65 20 3c 62 3e 64 74 6d 6f d on the <b>dtmo
2230: 72 6f 2e 61 73 63 3c 2f 62 3e 20 44 54 4d 2e 3c ro.asc</b> DTM.<
2240: 62 72 3e 3c 62 72 3e 0d 0a 54 68 69 73 20 69 73 br><br>..This is
2250: 20 70 72 61 63 74 69 63 61 6c 6c 79 20 69 64 65 practically ide
2260: 6e 74 69 63 61 6c 20 74 6f 20 77 68 61 74 20 79 ntical to what y
2270: 6f 75 27 76 65 20 70 72 65 76 69 6f 75 73 6c 79 ou've previously
2280: 20 73 65 65 6e 20 61 62 6f 75 74 20 74 68 65 20 seen about the
2290: 3c 62 3e 45 54 4f 50 4f 31 3c 2f 62 3e 20 64 61 <b>ETOPO1</b> da
22a0: 74 61 73 65 74 2c 20 61 6e 64 20 79 6f 75 27 6c taset, and you'l
22b0: 6c 20 61 70 70 6c 79 20 6f 6e 63 65 20 61 67 61 l apply once aga
22c0: 69 6e 20 74 68 65 20 73 61 6d 65 20 73 74 79 6c in the same styl
22d0: 69 6e 67 20 72 75 6c 65 73 2e 3c 62 72 3e 3c 62 ing rules.<br><b
22e0: 72 3e 0d 0a 53 6f 20 77 65 27 6c 6c 20 6a 75 73 r>..So we'll jus
22f0: 74 20 65 78 70 6c 61 69 6e 20 74 68 65 20 66 65 t explain the fe
2300: 77 20 72 65 6c 65 76 61 6e 74 20 64 69 66 66 65 w relevant diffe
2310: 72 65 6e 63 65 73 2e 3c 2f 74 64 3e 3c 2f 74 72 rences.</td></tr
2320: 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 3c 68 34 3e 43 >..<tr><td><h4>C
2330: 72 65 61 74 69 6e 67 20 74 68 65 20 52 61 73 74 reating the Rast
2340: 65 72 20 43 6f 76 65 72 61 67 65 3c 2f 68 34 3e er Coverage</h4>
2350: 0d 0a 3c 62 3e 64 74 6d 6f 72 6f 3c 2f 62 3e 20 ..<b>dtmoro</b>
2360: 69 73 20 61 20 3c 62 3e 4e 75 6d 65 72 69 63 20 is a <b>Numeric
2370: 44 61 74 61 20 47 72 69 64 3c 2f 62 3e 20 65 78 Data Grid</b> ex
2380: 61 63 74 6c 79 20 61 73 20 3c 62 3e 45 54 4f 50 actly as <b>ETOP
2390: 4f 31 3c 2f 62 3e 2c 20 61 6e 79 77 61 79 20 61 O1</b>, anyway a
23a0: 20 64 69 66 66 65 72 65 6e 63 65 20 65 78 69 73 difference exis
23b0: 74 73 3a 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 75 6c ts:<br><br>..<ul
23c0: 3e 0d 0a 3c 6c 69 3e 45 54 4f 50 4f 31 20 69 73 >..<li>ETOPO1 is
23d0: 20 62 61 73 65 64 20 6f 6e 20 3c 62 3e 31 36 20 based on <b>16
23e0: 62 69 74 20 73 69 67 6e 65 64 20 69 6e 74 65 67 bit signed integ
23f0: 65 72 3c 2f 62 3e 20 76 61 6c 75 65 73 2e 3c 2f er</b> values.</
2400: 6c 69 3e 0d 0a 3c 6c 69 3e 64 74 6d 6f 72 6f 2e li>..<li>dtmoro.
2410: 61 73 63 20 69 73 20 62 61 73 65 64 20 6f 6e 20 asc is based on
2420: 3c 62 3e 66 6c 6f 61 74 69 6e 67 20 70 6f 69 6e <b>floating poin
2430: 74 20 73 69 6e 67 6c 65 20 70 72 65 63 69 73 69 t single precisi
2440: 6f 6e 3c 2f 62 3e 20 76 61 6c 75 65 73 2e 0d 0a on</b> values...
2450: 3c 2f 75 6c 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 20 </ul></td>..<td
2460: 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 3c align="center"><
2470: 69 6d 67 20 61 6c 74 3d 22 74 75 73 63 61 6e 79 img alt="tuscany
2480: 31 38 22 20 73 72 63 3d 22 68 74 74 70 73 3a 2f 18" src="https:/
2490: 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 /www.gaia-gis.it
24a0: 2f 67 61 69 61 2d 73 69 6e 73 2f 67 75 69 32 2d /gaia-sins/gui2-
24b0: 70 69 63 73 2f 74 75 73 63 61 6e 79 31 38 2e 70 pics/tuscany18.p
24c0: 6e 67 22 3e 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a ng"></td></tr>..
24d0: 3c 74 72 3e 3c 74 64 3e 3c 68 34 3e 49 6d 70 6f <tr><td><h4>Impo
24e0: 72 74 61 6e 74 20 6e 6f 74 69 63 65 3c 2f 68 34 rtant notice</h4
24f0: 3e 0d 0a 49 66 20 79 6f 75 20 61 72 65 20 77 6f >..If you are wo
2500: 72 6b 69 6e 67 20 6f 6e 20 61 6e 79 20 72 65 63 rking on any rec
2510: 65 6e 74 20 76 65 72 73 69 6f 6e 20 6f 66 20 3c ent version of <
2520: 62 3e 4d 53 20 57 69 6e 64 6f 77 73 3c 2f 62 3e b>MS Windows</b>
2530: 20 79 6f 75 20 73 74 72 69 63 74 6c 79 20 72 65 you strictly re
2540: 71 75 69 72 65 20 74 6f 20 65 78 65 63 75 74 65 quire to execute
2550: 64 20 3c 62 3e 73 70 61 74 69 61 6c 69 74 65 5f d <b>spatialite_
2560: 67 75 69 3c 2f 62 3e 20 75 6e 64 65 72 20 61 64 gui</b> under ad
2570: 6d 69 6e 69 73 74 61 74 6f 72 27 73 20 70 72 69 ministator's pri
2580: 76 69 6c 65 67 65 73 20 69 6e 20 6f 72 64 65 72 vileges in order
2590: 20 74 6f 20 73 75 63 63 65 73 66 75 6c 6c 79 20 to succesfully
25a0: 69 6d 70 6f 72 74 20 61 6e 20 3c 62 3e 41 53 43 import an <b>ASC
25b0: 49 49 20 47 72 69 64 3c 2f 62 3e 20 28 61 73 20 II Grid</b> (as
25c0: 3c 62 3e 64 74 6d 6f 72 6f 2e 61 73 63 3c 2f 62 <b>dtmoro.asc</b
25d0: 3e 20 69 73 29 2e 3c 62 72 3e 3c 62 72 3e 0d 0a > is).<br><br>..
25e0: 54 68 69 73 20 69 73 20 62 65 63 61 75 73 65 20 This is because
25f0: 57 69 6e 64 6f 77 73 20 37 2c 20 57 69 6e 64 6f Windows 7, Windo
2600: 77 73 20 38 20 61 6e 64 20 57 69 6e 64 6f 77 73 ws 8 and Windows
2610: 20 31 30 20 66 6f 72 20 73 65 63 75 72 69 74 79 10 for security
2620: 20 72 65 61 73 6f 6e 73 20 66 6f 72 62 69 64 20 reasons forbid
2630: 74 6f 20 63 72 65 61 74 65 20 3c 62 3e 74 65 6d to create <b>tem
2640: 70 6f 72 61 72 79 20 66 69 6c 65 73 3c 2f 62 3e porary files</b>
2650: 20 6f 6e 20 74 68 65 20 6c 6f 63 61 6c 20 66 69 on the local fi
2660: 6c 65 20 73 79 73 74 65 6d 73 20 74 6f 20 61 6c le systems to al
2670: 6c 20 75 6e 61 75 74 68 6f 72 69 7a 65 64 20 75 l unauthorized u
2680: 73 65 72 73 2e 3c 62 72 3e 0d 0a 54 68 65 20 73 sers.<br>..The s
2690: 61 6d 65 20 6c 69 6d 69 74 61 74 69 6f 6e 20 6f ame limitation o
26a0: 62 76 69 6f 75 73 6c 79 20 61 70 70 6c 69 65 73 bviously applies
26b0: 20 74 6f 20 3c 62 3e 72 6c 32 74 6f 6f 6c 2e 65 to <b>rl2tool.e
26c0: 78 65 3c 2f 62 3e 20 61 6e 64 20 74 6f 20 3c 62 xe</b> and to <b
26d0: 3e 6d 6f 64 5f 72 61 73 74 65 72 6c 69 74 65 32 >mod_rasterlite2
26e0: 2e 64 6c 6c 3c 2f 62 3e 20 62 65 63 61 75 73 65 .dll</b> because
26f0: 20 69 73 20 64 69 63 74 61 74 65 64 20 62 79 20 is dictated by
2700: 74 68 65 20 75 6e 64 65 72 6c 79 69 6e 67 20 6f the underlying o
2710: 70 65 72 61 74 69 6e 67 20 73 79 73 74 65 6d 2e perating system.
2720: 3c 62 72 3e 3c 62 72 3e 0d 0a 54 68 69 73 20 6f <br><br>..This o
2730: 64 64 20 6c 69 6d 69 74 61 74 69 6f 6e 20 69 73 dd limitation is
2740: 20 57 69 6e 64 6f 77 73 2d 73 70 65 63 69 66 69 Windows-specifi
2750: 63 2c 20 61 6e 64 20 6e 65 76 65 72 20 61 70 70 c, and never app
2760: 6c 69 65 73 20 74 6f 20 73 61 6e 65 20 6d 69 6e lies to sane min
2770: 64 65 64 20 4c 69 6e 75 78 2c 20 4d 61 63 20 4f ded Linux, Mac O
2780: 53 20 78 20 6f 72 20 55 6e 69 78 2d 6c 69 6b 65 S x or Unix-like
2790: 20 70 6c 61 74 66 6f 72 6d 73 2e 3c 2f 74 64 3e platforms.</td>
27a0: 0d 0a 3c 74 64 20 61 6c 69 67 6e 3d 22 63 65 6e ..<td align="cen
27b0: 74 65 72 22 3e 3c 69 6d 67 20 61 6c 74 3d 22 74 ter"><img alt="t
27c0: 75 73 63 61 6e 79 31 39 22 20 73 72 63 3d 22 68 uscany19" src="h
27d0: 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d ttps://www.gaia-
27e0: 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 gis.it/gaia-sins
27f0: 2f 67 75 69 32 2d 70 69 63 73 2f 74 75 73 63 61 /gui2-pics/tusca
2800: 6e 79 31 39 2e 70 6e 67 22 3e 3c 2f 74 64 3e 3c ny19.png"></td><
2810: 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 3c 68 /tr>..<tr><td><h
2820: 34 3e 4c 6f 61 64 69 6e 67 20 61 6e 20 41 53 43 4>Loading an ASC
2830: 49 49 20 47 72 69 64 3c 2f 68 34 3e 0d 0a 3c 75 II Grid</h4>..<u
2840: 3e 4e 6f 74 65 3c 2f 75 3e 3a 20 79 6f 75 20 68 >Note</u>: you h
2850: 61 76 65 20 74 6f 20 65 78 70 6c 69 63 69 74 6c ave to explicitl
2860: 79 20 73 65 74 20 61 6e 20 61 70 70 72 6f 70 72 y set an appropr
2870: 69 61 74 65 20 53 52 49 44 20 76 61 6c 75 65 2c iate SRID value,
2880: 20 62 65 63 61 75 73 65 20 74 68 65 20 41 53 43 because the ASC
2890: 49 49 20 47 72 69 64 20 66 6f 72 6d 61 74 20 64 II Grid format d
28a0: 6f 65 73 20 6e 6f 74 20 73 75 70 70 6f 72 74 20 oes not support
28b0: 61 6e 79 20 69 6e 74 65 72 6e 61 6c 20 53 52 49 any internal SRI
28c0: 44 20 64 65 63 6c 61 72 61 74 69 6f 6e 2e 3c 2f D declaration.</
28d0: 74 64 3e 0d 0a 3c 74 64 20 61 6c 69 67 6e 3d 22 td>..<td align="
28e0: 63 65 6e 74 65 72 22 3e 3c 69 6d 67 20 61 6c 74 center"><img alt
28f0: 3d 22 74 75 73 63 61 6e 79 32 31 22 20 73 72 63 ="tuscany21" src
2900: 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 ="https://www.ga
2910: 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 ia-gis.it/gaia-s
2920: 69 6e 73 2f 67 75 69 32 2d 70 69 63 73 2f 74 75 ins/gui2-pics/tu
2930: 73 63 61 6e 79 32 31 2e 70 6e 67 22 3e 3c 2f 74 scany21.png"></t
2940: 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 d></tr>..<tr><td
2950: 3e 3c 68 34 3e 53 74 79 6c 69 6e 67 20 74 68 65 ><h4>Styling the
2960: 20 44 54 4d 3c 2f 68 34 3e 0d 0a 4a 75 73 74 20 DTM</h4>..Just
2970: 66 6f 6c 6c 6f 77 20 74 68 65 20 73 61 6d 65 20 follow the same
2980: 70 72 6f 63 65 64 75 72 65 20 61 6c 72 65 61 64 procedure alread
2990: 79 20 65 78 70 6c 61 69 6e 65 64 20 61 62 6f 75 y explained abou
29a0: 74 20 3c 62 3e 45 54 4f 50 4f 31 3c 2f 62 3e 2e t <b>ETOPO1</b>.
29b0: 3c 2f 74 64 3e 0d 0a 3c 74 64 20 61 6c 69 67 6e </td>..<td align
29c0: 3d 22 63 65 6e 74 65 72 22 3e 3c 69 6d 67 20 61 ="center"><img a
29d0: 6c 74 3d 22 74 75 73 63 61 6e 79 32 37 22 20 73 lt="tuscany27" s
29e0: 72 63 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e rc="https://www.
29f0: 67 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 gaia-gis.it/gaia
2a00: 2d 73 69 6e 73 2f 67 75 69 32 2d 70 69 63 73 2f -sins/gui2-pics/
2a10: 74 75 73 63 61 6e 79 32 37 2e 70 6e 67 22 3e 3c tuscany27.png"><
2a20: 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c /td></tr>..<tr><
2a30: 74 64 3e 3c 68 34 3e 44 65 66 69 6e 69 6e 67 20 td><h4>Defining
2a40: 43 6f 70 79 72 69 67 68 74 20 61 6e 64 20 4c 69 Copyright and Li
2a50: 63 65 6e 73 65 20 69 6e 66 6f 72 6d 61 74 69 6f cense informatio
2a60: 6e 73 3c 2f 68 34 3e 0d 0a 3c 75 3e 52 65 6d 65 ns</h4>..<u>Reme
2a70: 6d 62 65 72 3c 2f 75 3e 3a 20 74 68 69 73 20 61 mber</u>: this a
2a80: 6c 77 61 79 73 20 69 73 20 61 20 77 61 72 6d 6c lways is a warml
2a90: 79 20 73 75 67 67 65 73 74 65 64 20 62 65 73 74 y suggested best
2aa0: 20 70 72 61 63 74 69 63 65 2e 3c 2f 74 64 3e 0d practice.</td>.
2ab0: 0a 3c 74 64 20 61 6c 69 67 6e 3d 22 63 65 6e 74 .<td align="cent
2ac0: 65 72 22 3e 3c 69 6d 67 20 61 6c 74 3d 22 74 75 er"><img alt="tu
2ad0: 73 63 61 6e 79 32 39 22 20 73 72 63 3d 22 68 74 scany29" src="ht
2ae0: 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 tps://www.gaia-g
2af0: 69 73 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f is.it/gaia-sins/
2b00: 67 75 69 32 2d 70 69 63 73 2f 74 75 73 63 61 6e gui2-pics/tuscan
2b10: 79 32 39 2e 70 6e 67 22 3e 3c 2f 74 64 3e 3c 2f y29.png"></td></
2b20: 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 46 69 6e tr>..<tr><td>Fin
2b30: 61 6c 20 73 74 65 70 3a 20 79 6f 75 20 68 61 76 al step: you hav
2b40: 65 20 6e 6f 77 20 74 6f 20 63 6f 6d 70 75 74 65 e now to compute
2b50: 20 74 68 65 20 66 75 6c 6c 20 45 78 74 65 6e 74 the full Extent
2b60: 20 28 42 42 4f 58 29 20 66 6f 72 20 74 68 65 20 (BBOX) for the
2b70: 3c 62 3e 64 74 6d 6f 72 6f 3c 2f 62 3e 20 52 61 <b>dtmoro</b> Ra
2b80: 73 74 65 72 20 43 6f 76 65 72 61 67 65 2e 0d 0a ster Coverage...
2b90: 3c 68 33 3e 41 6c 6c 20 72 69 67 68 74 3b 20 74 <h3>All right; t
2ba0: 68 65 20 3c 62 3e 74 75 73 63 61 6e 79 2e 73 71 he <b>tuscany.sq
2bb0: 6c 69 74 65 3c 2f 62 3e 20 73 61 6d 70 6c 65 20 lite</b> sample
2bc0: 64 61 74 61 62 61 73 65 20 69 73 20 6e 6f 77 20 database is now
2bd0: 72 65 61 64 79 20 74 6f 20 62 65 20 70 75 62 6c ready to be publ
2be0: 69 73 68 65 64 20 21 3c 2f 68 33 3e 0d 0a 3c 2f ished !</h3>..</
2bf0: 74 64 3e 0d 0a 3c 74 64 20 61 6c 69 67 6e 3d 22 td>..<td align="
2c00: 63 65 6e 74 65 72 22 3e 3c 69 6d 67 20 61 6c 74 center"><img alt
2c10: 3d 22 74 75 73 63 61 6e 79 33 30 22 20 73 72 63 ="tuscany30" src
2c20: 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 ="https://www.ga
2c30: 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d 73 ia-gis.it/gaia-s
2c40: 69 6e 73 2f 67 75 69 32 2d 70 69 63 73 2f 74 75 ins/gui2-pics/tu
2c50: 73 63 61 6e 79 33 30 2e 70 6e 67 22 3e 3c 2f 74 scany30.png"></t
2c60: 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 62 6c 65 d></tr>..</table
2c70: 3e 0d 0a 0d 0a 3c 62 72 3e 3c 62 72 3e 3c 68 72 >....<br><br><hr
2c80: 3e 0d 0a 42 61 63 6b 20 74 6f 20 3c 61 20 68 72 >..Back to <a hr
2c90: 65 66 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e ef="https://www.
2ca0: 67 61 69 61 2d 67 69 73 2e 69 74 2f 66 6f 73 73 gaia-gis.it/foss
2cb0: 69 6c 2f 73 70 61 74 69 61 6c 69 74 65 5f 67 75 il/spatialite_gu
2cc0: 69 2f 77 69 6b 69 3f 6e 61 6d 65 3d 73 70 61 74 i/wiki?name=spat
2cd0: 69 61 6c 69 74 65 2d 67 75 69 22 3e 6d 61 69 6e ialite-gui">main
2ce0: 20 57 69 6b 69 20 70 61 67 65 3c 2f 61 3e 0a 5a Wiki page</a>.Z
2cf0: 20 37 33 65 65 35 63 33 38 66 39 30 34 64 37 38 73ee5c38f904d78
2d00: 64 64 31 65 33 33 37 62 30 63 32 64 32 38 33 65 dd1e337b0c2d283e
2d10: 32 0a 2.