File: extras_topology.xml.pot

package info (click to toggle)
postgis 2.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 75,792 kB
  • sloc: ansic: 139,314; sql: 136,281; xml: 48,954; sh: 4,906; perl: 4,509; makefile: 2,897; python: 1,198; yacc: 441; cpp: 305; lex: 132
file content (4623 lines) | stat: -rw-r--r-- 132,967 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2017-09-14 18:44+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc@kde.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. Tag: title
#: extras_topology.xml:3
#, no-c-format
msgid "Topology"
msgstr ""

#. Tag: para
#: extras_topology.xml:4
#, no-c-format
msgid ""
"The PostGIS Topology types and functions are used to manage topological "
"objects such as faces, edges and nodes."
msgstr ""

#. Tag: para
#: extras_topology.xml:5
#, no-c-format
msgid ""
"Sandro Santilli's presentation at PostGIS Day Paris 2011 conference gives a "
"good synopsis of PostGIS Topology and where it is headed <ulink url=\"http://"
"strk.kbt.io/projects/postgis/Paris2011_TopologyWithPostGIS_2_0.pdf"
"\">Topology with PostGIS 2.0 slide deck</ulink>."
msgstr ""

#. Tag: para
#: extras_topology.xml:6
#, no-c-format
msgid ""
"Vincent Picavet provides a good synopsis and overview of what is Topology, "
"how is it used, and various FOSS4G tools that support it in <ulink url="
"\"https://github.com/Oslandia/presentations/blob/master/pgconf_eu_2012/"
"pgconfeu2012_vincent_picavet_postgis_topology.pdf?raw=true\">PostGIS "
"Topology PGConf EU 2012</ulink>."
msgstr ""

#. Tag: para
#: extras_topology.xml:7
#, no-c-format
msgid ""
"An example of a topologically based GIS database is the <ulink url=\"https://"
"www.census.gov/geo/maps-data/data/tiger.html\">US Census Topologically "
"Integrated Geographic Encoding and Referencing System (TIGER)</ulink> "
"database. If you want to experiment with PostGIS topology and need some "
"data, check out <xref linkend=\"Topology_Load_Tiger\"/>."
msgstr ""

#. Tag: para
#: extras_topology.xml:8
#, no-c-format
msgid ""
"The PostGIS topology module has existed in prior versions of PostGIS but was "
"never part of the Official PostGIS documentation. In PostGIS 2.0.0 major "
"cleanup is going on to remove use of all deprecated functions in it, fix "
"known usability issues, better document the features and functions, add new "
"functions, and enhance to closer conform to SQL-MM standards."
msgstr ""

#. Tag: para
#: extras_topology.xml:10
#, no-c-format
msgid ""
"Details of this project can be found at <ulink url=\"http://trac.osgeo.org/"
"postgis/wiki/UsersWikiPostgisTopology\">PostGIS Topology Wiki</ulink>"
msgstr ""

#. Tag: para
#: extras_topology.xml:11
#, no-c-format
msgid ""
"All functions and tables associated with this module are installed in a "
"schema called <varname>topology</varname>."
msgstr ""

#. Tag: para
#: extras_topology.xml:12
#, no-c-format
msgid ""
"Functions that are defined in SQL/MM standard are prefixed with ST_ and "
"functions specific to PostGIS are not prefixed."
msgstr ""

#. Tag: para
#: extras_topology.xml:13
#, no-c-format
msgid ""
"Topolgy support is build by default starting with PostGIS 2.0, and can be "
"disabled specifying --without-topology configure option at build time as "
"described in <xref linkend=\"postgis_installation\"/>"
msgstr ""

#. Tag: para
#: extras_topology.xml:18
#, no-c-format
msgid ""
"This section lists the PostgreSQL data types installed by PostGIS Topology. "
"Note we describe the casting behavior of these which is very important "
"especially when designing your own functions."
msgstr ""

#. Tag: title
#: extras_topology.xml:23
#, no-c-format
msgid "Topology Types"
msgstr ""

#. Tag: refname
#: extras_topology.xml:27
#, no-c-format
msgid "getfaceedges_returntype"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:28
#, no-c-format
msgid ""
"A composite type that consists of a sequence number and edge number. This is "
"the return type for <varname>ST_GetFaceEdges</varname>"
msgstr ""

#. Tag: title
#: extras_topology.xml:31 extras_topology.xml:50 extras_topology.xml:99
#: extras_topology.xml:139 extras_topology.xml:186 extras_topology.xml:263
#: extras_topology.xml:310 extras_topology.xml:351 extras_topology.xml:391
#: extras_topology.xml:432 extras_topology.xml:469 extras_topology.xml:597
#: extras_topology.xml:645 extras_topology.xml:693 extras_topology.xml:737
#: extras_topology.xml:785 extras_topology.xml:831 extras_topology.xml:877
#: extras_topology.xml:932 extras_topology.xml:978 extras_topology.xml:1025
#: extras_topology.xml:1082 extras_topology.xml:1148 extras_topology.xml:1220
#: extras_topology.xml:1288 extras_topology.xml:1354 extras_topology.xml:1409
#: extras_topology.xml:1457 extras_topology.xml:1504 extras_topology.xml:1547
#: extras_topology.xml:1601 extras_topology.xml:1642 extras_topology.xml:1740
#: extras_topology.xml:1842 extras_topology.xml:1884 extras_topology.xml:1926
#: extras_topology.xml:1969 extras_topology.xml:2019 extras_topology.xml:2064
#: extras_topology.xml:2125 extras_topology.xml:2183 extras_topology.xml:2224
#: extras_topology.xml:2281 extras_topology.xml:2331 extras_topology.xml:2403
#: extras_topology.xml:2457 extras_topology.xml:2528 extras_topology.xml:2604
#: extras_topology.xml:2649 extras_topology.xml:2691 extras_topology.xml:2735
#: extras_topology.xml:2766 extras_topology.xml:2804 extras_topology.xml:2852
#: extras_topology.xml:2952 extras_topology.xml:3006 extras_topology.xml:3073
#: extras_topology.xml:3125
#, no-c-format
msgid "Description"
msgstr ""

#. Tag: para
#: extras_topology.xml:32
#, no-c-format
msgid ""
"A composite type that consists of a sequence number and edge number. This is "
"the return type for <varname>ST_GetFaceEdges</varname> function."
msgstr ""

#. Tag: para
#: extras_topology.xml:35
#, no-c-format
msgid ""
"<varname>sequence</varname> is an integer: Refers to a topology defined in "
"the topology.topology table which defines the topology schema and srid."
msgstr ""

#. Tag: para
#: extras_topology.xml:38
#, no-c-format
msgid "<varname>edge</varname> is an integer: The identifier of an edge."
msgstr ""

#. Tag: refname
#: extras_topology.xml:46
#, no-c-format
msgid "TopoGeometry"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:47
#, no-c-format
msgid "A composite type representing a topologically defined geometry"
msgstr ""

#. Tag: para
#: extras_topology.xml:51
#, no-c-format
msgid ""
"A composite type that refers to a topology geometry in a specific topology "
"layer, having a specific type and a specific id. The elements of a "
"TopoGeometry are the properties: topology_id, layer_id, id integer, type "
"integer."
msgstr ""

#. Tag: para
#: extras_topology.xml:54
#, no-c-format
msgid ""
"<varname>topology_id</varname> is an integer: Refers to a topology defined "
"in the topology.topology table which defines the topology schema and srid."
msgstr ""

#. Tag: para
#: extras_topology.xml:57
#, no-c-format
msgid ""
"<varname>layer_id</varname> is an integer: The layer_id in the layers table "
"that the TopoGeometry belongs to. The combination of topology_id, layer_id "
"provides a unique reference in the topology.layers table."
msgstr ""

#. Tag: para
#: extras_topology.xml:60
#, no-c-format
msgid ""
"<varname>id</varname> is an integer: The id is the autogenerated sequence "
"number that uniquely defines the topogeometry in the respective topology "
"layer."
msgstr ""

#. Tag: para
#: extras_topology.xml:63
#, no-c-format
msgid ""
"<varname>type</varname> integer between 1 - 4 that defines the geometry "
"type: 1:[multi]point, 2:[multi]line, 3:[multi]poly, 4:collection"
msgstr ""

#. Tag: title
#: extras_topology.xml:69
#, no-c-format
msgid "Casting Behavior"
msgstr ""

#. Tag: para
#: extras_topology.xml:70
#, no-c-format
msgid ""
"This section lists the automatic as well as explicit casts allowed for this "
"data type"
msgstr ""

#. Tag: entry
#: extras_topology.xml:75
#, no-c-format
msgid "Cast To"
msgstr ""

#. Tag: entry
#: extras_topology.xml:76
#, no-c-format
msgid "Behavior"
msgstr ""

#. Tag: entry
#: extras_topology.xml:79
#, no-c-format
msgid "geometry"
msgstr ""

#. Tag: entry
#: extras_topology.xml:80
#, no-c-format
msgid "automatic"
msgstr ""

#. Tag: title
#: extras_topology.xml:88 extras_topology.xml:117 extras_topology.xml:169
#: extras_topology.xml:196 extras_topology.xml:288 extras_topology.xml:328
#: extras_topology.xml:368 extras_topology.xml:410 extras_topology.xml:447
#: extras_topology.xml:546 extras_topology.xml:622 extras_topology.xml:671
#: extras_topology.xml:710 extras_topology.xml:759 extras_topology.xml:800
#: extras_topology.xml:846 extras_topology.xml:892 extras_topology.xml:953
#: extras_topology.xml:1000 extras_topology.xml:1056 extras_topology.xml:1121
#: extras_topology.xml:1193 extras_topology.xml:1261 extras_topology.xml:1328
#: extras_topology.xml:1377 extras_topology.xml:1426 extras_topology.xml:1476
#: extras_topology.xml:1524 extras_topology.xml:1573 extras_topology.xml:1619
#: extras_topology.xml:1660 extras_topology.xml:1714 extras_topology.xml:1761
#: extras_topology.xml:1815 extras_topology.xml:1857 extras_topology.xml:1899
#: extras_topology.xml:1941 extras_topology.xml:1992 extras_topology.xml:2037
#: extras_topology.xml:2097 extras_topology.xml:2150 extras_topology.xml:2199
#: extras_topology.xml:2258 extras_topology.xml:2301 extras_topology.xml:2380
#: extras_topology.xml:2415 extras_topology.xml:2487 extras_topology.xml:2577
#: extras_topology.xml:2618 extras_topology.xml:2668 extras_topology.xml:2709
#: extras_topology.xml:2752 extras_topology.xml:2823 extras_topology.xml:2870
#: extras_topology.xml:2984 extras_topology.xml:3037 extras_topology.xml:3098
#: extras_topology.xml:3154
#, no-c-format
msgid "See Also"
msgstr ""

#. Tag: refname
#: extras_topology.xml:95
#, no-c-format
msgid "validatetopology_returntype"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:96
#, no-c-format
msgid ""
"A composite type that consists of an error message and id1 and id2 to denote "
"location of error. This is the return type for <varname>ValidateTopology</"
"varname>"
msgstr ""

#. Tag: para
#: extras_topology.xml:100
#, no-c-format
msgid ""
"A composite type that consists of an error message and two integers. The "
"<xref linkend=\"ValidateTopology\"/> function returns a set of these to "
"denote validation errors and the id1 and id2 to denote the ids of the "
"topology objects involved in the error."
msgstr ""

#. Tag: para
#: extras_topology.xml:103
#, no-c-format
msgid "<varname>error</varname> is varchar: Denotes type of error."
msgstr ""

#. Tag: para
#: extras_topology.xml:104
#, no-c-format
msgid ""
"Current error descriptors are: coincident nodes, edge crosses node, edge not "
"simple, edge end node geometry mis-match, edge start node geometry mismatch, "
"face overlaps face,face within face,"
msgstr ""

#. Tag: para
#: extras_topology.xml:107
#, no-c-format
msgid ""
"<varname>id1</varname> is an integer: Denotes identifier of edge / face / "
"nodes in error."
msgstr ""

#. Tag: para
#: extras_topology.xml:110
#, no-c-format
msgid ""
"<varname>id2</varname> is an integer: For errors that involve 2 objects "
"denotes the secondary edge / or node"
msgstr ""

#. Tag: para
#: extras_topology.xml:126
#, no-c-format
msgid ""
"This section lists the PostgreSQL domains installed by PostGIS Topology. "
"Domains can be used like object types as return objects of functions or "
"table columns. The distinction between a domain and a type is that a domain "
"is an existing type with a check constraint bound to it."
msgstr ""

#. Tag: title
#: extras_topology.xml:131
#, no-c-format
msgid "Topology Domains"
msgstr ""

#. Tag: refname
#: extras_topology.xml:135
#, no-c-format
msgid "TopoElement"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:136
#, no-c-format
msgid ""
"An array of 2 integers generally used to identify a TopoGeometry component."
msgstr ""

#. Tag: para
#: extras_topology.xml:140
#, no-c-format
msgid ""
"An array of 2 integers used to represent one component of a simple or "
"hierarchical <xref linkend=\"topogeometry\"/>."
msgstr ""

#. Tag: para
#: extras_topology.xml:144
#, no-c-format
msgid ""
"In the case of a simple TopoGeometry the first element of the array "
"represents the identifier of a topological primitive and the second element "
"represents its type (1:node, 2:edge, 3:face). In the case of a hierarchical "
"TopoGeometry the first element of the array represents the identifier of a "
"child TopoGeometry and the second element represents its layer identifier."
msgstr ""

#. Tag: para
#: extras_topology.xml:153
#, no-c-format
msgid ""
"For any given hierarchical TopoGeometry all child TopoGeometry elements will "
"come from the same child layer, as specified in the topology.layer record "
"for the layer of the TopoGeometry being defined."
msgstr ""

#. Tag: title
#: extras_topology.xml:162 extras_topology.xml:190 extras_topology.xml:281
#: extras_topology.xml:321 extras_topology.xml:362 extras_topology.xml:403
#: extras_topology.xml:442 extras_topology.xml:540 extras_topology.xml:611
#: extras_topology.xml:661 extras_topology.xml:704 extras_topology.xml:753
#: extras_topology.xml:946 extras_topology.xml:993 extras_topology.xml:1049
#: extras_topology.xml:1114 extras_topology.xml:1186 extras_topology.xml:1254
#: extras_topology.xml:1322 extras_topology.xml:1371 extras_topology.xml:1518
#: extras_topology.xml:1567 extras_topology.xml:1613 extras_topology.xml:1654
#: extras_topology.xml:1706 extras_topology.xml:1754 extras_topology.xml:1807
#: extras_topology.xml:1851 extras_topology.xml:1893 extras_topology.xml:1935
#: extras_topology.xml:1985 extras_topology.xml:2031 extras_topology.xml:2252
#: extras_topology.xml:2295 extras_topology.xml:2374 extras_topology.xml:2568
#: extras_topology.xml:2614 extras_topology.xml:2662 extras_topology.xml:2703
#: extras_topology.xml:2746 extras_topology.xml:2816 extras_topology.xml:2863
#: extras_topology.xml:2975 extras_topology.xml:3042 extras_topology.xml:3091
#: extras_topology.xml:3147
#, no-c-format
msgid "Examples"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:163
#, no-c-format
msgid ""
"SELECT te[1] AS id, te[2] AS type FROM\n"
"( SELECT ARRAY[1,2]::topology.topoelement AS te ) f;\n"
" id | type\n"
"----+------\n"
"  1 |    2"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:164
#, no-c-format
msgid ""
"SELECT ARRAY[1,2]::topology.topoelement;\n"
"  te\n"
"-------\n"
" {1,2}"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:165
#, no-c-format
msgid ""
"--Example of what happens when you try to case a 3 element array to "
"topoelement\n"
"-- NOTE: topoement has to be a 2 element array so fails dimension check\n"
"SELECT ARRAY[1,2,3]::topology.topoelement;\n"
"ERROR:  value for domain topology.topoelement violates check constraint "
"\"dimensions\""
msgstr ""

