Hex Artifact Content
Not logged in

Artifact 6175b4c8ba095da2ff8c0128b6b83310b7bf1f21:

Wiki page [topo-intro] by sandro 2015-11-20 01:09:17.
0000: 44 20 32 30 31 35 2d 31 31 2d 32 30 54 30 31 3a  D 2015-11-20T01:
0010: 30 39 3a 31 37 2e 38 32 36 0a 4c 20 74 6f 70 6f  09:17.826.L topo
0020: 2d 69 6e 74 72 6f 0a 50 20 32 62 37 31 62 39 33  -intro.P 2b71b93
0030: 38 32 37 64 61 31 31 31 64 31 30 65 33 39 64 38  827da111d10e39d8
0040: 61 38 34 31 36 62 62 34 65 63 33 32 37 63 65 64  a8416bb4ec327ced
0050: 37 0a 55 20 73 61 6e 64 72 6f 0a 57 20 38 31 39  7.U sandro.W 819
0060: 33 0a 3c 74 61 62 6c 65 20 63 65 6c 6c 73 70 61  3.<table cellspa
0070: 63 69 6e 67 3d 22 31 32 22 20 77 69 64 74 68 3d  cing="12" width=
0080: 22 31 30 30 25 22 3e 0d 0a 3c 74 72 3e 3c 74 64  "100%">..<tr><td
0090: 20 63 6f 6c 73 70 61 6e 3d 22 32 22 3e 0d 0a 3c   colspan="2">..<
00a0: 74 61 62 6c 65 20 77 69 64 74 68 3d 22 31 30 30  table width="100
00b0: 25 22 20 62 67 63 6f 6c 6f 72 3d 22 23 66 30 66  %" bgcolor="#f0f
00c0: 30 66 38 22 3e 0d 0a 3c 74 72 3e 3c 74 64 20 61  0f8">..<tr><td a
00d0: 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0d 0a  lign="center">..
00e0: 3c 68 31 3e 49 53 4f 20 54 6f 70 6f 6c 6f 67 79  <h1>ISO Topology
00f0: 3a 20 61 20 71 75 69 63 6b 20 69 6e 74 72 6f 3c  : a quick intro<
0100: 2f 68 31 3e 0d 0a 3c 2f 74 64 3e 3c 2f 74 72 3e  /h1>..</td></tr>
0110: 3c 2f 74 61 62 6c 65 3e 0d 0a 3c 74 61 62 6c 65  </table>..<table
0120: 20 77 69 64 74 68 3d 22 31 30 30 25 22 3e 3c 74   width="100%"><t
0130: 72 3e 0d 0a 3c 74 64 20 77 69 64 74 68 3d 22 33  r>..<td width="3
0140: 33 25 22 20 61 6c 69 67 6e 3d 22 6c 65 66 74 22  3%" align="left"
0150: 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 20 61 6c 69 67  ></td>..<td alig
0160: 6e 3d 22 63 65 6e 74 65 72 22 3e 3c 61 20 68 72  n="center"><a hr
0170: 65 66 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e  ef="https://www.
0180: 67 61 69 61 2d 67 69 73 2e 69 74 2f 66 6f 73 73  gaia-gis.it/foss
0190: 69 6c 2f 6c 69 62 73 70 61 74 69 61 6c 69 74 65  il/libspatialite
01a0: 2f 77 69 6b 69 3f 6e 61 6d 65 3d 6d 69 73 63 2d  /wiki?name=misc-
01b0: 64 6f 63 73 22 3e 62 61 63 6b 20 74 6f 20 69 6e  docs">back to in
01c0: 64 65 78 3c 2f 61 3e 3c 2f 74 64 3e 0d 0a 3c 74  dex</a></td>..<t
01d0: 64 20 77 69 64 74 68 3d 22 33 33 25 22 20 61 6c  d width="33%" al
01e0: 69 67 6e 3d 22 72 69 67 68 74 22 3e 3c 61 20 68  ign="right"><a h
01f0: 72 65 66 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77  ref="https://www
0200: 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 66 6f 73  .gaia-gis.it/fos
0210: 73 69 6c 2f 6c 69 62 73 70 61 74 69 61 6c 69 74  sil/libspatialit
0220: 65 2f 77 69 6b 69 3f 6e 61 6d 65 3d 74 6f 70 6f  e/wiki?name=topo
0230: 2d 6c 61 79 6f 75 74 22 3e 6e 65 78 74 20 70 61  -layout">next pa
0240: 67 65 3c 2f 61 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74  ge</a></td>..</t
0250: 72 3e 3c 2f 74 61 62 6c 65 3e 3c 62 72 3e 0d 0a  r></table><br>..
0260: 3c 74 61 62 6c 65 20 62 67 63 6f 6c 6f 72 3d 22  <table bgcolor="
0270: 23 64 30 65 30 66 66 22 20 77 69 64 74 68 3d 22  #d0e0ff" width="
0280: 31 30 30 25 22 3e 0d 0a 3c 74 72 3e 3c 74 64 20  100%">..<tr><td 
0290: 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0d  align="center">.
02a0: 0a 3c 62 3e 43 72 65 64 69 74 73 3c 2f 62 3e 3c  .<b>Credits</b><
02b0: 62 72 3e 0d 0a 44 65 76 65 6c 6f 70 6d 65 6e 74  br>..Development
02c0: 20 6f 66 20 3c 62 3e 3c 69 3e 53 70 61 74 69 61   of <b><i>Spatia
02d0: 4c 69 74 65 20 54 6f 70 6f 6c 6f 67 79 3c 2f 69  Lite Topology</i
02e0: 3e 3c 2f 62 3e 20 68 61 73 20 62 65 65 6e 20 73  ></b> has been s
02f0: 75 62 73 74 61 6e 74 69 61 6c 6c 79 20 66 75 6e  ubstantially fun
0300: 64 65 64 20 62 79 0d 0a 3c 61 20 68 72 65 66 3d  ded by..<a href=
0310: 22 68 74 74 70 3a 2f 2f 65 6e 2e 77 69 6b 69 70  "http://en.wikip
0320: 65 64 69 61 2e 6f 72 67 2f 77 69 6b 69 2f 54 75  edia.org/wiki/Tu
0330: 73 63 61 6e 79 22 3e 54 75 73 63 61 6e 79 20 52  scany">Tuscany R
0340: 65 67 69 6f 6e 3c 2f 61 3e 20 2d 20 54 65 72 72  egion</a> - Terr
0350: 69 74 6f 72 69 61 6c 20 61 6e 64 20 45 6e 76 69  itorial and Envi
0360: 72 6f 6e 6d 65 6e 74 61 6c 20 49 6e 66 6f 72 6d  ronmental Inform
0370: 61 74 69 6f 6e 20 53 79 73 74 65 6d 3c 62 72 3e  ation System<br>
0380: 0d 0a 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a  ..<a href="http:
0390: 2f 2f 77 77 77 2e 72 65 67 69 6f 6e 65 2e 74 6f  //www.regione.to
03a0: 73 63 61 6e 61 2e 69 74 2f 61 6d 62 69 65 6e 74  scana.it/ambient
03b0: 65 65 74 65 72 72 69 74 6f 72 69 6f 2f 67 65 6f  eeterritorio/geo
03c0: 67 72 61 66 69 61 67 65 6f 6c 6f 67 69 61 2f 69  grafiageologia/i
03d0: 6e 64 65 78 2e 68 74 6d 6c 22 3e 52 65 67 69 6f  ndex.html">Regio
03e0: 6e 65 20 54 6f 73 63 61 6e 61 3c 2f 61 3e 20 2d  ne Toscana</a> -
03f0: 20 53 65 74 74 6f 72 65 20 53 69 73 74 65 6d 61   Settore Sistema
0400: 20 49 6e 66 6f 72 6d 61 74 69 76 6f 20 54 65 72   Informativo Ter
0410: 72 69 74 6f 72 69 61 6c 65 20 65 64 20 41 6d 62  ritoriale ed Amb
0420: 69 65 6e 74 61 6c 65 2e 0d 0a 3c 2f 74 64 3e 3c  ientale...</td><
0430: 2f 74 72 3e 3c 2f 74 61 62 6c 65 3e 0d 0a 3c 68  /tr></table>..<h
0440: 72 3e 3c 62 72 3e 0d 0a 3c 61 20 68 72 65 66 3d  r><br>..<a href=
0450: 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69  "https://www.gai
0460: 61 2d 67 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f  a-gis.it/fossil/
0470: 6c 69 62 73 70 61 74 69 61 6c 69 74 65 2f 77 69  libspatialite/wi
0480: 6b 69 3f 6e 61 6d 65 3d 34 2e 33 2e 30 2b 64 6f  ki?name=4.3.0+do
0490: 63 22 3e 62 61 63 6b 3c 2f 61 3e 0d 0a 3c 74 72  c">back</a>..<tr
04a0: 3e 3c 74 64 20 77 69 64 74 68 3d 22 35 30 25 22  ><td width="50%"
04b0: 3e 0d 0a 3c 74 61 62 6c 65 20 77 69 64 74 68 3d  >..<table width=
04c0: 22 31 30 30 25 22 20 62 67 63 6f 6c 6f 72 3d 22  "100%" bgcolor="
04d0: 23 66 30 66 30 66 38 22 20 63 65 6c 6c 73 70 61  #f0f0f8" cellspa
04e0: 63 69 6e 67 3d 22 34 22 20 63 65 6c 6c 70 61 64  cing="4" cellpad
04f0: 64 69 6e 67 3d 22 34 22 3e 0d 0a 3c 74 72 3e 3c  ding="4">..<tr><
0500: 74 64 3e 0d 0a 3c 68 33 3e 4f 47 43 2d 53 46 53  td>..<h3>OGC-SFS
0510: 20 47 65 6f 6d 65 74 72 69 65 73 3c 2f 68 33 3e   Geometries</h3>
0520: 0d 0a 41 73 20 79 6f 75 20 61 6c 72 65 61 64 79  ..As you already
0530: 20 6b 6e 6f 77 2c 20 74 68 65 20 73 74 61 6e 64   know, the stand
0540: 61 72 64 20 72 65 70 72 65 73 65 6e 74 61 74 69  ard representati
0550: 6f 6e 20 6f 66 20 47 65 6f 6d 65 74 72 69 65 73  on of Geometries
0560: 20 73 75 70 70 6f 72 74 65 64 20 62 79 20 61 6e   supported by an
0570: 79 20 65 78 69 73 74 69 6e 67 20 53 70 61 74 69  y existing Spati
0580: 61 6c 20 44 42 4d 53 20 69 73 20 62 61 73 65 64  al DBMS is based
0590: 20 6f 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e   on the followin
05a0: 67 20 53 46 53 20 63 6c 61 73 73 65 73 20 28 6e  g SFS classes (n
05b0: 6f 6e 2d 74 6f 70 6f 6c 6f 67 69 63 61 6c 29 3a  on-topological):
05c0: 3c 75 6c 3e 0d 0a 3c 6c 69 3e 28 4d 55 4c 54 49  <ul>..<li>(MULTI
05d0: 29 50 4f 49 4e 54 3c 2f 6c 69 3e 0d 0a 3c 6c 69  )POINT</li>..<li
05e0: 3e 28 4d 55 4c 54 49 29 4c 49 4e 45 53 54 52 49  >(MULTI)LINESTRI
05f0: 4e 47 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 28 4d 55  NG</li>..<li>(MU
0600: 4c 54 49 29 50 4f 4c 59 47 4f 4e 3c 2f 6c 69 3e  LTI)POLYGON</li>
0610: 0d 0a 3c 6c 69 3e 47 45 4f 4d 45 54 52 59 43 4f  ..<li>GEOMETRYCO
0620: 4c 4c 45 43 54 49 4f 4e 3c 2f 6c 69 3e 0d 0a 3c  LLECTION</li>..<
0630: 2f 75 6c 3e 0d 0a 3c 68 33 3e 54 6f 70 6f 6c 6f  /ul>..<h3>Topolo
0640: 67 79 2d 47 65 6f 6d 65 74 72 79 3c 2f 68 33 3e  gy-Geometry</h3>
0650: 0d 0a 54 68 65 20 69 6e 74 65 72 6e 61 74 69 6f  ..The internatio
0660: 6e 61 6c 20 73 74 61 6e 64 61 72 64 20 3c 62 3e  nal standard <b>
0670: 49 53 4f 2f 49 45 43 20 31 33 32 34 39 2d 33 3c  ISO/IEC 13249-3<
0680: 2f 62 3e 20 28 3c 69 3e 49 6e 66 6f 72 6d 61 74  /b> (<i>Informat
0690: 69 6f 6e 20 74 65 63 68 6e 6f 6c 6f 67 79 20 2d  ion technology -
06a0: 2d 20 44 61 74 61 62 61 73 65 20 6c 61 6e 67 75  - Database langu
06b0: 61 67 65 73 20 2d 2d 20 53 51 4c 20 6d 75 6c 74  ages -- SQL mult
06c0: 69 6d 65 64 69 61 20 61 6e 64 20 61 70 70 6c 69  imedia and appli
06d0: 63 61 74 69 6f 6e 20 70 61 63 6b 61 67 65 73 20  cation packages 
06e0: 2d 2d 20 50 61 72 74 20 33 3a 20 53 70 61 74 69  -- Part 3: Spati
06f0: 61 6c 3c 2f 69 3e 20 61 6b 61 20 3c 62 3e 3c 69  al</i> aka <b><i
0700: 3e 53 51 4c 2f 4d 4d 3c 2f 69 3e 3c 2f 62 3e 29  >SQL/MM</i></b>)
0710: 20 64 65 66 69 6e 65 73 20 61 20 72 61 64 69 63   defines a radic
0720: 61 6c 6c 79 20 64 69 66 66 65 72 65 6e 74 20 47  ally different G
0730: 65 6f 6d 65 74 72 79 20 6d 6f 64 65 6c 20 6e 61  eometry model na
0740: 6d 65 64 20 3c 62 3e 54 6f 70 6f 6c 6f 67 79 2d  med <b>Topology-
0750: 47 65 6f 6d 65 74 72 79 3c 2f 62 3e 20 62 61 73  Geometry</b> bas
0760: 65 64 20 6f 6e 20 74 68 65 20 66 6f 6c 6c 6f 77  ed on the follow
0770: 69 6e 67 20 70 72 69 6d 69 74 69 76 65 73 3a 3c  ing primitives:<
0780: 75 6c 3e 0d 0a 3c 6c 69 3e 61 20 3c 62 3e 4e 4f  ul>..<li>a <b>NO
0790: 44 45 3c 2f 62 3e 20 73 69 6d 70 6c 79 20 69 73  DE</b> simply is
07a0: 20 61 20 6e 6f 74 61 62 6c 65 20 70 6f 69 6e 74   a notable point
07b0: 2c 20 61 6e 64 20 63 61 6e 20 62 65 20 61 73 73  , and can be ass
07c0: 75 6d 65 64 20 74 6f 0d 0a 62 65 20 65 71 75 69  umed to..be equi
07d0: 76 61 6c 65 6e 74 20 74 6f 20 53 46 53 20 50 4f  valent to SFS PO
07e0: 49 4e 54 2e 0d 0a 3c 69 3e 45 78 61 6d 70 6c 65  INT...<i>Example
07f0: 73 3c 2f 69 3e 3a 20 3c 69 3e 4e 31 3c 2f 69 3e  s</i>: <i>N1</i>
0800: 2c 20 3c 69 3e 4e 32 3c 2f 69 3e 2c 20 3c 69 3e  , <i>N2</i>, <i>
0810: 4e 33 3c 2f 69 3e 2c 20 2e 2e 2e 20 3c 69 3e 4e  N3</i>, ... <i>N
0820: 31 32 3c 2f 69 3e 2c 20 3c 69 3e 4e 31 33 3c 2f  12</i>, <i>N13</
0830: 69 3e 0d 0a 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61  i>..</li>..<li>a
0840: 6e 20 3c 62 3e 45 44 47 45 3c 2f 62 3e 20 69 73  n <b>EDGE</b> is
0850: 20 61 6e 20 6f 72 69 65 6e 74 65 64 20 70 61 74   an oriented pat
0860: 68 20 6a 6f 69 6e 69 6e 67 20 74 77 6f 20 6e 6f  h joining two no
0870: 64 65 73 2c 20 61 6e 64 20 63 61 6e 20 0d 0a 62  des, and can ..b
0880: 65 20 61 73 73 75 6d 65 64 20 74 6f 20 62 65 20  e assumed to be 
0890: 65 71 75 69 76 61 6c 65 6e 74 20 74 6f 20 53 46  equivalent to SF
08a0: 53 20 4c 49 4e 45 53 54 52 49 4e 47 2e 3c 62 72  S LINESTRING.<br
08b0: 3e 0d 0a 3c 69 3e 45 78 61 6d 70 6c 65 73 3c 2f  >..<i>Examples</
08c0: 69 3e 3a 20 3c 69 3e 45 31 3c 2f 69 3e 2c 20 3c  i>: <i>E1</i>, <
08d0: 69 3e 45 32 3c 2f 69 3e 2c 20 3c 69 3e 45 33 3c  i>E2</i>, <i>E3<
08e0: 2f 69 3e 2c 20 2e 2e 2e 20 3c 69 3e 45 38 3c 2f  /i>, ... <i>E8</
08f0: 69 3e 2c 20 3c 69 3e 45 39 3c 2f 69 3e 0d 0a 3c  i>, <i>E9</i>..<
0900: 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 20 3c 62 3e 46  /li>..<li>a <b>F
0910: 41 43 45 3c 2f 62 3e 20 69 73 20 61 20 70 6f 72  ACE</b> is a por
0920: 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 6c 61 6e  tion of the plan
0930: 65 20 64 65 6c 69 6d 69 74 65 64 20 62 79 20 65  e delimited by e
0940: 64 67 65 73 2c 0d 0a 61 6e 64 20 63 61 6e 20 62  dges,..and can b
0950: 65 20 61 73 73 75 6d 65 64 20 74 6f 20 62 65 20  e assumed to be 
0960: 65 71 75 69 76 61 6c 65 6e 74 20 74 6f 20 53 46  equivalent to SF
0970: 53 20 50 4f 4c 59 47 4f 4e 2e 3c 62 72 3e 0d 0a  S POLYGON.<br>..
0980: 3c 69 3e 45 78 61 6d 70 6c 65 73 3c 2f 69 3e 3a  <i>Examples</i>:
0990: 20 3c 69 3e 66 30 3c 2f 69 3e 2c 20 3c 69 3e 66   <i>f0</i>, <i>f
09a0: 31 3c 2f 69 3e 2c 20 3c 69 3e 66 32 3c 2f 69 3e  1</i>, <i>f2</i>
09b0: 2c 20 3c 69 3e 66 33 3c 2f 69 3e 0d 0a 3c 2f 6c  , <i>f3</i>..</l
09c0: 69 3e 0d 0a 3c 2f 75 6c 3e 3c 62 72 3e 0d 0a 41  i>..</ul><br>..A
09d0: 20 76 65 72 79 20 73 70 65 63 69 61 6c 20 46 61   very special Fa
09e0: 63 65 20 69 73 20 61 6c 77 61 79 73 20 69 6d 70  ce is always imp
09f0: 6c 69 63 69 74 6c 79 20 61 73 73 75 6d 65 64 20  licitly assumed 
0a00: 74 6f 20 65 78 69 73 74 20 6f 6e 20 61 6e 79 20  to exist on any 
0a10: 54 6f 70 6f 6c 6f 67 79 3a 20 69 74 27 73 20 74  Topology: it's t
0a20: 68 65 20 3c 62 3e 55 6e 69 76 65 72 73 61 6c 20  he <b>Universal 
0a30: 46 61 63 65 3c 2f 62 3e 20 28 61 6b 61 20 3c 69  Face</b> (aka <i
0a40: 3e 66 30 3c 2f 69 3e 29 2c 20 61 6e 64 20 69 74  >f0</i>), and it
0a50: 27 73 20 61 73 73 75 6d 65 64 20 74 6f 20 63 6f  's assumed to co
0a60: 6e 74 61 69 6e 20 65 76 65 72 79 74 68 69 6e 67  ntain everything
0a70: 20 65 6c 73 65 20 65 78 74 65 72 69 6f 72 20 74   else exterior t
0a80: 6f 20 61 6c 6c 20 6f 74 68 65 72 20 46 61 63 65  o all other Face
0a90: 73 2e 20 53 6f 20 61 20 63 6f 6d 70 6c 65 74 65  s. So a complete
0aa0: 6c 79 20 65 6d 70 74 79 20 54 6f 70 6f 6c 6f 67  ly empty Topolog
0ab0: 79 2d 47 65 6f 6d 65 74 72 79 20 77 69 6c 6c 20  y-Geometry will 
0ac0: 61 6c 77 61 79 73 20 63 6f 6e 74 61 69 6e 20 61  always contain a
0ad0: 74 20 6c 65 61 73 74 20 74 68 65 20 3c 62 3e 55  t least the <b>U
0ae0: 6e 69 76 65 72 73 61 6c 20 46 61 63 65 3c 2f 62  niversal Face</b
0af0: 3e 2e 3c 62 72 3e 0d 0a 4e 6f 64 65 73 20 3c 69  >.<br>..Nodes <i
0b00: 3e 4e 33 3c 2f 69 3e 20 61 6e 64 20 3c 69 3e 4e  >N3</i> and <i>N
0b10: 37 3c 2f 69 3e 20 61 72 65 20 73 6f 6d 65 77 61  7</i> are somewa
0b20: 79 20 73 70 65 63 69 61 6c 20 62 65 63 61 75 73  y special becaus
0b30: 65 20 74 68 65 79 20 61 72 65 20 6e 6f 74 20 63  e they are not c
0b40: 6f 6e 6e 65 63 74 65 64 20 74 6f 20 61 6e 79 20  onnected to any 
0b50: 45 64 67 65 3b 20 74 68 65 79 20 61 72 65 20 65  Edge; they are e
0b60: 78 61 6d 70 6c 65 73 20 6f 66 20 3c 62 3e 49 73  xamples of <b>Is
0b70: 6f 6c 61 74 65 64 20 4e 6f 64 65 73 3c 2f 62 3e  olated Nodes</b>
0b80: 2e 3c 62 72 3e 0d 0a 45 64 67 65 73 20 3c 69 3e  .<br>..Edges <i>
0b90: 45 34 3c 2f 69 3e 20 61 6e 64 20 3c 69 3e 45 36  E4</i> and <i>E6
0ba0: 3c 2f 69 3e 20 61 72 65 20 73 70 65 63 69 61 6c  </i> are special
0bb0: 20 74 6f 6f 2c 20 62 65 63 61 75 73 65 20 74 68   too, because th
0bc0: 65 79 20 61 72 65 20 6e 6f 74 20 63 6f 6e 6e 65  ey are not conne
0bd0: 63 74 65 64 20 74 6f 20 61 6e 79 20 6f 74 68 65  cted to any othe
0be0: 72 20 45 64 67 65 3b 20 74 68 65 79 20 61 72 65  r Edge; they are
0bf0: 20 65 78 61 6d 70 6c 65 73 20 6f 66 20 3c 62 3e   examples of <b>
0c00: 49 73 6f 6c 61 74 65 64 20 45 64 67 65 73 3c 2f  Isolated Edges</
0c10: 62 3e 2e 20 41 6e 79 77 61 79 20 45 64 67 65 20  b>. Anyway Edge 
0c20: 3c 69 3e 45 31 30 3c 2f 69 3e 20 69 73 6e 27 74  <i>E10</i> isn't
0c30: 20 61 6e 20 49 73 6f 6c 61 74 65 64 20 45 64 67   an Isolated Edg
0c40: 65 20 62 65 63 61 75 73 65 20 69 74 20 73 65 70  e because it sep
0c50: 61 72 61 74 65 73 20 46 61 63 65 73 20 3c 69 3e  arates Faces <i>
0c60: 66 32 3c 2f 69 3e 20 61 6e 64 20 3c 69 3e 66 33  f2</i> and <i>f3
0c70: 3c 2f 69 3e 2e 3c 62 72 3e 0d 0a 42 6f 74 68 20  </i>.<br>..Both 
0c80: 4e 6f 64 65 73 20 61 6e 64 20 45 64 67 65 73 20  Nodes and Edges 
0c90: 68 61 76 65 20 61 6e 20 65 78 70 6c 69 63 69 74  have an explicit
0ca0: 20 47 65 6f 6d 65 74 72 79 2c 20 72 65 73 70 65   Geometry, respe
0cb0: 63 74 69 76 65 6c 79 20 6f 66 20 74 68 65 20 50  ctively of the P
0cc0: 4f 49 4e 54 20 61 6e 64 20 4c 49 4e 45 53 54 52  OINT and LINESTR
0cd0: 49 4e 47 20 74 79 70 65 2e 3c 62 72 3e 0d 0a 46  ING type.<br>..F
0ce0: 61 63 65 73 20 77 69 6c 6c 20 6e 65 76 65 72 20  aces will never 
0cf0: 64 69 72 65 63 74 6c 79 20 68 61 76 65 20 61 20  directly have a 
0d00: 47 65 6f 6d 65 74 72 79 20 61 6e 64 20 77 69 6c  Geometry and wil
0d10: 6c 20 61 6c 77 61 79 73 20 62 65 20 69 6e 74 65  l always be inte
0d20: 72 6e 61 6c 6c 79 20 72 65 70 72 65 73 65 6e 74  rnally represent
0d30: 65 64 20 62 79 20 61 20 63 6f 72 72 65 73 70 6f  ed by a correspo
0d40: 6e 64 69 6e 67 20 6c 69 73 74 20 6f 66 20 64 65  nding list of de
0d50: 6c 69 6d 69 74 69 6e 67 20 45 64 67 65 73 3a 20  limiting Edges: 
0d60: 65 2e 67 2e 20 46 61 63 65 20 3c 69 3e 66 31 3c  e.g. Face <i>f1<
0d70: 2f 69 3e 20 69 73 20 64 65 6c 69 6d 69 74 65 64  /i> is delimited
0d80: 20 62 79 20 45 64 67 65 73 20 3c 69 3e 45 32 3c   by Edges <i>E2<
0d90: 2f 69 3e 2c 20 3c 69 3e 45 37 3c 2f 69 3e 2c 20  /i>, <i>E7</i>, 
0da0: 3c 69 3e 45 35 3c 2f 69 3e 20 61 6e 64 20 46 61  <i>E5</i> and Fa
0db0: 63 65 20 3c 69 3e 66 32 3c 2f 69 3e 20 69 73 20  ce <i>f2</i> is 
0dc0: 64 65 6c 69 6d 69 74 65 64 20 62 79 20 45 64 67  delimited by Edg
0dd0: 65 73 20 3c 69 3e 45 33 3c 2f 69 3e 2c 20 3c 69  es <i>E3</i>, <i
0de0: 3e 45 39 3c 2f 69 3e 2c 20 3c 69 3e 45 37 3c 2f  >E9</i>, <i>E7</
0df0: 69 3e 20 61 6e 64 20 3c 69 3e 45 31 30 3c 2f 69  i> and <i>E10</i
0e00: 3e 2e 3c 62 72 3e 0d 0a 3c 2f 74 64 3e 3c 2f 74  >.<br>..</td></t
0e10: 72 3e 3c 2f 74 61 62 6c 65 3e 0d 0a 3c 2f 74 64  r></table>..</td
0e20: 3e 3c 74 64 3e 0d 0a 3c 74 61 62 6c 65 3e 0d 0a  ><td>..<table>..
0e30: 3c 74 72 3e 3c 74 64 3e 0d 0a 3c 69 6d 67 20 73  <tr><td>..<img s
0e40: 72 63 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 67  rc="http://www.g
0e50: 61 69 61 2d 67 69 73 2e 69 74 2f 67 61 69 61 2d  aia-gis.it/gaia-
0e60: 73 69 6e 73 2f 74 6f 70 6f 30 2e 70 6e 67 22 20  sins/topo0.png" 
0e70: 61 6c 74 3d 22 74 6f 70 6f 6c 6f 67 79 2d 67 65  alt="topology-ge
0e80: 6f 6d 65 74 72 79 22 3e 0d 0a 3c 2f 74 64 3e 3c  ometry">..</td><
0e90: 2f 74 72 3e 3c 2f 74 61 62 6c 65 3e 0d 0a 3c 2f  /tr></table>..</
0ea0: 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74  td></tr>..<tr><t
0eb0: 64 20 63 6f 6c 73 70 61 6e 3d 22 32 22 3e 0d 0a  d colspan="2">..
0ec0: 3c 74 61 62 6c 65 20 61 6c 69 67 6e 3d 22 63 65  <table align="ce
0ed0: 6e 74 65 72 22 20 62 67 63 6f 6c 6f 72 3d 22 23  nter" bgcolor="#
0ee0: 66 38 66 38 66 30 22 3e 0d 0a 3c 74 72 3e 3c 74  f8f8f0">..<tr><t
0ef0: 64 3e 0d 0a 3c 68 34 3e 43 6f 6e 73 69 73 74 65  d>..<h4>Consiste
0f00: 6e 63 79 20 72 65 71 75 69 72 65 6d 65 6e 74 73  ncy requirements
0f10: 20 66 6f 72 20 49 53 4f 20 54 6f 70 6f 6c 6f 67   for ISO Topolog
0f20: 79 2d 47 65 6f 6d 65 74 72 79 3c 2f 68 34 3e 0d  y-Geometry</h4>.
0f30: 0a 3c 6f 6c 3e 0d 0a 3c 6c 69 3e 61 6c 6c 20 74  .<ol>..<li>all t
0f40: 6f 70 6f 6c 6f 67 69 63 61 6c 20 63 6f 6d 70 6c  opological compl
0f50: 65 78 65 73 20 61 72 65 20 66 75 6c 6c 79 20 64  exes are fully d
0f60: 65 63 6f 6d 70 6f 73 65 64 20 69 6e 74 6f 20 74  ecomposed into t
0f70: 68 65 69 72 20 74 6f 70 6f 6c 6f 67 69 63 61 6c  heir topological
0f80: 20 70 72 69 6d 69 74 69 76 65 73 2e 3c 2f 6c 69   primitives.</li
0f90: 3e 0d 0a 3c 6c 69 3e 6e 6f 20 74 77 6f 20 6e 6f  >..<li>no two no
0fa0: 64 65 73 20 65 78 69 73 74 20 61 74 20 74 68 65  des exist at the
0fb0: 20 73 61 6d 65 20 70 6f 73 69 74 69 6f 6e 20 69   same position i
0fc0: 6e 20 73 70 61 63 65 2e 3c 2f 6c 69 3e 0d 0a 3c  n space.</li>..<
0fd0: 6c 69 3e 61 20 6e 6f 64 65 20 65 78 69 73 74 73  li>a node exists
0fe0: 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e   at the beginnin
0ff0: 67 20 61 6e 64 20 65 6e 64 20 6f 66 20 65 76 65  g and end of eve
1000: 72 79 20 65 64 67 65 2e 3c 2f 6c 69 3e 0d 0a 3c  ry edge.</li>..<
1010: 6c 69 3e 6e 6f 20 65 64 67 65 20 68 61 73 20 61  li>no edge has a
1020: 20 67 65 6f 6d 65 74 72 79 20 77 68 69 63 68 20   geometry which 
1030: 63 72 6f 73 73 65 73 20 74 68 65 20 67 65 6f 6d  crosses the geom
1040: 65 74 72 79 20 6f 66 20 61 20 6e 6f 64 65 2e 3c  etry of a node.<
1050: 2f 6c 69 3e 0d 0a 3c 6c 69 3e 6e 6f 20 65 64 67  /li>..<li>no edg
1060: 65 20 68 61 73 20 61 20 67 65 6f 6d 65 74 72 79  e has a geometry
1070: 20 77 68 69 63 68 20 63 72 6f 73 73 65 73 2c 20   which crosses, 
1080: 6f 76 65 72 6c 61 70 73 2c 20 6f 72 20 69 73 20  overlaps, or is 
1090: 63 6f 6e 74 61 69 6e 65 64 20 77 69 74 68 69 6e  contained within
10a0: 20 74 68 65 20 67 65 6f 6d 65 74 72 79 20 6f 66   the geometry of
10b0: 20 61 6e 6f 74 68 65 72 20 65 64 67 65 2e 3c 2f   another edge.</
10c0: 6c 69 3e 0d 0a 3c 6c 69 3e 61 6c 6c 20 65 64 67  li>..<li>all edg
10d0: 65 20 67 65 6f 6d 65 74 72 69 65 73 20 61 72 65  e geometries are
10e0: 20 73 69 6d 70 6c 65 2e 3c 2f 6c 69 3e 0d 0a 3c   simple.</li>..<
10f0: 6c 69 3e 61 6c 6c 20 65 64 67 65 20 67 65 6f 6d  li>all edge geom
1100: 65 74 72 69 65 73 20 68 61 76 65 20 61 20 73 74  etries have a st
1110: 61 72 74 20 70 6f 69 6e 74 20 65 71 75 61 6c 20  art point equal 
1120: 74 6f 20 74 68 65 20 67 65 6f 6d 65 74 72 79 20  to the geometry 
1130: 6f 66 20 74 68 65 69 72 20 73 74 61 72 74 20 6e  of their start n
1140: 6f 64 65 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61  ode.</li>..<li>a
1150: 6c 6c 20 65 64 67 65 20 67 65 6f 6d 65 74 72 69  ll edge geometri
1160: 65 73 20 68 61 76 65 20 61 20 65 6e 64 20 70 6f  es have a end po
1170: 69 6e 74 20 65 71 75 61 6c 20 74 6f 20 74 68 65  int equal to the
1180: 20 67 65 6f 6d 65 74 72 79 20 6f 66 20 74 68 65   geometry of the
1190: 69 72 20 65 6e 64 20 6e 6f 64 65 2e 3c 2f 6c 69  ir end node.</li
11a0: 3e 0d 0a 3c 6c 69 3e 6e 6f 20 66 61 63 65 20 68  >..<li>no face h
11b0: 61 73 20 61 20 67 65 6f 6d 65 74 72 79 20 77 68  as a geometry wh
11c0: 69 63 68 20 6f 76 65 72 6c 61 70 73 20 74 68 65  ich overlaps the
11d0: 20 67 65 6f 6d 65 74 72 79 20 6f 66 20 61 6e 6f   geometry of ano
11e0: 74 68 65 72 20 66 61 63 65 2e 3c 2f 6c 69 3e 0d  ther face.</li>.
11f0: 0a 3c 6c 69 3e 6e 6f 20 66 61 63 65 20 68 61 73  .<li>no face has
1200: 20 61 20 67 65 6f 6d 65 74 72 79 20 77 69 74 68   a geometry with
1210: 69 6e 20 74 68 65 20 67 65 6f 6d 65 74 72 79 20  in the geometry 
1220: 6f 66 20 61 6e 6f 74 68 65 72 20 66 61 63 65 2e  of another face.
1230: 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 20 75 6e 69  </li>..<li>a uni
1240: 76 65 72 73 61 6c 20 66 61 63 65 20 65 78 69 73  versal face exis
1250: 74 73 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 20  ts.</li>..<li>a 
1260: 76 61 6c 69 64 20 70 6f 6c 79 67 6f 6e 20 67 65  valid polygon ge
1270: 6f 6d 65 74 72 79 20 63 61 6e 20 62 65 20 63 6f  ometry can be co
1280: 6e 73 74 72 75 63 74 65 64 20 66 6f 72 20 61 6c  nstructed for al
1290: 6c 20 66 61 63 65 73 20 65 78 63 65 70 74 20 74  l faces except t
12a0: 68 65 20 75 6e 69 76 65 72 73 61 6c 20 66 61 63  he universal fac
12b0: 65 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 6c 6c  e.</li>..<li>all
12c0: 20 67 65 6f 6d 65 74 72 69 65 73 20 66 6f 72 20   geometries for 
12d0: 74 68 65 20 74 6f 70 6f 6c 6f 67 79 20 68 61 76  the topology hav
12e0: 65 20 74 68 65 20 73 61 6d 65 20 73 70 61 74 69  e the same spati
12f0: 61 6c 20 72 65 66 65 72 65 6e 63 65 20 73 79 73  al reference sys
1300: 74 65 6d 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 6f 6c 3e  tem.</li>..</ol>
1310: 0d 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 2f  ..</td></tr>..</
1320: 74 61 62 6c 65 3e 0d 0a 3c 2f 74 64 3e 3c 2f 74  table>..</td></t
1330: 72 3e 0d 0a 3c 74 72 3e 3c 74 64 20 63 6f 6c 73  r>..<tr><td cols
1340: 70 61 6e 3d 22 32 22 3e 3c 68 72 3e 3c 2f 74 64  pan="2"><hr></td
1350: 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e  ></tr>..<tr><td>
1360: 0d 0a 3c 74 61 62 6c 65 20 77 69 64 74 68 3d 22  ..<table width="
1370: 31 30 30 25 22 20 62 67 63 6f 6c 6f 72 3d 22 23  100%" bgcolor="#
1380: 66 30 66 30 66 38 22 20 63 65 6c 6c 73 70 61 63  f0f0f8" cellspac
1390: 69 6e 67 3d 22 34 22 20 63 65 6c 6c 70 61 64 64  ing="4" cellpadd
13a0: 69 6e 67 3d 22 34 22 3e 0d 0a 3c 74 72 3e 3c 74  ing="4">..<tr><t
13b0: 64 3e 0d 0a 3c 68 33 3e 54 6f 70 6f 6c 6f 67 79  d>..<h3>Topology
13c0: 2d 4e 65 74 77 6f 72 6b 3c 2f 68 33 3e 0d 0a 54  -Network</h3>..T
13d0: 68 65 20 73 61 6d 65 20 73 74 61 6e 64 61 72 64  he same standard
13e0: 20 3c 62 3e 49 53 4f 2f 49 45 43 20 31 33 32 34   <b>ISO/IEC 1324
13f0: 39 2d 33 3c 2f 62 3e 20 28 3c 62 3e 3c 69 3e 53  9-3</b> (<b><i>S
1400: 51 4c 2f 4d 4d 3c 2f 69 3e 3c 2f 62 3e 29 20 64  QL/MM</i></b>) d
1410: 65 66 69 6e 65 73 20 61 20 73 65 63 6f 6e 64 20  efines a second 
1420: 74 79 70 65 20 6f 66 20 54 6f 70 6f 6c 6f 67 79  type of Topology
1430: 20 6d 61 69 6e 6c 79 20 69 6e 74 65 6e 64 65 64   mainly intended
1440: 20 66 6f 72 20 6c 69 6e 65 61 72 20 61 70 70 6c   for linear appl
1450: 69 63 61 74 69 6f 6e 73 20 6e 61 6d 65 64 20 3c  ications named <
1460: 62 3e 54 6f 70 6f 6c 6f 67 79 2d 4e 65 74 77 6f  b>Topology-Netwo
1470: 72 6b 3c 2f 62 3e 20 61 6e 64 20 62 61 73 65 64  rk</b> and based
1480: 20 6f 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e   on the followin
1490: 67 20 70 72 69 6d 69 74 69 76 65 73 3a 3c 75 6c  g primitives:<ul
14a0: 3e 0d 0a 3c 6c 69 3e 61 20 3c 62 3e 4e 4f 44 45  >..<li>a <b>NODE
14b0: 3c 2f 62 3e 20 73 69 6d 70 6c 79 20 69 73 20 61  </b> simply is a
14c0: 20 6e 6f 74 61 62 6c 65 20 70 6f 69 6e 74 2c 20   notable point, 
14d0: 61 6e 64 20 63 61 6e 20 62 65 20 61 73 73 75 6d  and can be assum
14e0: 65 64 20 74 6f 0d 0a 62 65 20 65 71 75 69 76 61  ed to..be equiva
14f0: 6c 65 6e 74 20 74 6f 20 53 46 53 20 50 4f 49 4e  lent to SFS POIN
1500: 54 2e 0d 0a 3c 69 3e 45 78 61 6d 70 6c 65 73 3c  T...<i>Examples<
1510: 2f 69 3e 3a 20 3c 69 3e 4e 31 3c 2f 69 3e 2c 20  /i>: <i>N1</i>, 
1520: 3c 69 3e 4e 32 3c 2f 69 3e 2c 20 3c 69 3e 4e 33  <i>N2</i>, <i>N3
1530: 3c 2f 69 3e 2c 20 2e 2e 2e 20 3c 69 3e 4e 39 3c  </i>, ... <i>N9<
1540: 2f 69 3e 2c 20 3c 69 3e 4e 31 30 3c 2f 69 3e 0d  /i>, <i>N10</i>.
1550: 0a 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 20 3c 62  .</li>..<li>a <b
1560: 3e 4c 49 4e 4b 3c 2f 62 3e 20 69 73 20 61 6e 20  >LINK</b> is an 
1570: 6f 72 69 65 6e 74 65 64 20 70 61 74 68 20 6a 6f  oriented path jo
1580: 69 6e 69 6e 67 20 74 77 6f 20 6e 6f 64 65 73 2c  ining two nodes,
1590: 20 61 6e 64 20 63 61 6e 20 0d 0a 62 65 20 61 73   and can ..be as
15a0: 73 75 6d 65 64 20 74 6f 20 62 65 20 65 71 75 69  sumed to be equi
15b0: 76 61 6c 65 6e 74 20 74 6f 20 53 46 53 20 4c 49  valent to SFS LI
15c0: 4e 45 53 54 52 49 4e 47 2e 3c 62 72 3e 0d 0a 3c  NESTRING.<br>..<
15d0: 69 3e 45 78 61 6d 70 6c 65 73 3c 2f 69 3e 3a 20  i>Examples</i>: 
15e0: 3c 69 3e 4c 31 3c 2f 69 3e 2c 20 3c 69 3e 4c 32  <i>L1</i>, <i>L2
15f0: 3c 2f 69 3e 2c 20 3c 69 3e 4c 33 3c 2f 69 3e 2c  </i>, <i>L3</i>,
1600: 20 2e 2e 2e 20 3c 69 3e 4c 31 32 3c 2f 69 3e 2c   ... <i>L12</i>,
1610: 20 3c 69 3e 4c 31 33 3c 2f 69 3e 0d 0a 3c 2f 6c   <i>L13</i>..</l
1620: 69 3e 0d 0a 3c 2f 75 6c 3e 3c 62 72 3e 0d 0a 4e  i>..</ul><br>..N
1630: 6f 64 65 20 3c 69 3e 4e 31 3c 2f 69 3e 20 69 73  ode <i>N1</i> is
1640: 20 61 6e 20 65 78 61 6d 70 6c 65 20 6f 66 20 3c   an example of <
1650: 62 3e 49 73 6f 6c 61 74 65 64 20 4e 6f 64 65 3c  b>Isolated Node<
1660: 2f 62 3e 2e 3c 62 72 3e 0d 0a 4c 69 6e 6b 20 3c  /b>.<br>..Link <
1670: 69 3e 4c 31 31 3c 2f 69 3e 20 69 73 20 61 6e 20  i>L11</i> is an 
1680: 65 78 61 6d 70 6c 65 73 20 6f 66 20 3c 62 3e 49  examples of <b>I
1690: 73 6f 6c 61 74 65 64 20 4c 69 6e 6b 3c 2f 62 3e  solated Link</b>
16a0: 2e 3c 62 72 3e 3c 62 72 3e 0d 0a 3c 75 3e 50 6c  .<br><br>..<u>Pl
16b0: 65 61 73 65 20 6e 6f 74 65 3c 2f 75 3e 3a 20 4c  ease note</u>: L
16c0: 69 6e 6b 73 20 3c 69 3e 4c 34 3c 2f 69 3e 20 61  inks <i>L4</i> a
16d0: 6e 64 20 3c 69 3e 4c 37 3c 2f 69 3e 20 64 6f 20  nd <i>L7</i> do 
16e0: 61 70 70 61 72 65 6e 74 6c 79 20 63 72 6f 73 73  apparently cross
16f0: 65 73 20 28 65 76 69 64 65 6e 63 65 64 20 69 6e  es (evidenced in
1700: 20 74 68 65 20 66 69 67 75 72 65 20 62 79 20 61   the figure by a
1710: 20 73 6d 61 6c 6c 20 67 72 65 65 6e 20 63 69 72   small green cir
1720: 63 6c 65 29 2c 20 61 6e 79 77 61 79 20 74 68 65  cle), anyway the
1730: 72 65 20 69 73 20 6e 6f 20 4e 6f 64 65 20 63 6f  re is no Node co
1740: 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 74  rresponding to t
1750: 68 65 20 69 6e 74 65 72 73 65 63 74 69 6f 6e 20  he intersection 
1760: 70 6f 69 6e 74 2e 3c 62 72 3e 0d 0a 54 68 69 73  point.<br>..This
1770: 20 69 73 20 61 20 66 75 6c 6c 79 20 6c 65 67 69   is a fully legi
1780: 74 69 6d 61 74 65 20 6f 70 74 69 6f 6e 20 73 75  timate option su
1790: 70 70 6f 72 74 65 64 20 62 79 20 54 6f 70 6f 6c  pported by Topol
17a0: 6f 67 79 2d 4e 65 74 77 6f 72 6b 2c 20 61 6e 64  ogy-Network, and
17b0: 20 73 69 6d 70 6c 79 20 6d 65 61 6e 73 20 74 68   simply means th
17c0: 61 74 20 73 6f 6d 65 20 72 65 73 74 72 69 63 74  at some restrict
17d0: 69 6f 6e 20 66 6f 72 62 69 64 73 20 61 20 72 65  ion forbids a re
17e0: 61 6c 20 69 6e 74 65 72 73 65 63 74 69 6f 6e 20  al intersection 
17f0: 62 65 74 77 65 65 6e 20 74 68 65 20 74 77 6f 20  between the two 
1800: 4c 69 6e 6b 73 2e 3c 62 72 3e 0d 0a 54 68 65 72  Links.<br>..Ther
1810: 65 20 69 73 20 61 6e 20 6f 6e 6c 79 20 61 70 70  e is an only app
1820: 61 72 65 6e 74 20 73 70 61 74 69 61 6c 20 6a 75  arent spatial ju
1830: 6e 63 74 69 6f 6e 2c 20 62 75 74 20 74 68 65 72  nction, but ther
1840: 65 20 69 73 6e 27 74 20 61 6e 79 20 66 75 6e 63  e isn't any func
1850: 74 69 6f 6e 61 6c 20 6a 75 6e 63 74 69 6f 6e 20  tional junction 
1860: 61 6e 64 20 63 6f 6e 73 65 71 75 65 6e 74 6c 79  and consequently
1870: 20 73 77 69 74 63 68 69 6e 67 20 62 65 74 77 65   switching betwe
1880: 65 6e 20 4c 69 6e 6b 73 20 3c 69 3e 4c 34 3c 2f  en Links <i>L4</
1890: 69 3e 20 61 6e 64 20 3c 69 3e 4c 37 3c 2f 69 3e  i> and <i>L7</i>
18a0: 20 69 73 20 73 74 72 69 63 74 6c 79 20 66 6f 72   is strictly for
18b0: 62 69 64 64 65 6e 2e 3c 62 72 3e 0d 0a 3c 75 3e  bidden.<br>..<u>
18c0: 50 6f 73 73 69 62 6c 65 20 65 78 61 6d 70 6c 65  Possible example
18d0: 73 3c 2f 75 3e 3a 20 69 6d 61 67 69 6e 65 20 74  s</u>: imagine t
18e0: 77 6f 20 72 6f 61 64 73 20 6f 6e 65 20 6f 76 65  wo roads one ove
18f0: 72 70 61 73 73 69 6e 67 2f 75 6e 64 65 72 70 61  rpassing/underpa
1900: 73 73 69 6e 67 20 74 68 65 20 6f 74 68 65 72 2c  ssing the other,
1910: 20 6f 72 20 73 75 70 70 6f 73 65 20 61 6e 20 6f   or suppose an o
1920: 72 64 69 6e 61 72 79 20 72 6f 61 64 20 6a 75 6e  rdinary road jun
1930: 63 74 69 6f 6e 20 77 68 65 72 65 20 74 75 72 6e  ction where turn
1940: 69 6e 67 20 6c 65 66 74 2f 72 69 67 68 74 20 69  ing left/right i
1950: 73 20 73 74 72 69 63 74 6c 79 20 66 6f 72 62 69  s strictly forbi
1960: 64 64 65 6e 20 62 79 20 74 72 61 66 66 69 63 20  dden by traffic 
1970: 72 65 67 75 6c 61 74 69 6f 6e 20 64 69 73 63 69  regulation disci
1980: 70 6c 69 6e 65 2e 3c 62 72 3e 0d 0a 49 6e 20 61  pline.<br>..In a
1990: 6e 20 74 65 6c 65 63 6f 6d 6d 75 6e 69 63 61 74  n telecommunicat
19a0: 69 6f 6e 20 6e 65 74 77 6f 72 6b 20 79 6f 75 20  ion network you 
19b0: 63 61 6e 20 69 6d 61 67 69 6e 65 20 74 77 6f 20  can imagine two 
19c0: 77 69 72 65 73 20 63 72 6f 73 73 69 6e 67 20 75  wires crossing u
19d0: 6e 64 65 72 20 73 74 72 69 63 74 20 65 6c 65 63  nder strict elec
19e0: 74 72 69 63 20 69 6e 73 75 6c 61 74 69 6f 6e 20  tric insulation 
19f0: 63 6f 6e 64 69 74 69 6f 6e 73 2c 20 61 6e 64 20  conditions, and 
1a00: 73 6f 20 6f 6e 2e 3c 62 72 3e 3c 62 72 3e 0d 0a  so on.<br><br>..
1a10: 41 63 63 6f 72 64 69 6e 67 6c 79 20 74 6f 20 74  Accordingly to t
1a20: 68 65 20 49 53 4f 20 73 70 65 63 69 66 69 63 61  he ISO specifica
1a30: 74 69 6f 6e 73 2c 20 74 68 65 72 65 20 61 72 65  tions, there are
1a40: 20 74 77 6f 20 64 69 66 66 65 72 65 6e 74 20 6b   two different k
1a50: 69 6e 64 73 20 6f 66 20 54 6f 70 6f 6c 6f 67 79  inds of Topology
1a60: 2d 4e 65 74 77 6f 72 6b 73 3a 0d 0a 3c 75 6c 3e  -Networks:..<ul>
1a70: 0d 0a 3c 6c 69 3e 3c 62 3e 4c 6f 67 69 63 61 6c  ..<li><b>Logical
1a80: 20 4e 65 74 77 6f 72 6b 3c 2f 62 3e 3a 20 61 20   Network</b>: a 
1a90: 6e 65 74 77 6f 72 6b 20 64 65 66 69 6e 65 64 20  network defined 
1aa0: 62 79 20 63 6f 6e 6e 65 63 74 69 76 69 74 79 20  by connectivity 
1ab0: 69 6e 66 6f 72 6d 61 74 69 6f 6e 73 20 62 75 74  informations but
1ac0: 20 6c 61 63 6b 69 6e 67 20 61 6e 79 20 67 65 6f   lacking any geo
1ad0: 6d 65 74 72 79 20 69 6e 66 6f 72 6d 61 74 69 6f  metry informatio
1ae0: 6e 2e 3c 62 72 3e 0d 0a 49 6e 20 6f 74 68 65 72  n.<br>..In other
1af0: 20 77 6f 72 64 73 2c 20 62 6f 74 68 20 4e 6f 64   words, both Nod
1b00: 65 73 20 61 6e 64 20 4c 69 6e 6b 73 20 61 72 65  es and Links are
1b10: 20 61 6c 77 61 79 73 20 66 6f 72 62 69 64 64 65   always forbidde
1b20: 6e 20 74 6f 20 68 61 76 65 20 61 6e 20 65 78 70  n to have an exp
1b30: 6c 69 63 69 74 20 67 65 6f 6d 65 74 72 79 2e 3c  licit geometry.<
1b40: 2f 6c 69 3e 0d 0a 3c 6c 69 3e 3c 62 3e 53 70 61  /li>..<li><b>Spa
1b50: 74 69 61 6c 20 4e 65 74 77 6f 72 6b 3c 2f 62 3e  tial Network</b>
1b60: 3a 20 61 20 6e 65 74 77 6f 72 6b 20 64 65 66 69  : a network defi
1b70: 6e 65 64 20 62 79 20 62 6f 74 68 20 63 6f 6e 6e  ned by both conn
1b80: 65 63 74 69 76 69 74 79 20 61 6e 64 20 67 65 6f  ectivity and geo
1b90: 6d 65 74 72 69 63 20 69 6e 66 6f 72 6d 61 74 69  metric informati
1ba0: 6f 6e 73 2e 3c 62 72 3e 0d 0a 49 6e 20 74 68 69  ons.<br>..In thi
1bb0: 73 20 73 65 63 6f 6e 64 20 63 61 73 65 20 62 6f  s second case bo
1bc0: 74 68 20 4e 6f 64 65 73 20 61 6e 64 20 4c 69 6e  th Nodes and Lin
1bd0: 6b 73 20 61 72 65 20 61 6c 77 61 79 73 20 65 78  ks are always ex
1be0: 70 65 63 74 65 64 20 74 6f 20 68 61 76 65 20 61  pected to have a
1bf0: 6e 20 65 78 70 6c 69 63 69 74 20 47 65 6f 6d 65  n explicit Geome
1c00: 74 72 79 2c 20 72 65 73 70 65 63 74 69 76 65 6c  try, respectivel
1c10: 79 20 6f 66 20 74 68 65 20 50 4f 49 4e 54 20 61  y of the POINT a
1c20: 6e 64 20 4c 49 4e 45 53 54 52 49 4e 47 20 74 79  nd LINESTRING ty
1c30: 70 65 2e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d  pe.</li>..</ul>.
1c40: 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 3c 2f 74 61 62  .</td></tr></tab
1c50: 6c 65 3e 0d 0a 3c 2f 74 64 3e 3c 74 64 3e 0d 0a  le>..</td><td>..
1c60: 3c 74 61 62 6c 65 3e 0d 0a 3c 74 72 3e 3c 74 64  <table>..<tr><td
1c70: 3e 0d 0a 3c 69 6d 67 20 73 72 63 3d 22 68 74 74  >..<img src="htt
1c80: 70 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73  p://www.gaia-gis
1c90: 2e 69 74 2f 67 61 69 61 2d 73 69 6e 73 2f 74 6f  .it/gaia-sins/to
1ca0: 70 6f 6e 65 74 2e 70 6e 67 22 20 61 6c 74 3d 22  ponet.png" alt="
1cb0: 74 6f 70 6f 6c 6f 67 79 2d 6e 65 74 77 6f 72 6b  topology-network
1cc0: 22 3e 0d 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 3c 2f  ">..</td></tr></
1cd0: 74 61 62 6c 65 3e 0d 0a 3c 2f 74 64 3e 3c 2f 74  table>..</td></t
1ce0: 72 3e 0d 0a 3c 74 72 3e 3c 74 64 20 63 6f 6c 73  r>..<tr><td cols
1cf0: 70 61 6e 3d 22 32 22 3e 0d 0a 3c 74 61 62 6c 65  pan="2">..<table
1d00: 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20   align="center" 
1d10: 62 67 63 6f 6c 6f 72 3d 22 23 66 38 66 38 66 30  bgcolor="#f8f8f0
1d20: 22 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 0d 0a 3c 68  ">..<tr><td>..<h
1d30: 34 3e 43 6f 6e 73 69 73 74 65 6e 63 79 20 72 65  4>Consistency re
1d40: 71 75 69 72 65 6d 65 6e 74 73 20 66 6f 72 20 49  quirements for I
1d50: 53 4f 20 54 6f 70 6f 6c 6f 67 79 2d 4e 65 74 77  SO Topology-Netw
1d60: 6f 72 6b 20 2d 20 53 70 61 74 69 61 6c 20 4e 65  ork - Spatial Ne
1d70: 74 77 6f 72 6b 3c 2f 68 34 3e 0d 0a 3c 6f 6c 3e  twork</h4>..<ol>
1d80: 0d 0a 3c 6c 69 3e 61 6c 6c 20 74 6f 70 6f 6c 6f  ..<li>all topolo
1d90: 67 69 63 61 6c 20 63 6f 6d 70 6c 65 78 65 73 20  gical complexes 
1da0: 61 72 65 20 66 75 6c 6c 79 20 64 65 63 6f 6d 70  are fully decomp
1db0: 6f 73 65 64 20 69 6e 74 6f 20 74 68 65 69 72 20  osed into their 
1dc0: 74 6f 70 6f 6c 6f 67 69 63 61 6c 20 70 72 69 6d  topological prim
1dd0: 69 74 69 76 65 73 2e 3c 2f 6c 69 3e 0d 0a 3c 6c  itives.</li>..<l
1de0: 69 3e 61 6c 6c 20 65 64 67 65 20 67 65 6f 6d 65  i>all edge geome
1df0: 74 72 69 65 73 20 68 61 76 65 20 61 20 73 74 61  tries have a sta
1e00: 72 74 20 70 6f 69 6e 74 20 65 71 75 61 6c 20 74  rt point equal t
1e10: 6f 20 74 68 65 20 67 65 6f 6d 65 74 72 79 20 6f  o the geometry o
1e20: 66 20 74 68 65 69 72 20 73 74 61 72 74 20 6e 6f  f their start no
1e30: 64 65 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 6c  de.</li>..<li>al
1e40: 6c 20 65 64 67 65 20 67 65 6f 6d 65 74 72 69 65  l edge geometrie
1e50: 73 20 68 61 76 65 20 61 20 65 6e 64 20 70 6f 69  s have a end poi
1e60: 6e 74 20 65 71 75 61 6c 20 74 6f 20 74 68 65 20  nt equal to the 
1e70: 67 65 6f 6d 65 74 72 79 20 6f 66 20 74 68 65 69  geometry of thei
1e80: 72 20 65 6e 64 20 6e 6f 64 65 2e 3c 2f 6c 69 3e  r end node.</li>
1e90: 0d 0a 3c 6c 69 3e 61 6c 6c 20 67 65 6f 6d 65 74  ..<li>all geomet
1ea0: 72 69 65 73 20 66 6f 72 20 74 68 65 20 74 6f 70  ries for the top
1eb0: 6f 6c 6f 67 79 20 68 61 76 65 20 74 68 65 20 73  ology have the s
1ec0: 61 6d 65 20 73 70 61 74 69 61 6c 20 72 65 66 65  ame spatial refe
1ed0: 72 65 6e 63 65 20 73 79 73 74 65 6d 2e 3c 2f 6c  rence system.</l
1ee0: 69 3e 0d 0a 3c 2f 6f 6c 3e 0d 0a 3c 2f 74 64 3e  i>..</ol>..</td>
1ef0: 3c 2f 74 72 3e 0d 0a 3c 2f 74 61 62 6c 65 3e 0d  </tr>..</table>.
1f00: 0a 0d 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 3c 2f 74  ...</td></tr></t
1f10: 61 62 6c 65 3e 0d 0a 3c 2f 74 61 62 6c 65 3e 0d  able>..</table>.
1f20: 0a 3c 74 61 62 6c 65 20 77 69 64 74 68 3d 22 31  .<table width="1
1f30: 30 30 25 22 3e 3c 74 72 3e 0d 0a 3c 74 64 20 77  00%"><tr>..<td w
1f40: 69 64 74 68 3d 22 33 33 25 22 20 61 6c 69 67 6e  idth="33%" align
1f50: 3d 22 6c 65 66 74 22 3e 3c 2f 74 64 3e 0d 0a 3c  ="left"></td>..<
1f60: 74 64 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72  td align="center
1f70: 22 3e 3c 61 20 68 72 65 66 3d 22 68 74 74 70 73  "><a href="https
1f80: 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73 2e  ://www.gaia-gis.
1f90: 69 74 2f 66 6f 73 73 69 6c 2f 6c 69 62 73 70 61  it/fossil/libspa
1fa0: 74 69 61 6c 69 74 65 2f 77 69 6b 69 3f 6e 61 6d  tialite/wiki?nam
1fb0: 65 3d 6d 69 73 63 2d 64 6f 63 73 22 3e 62 61 63  e=misc-docs">bac
1fc0: 6b 20 74 6f 20 69 6e 64 65 78 3c 2f 61 3e 3c 2f  k to index</a></
1fd0: 74 64 3e 0d 0a 3c 74 64 20 77 69 64 74 68 3d 22  td>..<td width="
1fe0: 33 33 25 22 20 61 6c 69 67 6e 3d 22 72 69 67 68  33%" align="righ
1ff0: 74 22 3e 3c 61 20 68 72 65 66 3d 22 68 74 74 70  t"><a href="http
2000: 73 3a 2f 2f 77 77 77 2e 67 61 69 61 2d 67 69 73  s://www.gaia-gis
2010: 2e 69 74 2f 66 6f 73 73 69 6c 2f 6c 69 62 73 70  .it/fossil/libsp
2020: 61 74 69 61 6c 69 74 65 2f 77 69 6b 69 3f 6e 61  atialite/wiki?na
2030: 6d 65 3d 74 6f 70 6f 2d 6c 61 79 6f 75 74 22 3e  me=topo-layout">
2040: 6e 65 78 74 20 70 61 67 65 3c 2f 61 3e 3c 2f 74  next page</a></t
2050: 64 3e 0d 0a 3c 2f 74 72 3e 3c 2f 74 61 62 6c 65  d>..</tr></table
2060: 3e 0d 0a 0a 5a 20 31 32 65 37 31 34 65 63 34 63  >...Z 12e714ec4c
2070: 31 63 32 36 63 66 64 61 31 31 37 32 31 62 35 65  1c26cfda11721b5e
2080: 30 65 33 39 35 62 0a                             0e395b.