Hex Artifact Content
Not logged in

Artifact 7e5bbea3b6e15afe10cba45d20bbc1d9faeba645:

Wiki page [topo-advanced] by sandro 2015-11-13 14:10:58.
0000: 44 20 32 30 31 35 2d 31 31 2d 31 33 54 31 34 3a  D 2015-11-13T14:
0010: 31 30 3a 35 38 2e 37 35 31 0a 4c 20 74 6f 70 6f  10:58.751.L topo
0020: 2d 61 64 76 61 6e 63 65 64 0a 55 20 73 61 6e 64  -advanced.U sand
0030: 72 6f 0a 57 20 34 31 36 30 0a 3c 74 61 62 6c 65  ro.W 4160.<table
0040: 20 63 65 6c 6c 73 70 61 63 69 6e 67 3d 22 31 32   cellspacing="12
0050: 22 20 77 69 64 74 68 3d 22 31 30 30 25 22 3e 0d  " width="100%">.
0060: 0a 3c 74 72 3e 3c 74 64 20 63 6f 6c 73 70 61 6e  .<tr><td colspan
0070: 3d 22 32 22 3e 0d 0a 3c 74 61 62 6c 65 20 77 69  ="2">..<table wi
0080: 64 74 68 3d 22 31 30 30 25 22 20 62 67 63 6f 6c  dth="100%" bgcol
0090: 6f 72 3d 22 23 66 30 66 30 66 38 22 3e 0d 0a 3c  or="#f0f0f8">..<
00a0: 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 63 65  tr><td align="ce
00b0: 6e 74 65 72 22 3e 0d 0a 3c 68 31 3e 54 6f 70 6f  nter">..<h1>Topo
00c0: 6c 6f 67 79 2d 47 65 6f 6d 65 74 72 79 3a 20 61  logy-Geometry: a
00d0: 6e 20 61 64 76 61 6e 63 65 64 20 74 75 74 6f 72  n advanced tutor
00e0: 69 61 6c 3c 2f 68 31 3e 0d 0a 3c 2f 74 64 3e 3c  ial</h1>..</td><
00f0: 2f 74 72 3e 3c 2f 74 61 62 6c 65 3e 0d 0a 3c 74  /tr></table>..<t
0100: 61 62 6c 65 20 77 69 64 74 68 3d 22 31 30 30 25  able width="100%
0110: 22 3e 3c 74 72 3e 0d 0a 3c 74 64 20 77 69 64 74  "><tr>..<td widt
0120: 68 3d 22 33 33 25 22 20 61 6c 69 67 6e 3d 22 6c  h="33%" align="l
0130: 65 66 74 22 3e 3c 61 20 68 72 65 66 3d 22 68 74  eft"><a href="ht
0140: 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67  tps://www.gaia-g
0150: 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f 6c 69 62  is.it/fossil/lib
0160: 73 70 61 74 69 61 6c 69 74 65 2f 77 69 6b 69 3f  spatialite/wiki?
0170: 6e 61 6d 65 3d 74 6f 70 6f 6e 65 74 2d 69 6e 74  name=toponet-int
0180: 65 72 6d 65 64 69 61 74 65 22 3e 70 72 65 76 69  ermediate">previ
0190: 6f 75 73 20 70 61 67 65 3c 2f 61 3e 3c 2f 74 64  ous page</a></td
01a0: 3e 0d 0a 3c 74 64 20 61 6c 69 67 6e 3d 22 63 65  >..<td align="ce
01b0: 6e 74 65 72 22 3e 3c 61 20 68 72 65 66 3d 22 68  nter"><a href="h
01c0: 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d  ttps://www.gaia-
01d0: 67 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f 6c 69  gis.it/fossil/li
01e0: 62 73 70 61 74 69 61 6c 69 74 65 2f 77 69 6b 69  bspatialite/wiki
01f0: 3f 6e 61 6d 65 3d 6d 69 73 63 2d 64 6f 63 73 22  ?name=misc-docs"
0200: 3e 62 61 63 6b 20 74 6f 20 69 6e 64 65 78 3c 2f  >back to index</
0210: 61 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 20 77 69 64  a></td>..<td wid
0220: 74 68 3d 22 33 33 25 22 20 61 6c 69 67 6e 3d 22  th="33%" align="
0230: 72 69 67 68 74 22 3e 3c 61 20 68 72 65 66 3d 22  right"><a href="
0240: 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61  https://www.gaia
0250: 2d 67 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f 6c  -gis.it/fossil/l
0260: 69 62 73 70 61 74 69 61 6c 69 74 65 2f 77 69 6b  ibspatialite/wik
0270: 69 3f 6e 61 6d 65 3d 74 6f 70 6f 2d 61 64 76 61  i?name=topo-adva
0280: 6e 63 65 64 22 3e 6e 65 78 74 20 70 61 67 65 3c  nced">next page<
0290: 2f 61 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 3e 3c  /a></td>..</tr><
02a0: 2f 74 61 62 6c 65 3e 0d 0a 3c 68 33 3e 54 6f 70  /table>..<h3>Top
02b0: 6f 4c 61 79 65 72 73 20 61 6e 64 20 54 6f 70 6f  oLayers and Topo
02c0: 46 65 61 74 75 72 65 73 3c 2f 68 33 3e 0d 0a 49  Features</h3>..I
02d0: 6e 20 74 68 65 20 70 72 65 76 69 6f 75 73 20 74  n the previous t
02e0: 75 74 6f 72 69 61 6c 20 77 65 27 76 65 20 65 78  utorial we've ex
02f0: 61 6d 69 6e 65 64 20 61 20 66 69 72 73 74 20 63  amined a first c
0300: 6f 75 70 6c 65 20 6f 66 20 53 51 4c 20 66 75 6e  ouple of SQL fun
0310: 63 74 69 6f 6e 73 20 69 6e 74 65 6e 64 65 64 20  ctions intended 
0320: 74 6f 20 65 78 70 6f 72 74 20 61 20 47 65 6f 54  to export a GeoT
0330: 61 62 6c 65 20 6f 75 74 20 66 72 6f 6d 20 61 6e  able out from an
0340: 20 65 78 69 73 74 69 6e 67 20 54 6f 70 6f 6c 6f   existing Topolo
0350: 67 79 3a 20 3c 62 3e 54 6f 70 6f 47 65 6f 5f 54  gy: <b>TopoGeo_T
0360: 6f 47 65 6f 54 61 62 6c 65 28 29 3c 2f 62 3e 20  oGeoTable()</b> 
0370: 61 6e 64 20 3c 62 3e 54 6f 70 6f 47 65 6f 5f 54  and <b>TopoGeo_T
0380: 6f 47 65 6f 54 61 62 6c 65 47 65 6e 65 72 61 6c  oGeoTableGeneral
0390: 69 7a 65 28 29 3c 2f 62 3e 2e 3c 62 72 3e 0d 0a  ize()</b>.<br>..
03a0: 41 6e 79 77 61 79 20 53 70 61 74 69 61 4c 69 74  Anyway SpatiaLit
03b0: 65 20 73 75 70 70 6f 72 74 73 20 61 6e 20 6d 6f  e supports an mo
03c0: 72 65 20 73 6f 70 68 69 73 74 69 63 61 74 65 64  re sophisticated
03d0: 20 28 61 6e 64 20 63 6f 6d 70 6c 65 78 29 20 61   (and complex) a
03e0: 70 70 72 6f 61 63 68 20 62 61 73 65 64 20 6f 6e  pproach based on
03f0: 20 3c 62 3e 54 6f 70 6f 4c 61 79 65 72 73 3c 2f   <b>TopoLayers</
0400: 62 3e 20 61 6e 64 20 3c 62 3e 54 6f 70 6f 46 65  b> and <b>TopoFe
0410: 61 74 75 72 65 73 3c 2f 62 3e 20 73 70 65 63 69  atures</b> speci
0420: 66 69 63 61 6c 6c 79 20 69 6e 74 65 6e 64 65 64  fically intended
0430: 20 74 6f 20 73 75 70 70 6f 72 74 20 61 20 76 65   to support a ve
0440: 72 79 20 66 6c 65 78 69 62 6c 65 20 6d 65 63 68  ry flexible mech
0450: 61 6e 69 73 6d 20 66 6f 72 20 65 78 70 6f 72 74  anism for export
0460: 69 6e 67 20 61 20 66 75 6c 6c 20 73 65 74 20 6f  ing a full set o
0470: 66 20 47 65 6f 54 61 62 6c 65 28 73 29 20 64 69  f GeoTable(s) di
0480: 72 65 63 74 6c 79 20 64 65 72 69 76 69 6e 67 20  rectly deriving 
0490: 66 72 6f 6d 20 61 20 54 6f 70 6f 6c 6f 67 79 2e  from a Topology.
04a0: 0d 0a 3c 68 34 3e 61 20 63 6f 6e 63 65 70 74 75  ..<h4>a conceptu
04b0: 61 6c 20 72 65 66 65 72 65 6e 63 65 20 66 72 61  al reference fra
04c0: 6d 65 77 6f 72 6b 3c 2f 68 34 3e 0d 0a 3c 75 6c  mework</h4>..<ul
04d0: 3e 0d 0a 3c 6c 69 3e 61 6e 20 49 53 4f 20 54 6f  >..<li>an ISO To
04e0: 70 6f 6c 6f 67 79 20 69 73 20 6a 75 73 74 20 69  pology is just i
04f0: 6e 74 65 6e 64 65 64 20 74 6f 20 73 75 70 70 6f  ntended to suppo
0500: 72 74 20 61 20 63 6f 6e 73 69 73 74 65 6e 74 20  rt a consistent 
0510: 73 65 74 20 6f 66 20 3c 62 3e 4e 6f 64 65 73 3c  set of <b>Nodes<
0520: 2f 62 3e 2c 20 3c 62 3e 45 64 67 65 73 3c 2f 62  /b>, <b>Edges</b
0530: 3e 20 61 6e 64 20 3c 62 3e 46 61 63 65 73 3c 2f  > and <b>Faces</
0540: 62 3e 20 70 72 69 6d 69 74 69 76 65 73 20 66 75  b> primitives fu
0550: 6c 6c 79 20 63 6f 76 65 72 69 6e 67 20 74 68 65  lly covering the
0560: 20 70 6c 61 6e 65 2e 0d 0a 54 6f 70 6f 6c 6f 67   plane...Topolog
0570: 79 20 70 72 69 6d 69 74 69 76 65 73 20 63 6f 72  y primitives cor
0580: 72 65 73 70 6f 6e 64 20 74 6f 20 70 75 72 65 20  respond to pure 
0590: 67 65 6f 6d 65 74 72 69 65 73 2c 20 61 6e 64 20  geometries, and 
05a0: 63 61 6e 20 6e 65 76 65 72 20 62 65 20 64 69 72  can never be dir
05b0: 65 63 74 6c 79 20 20 61 73 73 6f 63 69 61 74 65  ectly  associate
05c0: 64 20 74 6f 20 61 20 63 6f 72 72 65 73 70 6f 6e  d to a correspon
05d0: 64 69 6e 67 20 73 65 74 20 6f 66 20 69 6e 66 6f  ding set of info
05e0: 72 6d 61 74 69 6f 6e 20 61 74 74 72 69 62 75 74  rmation attribut
05f0: 65 73 2e 0d 0a 42 6f 74 68 20 4e 6f 64 65 20 61  es...Both Node a
0600: 6e 64 20 45 64 67 65 20 70 72 69 6d 69 74 69 76  nd Edge primitiv
0610: 65 73 20 64 69 72 65 63 74 6c 79 20 63 6f 72 72  es directly corr
0620: 65 73 70 6f 6e 64 20 74 6f 20 61 20 3c 75 3e 3c  espond to a <u><
0630: 69 3e 72 65 61 6c 20 67 65 6f 6d 65 74 72 79 3c  i>real geometry<
0640: 2f 69 3e 3c 2f 75 3e 2c 20 62 75 74 20 46 61 63  /i></u>, but Fac
0650: 65 20 70 72 69 6d 69 74 69 76 65 73 20 73 69 6d  e primitives sim
0660: 70 6c 79 20 63 6f 72 72 65 73 70 6f 6e 64 20 74  ply correspond t
0670: 6f 20 61 20 3c 75 3e 3c 69 3e 76 69 72 74 75 61  o a <u><i>virtua
0680: 6c 20 67 65 6f 6d 65 74 72 79 3c 2f 69 3e 3c 2f  l geometry</i></
0690: 75 3e 20 74 68 75 73 20 6e 65 63 65 73 73 61 72  u> thus necessar
06a0: 69 6c 79 20 72 65 71 75 69 72 69 6e 67 20 74 6f  ily requiring to
06b0: 20 62 65 20 64 79 6e 61 6d 69 63 61 6c 6c 79 20   be dynamically 
06c0: 72 65 63 6f 6e 74 72 75 63 74 65 64 20 65 76 65  recontructed eve
06d0: 72 79 20 74 69 6d 65 20 74 68 61 74 20 74 68 65  ry time that the
06e0: 79 20 61 72 65 20 72 65 66 65 72 65 6e 63 65 64  y are referenced
06f0: 20 28 61 6e 64 20 74 68 69 73 20 63 6f 75 6c 64   (and this could
0700: 20 65 61 73 69 6c 79 20 62 65 63 6f 6d 65 20 61   easily become a
0710: 20 72 65 61 6c 20 62 6f 74 74 6c 65 6e 65 63 6b   real bottleneck
0720: 29 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 6f 6e 20  ).</li>..<li>on 
0730: 74 68 65 20 6f 74 68 65 72 20 68 61 6e 64 20 61  the other hand a
0740: 20 47 65 6f 54 61 62 6c 65 20 28 61 6b 61 20 3c   GeoTable (aka <
0750: 75 3e 3c 69 3e 6c 61 79 65 72 3c 2f 69 3e 3c 2f  u><i>layer</i></
0760: 75 3e 2c 20 61 73 20 69 6e 20 74 68 65 20 63 6f  u>, as in the co
0770: 6d 6d 6f 6e 20 47 49 53 20 70 61 72 6c 61 6e 63  mmon GIS parlanc
0780: 65 29 20 69 73 20 61 6c 77 61 79 73 20 62 61 73  e) is always bas
0790: 65 64 20 6f 6e 20 6d 61 6e 79 20 64 69 73 74 69  ed on many disti
07a0: 6e 63 74 20 66 65 61 74 75 72 65 73 2c 20 61 6e  nct features, an
07b0: 64 20 66 6f 72 20 65 61 63 68 20 66 65 61 74 75  d for each featu
07c0: 72 65 20 61 20 47 65 6f 6d 65 74 72 79 20 61 6e  re a Geometry an
07d0: 64 20 61 6e 20 61 73 73 6f 63 69 61 74 65 64 20  d an associated 
07e0: 73 65 74 20 6f 66 20 69 6e 66 6f 72 6d 61 74 69  set of informati
07f0: 6f 6e 20 61 74 74 72 69 62 75 74 65 73 20 61 72  on attributes ar
0800: 65 20 65 78 70 65 63 74 65 64 20 74 6f 20 62 65  e expected to be
0810: 20 64 65 63 6c 61 72 65 64 2e 3c 2f 6c 69 3e 0d   declared.</li>.
0820: 0a 3c 6c 69 3e 74 68 65 72 65 20 69 73 20 66 75  .<li>there is fu
0830: 72 74 68 65 72 20 64 69 66 66 65 72 65 6e 63 65  rther difference
0840: 20 74 6f 20 62 65 20 74 61 6b 65 6e 20 69 6e 20   to be taken in 
0850: 70 72 6f 70 65 72 20 61 63 63 6f 75 6e 74 3a 20  proper account: 
0860: 54 6f 70 6f 6c 6f 67 79 20 70 72 69 6d 69 74 69  Topology primiti
0870: 76 65 73 20 6e 65 63 65 73 73 61 72 69 6c 79 20  ves necessarily 
0880: 61 72 65 20 65 6c 65 6d 65 6e 74 61 72 79 2e 20  are elementary. 
0890: 46 65 61 74 75 72 65 20 47 65 6f 6d 65 74 72 69  Feature Geometri
08a0: 65 73 20 63 61 6e 20 75 73 75 61 6c 6c 79 20 72  es can usually r
08b0: 65 70 72 65 73 65 6e 74 20 73 6f 6d 65 20 63 6f  epresent some co
08c0: 6d 70 6c 65 78 20 74 79 70 65 3a 20 4d 55 4c 54  mplex type: MULT
08d0: 49 50 4f 49 4e 54 2c 20 4d 55 4c 54 49 4c 49 4e  IPOINT, MULTILIN
08e0: 45 53 54 52 49 4e 47 2c 20 4d 55 4c 54 49 50 4f  ESTRING, MULTIPO
08f0: 4c 59 47 4f 4e 20 61 6e 64 2c 20 6d 61 79 20 62  LYGON and, may b
0900: 65 2c 20 47 45 4f 4d 45 54 52 59 43 4f 4c 4c 45  e, GEOMETRYCOLLE
0910: 43 54 49 4f 4e 2e 20 53 6f 20 69 74 20 73 68 6f  CTION. So it sho
0920: 75 6c 64 20 62 65 20 61 62 73 6f 6c 75 74 65 6c  uld be absolutel
0930: 79 20 63 6c 65 61 72 20 74 68 61 74 20 61 20 46  y clear that a F
0940: 65 61 74 75 72 65 20 47 65 6f 6d 65 74 72 79 20  eature Geometry 
0950: 64 6f 65 73 20 6e 6f 74 20 6e 65 63 65 73 73 61  does not necessa
0960: 72 69 6c 79 20 63 6f 72 72 65 73 70 6f 6e 64 73  rily corresponds
0970: 20 74 6f 20 61 20 73 69 6e 67 6c 65 20 54 6f 70   to a single Top
0980: 6f 6c 6f 67 79 20 70 72 69 6d 69 74 69 76 65 20  ology primitive 
0990: 3b 20 61 20 46 65 61 74 75 72 65 20 47 65 6f 6d  ; a Feature Geom
09a0: 65 74 72 79 20 63 6f 75 6c 64 20 65 61 73 69 6c  etry could easil
09b0: 79 20 62 65 20 64 65 72 69 76 65 64 20 66 72 6f  y be derived fro
09c0: 6d 20 61 67 67 72 65 67 61 74 69 6e 67 20 6d 61  m aggregating ma
09d0: 6e 79 20 64 69 66 66 65 72 65 6e 74 20 54 6f 70  ny different Top
09e0: 6f 6c 6f 67 79 20 70 72 69 6d 69 74 65 73 2e 3c  ology primites.<
09f0: 2f 6c 69 3e 20 0d 0a 3c 6c 69 3e 74 68 61 74 27  /li> ..<li>that'
0a00: 73 20 6e 6f 74 20 61 6c 6c 3a 20 6d 61 6e 79 20  s not all: many 
0a10: 64 69 66 66 65 72 65 6e 74 20 47 65 6f 54 61 62  different GeoTab
0a20: 6c 65 73 20 63 6f 75 6c 64 20 65 76 65 6e 61 74  les could evenat
0a30: 75 61 6c 6c 79 20 62 65 20 64 65 72 69 76 65 64  ually be derived
0a40: 20 66 72 6f 6d 20 61 20 73 69 6e 67 6c 65 20 54   from a single T
0a50: 6f 70 6f 6c 6f 67 79 3b 20 61 6e 64 20 74 68 65  opology; and the
0a60: 20 73 61 6d 65 20 54 6f 70 6f 6c 6f 67 79 20 70   same Topology p
0a70: 72 69 6d 69 74 69 76 65 20 63 6f 75 6c 64 20 70  rimitive could p
0a80: 6c 61 79 20 61 20 76 65 72 79 20 64 69 66 66 65  lay a very diffe
0a90: 72 65 6e 74 20 72 6f 6c 65 20 69 6e 20 65 76 65  rent role in eve
0aa0: 72 79 6f 6e 65 20 6f 66 20 74 68 65 73 65 20 47  ryone of these G
0ab0: 65 6f 54 61 62 6c 65 73 2e 3c 62 72 3e 0d 0a 4a  eoTables.<br>..J
0ac0: 75 73 74 20 61 20 62 61 73 69 63 61 6c 6c 79 20  ust a basically 
0ad0: 73 69 6d 70 6c 65 20 65 78 61 6d 70 6c 65 3a 20  simple example: 
0ae0: 69 6d 61 67 69 6e 65 20 61 20 54 6f 70 6f 6c 6f  imagine a Topolo
0af0: 67 79 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67  gy corresponding
0b00: 20 74 6f 20 73 6f 6d 65 20 63 61 64 61 73 74 72   to some cadastr
0b10: 61 6c 20 6d 61 70 2e 20 57 65 27 6c 6c 20 73 75  al map. We'll su
0b20: 72 65 6c 79 20 68 61 76 65 20 6d 61 6e 79 20 70  rely have many p
0b30: 6f 74 65 6e 74 69 61 6c 20 6c 61 79 65 72 73 3a  otential layers:
0b40: 20 62 75 69 6c 64 69 6e 67 73 2c 20 61 67 72 69   buildings, agri
0b50: 63 75 6c 74 75 72 61 6c 20 6c 61 6e 64 2c 20 70  cultural land, p
0b60: 6f 70 75 6c 61 74 65 64 20 70 6c 61 63 65 73 2c  opulated places,
0b70: 20 61 64 6d 69 6e 69 73 74 72 61 74 69 76 65 20   administrative 
0b80: 62 6f 75 6e 64 61 72 69 65 73 2c 20 72 6f 61 64  boundaries, road
0b90: 73 2c 20 70 6f 6e 64 73 2c 20 72 69 76 65 72 73  s, ponds, rivers
0ba0: 2c 20 66 65 6e 63 65 73 20 61 6e 64 20 73 6f 20  , fences and so 
0bb0: 6f 6e 2e 3c 62 72 3e 0d 0a 49 6e 20 73 75 63 68  on.<br>..In such
0bc0: 20 61 20 63 6f 6e 74 65 78 74 20 61 20 66 65 6e   a context a fen
0bd0: 63 65 20 63 6f 75 6c 64 20 65 61 73 69 6c 79 20  ce could easily 
0be0: 63 6f 72 72 65 73 70 6f 6e 64 20 74 6f 20 61 20  correspond to a 
0bf0: 46 65 61 74 75 72 65 20 77 69 74 68 69 6e 20 74  Feature within t
0c00: 68 65 20 22 3c 69 3e 3c 62 3e 66 65 6e 63 65 73  he "<i><b>fences
0c10: 3c 2f 62 3e 3c 2f 69 3e 22 20 6c 61 79 65 72 2c  </b></i>" layer,
0c20: 20 63 6f 75 6c 64 20 70 72 6f 62 61 62 6c 79 20   could probably 
0c30: 64 65 6c 69 6d 69 74 20 74 77 6f 20 61 64 6a 61  delimit two adja
0c40: 63 65 6e 74 20 61 67 72 69 63 75 6c 74 75 72 61  cent agricultura
0c50: 6c 20 61 72 65 61 73 20 61 6e 64 20 63 6f 75 6c  l areas and coul
0c60: 64 20 65 76 65 6e 74 75 61 6c 6c 79 20 62 65 20  d eventually be 
0c70: 70 61 72 74 20 6f 66 20 73 6f 6d 65 20 61 64 6d  part of some adm
0c80: 69 6e 69 73 74 72 61 74 69 76 65 20 62 6f 75 6e  inistrative boun
0c90: 64 61 72 79 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e  dary.</li>..<li>
0ca0: 3c 62 3e 54 6f 70 6f 4c 61 79 65 72 73 3c 2f 62  <b>TopoLayers</b
0cb0: 3e 20 61 6e 64 20 3c 62 3e 54 6f 70 6f 46 65 61  > and <b>TopoFea
0cc0: 74 75 72 65 73 3c 2f 62 3e 20 72 65 70 72 65 73  tures</b> repres
0cd0: 65 6e 74 20 61 20 63 6f 6d 70 6c 65 78 20 6d 61  ent a complex ma
0ce0: 70 70 69 6e 67 20 73 74 72 75 63 74 75 72 65 20  pping structure 
0cf0: 61 6c 6c 6f 77 69 6e 67 20 74 6f 20 65 73 74 61  allowing to esta
0d00: 62 6c 69 73 68 20 70 65 72 6d 61 6e 65 6e 74 20  blish permanent 
0d10: 65 78 70 6c 69 63 69 74 20 63 6f 72 72 65 73 70  explicit corresp
0d20: 6f 6e 64 65 6e 63 65 73 20 62 65 74 77 65 65 6e  ondences between
0d30: 20 54 6f 70 6f 6c 6f 67 79 20 50 72 69 6d 69 74   Topology Primit
0d40: 69 76 65 73 20 61 6e 64 20 47 65 6f 54 61 62 6c  ives and GeoTabl
0d50: 65 20 46 65 61 74 75 72 65 73 2e 0d 0a 3c 75 6c  e Features...<ul
0d60: 3e 0d 0a 3c 6c 69 3e 65 61 63 68 20 3c 62 3e 54  >..<li>each <b>T
0d70: 6f 70 6f 4c 61 79 65 72 3c 2f 62 3e 20 64 69 72  opoLayer</b> dir
0d80: 65 63 74 6c 79 20 63 6f 72 72 65 73 70 6f 6e 64  ectly correspond
0d90: 73 20 74 6f 20 61 20 73 69 6e 67 6c 65 20 47 65  s to a single Ge
0da0: 6f 54 61 62 6c 65 20 74 6f 20 62 65 20 65 78 70  oTable to be exp
0db0: 6f 72 74 65 64 20 66 72 6f 6d 20 74 68 65 20 54  orted from the T
0dc0: 6f 70 6f 6c 6f 67 79 2e 3c 2f 6c 69 3e 0d 0a 3c  opology.</li>..<
0dd0: 6c 69 3e 61 20 3c 62 3e 54 6f 70 6f 46 65 61 74  li>a <b>TopoFeat
0de0: 75 72 65 3c 2f 62 3e 20 63 6f 72 72 65 73 70 6f  ure</b> correspo
0df0: 6e 64 73 20 74 6f 20 61 20 73 69 6e 67 6c 65 20  nds to a single 
0e00: 46 65 61 74 75 72 65 2c 20 63 6f 6e 74 61 69 6e  Feature, contain
0e10: 73 20 61 6e 20 69 6e 64 69 76 69 64 75 61 6c 20  s an individual 
0e20: 73 65 74 20 6f 66 20 69 6e 66 6f 72 6d 61 74 69  set of informati
0e30: 6f 6e 20 61 74 74 72 69 62 75 74 65 73 20 61 6e  on attributes an
0e40: 64 20 64 65 74 61 69 6c 65 64 6c 79 20 73 70 65  d detailedly spe
0e50: 63 69 66 69 65 73 20 77 68 69 63 68 20 54 6f 70  cifies which Top
0e60: 6f 6c 6f 67 79 20 70 72 69 6d 69 74 69 76 65 73  ology primitives
0e70: 20 6d 75 73 74 20 62 65 20 61 67 67 72 65 67 61   must be aggrega
0e80: 74 65 64 20 69 6e 20 6f 72 64 65 72 20 74 6f 20  ted in order to 
0e90: 63 6f 6d 70 6f 73 65 20 74 68 65 20 61 70 70 72  compose the appr
0ea0: 6f 72 69 61 74 65 20 47 65 6f 6d 65 74 72 79 2e  oriate Geometry.
0eb0: 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 3c 2f 6c 69  </li>..</ul></li
0ec0: 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 0d 0a 3c 62 72 3e  >..</ul>....<br>
0ed0: 3c 62 72 3e 0d 0a 3c 74 61 62 6c 65 20 77 69 64  <br>..<table wid
0ee0: 74 68 3d 22 31 30 30 25 22 3e 3c 74 72 3e 0d 0a  th="100%"><tr>..
0ef0: 3c 74 64 20 77 69 64 74 68 3d 22 33 33 25 22 20  <td width="33%" 
0f00: 61 6c 69 67 6e 3d 22 6c 65 66 74 22 3e 3c 61 20  align="left"><a 
0f10: 68 72 65 66 3d 22 68 74 74 70 73 3a 2f 2f 77 77  href="https://ww
0f20: 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 66 6f  w.gaia-gis.it/fo
0f30: 73 73 69 6c 2f 6c 69 62 73 70 61 74 69 61 6c 69  ssil/libspatiali
0f40: 74 65 2f 77 69 6b 69 3f 6e 61 6d 65 3d 74 6f 70  te/wiki?name=top
0f50: 6f 6e 65 2d 61 64 76 61 6e 63 65 64 22 3e 70 72  one-advanced">pr
0f60: 65 76 69 6f 75 73 20 70 61 67 65 3c 2f 61 3e 3c  evious page</a><
0f70: 2f 74 64 3e 0d 0a 3c 74 64 20 61 6c 69 67 6e 3d  /td>..<td align=
0f80: 22 63 65 6e 74 65 72 22 3e 3c 61 20 68 72 65 66  "center"><a href
0f90: 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61  ="https://www.ga
0fa0: 69 61 2d 67 69 73 2e 69 74 2f 66 6f 73 73 69 6c  ia-gis.it/fossil
0fb0: 2f 6c 69 62 73 70 61 74 69 61 6c 69 74 65 2f 77  /libspatialite/w
0fc0: 69 6b 69 3f 6e 61 6d 65 3d 6d 69 73 63 2d 64 6f  iki?name=misc-do
0fd0: 63 73 22 3e 62 61 63 6b 20 74 6f 20 69 6e 64 65  cs">back to inde
0fe0: 78 3c 2f 61 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 20  x</a></td>..<td 
0ff0: 77 69 64 74 68 3d 22 33 33 25 22 20 61 6c 69 67  width="33%" alig
1000: 6e 3d 22 72 69 67 68 74 22 3e 3c 61 20 68 72 65  n="right"><a hre
1010: 66 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67  f="https://www.g
1020: 61 69 61 2d 67 69 73 2e 69 74 2f 66 6f 73 73 69  aia-gis.it/fossi
1030: 6c 2f 6c 69 62 73 70 61 74 69 61 6c 69 74 65 2f  l/libspatialite/
1040: 77 69 6b 69 3f 6e 61 6d 65 3d 74 6f 70 6f 2d 61  wiki?name=topo-a
1050: 64 76 61 6e 63 65 64 22 3e 6e 65 78 74 20 70 61  dvanced">next pa
1060: 67 65 3c 2f 61 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74  ge</a></td>..</t
1070: 72 3e 3c 2f 74 61 62 6c 65 3e 0a 5a 20 36 65 65  r></table>.Z 6ee
1080: 65 39 37 35 38 66 63 66 37 36 63 33 39 37 33 32  e9758fcf76c39732
1090: 64 37 63 35 63 63 32 62 66 38 39 37 37 0a        d7c5cc2bf8977.