#. Tag: para
#: extras_topology.xml:170
#, no-c-format
msgid ""
", <xref linkend=\"topoelementarray\"/>, <xref linkend=\"topogeometry\"/>, "
"<xref linkend=\"TopoGeom_addElement\"/>, <xref linkend=\"TopoGeom_remElement"
"\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:182
#, no-c-format
msgid "TopoElementArray"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:183
#, no-c-format
msgid "An array of TopoElement objects"
msgstr ""

#. Tag: para
#: extras_topology.xml:187
#, no-c-format
msgid ""
"An array of 1 or more TopoElement objects, generally used to pass around "
"components of TopoGeometry objects."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:191
#, no-c-format
msgid ""
"SELECT '{{1,2},{4,3}}'::topology.topoelementarray As tea;\n"
"  tea\n"
"-------\n"
"{{1,2},{4,3}}\n"
"\n"
"-- more verbose equivalent --\n"
"SELECT ARRAY[ARRAY[1,2], ARRAY[4,3]]::topology.topoelementarray As tea;\n"
"\n"
"  tea\n"
"-------\n"
"{{1,2},{4,3}}\n"
"\n"
"--using the array agg function packaged with topology --\n"
"SELECT topology.TopoElementArray_Agg(ARRAY[e,t]) As tea\n"
"  FROM generate_series(1,4) As e CROSS JOIN generate_series(1,3) As t;\n"
"  tea\n"
"--------------------------------------------------------------------------\n"
"{{1,1},{1,2},{1,3},{2,1},{2,2},{2,3},{3,1},{3,2},{3,3},{4,1},{4,2},{4,3}}"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:192
#, no-c-format
msgid ""
"SELECT '{{1,2,4},{3,4,5}}'::topology.topoelementarray As tea;\n"
"ERROR:  value for domain topology.topoelementarray violates check constraint "
"\"dimensions\""
msgstr ""

#. Tag: para
#: extras_topology.xml:197
#, no-c-format
msgid ""
", <xref linkend=\"GetTopoGeomElementArray\"/>, <xref linkend="
"\"TopoElementArray_Agg\"/>"
msgstr ""

#. Tag: para
#: extras_topology.xml:209
#, no-c-format
msgid ""
"This section lists the Topology functions for building new Topology schemas, "
"validating topologies, and managing TopoGeometry Columns"
msgstr ""

#. Tag: title
#: extras_topology.xml:212
#, no-c-format
msgid "Topology and TopoGeometry Management"
msgstr ""

#. Tag: refname
#: extras_topology.xml:215
#, no-c-format
msgid "AddTopoGeometryColumn"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:216
#, no-c-format
msgid ""
"Adds a topogeometry column to an existing table, registers this new column "
"as a layer in topology.layer and returns the new layer_id."
msgstr ""

#. Tag: funcsynopsis
#: extras_topology.xml:220
#, no-c-format
msgid ""
"<funcprototype> <funcdef>integer <function>AddTopoGeometryColumn</function></"
"funcdef> <paramdef><type>varchar </type> <parameter>topology_name</"
"parameter></paramdef> <paramdef><type>varchar </type> "
"<parameter>schema_name</parameter></paramdef> <paramdef><type>varchar </"
"type> <parameter>table_name</parameter></paramdef> <paramdef><type>varchar </"
"type> <parameter>column_name</parameter></paramdef> <paramdef><type>varchar "
"</type> <parameter>feature_type</parameter></paramdef> </funcprototype> "
"<funcprototype> <funcdef>integer <function>AddTopoGeometryColumn</function></"
"funcdef> <paramdef><type>varchar </type> <parameter>topology_name</"
"parameter></paramdef> <paramdef><type>varchar </type> "
"<parameter>schema_name</parameter></paramdef> <paramdef><type>varchar </"
"type> <parameter>table_name</parameter></paramdef> <paramdef><type>varchar </"
"type> <parameter>column_name</parameter></paramdef> <paramdef><type>varchar "
"</type> <parameter>feature_type</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>child_layer</parameter></"
"paramdef> </funcprototype>"
msgstr ""

#. Tag: para
#: extras_topology.xml:265
#, no-c-format
msgid ""
"Each TopoGeometry object belongs to a specific Layer of a specific Topology. "
"Before creating a TopoGeometry object you need to create its TopologyLayer. "
"A Topology Layer is an association of a feature-table with the topology. It "
"also contain type and hierarchy information. We create a layer using the "
"AddTopoGeometryColumn() function:"
msgstr ""

#. Tag: para
#: extras_topology.xml:267
#, no-c-format
msgid ""
"This function will both add the requested column to the table and add a "
"record to the topology.layer table with all the given info."
msgstr ""

#. Tag: para
#: extras_topology.xml:268
#, no-c-format
msgid ""
"If you don't specify [child_layer] (or set it to NULL) this layer would "
"contain Basic TopoGeometries (composed by primitive topology elements). "
"Otherwise this layer will contain hierarchical TopoGeometries (composed by "
"TopoGeometries from the child_layer)."
msgstr ""

#. Tag: para
#: extras_topology.xml:271
#, no-c-format
msgid ""
"Once the layer is created (its id is returned by the AddTopoGeometryColumn "
"function) you're ready to construct TopoGeometry objects in it"
msgstr ""

#. Tag: para
#: extras_topology.xml:272
#, no-c-format
msgid ""
"Valid <varname>feature_type</varname>s are: POINT, LINE, POLYGON, COLLECTION"
msgstr ""

#. Tag: para
#: extras_topology.xml:275 extras_topology.xml:316 extras_topology.xml:357
#: extras_topology.xml:606 extras_topology.xml:698 extras_topology.xml:940
#: extras_topology.xml:987 extras_topology.xml:1364 extras_topology.xml:1512
#: extras_topology.xml:1561 extras_topology.xml:1607 extras_topology.xml:1648
#: extras_topology.xml:1846 extras_topology.xml:1930 extras_topology.xml:2025
#: extras_topology.xml:2465 extras_topology.xml:2811
#, no-c-format
msgid "Availability: 1.?"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:282
#, no-c-format
msgid ""
"-- Note for this example we created our new table in the ma_topo schema\n"
"-- though we could have created it in a different schema -- in which case "
"topology_name and schema_name would be different\n"
"CREATE SCHEMA ma;\n"
"CREATE TABLE ma.parcels(gid serial, parcel_id varchar(20) PRIMARY KEY, "
"address text);\n"
"SELECT topology.AddTopoGeometryColumn('ma_topo', 'ma', 'parcels', 'topo', "
"'POLYGON');"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:283
#, no-c-format
msgid ""
"CREATE SCHEMA ri;\n"
"CREATE TABLE ri.roads(gid serial PRIMARY KEY, road_name text);\n"
"SELECT topology.AddTopoGeometryColumn('ri_topo', 'ri', 'roads', 'topo', "
"'LINE');"
msgstr ""

#. Tag: para
#: extras_topology.xml:290 extras_topology.xml:2710 extras_topology.xml:2753
#, no-c-format
msgid ", <xref linkend=\"CreateTopoGeom\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:295
#, no-c-format
msgid "DropTopology"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:297
#, no-c-format
msgid ""
"Use with caution: Drops a topology schema and deletes its reference from "
"topology.topology table and references to tables in that schema from the "
"geometry_columns table."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:302
#, no-c-format
msgid ""
"<funcdef>integer <function>DropTopology</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>topology_schema_name</parameter></"
"paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:312
#, no-c-format
msgid ""
"Drops a topology schema and deletes its reference from topology.topology "
"table and references to tables in that schema from the geometry_columns "
"table. This function should be USED WITH CAUTION, as it could destroy data "
"you care about. If the schema does not exist, it just removes reference "
"entries the named schema."
msgstr ""

#. Tag: para
#: extras_topology.xml:322
#, no-c-format
msgid ""
"Cascade drops the ma_topo schema and removes all references to it in "
"topology.topology and geometry_columns."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:323
#, no-c-format
msgid "SELECT topology.DropTopology('ma_topo');"
msgstr ""

#. Tag: refname
#: extras_topology.xml:334
#, no-c-format
msgid "DropTopoGeometryColumn"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:336
#, no-c-format
msgid ""
"Drops the topogeometry column from the table named <varname>table_name</"
"varname> in schema <varname>schema_name</varname> and unregisters the "
"columns from topology.layer table."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:341
#, no-c-format
msgid ""
"<funcdef>text <function>DropTopoGeometryColumn</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>schema_name</parameter></"
"paramdef> <paramdef><type>varchar </type> <parameter>table_name</parameter></"
"paramdef> <paramdef><type>varchar </type> <parameter>column_name</"
"parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:353
#, no-c-format
msgid ""
"Drops the topogeometry column from the table named <varname>table_name</"
"varname> in schema <varname>schema_name</varname> and unregisters the "
"columns from topology.layer table. Returns summary of drop status. NOTE: it "
"first sets all values to NULL before dropping to bypass referential "
"integrity checks."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:363
#, no-c-format
msgid ""
"SELECT topology.DropTopoGeometryColumn('ma_topo', 'parcel_topo', 'topo');"
msgstr ""

#. Tag: refname
#: extras_topology.xml:375
#, no-c-format
msgid "Populate_Topology_Layer"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:377
#, no-c-format
msgid ""
"Adds missing entries to topology.layer table by reading metadata from topo "
"tables."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:383
#, no-c-format
msgid ""
"<funcdef>setof record <function>Populate_Topology_Layer</function></funcdef> "
"<paramdef></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:393
#, no-c-format
msgid ""
"Adds missing entries to the <varname>topology.layer</varname> table by "
"inspecting topology constraints on tables. This function is useful for "
"fixing up entries in topology catalog after restores of schemas with topo "
"data."
msgstr ""

#. Tag: para
#: extras_topology.xml:395
#, no-c-format
msgid ""
"It returns the list of entries created. Returned columns are "
"<varname>schema_name</varname>, <varname>table_name</varname>, "
"<varname>feature_column</varname>."
msgstr ""

#. Tag: para
#: extras_topology.xml:398
#, no-c-format
msgid "Availability: 2.3.0"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:404
#, no-c-format
msgid ""
"SELECT CreateTopology('strk_topo');\n"
"CREATE SCHEMA strk;\n"
"CREATE TABLE strk.parcels(gid serial, parcel_id varchar(20) PRIMARY KEY, "
"address text);\n"
"SELECT topology.AddTopoGeometryColumn('strk_topo', 'strk', 'parcels', "
"'topo', 'POLYGON');\n"
"-- this will return no records because this feature is already registered\n"
"SELECT *\n"
"  FROM topology.Populate_Topology_Layer();\n"
"\n"
"-- let's rebuild\n"
"TRUNCATE TABLE topology.layer;\n"
"\n"
"SELECT *\n"
"  FROM topology.Populate_Topology_Layer();\n"
"\n"
"SELECT topology_id,layer_id, schema_name As sn, table_name As tn, "
"feature_column As fc\n"
"FROM topology.layer;"
msgstr ""

#. Tag: screen
#: extras_topology.xml:405
#, no-c-format
msgid ""
"schema_name | table_name | feature_column\n"
"-------------+------------+----------------\n"
" strk        | parcels    | topo\n"
"(1 row)\n"
"\n"
" topology_id | layer_id |  sn  |   tn    |  fc\n"
"-------------+----------+------+---------+------\n"
"           2 |        2 | strk | parcels | topo\n"
"(1 row)"
msgstr ""

#. Tag: refname
#: extras_topology.xml:417
#, no-c-format
msgid "TopologySummary"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:419
#, no-c-format
msgid ""
"Takes a topology name and provides summary totals of types of objects in "
"topology"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:424
#, no-c-format
msgid ""
"<funcdef>text <function>TopologySummary</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>topology_schema_name</parameter></"
"paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:434
#, no-c-format
msgid ""
"Takes a topology name and provides summary totals of types of objects in "
"topology."
msgstr ""

#. Tag: para
#: extras_topology.xml:437 extras_topology.xml:656 extras_topology.xml:794
#: extras_topology.xml:840 extras_topology.xml:886 extras_topology.xml:1888
#: extras_topology.xml:2091 extras_topology.xml:2194 extras_topology.xml:2247
#: extras_topology.xml:2369 extras_topology.xml:2609 extras_topology.xml:2858
#: extras_topology.xml:2970
#, no-c-format
msgid "Availability: 2.0.0"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:443
#, no-c-format
msgid ""
"SELECT topology.topologysummary('city_data');\n"
"                    topologysummary\n"
"--------------------------------------------------------\n"
" Topology city_data (329), SRID 4326, precision: 0\n"
" 22 nodes, 24 edges, 10 faces, 29 topogeoms in 5 layers\n"
" Layer 1, type Polygonal (3), 9 topogeoms\n"
"  Deploy: features.land_parcels.feature\n"
" Layer 2, type Puntal (1), 8 topogeoms\n"
"  Deploy: features.traffic_signs.feature\n"
" Layer 3, type Lineal (2), 8 topogeoms\n"
"  Deploy: features.city_streets.feature\n"
" Layer 4, type Polygonal (3), 3 topogeoms\n"
"  Hierarchy level 1, child layer 1\n"
"  Deploy: features.big_parcels.feature\n"
" Layer 5, type Puntal (1), 1 topogeoms\n"
"  Hierarchy level 1, child layer 2\n"
"  Deploy: features.big_signs.feature"
msgstr ""

#. Tag: refname
#: extras_topology.xml:454
#, no-c-format
msgid "ValidateTopology"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:456
#, no-c-format
msgid ""
"Returns a set of validatetopology_returntype objects detailing issues with "
"topology"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:461
#, no-c-format
msgid ""
"<funcdef>setof validatetopology_returntype <function>ValidateTopology</"
"function></funcdef> <paramdef><type>varchar </type> "
"<parameter>topology_schema_name</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:471
#, no-c-format
msgid ""
"Returns a set of <xref linkend=\"validatetopology_returntype\"/> objects "
"detailing issues with topology. List of possible errors and what the "
"returned ids represent are displayed below:"
msgstr ""

#. Tag: entry
#: extras_topology.xml:475
#, no-c-format
msgid "Error"
msgstr ""

#. Tag: entry
#: extras_topology.xml:475
#, no-c-format
msgid "<entry>id1</entry>"
msgstr ""

#. Tag: entry
#: extras_topology.xml:475
#, no-c-format
msgid "<entry>id2</entry>"
msgstr ""

#. Tag: entry
#: extras_topology.xml:478
#, no-c-format
msgid "edge crosses node"
msgstr ""

#. Tag: entry
#: extras_topology.xml:479 extras_topology.xml:484 extras_topology.xml:489
#: extras_topology.xml:494 extras_topology.xml:495 extras_topology.xml:499
#: extras_topology.xml:504
#, no-c-format
msgid "edge_id"
msgstr ""

#. Tag: entry
#: extras_topology.xml:480 extras_topology.xml:500 extras_topology.xml:505
#, no-c-format
msgid "node_id"
msgstr ""

#. Tag: entry
#: extras_topology.xml:483
#, no-c-format
msgid "invalid edge"
msgstr ""

#. Tag: entry
#: extras_topology.xml:485 extras_topology.xml:490 extras_topology.xml:510
#: extras_topology.xml:515
#, no-c-format
msgid "null"
msgstr ""

#. Tag: entry
#: extras_topology.xml:488
#, no-c-format
msgid "edge not simple"
msgstr ""

#. Tag: entry
#: extras_topology.xml:493
#, no-c-format
msgid "edge crosses edge"
msgstr ""

#. Tag: entry
#: extras_topology.xml:498
#, no-c-format
msgid "edge start node geometry mis-match"
msgstr ""

#. Tag: entry
#: extras_topology.xml:503
#, no-c-format
msgid "edge end node geometry mis-match"
msgstr ""

#. Tag: entry
#: extras_topology.xml:508
#, no-c-format
msgid "face without edges"
msgstr ""

#. Tag: entry
#: extras_topology.xml:509 extras_topology.xml:514 extras_topology.xml:519
#: extras_topology.xml:520
#, no-c-format
msgid "face_id"
msgstr ""

#. Tag: entry
#: extras_topology.xml:513
#, no-c-format
msgid "face has no rings"
msgstr ""

#. Tag: entry
#: extras_topology.xml:518
#, no-c-format
msgid "face overlaps face"
msgstr ""

#. Tag: entry
#: extras_topology.xml:523
#, no-c-format
msgid "face within face"
msgstr ""

#. Tag: entry
#: extras_topology.xml:524
#, no-c-format
msgid "inner face_id"
msgstr ""

#. Tag: entry
#: extras_topology.xml:525
#, no-c-format
msgid "outer face_id"
msgstr ""

#. Tag: para
#: extras_topology.xml:532
#, no-c-format
msgid "Availability: 1.0.0"
msgstr ""

#. Tag: para
#: extras_topology.xml:534
#, no-c-format
msgid ""
"Enhanced: 2.0.0 more efficient edge crossing detection and fixes for false "
"positives that were existent in prior versions."
msgstr ""

#. Tag: para
#: extras_topology.xml:535
#, no-c-format
msgid ""
"Changed: 2.2.0 values for id1 and id2 were swapped for 'edge crosses node' "
"to be consistent with error description."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:541
#, no-c-format
msgid ""
"SELECT * FROM  topology.ValidateTopology('ma_topo');\n"
"      error        | id1 | id2\n"
"-------------------+-----+-----\n"
"face without edges |   0 |"
msgstr ""

#. Tag: para
#: extras_topology.xml:547
#, no-c-format
msgid ", <xref linkend=\"Topology_Load_Tiger\"/>"
msgstr ""

#. Tag: para
#: extras_topology.xml:555
#, no-c-format
msgid "This section covers the topology functions for creating new topologies."
msgstr ""

#. Tag: title
#: extras_topology.xml:558
#, no-c-format
msgid "Topology Constructors"
msgstr ""

#. Tag: refname
#: extras_topology.xml:562
#, no-c-format
msgid "CreateTopology"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:563
#, no-c-format
msgid ""
"Creates a new topology schema and registers this new schema in the topology."
"topology table."
msgstr ""

#. Tag: funcsynopsis
#: extras_topology.xml:567
#, no-c-format
msgid ""
"<funcprototype> <funcdef>integer <function>CreateTopology</function></"
"funcdef> <paramdef><type>varchar </type> <parameter>topology_schema_name</"
"parameter></paramdef> </funcprototype> <funcprototype> <funcdef>integer "
"<function>CreateTopology</function></funcdef> <paramdef><type>varchar </"
"type> <parameter>topology_schema_name</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </"
"funcprototype> <funcprototype> <funcdef>integer <function>CreateTopology</"
"function></funcdef> <paramdef><type>varchar </type> "
"<parameter>topology_schema_name</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>srid</parameter></paramdef> "
"<paramdef><type>double precision </type> <parameter>prec</parameter></"
"paramdef> </funcprototype> <funcprototype> <funcdef>integer "
"<function>CreateTopology</function></funcdef> <paramdef><type>varchar </"
"type> <parameter>topology_schema_name</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>srid</parameter></paramdef> "
"<paramdef><type>double precision </type> <parameter>prec</parameter></"
"paramdef> <paramdef><type>boolean </type> <parameter>hasz</parameter></"
"paramdef> </funcprototype>"
msgstr ""

#. Tag: para
#: extras_topology.xml:599
#, no-c-format
msgid ""
"Creates a new schema with name <varname>topology_name</varname> consisting "
"of tables (<varname>edge_data</varname>,<varname>face</varname>,"
"<varname>node</varname>, <varname>relation</varname> and registers this new "
"topology in the topology.topology table. It returns the id of the topology "
"in the topology table. The srid is the spatial reference identified as "
"defined in spatial_ref_sys table for that topology. Topologies must be "
"uniquely named. The tolerance is measured in the units of the spatial "
"reference system. If the tolerance (<varname>prec</varname>) is not "
"specified defaults to 0."
msgstr ""

#. Tag: para
#: extras_topology.xml:603
#, no-c-format
msgid ""
"This is similar to the SQL/MM <xref linkend=\"ST_InitTopoGeo\"/> but a bit "
"more functional. <varname>hasz</varname> defaults to false if not specified."
msgstr ""

#. Tag: para
#: extras_topology.xml:612
#, no-c-format
msgid ""
"This example creates a new schema called ma_topo that will store edges, "
"faces, and relations in Massachusetts State Plane meters. The tolerance "
"represents 1/2 meter since the spatial reference system is a meter based "
"spatial reference system"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:614
#, no-c-format
msgid "SELECT topology.CreateTopology('ma_topo',26986, 0.5);"
msgstr ""

#. Tag: para
#: extras_topology.xml:616
#, no-c-format
msgid "Create Rhode Island topology in State Plane ft"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:617
#, no-c-format
msgid ""
"SELECT topology.CreateTopology('ri_topo',3438) As topoid;\n"
"topoid\n"
"------\n"
"2"
msgstr ""

#. Tag: para
#: extras_topology.xml:624
#, no-c-format
msgid ""
", <xref linkend=\"ST_InitTopoGeo\"/>, <xref linkend=\"Topology_Load_Tiger\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:630
#, no-c-format
msgid "CopyTopology"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:631
#, no-c-format
msgid ""
"Makes a copy of a topology structure (nodes, edges, faces, layers and "
"TopoGeometries)."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:636
#, no-c-format
msgid ""
"<funcdef>integer <function>CopyTopology</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>existing_topology_name</"
"parameter></paramdef> <paramdef><type>varchar </type> <parameter>new_name</"
"parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:647
#, no-c-format
msgid ""
"Creates a new topology with name <varname>new_topology_name</varname> and "
"SRID and precision taken from <varname>existing_topology_name</varname>, "
"copies all nodes, edges and faces in there, copies layers and their "
"TopoGeometries too."
msgstr ""

#. Tag: para
#: extras_topology.xml:651
#, no-c-format
msgid ""
"The new rows in topology.layer will contain synthesized values for "
"schema_name, table_name and feature_column. This is because the TopoGeometry "
"will only exist as a definition but won't be available in any user-level "
"table yet."
msgstr ""

#. Tag: para
#: extras_topology.xml:662
#, no-c-format
msgid "This example makes a backup of a topology called ma_topo"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:665
#, no-c-format
msgid "SELECT topology.CopyTopology('ma_topo', 'ma_topo_bakup');"
msgstr ""

#. Tag: para
#: extras_topology.xml:673 extras_topology.xml:2259
#, no-c-format
msgid ", <xref linkend=\"CreateTopology\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:679
#, no-c-format
msgid "ST_InitTopoGeo"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:680
#, no-c-format
msgid ""
"Creates a new topology schema and registers this new schema in the topology."
"topology table and details summary of process."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:685
#, no-c-format
msgid ""
"<funcdef>text <function>ST_InitTopoGeo</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>topology_schema_name</parameter></"
"paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:695
#, no-c-format
msgid ""
"This is an SQL-MM equivalent of CreateTopology but lacks the spatial "
"reference and tolerance options of CreateTopology and outputs a text "
"description of creation instead of topology id."
msgstr ""

#. Tag: para
#: extras_topology.xml:699
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM 3 Topo-Geo and Topo-Net 3: Routine Details: X.3.17"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:705
#, no-c-format
msgid ""
"SELECT topology.ST_InitTopoGeo('topo_schema_to_create') AS topocreation;\n"
"                      astopocreation\n"
"------------------------------------------------------------\n"
" Topology-Geometry 'topo_schema_to_create' (id:7) created."
msgstr ""

#. Tag: refname
#: extras_topology.xml:719
#, no-c-format
msgid "ST_CreateTopoGeo"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:721
#, no-c-format
msgid ""
"<refpurpose>Adds a collection of geometries to a given empty topology and "
"returns a message detailing success.</refpurpose>"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:728
#, no-c-format
msgid ""
"<funcdef>text <function>ST_CreateTopoGeo</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>acollection</parameter></"
"paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:739
#, no-c-format
msgid ""
"<para>Adds a collection of geometries to a given empty topology and returns "
"a message detailing success.</para>"
msgstr ""

#. Tag: para
#: extras_topology.xml:743
#, no-c-format
msgid "Useful for populating an empty topology."
msgstr ""

#. Tag: para
#: extras_topology.xml:747 extras_topology.xml:1043 extras_topology.xml:1108
#: extras_topology.xml:1180 extras_topology.xml:1248 extras_topology.xml:1419
#: extras_topology.xml:1469 extras_topology.xml:1979 extras_topology.xml:2145
#: extras_topology.xml:2564
#, no-c-format
msgid "Availability: 2.0"
msgstr ""

#. Tag: para
#: extras_topology.xml:748
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM: Topo-Geo and Topo-Net 3: Routine Details -- X.3.18"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:754
#, no-c-format
msgid ""
"-- Populate topology --\n"
"SELECT topology.ST_CreateTopoGeo('ri_topo',\n"
" ST_GeomFromText('MULTILINESTRING((384744 236928,384750 236923,384769 "
"236911,384799 236895,384811 236890,384833 236884,\n"
"  384844 236882,384866 236881,384879 236883,384954 236898,385087 "
"236932,385117 236938,\n"
"  385167 236938,385203 236941,385224 236946,385233 236950,385241 "
"236956,385254 236971,\n"
"  385260 236979,385268 236999,385273 237018,385273 237037,385271 "
"237047,385267 237057,\n"
"  385225 237125,385210 237144,385192 237161,385167 237192,385162 "
"237202,385159 237214,\n"
"  385159 237227,385162 237241,385166 237256,385196 237324,385209 "
"237345,385234 237375,\n"
"  385237 237383,385238 237399,385236 237407,385227 237419,385213 "
"237430,385193 237439,\n"
"  385174 237451,385170 237455,385169 237460,385171 237475,385181 "
"237503,385190 237521,\n"
"  385200 237533,385206 237538,385213 237541,385221 237542,385235 "
"237540,385242 237541,\n"
"  385249 237544,385260 237555,385270 237570,385289 237584,385292 "
"237589,385291 237596,385284 237630))',3438)\n"
"  );\n"
"\n"
"      st_createtopogeo\n"
"----------------------------\n"
" Topology ri_topo populated\n"
"\n"
"\n"
"-- create tables and topo geometries --\n"
"CREATE TABLE ri.roads(gid serial PRIMARY KEY, road_name text);\n"
"\n"
"SELECT topology.AddTopoGeometryColumn('ri_topo', 'ri', 'roads', 'topo', "
"'LINE');"
msgstr ""

#. Tag: para
#: extras_topology.xml:760
#, no-c-format
msgid ", <xref linkend=\"CreateTopology\"/>, <xref linkend=\"DropTopology\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:766
#, no-c-format
msgid "TopoGeo_AddPoint"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:768
#, no-c-format
msgid ""
"Adds a point to an existing topology using a tolerance and possibly "
"splitting an existing edge."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:775
#, no-c-format
msgid ""
"<funcdef>integer <function>TopoGeo_AddPoint</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>toponame</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>apoint</parameter></paramdef> "
"<paramdef choice=\"opt\"><type>float8 </type> <parameter>tolerance</"
"parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:787
#, no-c-format
msgid ""
"Adds a point to an existing topology and return its identifier. The given "
"point will snap to existing nodes or edges within given tolerance. An "
"existing edge may be split by the snapped point."
msgstr ""

#. Tag: para
#: extras_topology.xml:801
#, no-c-format
msgid ""
", <xref linkend=\"TopoGeo_AddPolygon\"/>, <xref linkend=\"AddNode\"/>, <xref "
"linkend=\"CreateTopology\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:812
#, no-c-format
msgid "TopoGeo_AddLineString"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:814
#, no-c-format
msgid ""
"Adds a linestring to an existing topology using a tolerance and possibly "
"splitting existing edges/faces. Returns edge identifiers"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:821
#, no-c-format
msgid ""
"<funcdef>SETOF integer <function>TopoGeo_AddLineString</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>toponame</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>aline</parameter></paramdef> "
"<paramdef choice=\"opt\"><type>float8 </type> <parameter>tolerance</"
"parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:833
#, no-c-format
msgid ""
"Adds a linestring to an existing topology and return a set of edge "
"identifiers forming it up. The given line will snap to existing nodes or "
"edges within given tolerance. Existing edges and faces may be split by the "
"line."
msgstr ""

#. Tag: para
#: extras_topology.xml:847
#, no-c-format
msgid ""
", <xref linkend=\"TopoGeo_AddPolygon\"/>, <xref linkend=\"AddEdge\"/>, <xref "
"linkend=\"CreateTopology\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:858
#, no-c-format
msgid "TopoGeo_AddPolygon"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:860
#, no-c-format
msgid ""
"Adds a polygon to an existing topology using a tolerance and possibly "
"splitting existing edges/faces."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:867
#, no-c-format
msgid ""
"<funcdef>integer <function>TopoGeo_AddPolygon</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>apoly</parameter></paramdef> "
"<paramdef choice=\"opt\"><type>float8 </type> <parameter>atolerance</"
"parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:879
#, no-c-format
msgid ""
"Adds a polygon to an existing topology and return a set of face identifiers "
"forming it up. The boundary of the given polygon will snap to existing nodes "
"or edges within given tolerance. Existing edges and faces may be split by "
"the boundary of the new polygon."
msgstr ""

#. Tag: para
#: extras_topology.xml:893
#, no-c-format
msgid ""
", <xref linkend=\"TopoGeo_AddLineString\"/>, <xref linkend=\"AddFace\"/>, "
"<xref linkend=\"CreateTopology\"/>"
msgstr ""

#. Tag: para
#: extras_topology.xml:908
#, no-c-format
msgid ""
"This section covers topology functions for adding, moving, deleting, and "
"splitting edges, faces, and nodes. All of these functions are defined by ISO "
"SQL/MM."
msgstr ""

#. Tag: title
#: extras_topology.xml:911
#, no-c-format
msgid "Topology Editors"
msgstr ""

#. Tag: refname
#: extras_topology.xml:915
#, no-c-format
msgid "ST_AddIsoNode"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:917
#, no-c-format
msgid ""
"Adds an isolated node to a face in a topology and returns the nodeid of the "
"new node. If face is null, the node is still created."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:922
#, no-c-format
msgid ""
"<funcdef>integer <function>ST_AddIsoNode</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>aface</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>apoint</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:934
#, no-c-format
msgid ""
"Adds an isolated node with point location <varname>apoint</varname> to an "
"existing face with faceid <varname>aface</varname> to a topology "
"<varname>atopology</varname> and returns the nodeid of the new node."
msgstr ""

#. Tag: para
#: extras_topology.xml:935
#, no-c-format
msgid ""
"If the spatial reference system (srid) of the point geometry is not the same "
"as the topology, the <varname>apoint</varname> is not a point geometry, the "
"point is null, or the point intersects an existing edge (even at the "
"boundaries) then an exception is thrown. If the point already exists as a "
"node, an exception is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:937
#, no-c-format
msgid ""
"If <varname>aface</varname> is not null and the <varname>apoint</varname> is "
"not within the face, then an exception is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:941
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM: Topo-Net Routines: X+1.3.1"
msgstr ""

#. Tag: para
#: extras_topology.xml:954
#, no-c-format
msgid ""
", <xref linkend=\"CreateTopology\"/>, <xref linkend=\"DropTopology\"/>, "
"<xref linkend=\"ST_Intersects\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:960
#, no-c-format
msgid "ST_AddIsoEdge"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:962
#, no-c-format
msgid ""
"<refpurpose>Adds an isolated edge defined by geometry <varname>alinestring</"
"varname> to a topology connecting two existing isolated nodes "
"<varname>anode</varname> and <varname>anothernode</varname> and returns the "
"edge id of the new edge.</refpurpose>"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:967
#, no-c-format
msgid ""
"<funcdef>integer <function>ST_AddIsoEdge</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anode</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anothernode</parameter></"
"paramdef> <paramdef><type>geometry </type> <parameter>alinestring</"
"parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:980
#, no-c-format
msgid ""
"<para>Adds an isolated edge defined by geometry <varname>alinestring</"
"varname> to a topology connecting two existing isolated nodes "
"<varname>anode</varname> and <varname>anothernode</varname> and returns the "
"edge id of the new edge.</para>"
msgstr ""

#. Tag: para
#: extras_topology.xml:981
#, no-c-format
msgid ""
"If the spatial reference system (srid) of the <varname>alinestring</varname> "
"geometry is not the same as the topology, any of the input arguments are "
"null, or the nodes are contained in more than one face, or the nodes are "
"start or end nodes of an existing edge, then an exception is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:983
#, no-c-format
msgid ""
"If the <varname>alinestring</varname> is not within the face of the face the "
"<varname>anode</varname> and <varname>anothernode</varname> belong to, then "
"an exception is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:984
#, no-c-format
msgid ""
"If the <varname>anode</varname> and <varname>anothernode</varname> are not "
"the start and end points of the <varname>alinestring</varname> then an "
"exception is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:988
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM: Topo-Geo and Topo-Net 3: Routine Details: X.3.4"
msgstr ""

#. Tag: para
#: extras_topology.xml:1001
#, no-c-format
msgid ", <xref linkend=\"ST_IsSimple\"/>, <xref linkend=\"ST_Within\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1007
#, no-c-format
msgid "ST_AddEdgeNewFaces"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1009
#, no-c-format
msgid ""
"Add a new edge and, if in doing so it splits a face, delete the original "
"face and replace it with two new faces."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1014
#, no-c-format
msgid ""
"<funcdef>integer <function>ST_AddEdgeNewFaces</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anode</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anothernode</parameter></"
"paramdef> <paramdef><type>geometry </type> <parameter>acurve</parameter></"
"paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1027
#, no-c-format
msgid ""
"Add a new edge and, if in doing so it splits a face, delete the original "
"face and replace it with two new faces. Returns the id of the newly added "
"edge."
msgstr ""

#. Tag: para
#: extras_topology.xml:1033 extras_topology.xml:1099 extras_topology.xml:1162
#: extras_topology.xml:1230
#, no-c-format
msgid "Updates all existing joined edges and relationships accordingly."
msgstr ""

#. Tag: para
#: extras_topology.xml:1037 extras_topology.xml:1103
#, no-c-format
msgid ""
"If any arguments are null, the given nodes are unknown (must already exist "
"in the <varname>node</varname> table of the topology schema) , the "
"<varname>acurve</varname> is not a <varname>LINESTRING</varname>, the "
"<varname>anode</varname> and <varname>anothernode</varname> are not the "
"start and endpoints of <varname>acurve</varname> then an error is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1040 extras_topology.xml:1106 extras_topology.xml:1301
#, no-c-format
msgid ""
"If the spatial reference system (srid) of the <varname>acurve</varname> "
"geometry is not the same as the topology an exception is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1044
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM: Topo-Geo and Topo-Net 3: Routine Details: X.3.12"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1064
#, no-c-format
msgid "ST_AddEdgeModFace"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1066
#, no-c-format
msgid ""
"Add a new edge and, if in doing so it splits a face, modify the original "
"face and add a new face."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1071
#, no-c-format
msgid ""
"<funcdef>integer <function>ST_AddEdgeModFace</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anode</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anothernode</parameter></"
"paramdef> <paramdef><type>geometry </type> <parameter>acurve</parameter></"
"paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1084
#, no-c-format
msgid ""
"Add a new edge and, if doing so splits a face, modify the original face and "
"add a new one."
msgstr ""

#. Tag: para
#: extras_topology.xml:1089
#, no-c-format
msgid ""
"If possible, the new face will be created on left side of the new edge. This "
"will not be possible if the face on the left side will need to be the "
"Universe face (unbounded)."
msgstr ""

#. Tag: para
#: extras_topology.xml:1095
#, no-c-format
msgid "Returns the id of the newly added edge."
msgstr ""

#. Tag: para
#: extras_topology.xml:1109
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM: Topo-Geo and Topo-Net 3: Routine Details: X.3.13"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1129
#, no-c-format
msgid "ST_RemEdgeNewFace"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1131
#, no-c-format
msgid ""
"<refpurpose>Removes an edge and, if the removed edge separated two faces, "
"delete the original faces and replace them with a new face.</refpurpose>"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1139
#, no-c-format
msgid ""
"<funcdef>integer <function>ST_RemEdgeNewFace</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anedge</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1150
#, no-c-format
msgid ""
"<para>Removes an edge and, if the removed edge separated two faces, delete "
"the original faces and replace them with a new face.</para>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1155
#, no-c-format
msgid ""
"Returns the id of a newly created face or NULL, if no new face is created. "
"No new face is created when the removed edge is dangling or isolated or "
"confined with the universe face (possibly making the universe flood into the "
"face on the other side)."
msgstr ""

#. Tag: para
#: extras_topology.xml:1166
#, no-c-format
msgid ""
"Refuses to remove an edge participating in the definition of an existing "
"TopoGeometry. Refuses to heal two faces if any TopoGeometry is defined by "
"only one of them (and not the other)."
msgstr ""

#. Tag: para
#: extras_topology.xml:1173 extras_topology.xml:1241
#, no-c-format
msgid ""
"If any arguments are null, the given edge is unknown (must already exist in "
"the <varname>edge</varname> table of the topology schema), the topology name "
"is invalid then an error is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1181
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM: Topo-Geo and Topo-Net 3: Routine Details: X.3.14"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1201
#, no-c-format
msgid "ST_RemEdgeModFace"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1203
#, no-c-format
msgid ""
"Removes an edge and, if the removed edge separated two faces, delete one of "
"the them and modify the other to take the space of both."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1211
#, no-c-format
msgid ""
"<funcdef>integer <function>ST_RemEdgeModFace</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anedge</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1222
#, no-c-format
msgid ""
"Removes an edge and, if the removed edge separated two faces, delete one of "
"the them and modify the other to take the space of both. Preferentially "
"keeps the face on the right, to be symmetric with ST_AddEdgeModFace also "
"keeping it. Returns the id of the face remaining in place of the removed "
"edge."
msgstr ""

#. Tag: para
#: extras_topology.xml:1234
#, no-c-format
msgid ""
"Refuses to remove an edge partecipating in the definition of an existing "
"TopoGeometry. Refuses to heal two faces if any TopoGeometry is defined by "
"only one of them (and not the other)."
msgstr ""

#. Tag: para
#: extras_topology.xml:1249
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM: Topo-Geo and Topo-Net 3: Routine Details: X.3.15"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1269
#, no-c-format
msgid "ST_ChangeEdgeGeom"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1271
#, no-c-format
msgid ""
"<refpurpose>Changes the shape of an edge without affecting the topology "
"structure.</refpurpose>"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1278
#, no-c-format
msgid ""
"<funcdef>integer <function>ST_ChangeEdgeGeom</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anedge</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>acurve</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1290
#, no-c-format
msgid ""
"<para>Changes the shape of an edge without affecting the topology structure."
"</para>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1293
#, no-c-format
msgid ""
"If any arguments are null, the given edge does not exist in the "
"<varname>edge</varname> table of the topology schema, the <varname>acurve</"
"varname> is not a <varname>LINESTRING</varname>, the <varname>anode</"
"varname> and <varname>anothernode</varname> are not the start and endpoints "
"of <varname>acurve</varname> or the modification would change the underlying "
"topology then an error is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1302
#, no-c-format
msgid ""
"If the new <varname>acurve</varname> is not simple, then an error is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1304
#, no-c-format
msgid ""
"If moving the edge from old to new position would hit an obstacle then an "
"error is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1310 extras_topology.xml:3082 extras_topology.xml:3138
#, no-c-format
msgid "Availability: 1.1.0"
msgstr ""

#. Tag: para
#: extras_topology.xml:1313
#, no-c-format
msgid "Enhanced: 2.0.0 adds topological consistency enforcement"
msgstr ""

#. Tag: para
#: extras_topology.xml:1317
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM: Topo-Geo and Topo-Net 3: Routine Details X.3.6"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1323
#, no-c-format
msgid ""
"SELECT topology.ST_ChangeEdgeGeom('ma_topo', 1,\n"
"                ST_GeomFromText('LINESTRING(227591.9 893900.4,227622.6 "
"893844.3,227641.6 893816.6, 227704.5 893778.5)', 26986) );\n"
" ----\n"
" Edge 1 changed"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1337
#, no-c-format
msgid "ST_ModEdgeSplit"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1339
#, no-c-format
msgid ""
"Split an edge by creating a new node along an existing edge, modifying the "
"original edge and adding a new edge."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1344
#, no-c-format
msgid ""
"<funcdef>integer <function>ST_ModEdgeSplit</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anedge</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>apoint</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1356
#, no-c-format
msgid ""
"Split an edge by creating a new node along an existing edge, modifying the "
"original edge and adding a new edge. Updates all existing joined edges and "
"relationships accordingly. Returns the identifier of the newly added node."
msgstr ""

#. Tag: para
#: extras_topology.xml:1365
#, no-c-format
msgid "Changed: 2.0 - In prior versions, this was misnamed ST_ModEdgesSplit"
msgstr ""

#. Tag: para
#: extras_topology.xml:1366 extras_topology.xml:1420 extras_topology.xml:1470
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM: Topo-Geo and Topo-Net 3: Routine Details: X.3.9"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1372
#, no-c-format
msgid ""
"-- Add an edge --\n"
" SELECT topology.AddEdge('ma_topo', ST_GeomFromText('LINESTRING(227592 "
"893910, 227600 893910)', 26986) ) As edgeid;\n"
"\n"
"-- edgeid-\n"
"3\n"
"\n"
"\n"
"-- Split the edge  --\n"
"SELECT topology.ST_ModEdgeSplit('ma_topo',  3, "
"ST_SetSRID(ST_Point(227594,893910),26986)  ) As node_id;\n"
"        node_id\n"
"-------------------------\n"
"7"
msgstr ""

#. Tag: para
#: extras_topology.xml:1378
#, no-c-format
msgid ""
", <xref linkend=\"ST_ModEdgeHeal\"/>, <xref linkend=\"ST_NewEdgeHeal\"/>, "
"<xref linkend=\"AddEdge\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1389
#, no-c-format
msgid "ST_ModEdgeHeal"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1391
#, no-c-format
msgid ""
"Heal two edges by deleting the node connecting them, modifying the first "
"edge and deleting the second edge. Returns the id of the deleted node."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1399
#, no-c-format
msgid ""
"<funcdef>int <function>ST_ModEdgeHeal</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anedge</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anotheredge</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1411
#, no-c-format
msgid ""
"Heal two edges by deleting the node connecting them, modifying the first "
"edge and deleting the second edge. Returns the id of the deleted node. "
"Updates all existing joined edges and relationships accordingly."
msgstr ""

#. Tag: refname
#: extras_topology.xml:1436
#, no-c-format
msgid "ST_NewEdgeHeal"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1438
#, no-c-format
msgid ""
"Heal two edges by deleting the node connecting them, deleting both edges, "
"and replacing them with an edge whose direction is the same as the first "
"edge provided."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1447
#, no-c-format
msgid ""
"<funcdef>int <function>ST_NewEdgeHeal</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anedge</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anotheredge</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1459
#, no-c-format
msgid ""
"Heal two edges by deleting the node connecting them, deleting both edges, "
"and replacing them with an edge whose direction is the same as the first "
"edge provided. Returns the id of the new edge replacing the healed ones. "
"Updates all existing joined edges and relationships accordingly."
msgstr ""

#. Tag: refname
#: extras_topology.xml:1487
#, no-c-format
msgid "ST_MoveIsoNode"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1489
#, no-c-format
msgid ""
"Moves an isolated node in a topology from one point to another. If new "
"<varname>apoint</varname> geometry exists as a node an error is thrown. "
"Returns description of move."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1494
#, no-c-format
msgid ""
"<funcdef>text <function>ST_MoveIsoNode</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anedge</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>apoint</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1506
#, no-c-format
msgid ""
"Moves an isolated node in a topology from one point to another. If new "
"<varname>apoint</varname> geometry exists as a node an error is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1507
#, no-c-format
msgid ""
"If any arguments are null, the <varname>apoint</varname> is not a point, the "
"existing node is not isolated (is a start or end point of an existing edge), "
"new node location intersects an existing edge (even at the end points) then "
"an exception is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1508
#, no-c-format
msgid ""
"If the spatial reference system (srid) of the point geometry is not the same "
"as the topology an exception is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1513
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM: Topo-Net Routines: X.3.2"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1519
#, no-c-format
msgid ""
"-- Add an isolated node with no face  --\n"
"SELECT topology.ST_AddIsoNode('ma_topo',  NULL, "
"ST_GeomFromText('POINT(227579 893916)', 26986) ) As nodeid;\n"
" nodeid\n"
"--------\n"
"      7\n"
"-- Move the new node --\n"
"SELECT topology.ST_MoveIsoNode('ma_topo', 7,  "
"ST_GeomFromText('POINT(227579.5 893916.5)', 26986) ) As descrip;\n"
"                      descrip\n"
"----------------------------------------------------\n"
"Isolated Node 7 moved to location 227579.5,893916.5"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1530
#, no-c-format
msgid "ST_NewEdgesSplit"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1532
#, no-c-format
msgid ""
"Split an edge by creating a new node along an existing edge, deleting the "
"original edge and replacing it with two new edges. Returns the id of the new "
"node created that joins the new edges."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1537
#, no-c-format
msgid ""
"<funcdef>integer <function>ST_NewEdgesSplit</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anedge</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>apoint</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1549
#, no-c-format
msgid ""
"Split an edge with edge id <varname>anedge</varname> by creating a new node "
"with point location <varname>apoint</varname> along current edge, deleting "
"the original edge and replacing it with two new edges. Returns the id of the "
"new node created that joins the new edges. Updates all existing joined edges "
"and relationships accordingly."
msgstr ""

#. Tag: para
#: extras_topology.xml:1557
#, no-c-format
msgid ""
"If the spatial reference system (srid) of the point geometry is not the same "
"as the topology, the <varname>apoint</varname> is not a point geometry, the "
"point is null, the point already exists as a node, the edge does not "
"correspond to an existing edge or the point is not within the edge then an "
"exception is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1562
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM: Topo-Net Routines: X.3.8"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1568
#, no-c-format
msgid ""
"-- Add an edge  --\n"
"SELECT topology.AddEdge('ma_topo', ST_GeomFromText('LINESTRING(227575 "
"893917,227592 893900)', 26986) ) As edgeid;\n"
"-- result-\n"
"edgeid\n"
"------\n"
"        2\n"
"-- Split the new edge --\n"
"SELECT topology.ST_NewEdgesSplit('ma_topo', 2,  "
"ST_GeomFromText('POINT(227578.5 893913.5)', 26986) ) As newnodeid;\n"
" newnodeid\n"
"---------\n"
"       6"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1585
#, no-c-format
msgid "ST_RemoveIsoNode"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1587
#, no-c-format
msgid ""
"<refpurpose>Removes an isolated node and returns description of action. If "
"the node is not isolated (is start or end of an edge), then an exception is "
"thrown.</refpurpose>"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1592
#, no-c-format
msgid ""
"<funcdef>text <function>ST_RemoveIsoNode</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anode</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1603
#, no-c-format
msgid ""
"<para>Removes an isolated node and returns description of action. If the "
"node is not isolated (is start or end of an edge), then an exception is "
"thrown.</para>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1608 extras_topology.xml:1649
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM: Topo-Geo and Topo-Net 3: Routine Details: X+1.3.3"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1614 extras_topology.xml:1655
#, no-c-format
msgid ""
"-- Remove an isolated node with no face  --\n"
"SELECT topology.ST_RemoveIsoNode('ma_topo',  7 ) As result;\n"
"         result\n"
"-------------------------\n"
" Isolated node 7 removed"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1626
#, no-c-format
msgid "ST_RemoveIsoEdge"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1628
#, no-c-format
msgid ""
"<refpurpose>Removes an isolated edge and returns description of action. If "
"the edge is not isolated, then an exception is thrown.</refpurpose>"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1633
#, no-c-format
msgid ""
"<funcdef>text <function>ST_RemoveIsoEdge</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anedge</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1644
#, no-c-format
msgid ""
"<para>Removes an isolated edge and returns description of action. If the "
"edge is not isolated, then an exception is thrown.</para>"
msgstr ""

#. Tag: title
#: extras_topology.xml:1668
#, no-c-format
msgid "Topology Accessors"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1671
#, no-c-format
msgid "GetEdgeByPoint"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1673
#, no-c-format
msgid "Find the edge-id of an edge that intersects a given point"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1678
#, no-c-format
msgid ""
"<funcdef>integer <function>GetEdgeByPoint</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>apoint</parameter></paramdef> "
"<paramdef><type>float8 </type> <parameter>tol</parameter></paramdef>"
msgstr ""

#. Tag: title
#: extras_topology.xml:1689
#, no-c-format
msgid "Retrieve the id of an edge that intersects a Point"
msgstr ""

#. Tag: para
#: extras_topology.xml:1691
#, no-c-format
msgid ""
"The function returns an integer (id-edge) given a topology, a POINT and a "
"tolerance. If tolerance = 0 then the point has to intersect the edge."
msgstr ""

#. Tag: para
#: extras_topology.xml:1692
#, no-c-format
msgid "If the point doesn't intersect an edge, returns 0 (zero)."
msgstr ""

#. Tag: para
#: extras_topology.xml:1693
#, no-c-format
msgid ""
"If use tolerance > 0 and there is more than one edge near the point then an "
"exception is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1698
#, no-c-format
msgid ""
"If tolerance = 0, the function use ST_Intersects otherwise uses ST_DWithin."
msgstr ""

#. Tag: para
#: extras_topology.xml:1701 extras_topology.xml:1751 extras_topology.xml:1802
#, no-c-format
msgid "Availability: 2.0.0 - requires GEOS &gt;= 3.3.0."
msgstr ""

#. Tag: para
#: extras_topology.xml:1707 extras_topology.xml:1808
#, no-c-format
msgid "These examples use edges we created in <xref linkend=\"AddEdge\"/>"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1708
#, no-c-format
msgid ""
"SELECT topology.GetEdgeByPoint('ma_topo',geom, 1) As with1mtol, topology."
"GetEdgeByPoint('ma_topo',geom,0) As withnotol\n"
"FROM ST_GeomFromEWKT('SRID=26986;POINT(227622.6 893843)') As geom;\n"
" with1mtol | withnotol\n"
"-----------+-----------\n"
"         2 |         0"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1709
#, no-c-format
msgid ""
"SELECT topology.GetEdgeByPoint('ma_topo',geom, 1) As nearnode\n"
"FROM ST_GeomFromEWKT('SRID=26986;POINT(227591.9 893900.4)') As geom;\n"
"\n"
"-- get error --\n"
"ERROR:  Two or more edges found"
msgstr ""

#. Tag: para
#: extras_topology.xml:1716
#, no-c-format
msgid ""
", <xref linkend=\"GetNodeByPoint\"/>, <xref linkend=\"GetFaceByPoint\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1726
#, no-c-format
msgid "GetFaceByPoint"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1727
#, no-c-format
msgid "Find the face-id of a face that intersects a given point"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1731
#, no-c-format
msgid ""
"<funcdef>integer <function>GetFaceByPoint</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>apoint</parameter></paramdef> "
"<paramdef><type>float8 </type> <parameter>tol</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1741
#, no-c-format
msgid "Retrieve the id of a face that intersects a Point."
msgstr ""

#. Tag: para
#: extras_topology.xml:1742
#, no-c-format
msgid ""
"The function returns an integer (id-face) given a topology, a POINT and a "
"tolerance. If tolerance = 0 then the point has to intersect the face."
msgstr ""

#. Tag: para
#: extras_topology.xml:1743
#, no-c-format
msgid "If the point doesn't intersect a face, returns 0 (zero)."
msgstr ""

#. Tag: para
#: extras_topology.xml:1744
#, no-c-format
msgid ""
"If use tolerance > 0 and there is more than one face near the point then an "
"exception is thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:1748
#, no-c-format
msgid ""
"If tolerance = 0, the function uses ST_Intersects otherwise uses ST_DWithin."
msgstr ""

#. Tag: para
#: extras_topology.xml:1755
#, no-c-format
msgid "These examples use edges faces created in <xref linkend=\"AddFace\"/>"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1756
#, no-c-format
msgid ""
"SELECT topology.GetFaceByPoint('ma_topo',geom, 10) As with1mtol, topology."
"GetFaceByPoint('ma_topo',geom,0) As withnotol\n"
"        FROM ST_GeomFromEWKT('POINT(234604.6 899382.0)') As geom;\n"
"\n"
"         with1mtol | withnotol\n"
"        -----------+-----------\n"
"                         1 |         0"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1757
#, no-c-format
msgid ""
"SELECT topology.GetFaceByPoint('ma_topo',geom, 1) As nearnode\n"
"        FROM ST_GeomFromEWKT('POINT(227591.9 893900.4)') As geom;\n"
"\n"
"-- get error --\n"
"ERROR:  Two or more faces found"
msgstr ""

#. Tag: para
#: extras_topology.xml:1762
#, no-c-format
msgid ""
", <xref linkend=\"GetNodeByPoint\"/>, <xref linkend=\"GetEdgeByPoint\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1772
#, no-c-format
msgid "GetNodeByPoint"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1774
#, no-c-format
msgid "Find the id of a node at a point location"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1779
#, no-c-format
msgid ""
"<funcdef>integer <function>GetNodeByPoint</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>point</parameter></paramdef> "
"<paramdef><type>float8 </type> <parameter>tol</parameter></paramdef>"
msgstr ""

#. Tag: title
#: extras_topology.xml:1790
#, no-c-format
msgid "Retrieve the id of a node at a point location"
msgstr ""

#. Tag: para
#: extras_topology.xml:1792
#, no-c-format
msgid ""
"The function return an integer (id-node) given a topology, a POINT and a "
"tolerance. If tolerance = 0 mean exactly intersection otherwise retrieve the "
"node from an interval."
msgstr ""

#. Tag: para
#: extras_topology.xml:1793
#, no-c-format
msgid "If there isn't a node at the point, it return 0 (zero)."
msgstr ""

#. Tag: para
#: extras_topology.xml:1794
#, no-c-format
msgid ""
"If use tolerance > 0 and near the point there are more than one node it "
"throw an exception."
msgstr ""

#. Tag: para
#: extras_topology.xml:1799
#, no-c-format
msgid ""
"If tolerance = 0, the function use ST_Intersects otherwise will use "
"ST_DWithin."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1809
#, no-c-format
msgid ""
"SELECT topology.GetNodeByPoint('ma_topo',geom, 1) As nearnode\n"
" FROM ST_GeomFromEWKT('SRID=26986;POINT(227591.9 893900.4)') As geom;\n"
"  nearnode\n"
"----------\n"
"        2"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1810
#, no-c-format
msgid ""
"SELECT topology.GetNodeByPoint('ma_topo',geom, 1000) As too_much_tolerance\n"
" FROM ST_GeomFromEWKT('SRID=26986;POINT(227591.9 893900.4)') As geom;\n"
"\n"
" ----get error--\n"
" ERROR:  Two or more nodes found"
msgstr ""

#. Tag: para
#: extras_topology.xml:1817
#, no-c-format
msgid ""
", <xref linkend=\"GetEdgeByPoint\"/>, <xref linkend=\"GetFaceByPoint\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1827
#, no-c-format
msgid "GetTopologyID"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1829
#, no-c-format
msgid ""
"<refpurpose>Returns the id of a topology in the topology.topology table "
"given the name of the topology.</refpurpose>"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1834 extras_topology.xml:1876
#, no-c-format
msgid ""
"<funcdef>integer <function>GetTopologyID</function></funcdef> "
"<paramdef><type>varchar</type> <parameter>toponame</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1844
#, no-c-format
msgid ""
"<para>Returns the id of a topology in the topology.topology table given the "
"name of the topology.</para>"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1852
#, no-c-format
msgid ""
"SELECT topology.GetTopologyID('ma_topo') As topo_id;\n"
" topo_id\n"
"---------\n"
"       1"
msgstr ""

#. Tag: para
#: extras_topology.xml:1858
#, no-c-format
msgid ""
", <xref linkend=\"DropTopology\"/>, <xref linkend=\"GetTopologyName\"/>, "
"<xref linkend=\"GetTopologySRID\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1869
#, no-c-format
msgid "GetTopologySRID"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1871
#, no-c-format
msgid ""
"Returns the SRID of a topology in the topology.topology table given the name "
"of the topology."
msgstr ""

#. Tag: para
#: extras_topology.xml:1886
#, no-c-format
msgid ""
"Returns the spatial reference id of a topology in the topology.topology "
"table given the name of the topology."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1894
#, no-c-format
msgid ""
"SELECT topology.GetTopologySRID('ma_topo') As SRID;\n"
" SRID\n"
"-------\n"
"  4326"
msgstr ""

#. Tag: para
#: extras_topology.xml:1900
#, no-c-format
msgid ""
", <xref linkend=\"DropTopology\"/>, <xref linkend=\"GetTopologyName\"/>, "
"<xref linkend=\"GetTopologyID\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1911
#, no-c-format
msgid "GetTopologyName"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1913
#, no-c-format
msgid "Returns the name of a topology (schema) given the id of the topology."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1918
#, no-c-format
msgid ""
"<funcdef>varchar <function>GetTopologyName</function></funcdef> "
"<paramdef><type>integer</type> <parameter>topology_id</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1928
#, no-c-format
msgid ""
"Returns the topology name (schema) of a topology from the topology.topology "
"table given the topology id of the topology."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1936
#, no-c-format
msgid ""
"SELECT topology.GetTopologyName(1) As topo_name;\n"
" topo_name\n"
"-----------\n"
" ma_topo"
msgstr ""

#. Tag: para
#: extras_topology.xml:1942
#, no-c-format
msgid ""
", <xref linkend=\"DropTopology\"/>, <xref linkend=\"GetTopologyID\"/>, <xref "
"linkend=\"GetTopologySRID\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:1953
#, no-c-format
msgid "ST_GetFaceEdges"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:1955
#, no-c-format
msgid "Returns a set of ordered edges that bound <varname>aface</varname>."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:1960
#, no-c-format
msgid ""
"<funcdef>getfaceedges_returntype <function>ST_GetFaceEdges</function></"
"funcdef> <paramdef><type>varchar </type> <parameter>atopology</parameter></"
"paramdef> <paramdef><type>integer </type> <parameter>aface</parameter></"
"paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:1971
#, no-c-format
msgid ""
"Returns a set of ordered edges that bound <varname>aface</varname>. Each "
"output consists of a sequence and edgeid. Sequence numbers start with value "
"1."
msgstr ""

#. Tag: para
#: extras_topology.xml:1973
#, no-c-format
msgid ""
"Enumeration of each ring edges start from the edge with smallest identifier. "
"Order of edges follows a left-hand-rule (bound face is on the left of each "
"directed edge)."
msgstr ""

#. Tag: para
#: extras_topology.xml:1980
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM 3 Topo-Geo and Topo-Net 3: Routine Details: X.3.5"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1986
#, no-c-format
msgid ""
"-- Returns the edges bounding face 1\n"
"SELECT (topology.ST_GetFaceEdges('tt', 1)).*;\n"
"-- result --\n"
" sequence | edge\n"
"----------+------\n"
"        1 |   -4\n"
"        2 |    5\n"
"        3 |    7\n"
"        4 |   -6\n"
"        5 |    1\n"
"        6 |    2\n"
"        7 |    3\n"
"(7 rows)"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:1987
#, no-c-format
msgid ""
"-- Returns the sequence, edge id\n"
"-- and geometry of the edges that bound face 1\n"
"-- If you just need geom and seq, can use ST_GetFaceGeometry\n"
"SELECT t.seq, t.edge, geom\n"
"FROM topology.ST_GetFaceEdges('tt',1) As t(seq,edge)\n"
"        INNER JOIN tt.edge AS e ON abs(t.edge) = e.edge_id;"
msgstr ""

#. Tag: para
#: extras_topology.xml:1993
#, no-c-format
msgid ", <xref linkend=\"AddFace\"/>, <xref linkend=\"ST_GetFaceGeometry\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2003
#, no-c-format
msgid "ST_GetFaceGeometry"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2005
#, no-c-format
msgid "Returns the polygon in the given topology with the specified face id."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2010
#, no-c-format
msgid ""
"<funcdef>geometry <function>ST_GetFaceGeometry</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>aface</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2021
#, no-c-format
msgid ""
"Returns the polygon in the given topology with the specified face id. Builds "
"the polygon from the edges making up the face."
msgstr ""

#. Tag: para
#: extras_topology.xml:2026
#, no-c-format
msgid ""
"&sqlmm_compliant; SQL-MM 3 Topo-Geo and Topo-Net 3: Routine Details: X.3.16"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2032
#, no-c-format
msgid ""
"-- Returns the wkt of the polygon added with AddFace\n"
"SELECT ST_AsText(topology.ST_GetFaceGeometry('ma_topo', 1)) As facegeomwkt;\n"
"-- result --\n"
"               facegeomwkt\n"
"\n"
"--------------------------------------------------------------------------------\n"
" POLYGON((234776.9 899563.7,234896.5 899456.7,234914 899436.4,234946.6 "
"899356.9,\n"
"234872.5 899328.7,234891 899285.4,234992.5 899145,234890.6 899069,\n"
"234755.2 899255.4,234612.7 899379.4,234776.9 899563.7))"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2044
#, no-c-format
msgid "GetRingEdges"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2046
#, no-c-format
msgid ""
"Returns the ordered set of signed edge identifiers met by walking on an a "
"given edge side."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2054
#, no-c-format
msgid ""
"<funcdef>getfaceedges_returntype <function>GetRingEdges</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>aring</parameter></paramdef> "
"<paramdef choice=\"opt\"><type>integer </type> <parameter>max_edges=null</"
"parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2066
#, no-c-format
msgid ""
"Returns the ordered set of signed edge identifiers met by walking on an a "
"given edge side. Each output consists of a sequence and a signed edge id. "
"Sequence numbers start with value 1."
msgstr ""

#. Tag: para
#: extras_topology.xml:2073
#, no-c-format
msgid ""
"If you pass a positive edge id, the walk starts on the left side of the "
"corresponding edge and follows the edge direction. If you pass a negative "
"edge id, the walk starts on the right side of it and goes backward."
msgstr ""

#. Tag: para
#: extras_topology.xml:2080
#, no-c-format
msgid ""
"If <varname>max_edges</varname> is not null no more than those records are "
"returned by that function. This is meant to be a safety parameter when "
"dealing with possibly invalid topologies."
msgstr ""

#. Tag: para
#: extras_topology.xml:2086
#, no-c-format
msgid "This function uses edge ring linking metadata."
msgstr ""

#. Tag: para
#: extras_topology.xml:2098
#, no-c-format
msgid ", <xref linkend=\"GetNodeEdges\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2107
#, no-c-format
msgid "GetNodeEdges"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2109
#, no-c-format
msgid "Returns an ordered set of edges incident to the given node."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2116
#, no-c-format
msgid ""
"<funcdef>getfaceedges_returntype <function>GetNodeEdges</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>atopology</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>anode</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2127
#, no-c-format
msgid ""
"Returns an ordered set of edges incident to the given node. Each output "
"consists of a sequence and a signed edge id. Sequence numbers start with "
"value 1. A positive edge starts at the given node. A negative edge ends into "
"the given node. Closed edges will appear twice (with both signs). Order is "
"clockwise starting from northbound."
msgstr ""

#. Tag: para
#: extras_topology.xml:2138
#, no-c-format
msgid ""
"This function computes ordering rather than deriving from metadata and is "
"thus usable to build edge ring linking."
msgstr ""

#. Tag: para
#: extras_topology.xml:2151
#, no-c-format
msgid ", <xref linkend=\"ST_Azimuth\"/>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2164
#, no-c-format
msgid ""
"This section covers the functions for processing topologies in non-standard "
"ways."
msgstr ""

#. Tag: title
#: extras_topology.xml:2167
#, no-c-format
msgid "Topology Processing"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2170
#, no-c-format
msgid "Polygonize"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2171
#, no-c-format
msgid "Find and register all faces defined by topology edges"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2175
#, no-c-format
msgid ""
"<funcdef>text <function>Polygonize</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>toponame</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2185
#, no-c-format
msgid "Register all faces that can be built out a topology edge primitives."
msgstr ""

#. Tag: para
#: extras_topology.xml:2186
#, no-c-format
msgid "The target topology is assumed to contain no self-intersecting edges."
msgstr ""

#. Tag: para
#: extras_topology.xml:2187
#, no-c-format
msgid ""
"Already known faces are recognized, so it is safe to call Polygonize "
"multiple times on the same topology."
msgstr ""

#. Tag: para
#: extras_topology.xml:2188 extras_topology.xml:2345
#, no-c-format
msgid ""
"This function does not use nor set the next_left_edge and next_right_edge "
"fields of the edge table."
msgstr ""

#. Tag: para
#: extras_topology.xml:2200
#, no-c-format
msgid ", <xref linkend=\"ST_Polygonize\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2206
#, no-c-format
msgid "AddNode"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2208
#, no-c-format
msgid ""
"Adds a point node to the node table in the specified topology schema and "
"returns the nodeid of new node. If point already exists as node, the "
"existing nodeid is returned."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2213
#, no-c-format
msgid ""
"<funcdef>integer <function>AddNode</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>toponame</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>apoint</parameter></paramdef> "
"<paramdef choice=\"opt\"><type>boolean </type> "
"<parameter>allowEdgeSplitting=false</parameter></paramdef> <paramdef choice="
"\"opt\"><type>boolean </type> <parameter>computeContainingFace=false</"
"parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2226
#, no-c-format
msgid ""
"Adds a point node to the node table in the specified topology schema. The "
"<xref linkend=\"AddEdge\"/> function automatically adds start and end points "
"of an edge when called so not necessary to explicitly add nodes of an edge."
msgstr ""

#. Tag: para
#: extras_topology.xml:2233
#, no-c-format
msgid ""
"If any edge crossing the node is found either an exception is raised or the "
"edge is split, depending on the <varname>allowEdgeSplitting</varname> "
"parameter value."
msgstr ""

#. Tag: para
#: extras_topology.xml:2239
#, no-c-format
msgid ""
"If <varname>computeContainingFace</varname> is true a newly added node would "
"get the correct containing face computed."
msgstr ""

#. Tag: para
#: extras_topology.xml:2244
#, no-c-format
msgid ""
"If the <varname>apoint</varname> geometry already exists as a node, the node "
"is not added but the existing nodeid is returned."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2253
#, no-c-format
msgid ""
"SELECT topology.AddNode('ma_topo', ST_GeomFromText('POINT(227641.6 "
"893816.5)', 26986) ) As nodeid;\n"
"-- result --\n"
"nodeid\n"
"--------\n"
" 4"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2265
#, no-c-format
msgid "AddEdge"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2267
#, no-c-format
msgid ""
"Adds a linestring edge to the edge table and associated start and end points "
"to the point nodes table of the specified topology schema using the "
"specified linestring geometry and returns the edgeid of the new (or "
"existing) edge."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2272
#, no-c-format
msgid ""
"<funcdef>integer <function>AddEdge</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>toponame</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>aline</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2283
#, no-c-format
msgid ""
"Adds an edge to the edge table and associated nodes to the nodes table of "
"the specified <varname>toponame</varname> schema using the specified "
"linestring geometry and returns the edgeid of the new or existing record. "
"The newly added edge has \"universe\" face on both sides and links to itself."
msgstr ""

#. Tag: para
#: extras_topology.xml:2285
#, no-c-format
msgid ""
"If the <varname>aline</varname> geometry crosses, overlaps, contains or is "
"contained by an existing linestring edge, then an error is thrown and the "
"edge is not added."
msgstr ""

#. Tag: para
#: extras_topology.xml:2286
#, no-c-format
msgid ""
"The geometry of <varname>aline</varname> must have the same <varname>srid</"
"varname> as defined for the topology otherwise an invalid spatial reference "
"sys error will be thrown."
msgstr ""

#. Tag: para
#: extras_topology.xml:2290
#, no-c-format
msgid "Availability: 2.0.0 requires GEOS &gt;= 3.3.0."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2296
#, no-c-format
msgid ""
"SELECT topology.AddEdge('ma_topo', ST_GeomFromText('LINESTRING(227575.8 "
"893917.2,227591.9 893900.4)', 26986) ) As edgeid;\n"
"-- result-\n"
"edgeid\n"
"--------\n"
" 1\n"
"\n"
"SELECT topology.AddEdge('ma_topo', ST_GeomFromText('LINESTRING(227591.9 "
"893900.4,227622.6 893844.2,227641.6 893816.5,\n"
" 227704.5 893778.5)', 26986) ) As edgeid;\n"
"-- result --\n"
"edgeid\n"
"--------\n"
" 2\n"
"\n"
" SELECT topology.AddEdge('ma_topo', ST_GeomFromText('LINESTRING(227591.2 "
"893900, 227591.9 893900.4,\n"
"  227704.5 893778.5)', 26986) ) As edgeid;\n"
" -- gives error --\n"
" ERROR:  Edge intersects (not on endpoints) with existing edge 1"
msgstr ""

#. Tag: para
#: extras_topology.xml:2302 extras_topology.xml:2381
#, no-c-format
msgid ""
", <xref linkend=\"CreateTopology\"/>, <xref linkend=\"spatial_ref_sys\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2312
#, no-c-format
msgid "AddFace"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2314
#, no-c-format
msgid ""
"<refpurpose>Registers a face primitive to a topology and gets its identifier."
"</refpurpose>"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2321
#, no-c-format
msgid ""
"<funcdef>integer <function>AddFace</function></funcdef> "
"<paramdef><type>varchar </type> <parameter>toponame</parameter></paramdef> "
"<paramdef><type>geometry </type> <parameter>apolygon</parameter></paramdef> "
"<paramdef choice=\"opt\"><type>boolean </type> <parameter>force_new=false</"
"parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2333
#, no-c-format
msgid ""
"<para>Registers a face primitive to a topology and gets its identifier.</"
"para>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2337
#, no-c-format
msgid ""
"For a newly added face, the edges forming its boundaries and the ones "
"contained in the face will be updated to have correct values in the "
"left_face and right_face fields. Isolated nodes contained in the face will "
"also be updated to have a correct containing_face field value."
msgstr ""

#. Tag: para
#: extras_topology.xml:2349
#, no-c-format
msgid ""
"The target topology is assumed to be valid (containing no self-intersecting "
"edges). An exception is raised if: The polygon boundary is not fully defined "
"by existing edges or the polygon overlaps an existing face."
msgstr ""

#. Tag: para
#: extras_topology.xml:2351
#, no-c-format
msgid ""
"If the <varname>apolygon</varname> geometry already exists as a face, then: "
"if <varname>force_new</varname> is false (the default) the face id of the "
"existing face is returned; if <varname>force_new</varname> is true a new id "
"will be assigned to the newly registered face."
msgstr ""

#. Tag: para
#: extras_topology.xml:2359
#, no-c-format
msgid ""
"When a new registration of an existing face is performed (force_new=true), "
"no action will be taken to resolve dangling references to the existing face "
"in the edge, node an relation tables, nor will the MBR field of the existing "
"face record be updated. It is up to the caller to deal with that."
msgstr ""

#. Tag: para
#: extras_topology.xml:2366
#, no-c-format
msgid ""
"The <varname>apolygon</varname> geometry must have the same <varname>srid</"
"varname> as defined for the topology otherwise an invalid spatial reference "
"sys error will be thrown."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2375
#, no-c-format
msgid ""
"-- first add the edges we use generate_series as an iterator (the below\n"
"-- will only work for polygons with &lt; 10000 points because of our max in "
"gs)\n"
"SELECT topology.AddEdge('ma_topo', ST_MakeLine(ST_PointN(geom,i), "
"ST_PointN(geom, i + 1) )) As edgeid\n"
"    FROM (SELECT  ST_NPoints(geom) AS npt, geom\n"
"            FROM\n"
"                (SELECT ST_Boundary(ST_GeomFromText('POLYGON((234896.5 "
"899456.7,234914 899436.4,234946.6 899356.9,234872.5 899328.7,\n"
"                234891 899285.4,234992.5 899145, 234890.6 899069,234755.2 "
"899255.4,\n"
"                234612.7 899379.4,234776.9 899563.7,234896.5 899456.7))', "
"26986) )  As geom\n"
"            )  As geoms) As facen CROSS JOIN generate_series(1,10000) As i\n"
"         WHERE i &lt; npt;\n"
"-- result --\n"
" edgeid\n"
"--------\n"
"      3\n"
"      4\n"
"      5\n"
"      6\n"
"      7\n"
"      8\n"
"      9\n"
"     10\n"
"     11\n"
"     12\n"
"(10 rows)\n"
"-- then add the face -\n"
"\n"
"SELECT topology.AddFace('ma_topo',\n"
"    ST_GeomFromText('POLYGON((234896.5 899456.7,234914 899436.4,234946.6 "
"899356.9,234872.5 899328.7,\n"
"    234891 899285.4,234992.5 899145, 234890.6 899069,234755.2 899255.4,\n"
"    234612.7 899379.4,234776.9 899563.7,234896.5 899456.7))', 26986) ) As "
"faceid;\n"
"-- result --\n"
"faceid\n"
"--------\n"
" 1"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2387
#, no-c-format
msgid "ST_Simplify"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2388
#, no-c-format
msgid ""
"Returns a \"simplified\" geometry version of the given TopoGeometry using "
"the Douglas-Peucker algorithm."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2394
#, no-c-format
msgid ""
"<funcdef>geometry <function>ST_Simplify</function></funcdef> "
"<paramdef><type>TopoGeometry</type> <parameter>geomA</parameter></paramdef> "
"<paramdef><type>float</type> <parameter>tolerance</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2404
#, no-c-format
msgid ""
"Returns a \"simplified\" geometry version of the given TopoGeometry using "
"the Douglas-Peucker algorithm on each component edge."
msgstr ""

#. Tag: para
#: extras_topology.xml:2407
#, no-c-format
msgid "The returned geometry may be non-simple or non-valid."
msgstr ""

#. Tag: para
#: extras_topology.xml:2408
#, no-c-format
msgid "Splitting component edges may help retaining simplicity/validity."
msgstr ""

#. Tag: para
#: extras_topology.xml:2410
#, no-c-format
msgid "Performed by the GEOS module."
msgstr ""

#. Tag: para
#: extras_topology.xml:2411 extras_topology.xml:3030
#, no-c-format
msgid "Availability: 2.1.0"
msgstr ""

#. Tag: para
#: extras_topology.xml:2416
#, no-c-format
msgid ""
"Geometry <xref linkend=\"ST_Simplify\"/>, <xref linkend=\"ST_IsSimple\"/>, "
"<xref linkend=\"ST_IsValid\"/>, <xref linkend=\"ST_ModEdgeSplit\"/>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2426
#, no-c-format
msgid ""
"This section covers the topology functions for creating new topogeometries."
msgstr ""

#. Tag: title
#: extras_topology.xml:2429
#, no-c-format
msgid "TopoGeometry Constructors"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2432
#, no-c-format
msgid "CreateTopoGeom"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2434
#, no-c-format
msgid ""
"Creates a new topo geometry object from topo element array - tg_type: 1:"
"[multi]point, 2:[multi]line, 3:[multi]poly, 4:collection"
msgstr ""

#. Tag: funcsynopsis
#: extras_topology.xml:2438
#, no-c-format
msgid ""
"<funcprototype> <funcdef>topogeometry <function>CreateTopoGeom</function></"
"funcdef> <paramdef><type>varchar </type> <parameter>toponame</parameter></"
"paramdef> <paramdef><type>integer </type> <parameter>tg_type</parameter></"
"paramdef> <paramdef><type>integer</type> <parameter>layer_id</parameter></"
"paramdef> <paramdef><type>topoelementarray</type> <parameter>tg_objs</"
"parameter></paramdef> </funcprototype> <funcprototype> <funcdef>topogeometry "
"<function>CreateTopoGeom</function></funcdef> <paramdef><type>varchar </"
"type> <parameter>toponame</parameter></paramdef> <paramdef><type>integer </"
"type> <parameter>tg_type</parameter></paramdef> <paramdef><type>integer</"
"type> <parameter>layer_id</parameter></paramdef> </funcprototype>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2459
#, no-c-format
msgid ""
"Creates a topogeometry object for layer denoted by layer_id and registers it "
"in the relations table in the <varname>toponame</varname> schema."
msgstr ""

#. Tag: para
#: extras_topology.xml:2460
#, no-c-format
msgid ""
"tg_type is an integer: 1:[multi]point (punctal), 2:[multi]line (lineal), 3:"
"[multi]poly (areal), 4:collection. layer_id is the layer id in the topology."
"layer table."
msgstr ""

#. Tag: para
#: extras_topology.xml:2461
#, no-c-format
msgid ""
"punctal layers are formed from set of nodes, lineal layers are formed from a "
"set of edges, areal layers are formed from a set of faces, and collections "
"can be formed from a mixture of nodes, edges, and faces."
msgstr ""

#. Tag: para
#: extras_topology.xml:2463
#, no-c-format
msgid ""
"Omitting the array of components generates an empty TopoGeometry object."
msgstr ""

#. Tag: title
#: extras_topology.xml:2470
#, no-c-format
msgid "Examples: Form from existing edges"
msgstr ""

#. Tag: para
#: extras_topology.xml:2471
#, no-c-format
msgid ""
"Create a topogeom in ri_topo schema for layer 2 (our ri_roads), of type (2) "
"LINE, for the first edge (we loaded in <varname>ST_CreateTopoGeo</varname>)."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2472
#, no-c-format
msgid ""
"INSERT INTO ri.ri_roads(road_name, topo) VALUES('Unknown', topology."
"CreateTopoGeom('ri_topo',2,2,'{{1,2}}'::topology.topoelementarray);"
msgstr ""

#. Tag: title
#: extras_topology.xml:2477
#, no-c-format
msgid "Examples: Convert an areal geometry to best guess topogeometry"
msgstr ""

#. Tag: para
#: extras_topology.xml:2478
#, no-c-format
msgid ""
"Lets say we have geometries that should be formed from a collection of "
"faces. We have for example blockgroups table and want to know the topo "
"geometry of each block group. If our data was perfectly aligned, we could do "
"this:"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2480
#, no-c-format
msgid ""
"-- create our topo geometry column --\n"
"SELECT topology.AddTopoGeometryColumn(\n"
"        'topo_boston',\n"
"        'boston', 'blockgroups', 'topo', 'POLYGON');\n"
"\n"
"-- addtopgeometrycolumn --\n"
"1\n"
"\n"
"-- update our column assuming\n"
"-- everything is perfectly aligned with our edges\n"
"UPDATE boston.blockgroups AS bg\n"
"        SET topo = topology.CreateTopoGeom('topo_boston'\n"
"        ,3,1\n"
"        , foo.bfaces)\n"
"FROM (SELECT b.gid,  topology.TopoElementArray_Agg(ARRAY[f.face_id,3]) As "
"bfaces\n"
"        FROM boston.blockgroups As b\n"
"            INNER JOIN topo_boston.face As f ON b.geom &amp;&amp; f.mbr\n"
"        WHERE ST_Covers(b.geom, topology.ST_GetFaceGeometry('topo_boston', f."
"face_id))\n"
"            GROUP BY b.gid) As foo\n"
"WHERE foo.gid = bg.gid;"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2482
#, no-c-format
msgid ""
"--the world is rarely perfect allow for some error\n"
"--count the face if 50% of it falls\n"
"-- within what we think is our blockgroup boundary\n"
"UPDATE boston.blockgroups AS bg\n"
"        SET topo = topology.CreateTopoGeom('topo_boston'\n"
"        ,3,1\n"
"        , foo.bfaces)\n"
"FROM (SELECT b.gid,  topology.TopoElementArray_Agg(ARRAY[f.face_id,3]) As "
"bfaces\n"
"        FROM boston.blockgroups As b\n"
"            INNER JOIN topo_boston.face As f ON b.geom &amp;&amp; f.mbr\n"
"        WHERE ST_Covers(b.geom, topology.ST_GetFaceGeometry('topo_boston', f."
"face_id))\n"
"        OR\n"
" (  ST_Intersects(b.geom, topology.ST_GetFaceGeometry('topo_boston', f."
"face_id))\n"
"            AND ST_Area(ST_Intersection(b.geom, topology."
"ST_GetFaceGeometry('topo_boston', f.face_id) ) ) >\n"
"                ST_Area(topology.ST_GetFaceGeometry('topo_boston', f."
"face_id))*0.5\n"
"                )\n"
"            GROUP BY b.gid) As foo\n"
"WHERE foo.gid = bg.gid;\n"
"\n"
"-- and if we wanted to convert our topogeometry back\n"
"-- to a denomalized geometry aligned with our faces and edges\n"
"-- cast the topo to a geometry\n"
"-- The really cool thing is my new geometries\n"
"-- are now aligned with my tiger street centerlines\n"
"UPDATE boston.blockgroups SET new_geom = topo::geometry;"
msgstr ""

#. Tag: para
#: extras_topology.xml:2488
#, no-c-format
msgid ""
", <xref linkend=\"toTopoGeom\"/> <xref linkend=\"ST_CreateTopoGeo\"/>, <xref "
"linkend=\"ST_GetFaceGeometry\"/>, <xref linkend=\"topoelementarray\"/>, "
"<xref linkend=\"TopoElementArray_Agg\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2501 extras_topology.xml:2762
#, no-c-format
msgid "toTopoGeom"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2503
#, no-c-format
msgid "Converts a simple Geometry into a topo geometry"
msgstr ""

#. Tag: funcsynopsis
#: extras_topology.xml:2509
#, no-c-format
msgid ""
"<funcprototype> <funcdef>topogeometry <function>toTopoGeom</function></"
"funcdef> <paramdef><type>geometry </type> <parameter>geom</parameter></"
"paramdef> <paramdef><type>varchar </type> <parameter>toponame</parameter></"
"paramdef> <paramdef><type>integer</type> <parameter>layer_id</parameter></"
"paramdef> <paramdef choice=\"opt\"><type>float8</type> <parameter>tolerance</"
"parameter></paramdef> </funcprototype> <funcprototype> <funcdef>topogeometry "
"<function>toTopoGeom</function></funcdef> <paramdef><type>geometry </type> "
"<parameter>geom</parameter></paramdef> <paramdef><type>topogeometry </type> "
"<parameter>topogeom</parameter></paramdef> <paramdef choice=\"opt"
"\"><type>float8</type> <parameter>tolerance</parameter></paramdef> </"
"funcprototype>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2530
#, no-c-format
msgid "Converts a simple Geometry into a <xref linkend=\"topogeometry\"/>."
msgstr ""

#. Tag: para
#: extras_topology.xml:2534
#, no-c-format
msgid ""
"Topological primitives required to represent the input geometry will be "
"added to the underlying topology, possibly splitting existing ones, and they "
"will be associated with the output TopoGeometry in the <varname>relation</"
"varname> table."
msgstr ""

#. Tag: para
#: extras_topology.xml:2541
#, no-c-format
msgid ""
"Existing TopoGeometry objects (with the possible exception of "
"<varname>topogeom</varname>, if given) will retain their shapes."
msgstr ""

#. Tag: para
#: extras_topology.xml:2546
#, no-c-format
msgid ""
"When <varname>tolerance</varname> is given it will be used to snap the input "
"geometry to existing primitives."
msgstr ""

#. Tag: para
#: extras_topology.xml:2551
#, no-c-format
msgid ""
"In the first form a new TopoGeometry will be created for the given layer "
"(<varname>layer_id</varname>) of the given topology (<varname>toponame</"
"varname>)."
msgstr ""

#. Tag: para
#: extras_topology.xml:2556
#, no-c-format
msgid ""
"In the second form the primitives resulting from the conversion will be "
"added to the pre-existing TopoGeometry (<varname>topogeom</varname>), "
"possibly adding space to its final shape. To have the new shape completely "
"replace the old one see <xref linkend=\"clearTopoGeom\"/>."
msgstr ""

#. Tag: para
#: extras_topology.xml:2565
#, no-c-format
msgid "Enhanced: 2.1.0 adds the version taking an existing TopoGeometry."
msgstr ""

#. Tag: para
#: extras_topology.xml:2569
#, no-c-format
msgid "This is a full self-contained workflow"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2570
#, no-c-format
msgid ""
"-- do this if you don't have a topology setup already\n"
"-- creates topology not allowing any tolerance\n"
"SELECT topology.CreateTopology('topo_boston_test', 2249);\n"
"-- create a new table\n"
"CREATE TABLE nei_topo(gid serial primary key, nei varchar(30));\n"
"--add a topogeometry column to it\n"
"SELECT topology.AddTopoGeometryColumn('topo_boston_test', 'public', "
"'nei_topo', 'topo', 'MULTIPOLYGON') As new_layer_id;\n"
"new_layer_id\n"
"-----------\n"
"1\n"
"\n"
"--use new layer id in populating the new topogeometry column\n"
"-- we add the topogeoms to the new layer with 0 tolerance\n"
"INSERT INTO nei_topo(nei, topo)\n"
"SELECT nei,  topology.toTopoGeom(geom, 'topo_boston_test', 1)\n"
"FROM neighborhoods\n"
"WHERE gid BETWEEN 1 and 15;\n"
"\n"
"--use to verify what has happened --\n"
"SELECT * FROM\n"
"    topology.TopologySummary('topo_boston_test');\n"
"\n"
"-- summary--\n"
"Topology topo_boston_test (5), SRID 2249, precision 0\n"
"61 nodes, 87 edges, 35 faces, 15 topogeoms in 1 layers\n"
"Layer 1, type Polygonal (3), 15 topogeoms\n"
" Deploy: public.nei_topo.topo"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2572
#, no-c-format
msgid ""
"-- Shrink all TopoGeometry polygons by 10 meters\n"
"UPDATE nei_topo SET topo = ST_Buffer(clearTopoGeom(topo), -10);\n"
"\n"
"-- Get the no-one-lands left by the above operation\n"
"-- I think GRASS calls this \"polygon0 layer\"\n"
"SELECT ST_GetFaceGeometry('topo_boston_test', f.face_id)\n"
"  FROM topo_boston_test.face f\n"
"  WHERE f.face_id > 0 -- don't consider the universe face\n"
"  AND NOT EXISTS ( -- check that no TopoGeometry references the face\n"
"    SELECT * FROM topo_boston_test.relation\n"
"    WHERE layer_id = 1 AND element_id = f.face_id\n"
"  );"
msgstr ""

#. Tag: para
#: extras_topology.xml:2578
#, no-c-format
msgid ""
", <xref linkend=\"AddTopoGeometryColumn\"/>, <xref linkend=\"CreateTopoGeom"
"\"/>, <xref linkend=\"TopologySummary\"/>, <xref linkend=\"clearTopoGeom\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2590
#, no-c-format
msgid "TopoElementArray_Agg"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2591
#, no-c-format
msgid ""
"Returns a <varname>topoelementarray</varname> for a set of element_id, type "
"arrays (topoelements)"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2596
#, no-c-format
msgid ""
"<funcdef>topoelementarray <function>TopoElementArray_Agg</function></"
"funcdef> <paramdef><type>topoelement set</type> <parameter>tefield</"
"parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2606
#, no-c-format
msgid ""
"Used to create a <xref linkend=\"topoelementarray\"/> from a set of <xref "
"linkend=\"topoelement\"/>."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2615
#, no-c-format
msgid ""
"SELECT topology.TopoElementArray_Agg(ARRAY[e,t]) As tea\n"
"  FROM generate_series(1,3) As e CROSS JOIN generate_series(1,4) As t;\n"
"  tea\n"
"--------------------------------------------------------------------------\n"
"{{1,1},{1,2},{1,3},{1,4},{2,1},{2,2},{2,3},{2,4},{3,1},{3,2},{3,3},{3,4}}"
msgstr ""

#. Tag: para
#: extras_topology.xml:2619 extras_topology.xml:2824
#, no-c-format
msgid ", <xref linkend=\"topoelementarray\"/>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2627
#, no-c-format
msgid ""
"This section covers the topology functions for editing existing "
"topogeometries."
msgstr ""

#. Tag: title
#: extras_topology.xml:2630
#, no-c-format
msgid "TopoGeometry Editors"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2634
#, no-c-format
msgid "clearTopoGeom"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2636
#, no-c-format
msgid "Clears the content of a topo geometry"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2641
#, no-c-format
msgid ""
"<funcdef>topogeometry <function>clearTopoGeom</function></funcdef> "
"<paramdef><type>topogeometry </type> <parameter>topogeom</parameter></"
"paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2651
#, no-c-format
msgid ""
"Clears the content a <xref linkend=\"topogeometry\"/> turning it into an "
"empty one. Mostly useful in conjunction with <xref linkend=\"toTopoGeom\"/> "
"to replace the shape of existing objects and any dependent object in higher "
"hierarchical levels."
msgstr ""

#. Tag: para
#: extras_topology.xml:2659
#, no-c-format
msgid "Availability: 2.1"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2663
#, no-c-format
msgid ""
"-- Shrink all TopoGeometry polygons by 10 meters\n"
"UPDATE nei_topo SET topo = ST_Buffer(clearTopoGeom(topo), -10);"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2677
#, no-c-format
msgid "TopoGeom_addElement"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2678
#, no-c-format
msgid "Add an element to the definition of a TopoGeometry"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2682
#, no-c-format
msgid ""
"<funcdef>topogeometry <function>TopoGeom_addElement</function></funcdef> "
"<paramdef><type>topogeometry </type> <parameter>tg</parameter></paramdef> "
"<paramdef><type>topoelement </type> <parameter>el</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2693
#, no-c-format
msgid ""
"Adds a <xref linkend=\"topoelement\"/> to the definition of a TopoGeometry "
"object. Does not error out if the element is already part of the definition."
msgstr ""

#. Tag: para
#: extras_topology.xml:2700 extras_topology.xml:2743
#, no-c-format
msgid "Availability: 2.3"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2704
#, no-c-format
msgid ""
"-- Add edge 5 to TopoGeometry tg\n"
"UPDATE mylayer SET tg = TopoGeom_addElement(tg, '{5,2}');"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2719
#, no-c-format
msgid "TopoGeom_remElement"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2721
#, no-c-format
msgid "Remove an element from the definition of a TopoGeometry"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2726
#, no-c-format
msgid ""
"<funcdef>topogeometry <function>TopoGeom_remElement</function></funcdef> "
"<paramdef><type>topogeometry </type> <parameter>tg</parameter></paramdef> "
"<paramdef><type>topoelement </type> <parameter>el</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2737
#, no-c-format
msgid ""
"Removes a <xref linkend=\"topoelement\"/> from the definition of a "
"TopoGeometry object."
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2747
#, no-c-format
msgid ""
"-- Remove face 43 from TopoGeometry tg\n"
"UPDATE mylayer SET tg = TopoGeom_remElement(tg, '{43,3}');"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2763
#, no-c-format
msgid "Adds a geometry shape to an existing topo geometry"
msgstr ""

#. Tag: para
#: extras_topology.xml:2767
#, no-c-format
msgid "Refer to <xref linkend=\"toTopoGeom\"/>"
msgstr ""

#. Tag: title
#: extras_topology.xml:2777
#, no-c-format
msgid "TopoGeometry Accessors"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2781
#, no-c-format
msgid "GetTopoGeomElementArray"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2783
#, no-c-format
msgid ""
"Returns a <varname>topoelementarray</varname> (an array of topoelements) "
"containing the topological elements and type of the given TopoGeometry "
"(primitive elements)"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2788
#, no-c-format
msgid ""
"<funcdef>topoelementarray <function>GetTopoGeomElementArray</function></"
"funcdef> <paramdef><type>varchar </type> <parameter>toponame</parameter></"
"paramdef> <paramdef><type>integer </type> <parameter>layer_id</parameter></"
"paramdef> <paramdef><type>integer</type> <parameter>tg_id</parameter></"
"paramdef>"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2796
#, no-c-format
msgid ""
"<funcdef>topoelementarray topoelement <function>GetTopoGeomElementArray</"
"function></funcdef> <paramdef><type>topogeometry </type> <parameter>tg</"
"parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2806
#, no-c-format
msgid ""
"Returns a <xref linkend=\"topoelementarray\"/> containing the topological "
"elements and type of the given TopoGeometry (primitive elements). This is "
"similar to GetTopoGeomElements except it returns the elements as an array "
"rather than as a dataset."
msgstr ""

#. Tag: para
#: extras_topology.xml:2808 extras_topology.xml:2855
#, no-c-format
msgid ""
"tg_id is the topogeometry id of the topogeometry object in the topology in "
"the layer denoted by <varname>layer_id</varname> in the topology.layer table."
msgstr ""

#. Tag: refname
#: extras_topology.xml:2829
#, no-c-format
msgid "GetTopoGeomElements"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2831
#, no-c-format
msgid ""
"Returns a set of <varname>topoelement</varname> objects containing the "
"topological element_id,element_type of the given TopoGeometry (primitive "
"elements)"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2836
#, no-c-format
msgid ""
"<funcdef>setof topoelement <function>GetTopoGeomElements</function></"
"funcdef> <paramdef><type>varchar </type> <parameter>toponame</parameter></"
"paramdef> <paramdef><type>integer </type> <parameter>layer_id</parameter></"
"paramdef> <paramdef><type>integer</type> <parameter>tg_id</parameter></"
"paramdef>"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2844
#, no-c-format
msgid ""
"<funcdef>setof topoelement <function>GetTopoGeomElements</function></"
"funcdef> <paramdef><type>topogeometry </type> <parameter>tg</parameter></"
"paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2854
#, no-c-format
msgid ""
"Returns a set of element_id,element_type (topoelements) for a given "
"topogeometry object in <varname>toponame</varname> schema."
msgstr ""

#. Tag: para
#: extras_topology.xml:2871
#, no-c-format
msgid ""
", <xref linkend=\"topoelement\"/>, <xref linkend=\"TopoGeom_addElement\"/>, "
"<xref linkend=\"TopoGeom_remElement\"/>"
msgstr ""

#. Tag: title
#: extras_topology.xml:2884
#, no-c-format
msgid "TopoGeometry Outputs"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2887
#, no-c-format
msgid "AsGML"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2889
#, no-c-format
msgid "Returns the GML representation of a topogeometry."
msgstr ""

#. Tag: funcsynopsis
#: extras_topology.xml:2893
#, no-c-format
msgid ""
"<funcprototype> <funcdef>text <function>AsGML</function></funcdef> "
"<paramdef><type>topogeometry </type> <parameter>tg</parameter></paramdef> </"
"funcprototype> <funcprototype> <funcdef>text <function>AsGML</function></"
"funcdef> <paramdef><type>topogeometry </type> <parameter>tg</parameter></"
"paramdef> <paramdef><type>text </type> <parameter>nsprefix_in</parameter></"
"paramdef> </funcprototype> <funcprototype> <funcdef>text <function>AsGML</"
"function></funcdef> <paramdef><type>topogeometry </type> <parameter>tg</"
"parameter></paramdef> <paramdef><type>regclass </type> "
"<parameter>visitedTable</parameter></paramdef> </funcprototype> "
"<funcprototype> <funcdef>text <function>AsGML</function></funcdef> "
"<paramdef><type>topogeometry </type> <parameter>tg</parameter></paramdef> "
"<paramdef><type>regclass </type> <parameter>visitedTable</parameter></"
"paramdef> <paramdef><type>text </type> <parameter>nsprefix</parameter></"
"paramdef> </funcprototype> <funcprototype> <funcdef>text <function>AsGML</"
"function></funcdef> <paramdef><type>topogeometry </type> <parameter>tg</"
"parameter></paramdef> <paramdef><type>text </type> <parameter>nsprefix_in</"
"parameter></paramdef> <paramdef><type>integer </type> <parameter>precision</"
"parameter></paramdef> <paramdef><type>integer </type> <parameter>options</"
"parameter></paramdef> </funcprototype> <funcprototype> <funcdef>text "
"<function>AsGML</function></funcdef> <paramdef><type>topogeometry </type> "
"<parameter>tg</parameter></paramdef> <paramdef><type>text </type> "
"<parameter>nsprefix_in</parameter></paramdef> <paramdef><type>integer </"
"type> <parameter>precision</parameter></paramdef> <paramdef><type>integer </"
"type> <parameter>options</parameter></paramdef> <paramdef><type>regclass </"
"type> <parameter>visitedTable</parameter></paramdef> </funcprototype> "
"<funcprototype> <funcdef>text <function>AsGML</function></funcdef> "
"<paramdef><type>topogeometry </type> <parameter>tg</parameter></paramdef> "
"<paramdef><type>text </type> <parameter>nsprefix_in</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>precision</parameter></paramdef> "
"<paramdef><type>integer </type> <parameter>options</parameter></paramdef> "
"<paramdef><type>regclass </type> <parameter>visitedTable</parameter></"
"paramdef> <paramdef><type>text </type> <parameter>idprefix</parameter></"
"paramdef> </funcprototype> <funcprototype> <funcdef>text <function>AsGML</"
"function></funcdef> <paramdef><type>topogeometry </type> <parameter>tg</"
"parameter></paramdef> <paramdef><type>text </type> <parameter>nsprefix_in</"
"parameter></paramdef> <paramdef><type>integer </type> <parameter>precision</"
"parameter></paramdef> <paramdef><type>integer </type> <parameter>options</"
"parameter></paramdef> <paramdef><type>regclass </type> "
"<parameter>visitedTable</parameter></paramdef> <paramdef><type>text </type> "
"<parameter>idprefix</parameter></paramdef> <paramdef><type>int </type> "
"<parameter>gmlversion</parameter></paramdef> </funcprototype>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2954
#, no-c-format
msgid ""
"Returns the GML representation of a topogeometry in version GML3 format. If "
"no <varname>nsprefix_in</varname> is specified then <varname>gml</varname> "
"is used. Pass in an empty string for nsprefix to get a non-qualified name "
"space. The precision (default: 15) and options (default 1) parameters, if "
"given, are passed untouched to the underlying call to ST_AsGML."
msgstr ""

#. Tag: para
#: extras_topology.xml:2956
#, no-c-format
msgid ""
"The <varname>visitedTable</varname> parameter, if given, is used for keeping "
"track of the visited Node and Edge elements so to use cross-references "
"(xlink:xref) rather than duplicating definitions. The table is expected to "
"have (at least) two integer fields: 'element_type' and 'element_id'. The "
"calling user must have both read and write privileges on the given table. "
"For best performance, an index should be defined on <varname>element_type</"
"varname> and <varname>element_id</varname>, in that order. Such index would "
"be created automatically by adding a unique constraint to the fields. "
"Example:"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2962
#, no-c-format
msgid ""
"CREATE TABLE visited (\n"
"  element_type integer, element_id integer,\n"
"  unique(element_type, element_id)\n"
");"
msgstr ""

#. Tag: para
#: extras_topology.xml:2965
#, no-c-format
msgid ""
"The <varname>idprefix</varname> parameter, if given, will be prepended to "
"Edge and Node tag identifiers."
msgstr ""

#. Tag: para
#: extras_topology.xml:2967
#, no-c-format
msgid ""
"The <varname>gmlver</varname> parameter, if given, will be passed to the "
"underlying ST_AsGML. Defaults to 3."
msgstr ""

#. Tag: para
#: extras_topology.xml:2976
#, no-c-format
msgid ""
"This uses the topo geometry we created in <xref linkend=\"CreateTopoGeom\"/>"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2977
#, no-c-format
msgid ""
"SELECT topology.AsGML(topo) As rdgml\n"
"  FROM ri.roads\n"
"  WHERE road_name = 'Unknown';\n"
"\n"
"-- rdgml--\n"
"<![CDATA[<gml:TopoCurve>\n"
"    <gml:directedEdge>\n"
"        <gml:Edge gml:id=\"E1\">\n"
"            <gml:directedNode orientation=\"-\">\n"
"                <gml:Node gml:id=\"N1\"/>\n"
"            </gml:directedNode>\n"
"            <gml:directedNode></gml:directedNode>\n"
"            <gml:curveProperty>\n"
"                <gml:Curve srsName=\"urn:ogc:def:crs:EPSG::3438\">\n"
"                    <gml:segments>\n"
"                        <gml:LineStringSegment>\n"
"                            <gml:posList srsDimension=\"2\">384744 236928 "
"384750 236923 384769 236911 384799 236895 384811 236890\n"
"                            384833 236884 384844 236882 384866 236881 384879 "
"236883 384954 236898 385087 236932 385117 236938\n"
"                            385167 236938 385203 236941 385224 236946 385233 "
"236950 385241 236956 385254 236971\n"
"                            385260 236979 385268 236999 385273 237018 385273 "
"237037 385271 237047 385267 237057 385225 237125\n"
"                            385210 237144 385192 237161 385167 237192 385162 "
"237202 385159 237214 385159 237227 385162 237241\n"
"                            385166 237256 385196 237324 385209 237345 385234 "
"237375 385237 237383 385238 237399 385236 237407\n"
"                            385227 237419 385213 237430 385193 237439 385174 "
"237451 385170 237455 385169 237460 385171 237475\n"
"                            385181 237503 385190 237521 385200 237533 385206 "
"237538 385213 237541 385221 237542 385235 237540 385242 237541\n"
"                            385249 237544 385260 237555 385270 237570 385289 "
"237584 385292 237589 385291 237596 385284 237630</gml:posList>\n"
"                        </gml:LineStringSegment>\n"
"                    </gml:segments>\n"
"                </gml:Curve>\n"
"            </gml:curveProperty>\n"
"        </gml:Edge>\n"
"    </gml:directedEdge>\n"
"</gml:TopoCurve>]]>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2978
#, no-c-format
msgid "Same exercise as previous without namespace"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:2979
#, no-c-format
msgid ""
"SELECT topology.AsGML(topo,'') As rdgml\n"
"  FROM ri.roads\n"
"  WHERE road_name = 'Unknown';\n"
"\n"
"-- rdgml--\n"
"<![CDATA[<TopoCurve>\n"
"    <directedEdge>\n"
"        <Edge id=\"E1\">\n"
"            <directedNode orientation=\"-\">\n"
"                <Node id=\"N1\"/>\n"
"            </directedNode>\n"
"            <directedNode></directedNode>\n"
"            <curveProperty>\n"
"                <Curve srsName=\"urn:ogc:def:crs:EPSG::3438\">\n"
"                    <segments>\n"
"                        <LineStringSegment>\n"
"                            <posList srsDimension=\"2\">384744 236928 384750 "
"236923 384769 236911 384799 236895 384811 236890\n"
"                            384833 236884 384844 236882 384866 236881 384879 "
"236883 384954 236898 385087 236932 385117 236938\n"
"                            385167 236938 385203 236941 385224 236946 385233 "
"236950 385241 236956 385254 236971\n"
"                            385260 236979 385268 236999 385273 237018 385273 "
"237037 385271 237047 385267 237057 385225 237125\n"
"                            385210 237144 385192 237161 385167 237192 385162 "
"237202 385159 237214 385159 237227 385162 237241\n"
"                            385166 237256 385196 237324 385209 237345 385234 "
"237375 385237 237383 385238 237399 385236 237407\n"
"                            385227 237419 385213 237430 385193 237439 385174 "
"237451 385170 237455 385169 237460 385171 237475\n"
"                            385181 237503 385190 237521 385200 237533 385206 "
"237538 385213 237541 385221 237542 385235 237540 385242 237541\n"
"                            385249 237544 385260 237555 385270 237570 385289 "
"237584 385292 237589 385291 237596 385284 237630</posList>\n"
"                         </LineStringSegment>\n"
"                    </segments>\n"
"                </Curve>\n"
"            </curveProperty>\n"
"        </Edge>\n"
"    </directedEdge>\n"
"</TopoCurve>]]>"
msgstr ""

#. Tag: para
#: extras_topology.xml:2985
#, no-c-format
msgid ", <xref linkend=\"ST_CreateTopoGeo\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:2990
#, no-c-format
msgid "AsTopoJSON"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:2992
#, no-c-format
msgid "Returns the TopoJSON representation of a topogeometry."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:2997
#, no-c-format
msgid ""
"<funcdef>text <function>AsTopoJSON</function></funcdef> "
"<paramdef><type>topogeometry </type> <parameter>tg</parameter></paramdef> "
"<paramdef><type>regclass </type> <parameter>edgeMapTable</parameter></"
"paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:3008
#, no-c-format
msgid ""
"Returns the TopoJSON representation of a topogeometry. If "
"<varname>edgeMapTable</varname> is not null, it will be used as a lookup/"
"storage mapping of edge identifiers to arc indices. This is to be able to "
"allow for a compact \"arcs\" array in the final document."
msgstr ""

#. Tag: para
#: extras_topology.xml:3011
#, no-c-format
msgid ""
"The table, if given, is expected to have an \"arc_id\" field of type \"serial"
"\" and an \"edge_id\" of type integer; the code will query the table for "
"\"edge_id\" so it is recommended to add an index on that field."
msgstr ""

#. Tag: para
#: extras_topology.xml:3016
#, no-c-format
msgid ""
"Arc indices in the TopoJSON output are 0-based but they are 1-based in the "
"\"edgeMapTable\" table."
msgstr ""

#. Tag: para
#: extras_topology.xml:3022
#, no-c-format
msgid ""
"A full TopoJSON document will be need to contain, in addition to the "
"snippets returned by this function, the actual arcs plus some headers. See "
"the <ulink url=\"http://github.com/mbostock/topojson-specification/blob/"
"master/README.md\">TopoJSON specification</ulink>."
msgstr ""

#. Tag: para
#: extras_topology.xml:3031
#, no-c-format
msgid "Enhanced: 2.2.1 added support for puntal inputs"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:3043
#, no-c-format
msgid ""
"CREATE TEMP TABLE edgemap(arc_id serial, edge_id int unique);\n"
"\n"
"-- header\n"
"SELECT '{ \"type\": \"Topology\", \"transform\": { \"scale\": [1,1], "
"\"translate\": [0,0] }, \"objects\": {'\n"
"\n"
"-- objects\n"
"UNION ALL SELECT '\"' || feature_name || '\": ' || AsTopoJSON(feature, "
"'edgemap')\n"
"FROM features.big_parcels WHERE feature_name = 'P3P4';\n"
"\n"
"-- arcs\n"
"WITH edges AS (\n"
"  SELECT m.arc_id, e.geom FROM edgemap m, city_data.edge e\n"
"  WHERE e.edge_id = m.edge_id\n"
"), points AS (\n"
"  SELECT arc_id, (st_dumppoints(geom)).* FROM edges\n"
"), compare AS (\n"
"  SELECT p2.arc_id,\n"
"         CASE WHEN p1.path IS NULL THEN p2.geom\n"
"              ELSE ST_Translate(p2.geom, -ST_X(p1.geom), -ST_Y(p1.geom))\n"
"         END AS geom\n"
"  FROM points p2 LEFT OUTER JOIN points p1\n"
"  ON ( p1.arc_id = p2.arc_id AND p2.path[1] = p1.path[1]+1 )\n"
"  ORDER BY arc_id, p2.path\n"
"), arcsdump AS (\n"
"  SELECT arc_id, (regexp_matches( ST_AsGeoJSON(geom), '\\[.*\\]'))[1] as t\n"
"  FROM compare\n"
"), arcs AS (\n"
"  SELECT arc_id, '[' || array_to_string(array_agg(t), ',') || ']' as a FROM "
"arcsdump\n"
"  GROUP BY arc_id\n"
"  ORDER BY arc_id\n"
")\n"
"SELECT '}, \"arcs\": [' UNION ALL\n"
"SELECT array_to_string(array_agg(a), E',\\n') from arcs\n"
"\n"
"-- footer\n"
"UNION ALL SELECT ']}'::text as t;\n"
"\n"
"-- Result:\n"
"{ \"type\": \"Topology\", \"transform\": { \"scale\": [1,1], \"translate\": "
"[0,0] }, \"objects\": {\n"
"\"P3P4\": { \"type\": \"MultiPolygon\", \"arcs\": [[[-1]],"
"[[6,5,-5,-4,-3,1]]]}\n"
"}, \"arcs\": [\n"
" [[25,30],[6,0],[0,10],[-14,0],[0,-10],[8,0]],\n"
" [[35,6],[0,8]],\n"
" [[35,6],[12,0]],\n"
" [[47,6],[0,8]],\n"
" [[47,14],[0,8]],\n"
" [[35,22],[12,0]],\n"
" [[35,14],[0,8]]\n"
" ]}"
msgstr ""

#. Tag: para
#: extras_topology.xml:3051
#, no-c-format
msgid ""
"This section lists the Topology functions used to check relationships "
"between topogeometries and topology primitives"
msgstr ""

#. Tag: title
#: extras_topology.xml:3054
#, no-c-format
msgid "Topology Spatial Relationships"
msgstr ""

#. Tag: refname
#: extras_topology.xml:3057
#, no-c-format
msgid "Equals"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:3059
#, no-c-format
msgid ""
"Returns true if two topogeometries are composed of the same topology "
"primitives."
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:3064
#, no-c-format
msgid ""
"<funcdef>boolean <function>Equals</function></funcdef> "
"<paramdef><type>topogeometry </type> <parameter>tg1</parameter></paramdef> "
"<paramdef><type>topogeometry </type> <parameter>tg2</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:3075
#, no-c-format
msgid ""
"Returns true if two topogeometries are composed of the same topology "
"primitives: faces, edges, nodes."
msgstr ""

#. Tag: para
#: extras_topology.xml:3079
#, no-c-format
msgid ""
"This function not supported for topogeometries that are geometry "
"collections. It also can not compare topogeometries from different "
"topologies."
msgstr ""

#. Tag: para
#: extras_topology.xml:3086 extras_topology.xml:3142
#, no-c-format
msgid "&Z_support;"
msgstr ""

#. Tag: programlisting
#: extras_topology.xml:3093 extras_topology.xml:3149
#, no-c-format
msgid "<!--TODO: Need example -->"
msgstr ""

#. Tag: para
#: extras_topology.xml:3100
#, no-c-format
msgid ", <xref linkend=\"ST_Equals\"/>"
msgstr ""

#. Tag: refname
#: extras_topology.xml:3106
#, no-c-format
msgid "Intersects"
msgstr ""

#. Tag: refpurpose
#: extras_topology.xml:3108
#, no-c-format
msgid ""
"<refpurpose>Returns true if any pair of primitives from the two "
"topogeometries intersect.</refpurpose>"
msgstr ""

#. Tag: funcprototype
#: extras_topology.xml:3116
#, no-c-format
msgid ""
"<funcdef>boolean <function>Intersects</function></funcdef> "
"<paramdef><type>topogeometry </type> <parameter>tg1</parameter></paramdef> "
"<paramdef><type>topogeometry </type> <parameter>tg2</parameter></paramdef>"
msgstr ""

#. Tag: para
#: extras_topology.xml:3127
#, no-c-format
msgid ""
"<para>Returns true if any pair of primitives from the two topogeometries "
"intersect.</para>"
msgstr ""

#. Tag: para
#: extras_topology.xml:3134
#, no-c-format
msgid ""
"This function not supported for topogeometries that are geometry "
"collections. It also can not compare topogeometries from different "
"topologies. Also not currently supported for hierarchichal topogeometries "
"(topogeometries composed of other topogeometries)."
msgstr ""