File: reference_processing.xml.pot

package info (click to toggle)
postgis 2.3.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 58,660 kB
  • ctags: 10,181
  • sloc: ansic: 132,858; sql: 131,148; xml: 46,460; sh: 4,832; perl: 4,476; makefile: 2,749; python: 1,198; yacc: 442; lex: 131
file content (3801 lines) | stat: -rw-r--r-- 148,222 bytes parent folder | download | duplicates (2)
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
# 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: 2016-07-04 13:02+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
#: reference_processing.xml:3
#, no-c-format
msgid "Geometry Processing"
msgstr ""

#. Tag: refname
#: reference_processing.xml:6
#, no-c-format
msgid "ST_Buffer"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:8
#, no-c-format
msgid "(T) Returns a geometry covering all points within a given distance from the input geometry."
msgstr ""

#. Tag: funcsynopsis
#: reference_processing.xml:16
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_Buffer</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef> <paramdef><type>float </type> <parameter>radius_of_buffer</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_Buffer</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef> <paramdef><type>float </type> <parameter>radius_of_buffer</parameter></paramdef> <paramdef><type>integer </type> <parameter>num_seg_quarter_circle</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_Buffer</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef> <paramdef><type>float </type> <parameter>radius_of_buffer</parameter></paramdef> <paramdef><type>text </type> <parameter>buffer_style_parameters</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geography <function>ST_Buffer</function></funcdef> <paramdef><type>geography </type> <parameter>g1</parameter></paramdef> <paramdef><type>float </type> <parameter>radius_of_buffer_in_meters</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geography <function>ST_Buffer</function></funcdef> <paramdef><type>geography </type> <parameter>g1</parameter></paramdef> <paramdef><type>float </type> <parameter>radius_of_buffer</parameter></paramdef> <paramdef><type>integer </type> <parameter>num_seg_quarter_circle</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geography <function>ST_Buffer</function></funcdef> <paramdef><type>geography </type> <parameter>g1</parameter></paramdef> <paramdef><type>float </type> <parameter>radius_of_buffer</parameter></paramdef> <paramdef><type>text </type> <parameter>buffer_style_parameters</parameter></paramdef> </funcprototype>"
msgstr ""

#. Tag: title
#: reference_processing.xml:61 reference_processing.xml:235 reference_processing.xml:314 reference_processing.xml:369 reference_processing.xml:437 reference_processing.xml:586 reference_processing.xml:654 reference_processing.xml:702 reference_processing.xml:801 reference_processing.xml:881 reference_processing.xml:939 reference_processing.xml:1008 reference_processing.xml:1055 reference_processing.xml:1103 reference_processing.xml:1186 reference_processing.xml:1251 reference_processing.xml:1293 reference_processing.xml:1352 reference_processing.xml:1399 reference_processing.xml:1453 reference_processing.xml:1495 reference_processing.xml:1547 reference_processing.xml:1601 reference_processing.xml:1755 reference_processing.xml:1793 reference_processing.xml:1867 reference_processing.xml:1921 reference_processing.xml:1977 reference_processing.xml:2028 reference_processing.xml:2070 reference_processing.xml:2112 reference_processing.xml:2168 reference_processing.xml:2294 reference_processing.xml:2378 reference_processing.xml:2461 reference_processing.xml:2516 reference_processing.xml:2585 reference_processing.xml:2657
#, no-c-format
msgid "Description"
msgstr ""

#. Tag: para
#: reference_processing.xml:63
#, no-c-format
msgid "Returns a geometry/geography that represents all points whose distance from this Geometry/geography is less than or equal to distance."
msgstr ""

#. Tag: para
#: reference_processing.xml:65
#, no-c-format
msgid "Geometry: Calculations are in the Spatial Reference System of the geometry. Introduced in 1.5 support for different end cap and mitre settings to control shape."
msgstr ""

#. Tag: para
#: reference_processing.xml:68
#, no-c-format
msgid "Negative radii: For polygons, a negative radius can be used, which will shrink the polygon rather than expanding it."
msgstr ""

#. Tag: para
#: reference_processing.xml:69
#, no-c-format
msgid "Geography: For geography this is really a thin wrapper around the geometry implementation. It first determines the best SRID that fits the bounding box of the geography object (favoring UTM, Lambert Azimuthal Equal Area (LAEA) north/south pole, and falling back on mercator in worst case scenario) and then buffers in that planar spatial ref and retransforms back to WGS84 geography."
msgstr ""

#. Tag: para
#: reference_processing.xml:71
#, no-c-format
msgid "For geography this may not behave as expected if object is sufficiently large that it falls between two UTM zones or crosses the dateline"
msgstr ""

#. Tag: para
#: reference_processing.xml:73
#, no-c-format
msgid "Availability: 1.5 - ST_Buffer was enhanced to support different endcaps and join types. These are useful for example to convert road linestrings into polygon roads with flat or square edges instead of rounded edges. Thin wrapper for geography was added. - requires GEOS &gt;= 3.2 to take advantage of advanced geometry functionality."
msgstr ""

#. Tag: para
#: reference_processing.xml:76
#, no-c-format
msgid "The optional third parameter (currently only applies to geometry) can either specify number of segments used to approximate a quarter circle (integer case, defaults to 8) or a list of blank-separated key=value pairs (string case) to tweak operations as follows:"
msgstr ""

#. Tag: para
#: reference_processing.xml:80 reference_processing.xml:1624
#, no-c-format
msgid "'quad_segs=#' : number of segments used to approximate a quarter circle (defaults to 8)."
msgstr ""

#. Tag: para
#: reference_processing.xml:83
#, no-c-format
msgid "'endcap=round|flat|square' : endcap style (defaults to \"round\", needs GEOS-3.2 or higher for a different value). 'butt' is also accepted as a synonym for 'flat'."
msgstr ""

#. Tag: para
#: reference_processing.xml:86
#, no-c-format
msgid "'join=round|mitre|bevel' : join style (defaults to \"round\", needs GEOS-3.2 or higher for a different value). 'miter' is also accepted as a synonym for 'mitre'."
msgstr ""

#. Tag: para
#: reference_processing.xml:89
#, no-c-format
msgid "'mitre_limit=#.#' : mitre ratio limit (only affects mitered join style). 'miter_limit' is also accepted as a synonym for 'mitre_limit'."
msgstr ""

#. Tag: para
#: reference_processing.xml:94
#, no-c-format
msgid "Units of radius are measured in units of the spatial reference system."
msgstr ""

#. Tag: para
#: reference_processing.xml:95
#, no-c-format
msgid "The inputs can be POINTS, MULTIPOINTS, LINESTRINGS, MULTILINESTRINGS, POLYGONS, MULTIPOLYGONS, and GeometryCollections."
msgstr ""

#. Tag: para
#: reference_processing.xml:96
#, no-c-format
msgid "This function ignores the third dimension (z) and will always give a 2-d buffer even when presented with a 3d-geometry."
msgstr ""

#. Tag: para
#: reference_processing.xml:98 reference_processing.xml:323 reference_processing.xml:1641 reference_processing.xml:2037 reference_processing.xml:2536
#, no-c-format
msgid "Performed by the GEOS module."
msgstr ""

#. Tag: para
#: reference_processing.xml:99 reference_processing.xml:605 reference_processing.xml:812 reference_processing.xml:1211 reference_processing.xml:2305 reference_processing.xml:2545
#, no-c-format
msgid "&sfs_compliant; s2.1.1.3"
msgstr ""

#. Tag: para
#: reference_processing.xml:100
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.17"
msgstr ""

#. Tag: para
#: reference_processing.xml:102
#, no-c-format
msgid "People often make the mistake of using this function to try to do radius searches. Creating a buffer to to a radius search is slow and pointless. Use <xref linkend=\"ST_DWithin\"/> instead."
msgstr ""

#. Tag: title
#: reference_processing.xml:107 reference_processing.xml:252 reference_processing.xml:331 reference_processing.xml:405 reference_processing.xml:475 reference_processing.xml:611 reference_processing.xml:668 reference_processing.xml:819 reference_processing.xml:1023 reference_processing.xml:1114 reference_processing.xml:1215 reference_processing.xml:1368 reference_processing.xml:1419 reference_processing.xml:1465 reference_processing.xml:1564 reference_processing.xml:1650 reference_processing.xml:1888 reference_processing.xml:1946 reference_processing.xml:1999 reference_processing.xml:2043 reference_processing.xml:2083 reference_processing.xml:2139 reference_processing.xml:2191 reference_processing.xml:2313 reference_processing.xml:2397 reference_processing.xml:2552 reference_processing.xml:2687
#, no-c-format
msgid "Examples"
msgstr ""

#. Tag: para
#: reference_processing.xml:118
#, no-c-format
msgid "quad_segs=8 (default)"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:121
#, no-c-format
msgid ""
      "SELECT ST_Buffer(\n"
      " ST_GeomFromText('POINT(100 90)'),\n"
      " 50, 'quad_segs=8');"
msgstr ""

#. Tag: para
#: reference_processing.xml:129
#, no-c-format
msgid "quad_segs=2 (lame)"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:132
#, no-c-format
msgid ""
      "SELECT ST_Buffer(\n"
      " ST_GeomFromText('POINT(100 90)'),\n"
      " 50, 'quad_segs=2');"
msgstr ""

#. Tag: para
#: reference_processing.xml:141
#, no-c-format
msgid "endcap=round join=round (default)"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:144
#, no-c-format
msgid ""
      "SELECT ST_Buffer(\n"
      " ST_GeomFromText(\n"
      "  'LINESTRING(50 50,150 150,150 50)'\n"
      " ), 10, 'endcap=round join=round');"
msgstr ""

#. Tag: para
#: reference_processing.xml:152
#, no-c-format
msgid "endcap=square"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:155
#, no-c-format
msgid ""
      "SELECT ST_Buffer(\n"
      " ST_GeomFromText(\n"
      "  'LINESTRING(50 50,150 150,150 50)'\n"
      " ), 10, 'endcap=square join=round');"
msgstr ""

#. Tag: para
#: reference_processing.xml:163
#, no-c-format
msgid "endcap=flat"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:166
#, no-c-format
msgid ""
      "SELECT ST_Buffer(\n"
      " ST_GeomFromText(\n"
      "  'LINESTRING(50 50,150 150,150 50)'\n"
      " ), 10, 'endcap=flat join=round');"
msgstr ""

#. Tag: para
#: reference_processing.xml:175
#, no-c-format
msgid "join=bevel"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:178
#, no-c-format
msgid ""
      "SELECT ST_Buffer(\n"
      " ST_GeomFromText(\n"
      "  'LINESTRING(50 50,150 150,150 50)'\n"
      " ), 10, 'join=bevel');"
msgstr ""

#. Tag: para
#: reference_processing.xml:186
#, no-c-format
msgid "join=mitre mitre_limit=5.0 (default mitre limit)"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:189
#, no-c-format
msgid ""
      "SELECT ST_Buffer(\n"
      " ST_GeomFromText(\n"
      "  'LINESTRING(50 50,150 150,150 50)'\n"
      " ), 10, 'join=mitre mitre_limit=5.0');"
msgstr ""

#. Tag: para
#: reference_processing.xml:197
#, no-c-format
msgid "join=mitre mitre_limit=1"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:200
#, no-c-format
msgid ""
      "SELECT ST_Buffer(\n"
      " ST_GeomFromText(\n"
      "  'LINESTRING(50 50,150 150,150 50)'\n"
      " ), 10, 'join=mitre mitre_limit=1.0');"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:207
#, no-c-format
msgid ""
      "--A buffered point approximates a circle\n"
      "-- A buffered point forcing approximation of (see diagram)\n"
      "-- 2 points per circle is poly with 8 sides (see diagram)\n"
      "SELECT ST_NPoints(ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50)) As promisingcircle_pcount,\n"
      "ST_NPoints(ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50, 2)) As lamecircle_pcount;\n"
      "\n"
      "promisingcircle_pcount | lamecircle_pcount\n"
      "------------------------+-------------------\n"
      "                         33 |                9\n"
      "\n"
      "--A lighter but lamer circle\n"
      "-- only 2 points per quarter circle is an octagon\n"
      "--Below is a 100 meter octagon\n"
      "-- Note coordinates are in NAD 83 long lat which we transform\n"
      "to Mass state plane meter and then buffer to get measurements in meters;\n"
      "SELECT ST_AsText(ST_Buffer(\n"
      "ST_Transform(\n"
      "ST_SetSRID(ST_MakePoint(-71.063526, 42.35785),4269), 26986)\n"
      ",100,2)) As octagon;\n"
      "----------------------\n"
      "POLYGON((236057.59057465 900908.759918696,236028.301252769 900838.049240578,235\n"
      "957.59057465 900808.759918696,235886.879896532 900838.049240578,235857.59057465\n"
      "900908.759918696,235886.879896532 900979.470596815,235957.59057465 901008.759918\n"
      "696,236028.301252769 900979.470596815,236057.59057465 900908.759918696))"
msgstr ""

#. Tag: title
#: reference_processing.xml:211 reference_processing.xml:286 reference_processing.xml:335 reference_processing.xml:412 reference_processing.xml:564 reference_processing.xml:627 reference_processing.xml:675 reference_processing.xml:776 reference_processing.xml:859 reference_processing.xml:918 reference_processing.xml:986 reference_processing.xml:1030 reference_processing.xml:1072 reference_processing.xml:1229 reference_processing.xml:1271 reference_processing.xml:1325 reference_processing.xml:1375 reference_processing.xml:1414 reference_processing.xml:1432 reference_processing.xml:1460 reference_processing.xml:1519 reference_processing.xml:1570 reference_processing.xml:1732 reference_processing.xml:1771 reference_processing.xml:1841 reference_processing.xml:1895 reference_processing.xml:1953 reference_processing.xml:2004 reference_processing.xml:2048 reference_processing.xml:2088 reference_processing.xml:2146 reference_processing.xml:2262 reference_processing.xml:2354 reference_processing.xml:2432 reference_processing.xml:2484 reference_processing.xml:2559 reference_processing.xml:2613 reference_processing.xml:2740
#, no-c-format
msgid "See Also"
msgstr ""

#. Tag: para
#: reference_processing.xml:213
#, no-c-format
msgid ", <xref linkend=\"ST_DWithin\"/>, <xref linkend=\"ST_SetSRID\"/>, <xref linkend=\"ST_Transform\"/>, <xref linkend=\"ST_Union\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:219
#, no-c-format
msgid "ST_BuildArea"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:221
#, no-c-format
msgid "Creates an areal geometry formed by the constituent linework of given geometry"
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:227
#, no-c-format
msgid "<funcdef>geometry <function>ST_BuildArea</function></funcdef> <paramdef><type>geometry </type> <parameter>A</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:237
#, no-c-format
msgid "Creates an areal geometry formed by the constituent linework of given geometry. The return type can be a Polygon or MultiPolygon, depending on input. If the input lineworks do not form polygons NULL is returned. The inputs can be LINESTRINGS, MULTILINESTRINGS, POLYGONS, MULTIPOLYGONS, and GeometryCollections."
msgstr ""

#. Tag: para
#: reference_processing.xml:242
#, no-c-format
msgid "This function will assume all inner geometries represent holes"
msgstr ""

#. Tag: para
#: reference_processing.xml:245 reference_processing.xml:1507
#, no-c-format
msgid "Input linework must be correctly noded for this function to work properly"
msgstr ""

#. Tag: para
#: reference_processing.xml:248
#, no-c-format
msgid "Availability: 1.1.0 - requires GEOS &gt;= 2.1.0."
msgstr ""

#. Tag: para
#: reference_processing.xml:262
#, no-c-format
msgid "This will create a donut"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:265
#, no-c-format
msgid ""
      "SELECT ST_BuildArea(ST_Collect(smallc,bigc))\n"
      "FROM (SELECT\n"
      "        ST_Buffer(\n"
      "          ST_GeomFromText('POINT(100 90)'), 25) As smallc,\n"
      "        ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50) As bigc) As foo;"
msgstr ""

#. Tag: para
#: reference_processing.xml:274
#, no-c-format
msgid "This will create a gaping hole inside the circle with prongs sticking out"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:277
#, no-c-format
msgid ""
      "SELECT ST_BuildArea(ST_Collect(line,circle))\n"
      "FROM (SELECT\n"
      "        ST_Buffer(\n"
      "                ST_MakeLine(ST_MakePoint(10, 10),ST_MakePoint(190, 190)),\n"
      "                                5)  As line,\n"
      "        ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50) As circle) As foo;\n"
      "\n"
      "--this creates the same gaping hole\n"
      "--but using linestrings instead of polygons\n"
      "SELECT ST_BuildArea(\n"
      "        ST_Collect(ST_ExteriorRing(line),ST_ExteriorRing(circle))\n"
      "        )\n"
      "FROM (SELECT ST_Buffer(\n"
      "        ST_MakeLine(ST_MakePoint(10, 10),ST_MakePoint(190, 190))\n"
      "                ,5)  As line,\n"
      "        ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50) As circle) As foo;"
msgstr ""

#. Tag: para
#: reference_processing.xml:288
#, no-c-format
msgid ", <xref linkend=\"ST_MakePolygon\"/>, <xref linkend=\"ST_BdPolyFromText\"/>, <xref linkend=\"ST_BdMPolyFromText\"/>wrappers to this function with standard OGC interface"
msgstr ""

#. Tag: refname
#: reference_processing.xml:299
#, no-c-format
msgid "ST_ClipByBox2D"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:300
#, no-c-format
msgid "Returns the portion of a geometry falling within a rectangle."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:305
#, no-c-format
msgid "<funcdef>geometry <function>ST_ClipByBox2D</function></funcdef> <paramdef><type>geometry</type> <parameter>geom</parameter></paramdef> <paramdef><type>box2d</type> <parameter>box</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:316
#, no-c-format
msgid "Clips a geometry by a 2D box in a fast but possibly dirty way. The output geometry is not guaranteed to be valid (self-intersections for a polygon may be introduced). Topologically invalid input geometries do not result in exceptions being thrown."
msgstr ""

#. Tag: para
#: reference_processing.xml:324 reference_processing.xml:2390
#, no-c-format
msgid "Requires GEOS 3.5.0+"
msgstr ""

#. Tag: para
#: reference_processing.xml:326
#, no-c-format
msgid "Availability: 2.2.0 - requires GEOS &gt;= 3.5.0."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:332
#, no-c-format
msgid ""
      "-- Rely on implicit cast from geometry to box2d for the second parameter\n"
      "SELECT ST_ClipByBox2D(the_geom, ST_MakeEnvelope(0,0,10,10)) FROM mytab;"
msgstr ""

#. Tag: para
#: reference_processing.xml:336
#, no-c-format
msgid ", <xref linkend=\"ST_MakeBox2D\"/>, <xref linkend=\"ST_MakeEnvelope\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:346
#, no-c-format
msgid "ST_Collect"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:347
#, no-c-format
msgid "Return a specified ST_Geometry value from a collection of other geometries."
msgstr ""

#. Tag: funcsynopsis
#: reference_processing.xml:351
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_Collect</function></funcdef> <paramdef><type>geometry set</type> <parameter>g1field</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_Collect</function></funcdef> <paramdef><type>geometry</type> <parameter>g1</parameter></paramdef> <paramdef><type>geometry</type> <parameter>g2</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_Collect</function></funcdef> <paramdef><type>geometry[]</type> <parameter>g1_array</parameter></paramdef> </funcprototype>"
msgstr ""

#. Tag: para
#: reference_processing.xml:370
#, no-c-format
msgid "Output type can be a MULTI* or a GEOMETRYCOLLECTION. Comes in 2 variants. Variant 1 collects 2 geometries. Variant 2 is an aggregate function that takes a set of geometries and collects them into a single ST_Geometry."
msgstr ""

#. Tag: para
#: reference_processing.xml:374
#, no-c-format
msgid "Aggregate version: This function returns a GEOMETRYCOLLECTION or a MULTI object from a set of geometries. The ST_Collect() function is an \"aggregate\" function in the terminology of PostgreSQL. That means that it operates on rows of data, in the same way the SUM() and AVG() functions do. For example, \"SELECT ST_Collect(GEOM) FROM GEOMTABLE GROUP BY ATTRCOLUMN\" will return a separate GEOMETRYCOLLECTION for each distinct value of ATTRCOLUMN."
msgstr ""

#. Tag: para
#: reference_processing.xml:382
#, no-c-format
msgid "Non-Aggregate version: This function returns a geometry being a collection of two input geometries. Output type can be a MULTI* or a GEOMETRYCOLLECTION."
msgstr ""

#. Tag: para
#: reference_processing.xml:386
#, no-c-format
msgid "ST_Collect and ST_Union are often interchangeable. ST_Collect is in general orders of magnitude faster than ST_Union because it does not try to dissolve boundaries or validate that a constructed MultiPolgon doesn't have overlapping regions. It merely rolls up single geometries into MULTI and MULTI or mixed geometry types into Geometry Collections. Unfortunately geometry collections are not well-supported by GIS tools. To prevent ST_Collect from returning a Geometry Collection when collecting MULTI geometries, one can use the below trick that utilizes <xref linkend=\"ST_Dump\"/> to expand the MULTIs out to singles and then regroup them."
msgstr ""

#. Tag: para
#: reference_processing.xml:397
#, no-c-format
msgid "Availability: 1.4.0 - ST_Collect(geomarray) was introduced. ST_Collect was enhanced to handle more geometries faster."
msgstr ""

#. Tag: para
#: reference_processing.xml:398 reference_processing.xml:607 reference_processing.xml:662 reference_processing.xml:714 reference_processing.xml:905 reference_processing.xml:960 reference_processing.xml:1018 reference_processing.xml:1059 reference_processing.xml:1256 reference_processing.xml:1320 reference_processing.xml:1363 reference_processing.xml:1554 reference_processing.xml:1767 reference_processing.xml:1879 reference_processing.xml:1937 reference_processing.xml:2471 reference_processing.xml:2605
#, no-c-format
msgid "&Z_support;"
msgstr ""

#. Tag: para
#: reference_processing.xml:399
#, no-c-format
msgid "&curve_support; This method supports Circular Strings and Curves, but will never return a MULTICURVE or MULTI as one would expect and PostGIS does not currently support those."
msgstr ""

#. Tag: para
#: reference_processing.xml:406
#, no-c-format
msgid "Aggregate example (<ulink url=\"http://postgis.refractions.net/pipermail/postgis-users/2008-June/020331.html\">http://postgis.refractions.net/pipermail/postgis-users/2008-June/020331.html</ulink>)"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:407
#, no-c-format
msgid ""
      "SELECT stusps,\n"
      "           ST_Multi(ST_Collect(f.the_geom)) as singlegeom\n"
      "         FROM (SELECT stusps, (ST_Dump(the_geom)).geom As the_geom\n"
      "                                FROM\n"
      "                                somestatetable ) As f\n"
      "GROUP BY stusps"
msgstr ""

#. Tag: para
#: reference_processing.xml:408 reference_processing.xml:2555
#, no-c-format
msgid "Non-Aggregate example"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:409
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_Collect(ST_GeomFromText('POINT(1 2)'),\n"
      "        ST_GeomFromText('POINT(-2 3)') ));\n"
      "\n"
      "st_astext\n"
      "----------\n"
      "MULTIPOINT(1 2,-2 3)\n"
      "\n"
      "--Collect 2 d points\n"
      "SELECT ST_AsText(ST_Collect(ST_GeomFromText('POINT(1 2)'),\n"
      "                ST_GeomFromText('POINT(1 2)') ) );\n"
      "\n"
      "st_astext\n"
      "----------\n"
      "MULTIPOINT(1 2,1 2)\n"
      "\n"
      "--Collect 3d points\n"
      "SELECT ST_AsEWKT(ST_Collect(ST_GeomFromEWKT('POINT(1 2 3)'),\n"
      "                ST_GeomFromEWKT('POINT(1 2 4)') ) );\n"
      "\n"
      "                st_asewkt\n"
      "-------------------------\n"
      " MULTIPOINT(1 2 3,1 2 4)\n"
      "\n"
      " --Example with curves\n"
      "SELECT ST_AsText(ST_Collect(ST_GeomFromText('CIRCULARSTRING(220268 150415,220227 150505,220227 150406)'),\n"
      "ST_GeomFromText('CIRCULARSTRING(220227 150406,2220227 150407,220227 150406)')));\n"
      "                                                                                                                                st_astext\n"
      "------------------------------------------------------------------------------------\n"
      " GEOMETRYCOLLECTION(CIRCULARSTRING(220268 150415,220227 150505,220227 150406),\n"
      " CIRCULARSTRING(220227 150406,2220227 150407,220227 150406))\n"
      "\n"
      "--New ST_Collect array construct\n"
      "SELECT ST_Collect(ARRAY(SELECT the_geom FROM sometable));\n"
      "\n"
      "SELECT ST_AsText(ST_Collect(ARRAY[ST_GeomFromText('LINESTRING(1 2, 3 4)'),\n"
      "                        ST_GeomFromText('LINESTRING(3 4, 4 5)')])) As wktcollect;\n"
      "\n"
      "--wkt collect --\n"
      "MULTILINESTRING((1 2,3 4),(3 4,4 5))"
msgstr ""

#. Tag: para
#: reference_processing.xml:413
#, no-c-format
msgid ", <xref linkend=\"ST_Union\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:420
#, no-c-format
msgid "ST_ConcaveHull"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:421
#, no-c-format
msgid "The concave hull of a geometry represents a possibly concave geometry that encloses all geometries within the set. You can think of it as shrink wrapping."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:427
#, no-c-format
msgid "<funcdef>geometry <function>ST_ConcaveHull</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef> <paramdef><type>float </type> <parameter>target_percent</parameter></paramdef> <paramdef choice=\"opt\"><type>boolean </type> <parameter>allow_holes=false</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:438
#, no-c-format
msgid "The concave hull of a geometry represents a possibly concave geometry that encloses all geometries within the set. Defaults to false for allowing polygons with holes. The result is never higher than a single polygon."
msgstr ""

#. Tag: para
#: reference_processing.xml:442
#, no-c-format
msgid "The target_percent is the target percent of area of convex hull the PostGIS solution will try to approach before giving up or exiting. One can think of the concave hull as the geometry you get by vacuum sealing a set of geometries. The target_percent of 1 will give you the same answer as the convex hull. A target_percent between 0 and 0.99 will give you something that should have a smaller area than the convex hull. This is different from a convex hull which is more like wrapping a rubber band around the set of geometries."
msgstr ""

#. Tag: para
#: reference_processing.xml:447
#, no-c-format
msgid "It is usually used with MULTI and Geometry Collections. Although it is not an aggregate - you can use it in conjunction with ST_Collect or ST_Union to get the concave hull of a set of points/linestring/polygons ST_ConcaveHull(ST_Collect(somepointfield), 0.80)."
msgstr ""

#. Tag: para
#: reference_processing.xml:452
#, no-c-format
msgid "It is much slower to compute than convex hull but encloses the geometry better and is also useful for image recognition."
msgstr ""

#. Tag: para
#: reference_processing.xml:455 reference_processing.xml:603 reference_processing.xml:808 reference_processing.xml:1206 reference_processing.xml:2301
#, no-c-format
msgid "Performed by the GEOS module"
msgstr ""

#. Tag: para
#: reference_processing.xml:456
#, no-c-format
msgid "Note - If you are using with points, linestrings, or geometry collections use ST_Collect. If you are using with polygons, use ST_Union since it may fail with invalid geometries."
msgstr ""

#. Tag: para
#: reference_processing.xml:459
#, no-c-format
msgid "Note - The smaller you make the target percent, the longer it takes to process the concave hull and more likely to run into topological exceptions. Also the more floating points and number of points you accrue. First try a 0.99 which does a first hop, is usually very fast, sometimes as fast as computing the convex hull, and usually gives much better than 99% of shrink since it almost always overshoots. Second hope of 0.98 it slower, others get slower usually quadratically. To reduce precision and float points, use <xref linkend=\"ST_SimplifyPreserveTopology\"/> or <xref linkend=\"ST_SnapToGrid\"/> after ST_ConcaveHull. ST_SnapToGrid is a bit faster, but could result in invalid geometries where as ST_SimplifyPreserveTopology almost always preserves the validity of the geometry."
msgstr ""

#. Tag: para
#: reference_processing.xml:464
#, no-c-format
msgid "More real world examples and brief explanation of the technique are shown <ulink url=\"http://www.bostongis.com/postgis_concavehull.snippet\">http://www.bostongis.com/postgis_concavehull.snippet</ulink>"
msgstr ""

#. Tag: para
#: reference_processing.xml:467
#, no-c-format
msgid "Also check out Simon Greener's article on demonstrating ConcaveHull introduced in Oracle 11G R2. <ulink url=\"http://www.spatialdbadvisor.com/oracle_spatial_tips_tricks/172/concave-hull-geometries-in-oracle-11gr2\">http://www.spatialdbadvisor.com/oracle_spatial_tips_tricks/172/concave-hull-geometries-in-oracle-11gr2</ulink>. The solution we get at 0.75 target percent of convex hull is similar to the shape Simon gets with Oracle SDO_CONCAVEHULL_BOUNDARY."
msgstr ""

#. Tag: para
#: reference_processing.xml:471 reference_processing.xml:1057 reference_processing.xml:2179
#, no-c-format
msgid "Availability: 2.0.0"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:476
#, no-c-format
msgid ""
      "--Get estimate of infected area based on point observations\n"
      "SELECT d.disease_type,\n"
      "        ST_ConcaveHull(ST_Collect(d.pnt_geom), 0.99) As geom\n"
      "        FROM disease_obs As d\n"
      "        GROUP BY d.disease_type;"
msgstr ""

#. Tag: para
#: reference_processing.xml:486
#, no-c-format
msgid "ST_ConcaveHull of 2 polygons encased in target 100% shrink concave hull"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:489
#, no-c-format
msgid ""
      "-- geometries overlaid with concavehull\n"
      "-- at target 100% shrink (this is the same as convex hull - since no shrink)\n"
      "SELECT\n"
      "        ST_ConcaveHull(\n"
      "                ST_Union(ST_GeomFromText('POLYGON((175 150, 20 40,\n"
      "                        50 60, 125 100, 175 150))'),\n"
      "                ST_Buffer(ST_GeomFromText('POINT(110 170)'), 20)\n"
      "                ), 1)\n"
      "         As convexhull;"
msgstr ""

#. Tag: para
#: reference_processing.xml:496
#, no-c-format
msgid "-- geometries overlaid with concavehull at target 90% of convex hull area"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:500
#, no-c-format
msgid ""
      "-- geometries overlaid with concavehull at target 90% shrink\n"
      "SELECT\n"
      "        ST_ConcaveHull(\n"
      "                ST_Union(ST_GeomFromText('POLYGON((175 150, 20 40,\n"
      "                        50 60, 125 100, 175 150))'),\n"
      "                ST_Buffer(ST_GeomFromText('POINT(110 170)'), 20)\n"
      "                ), 0.9)\n"
      "         As target_90;"
msgstr ""

#. Tag: para
#: reference_processing.xml:509
#, no-c-format
msgid "L Shape points overlaid with convex hull"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:512
#, no-c-format
msgid ""
      "-- this produces a table of 42 points that form an L shape\n"
      "SELECT (ST_DumpPoints(ST_GeomFromText(\n"
      "'MULTIPOINT(14 14,34 14,54 14,74 14,94 14,114 14,134 14,\n"
      "150 14,154 14,154 6,134 6,114 6,94 6,74 6,54 6,34 6,\n"
      "14 6,10 6,8 6,7 7,6 8,6 10,6 30,6 50,6 70,6 90,6 110,6 130,\n"
      "6 150,6 170,6 190,6 194,14 194,14 174,14 154,14 134,14 114,\n"
      "14 94,14 74,14 54,14 34,14 14)'))).geom\n"
      "        INTO TABLE l_shape;\n"
      "\n"
      "SELECT ST_ConvexHull(ST_Collect(geom))\n"
      "FROM l_shape;"
msgstr ""

#. Tag: para
#: reference_processing.xml:519
#, no-c-format
msgid "ST_ConcaveHull of L points at target 99% of convex hull"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:522
#, no-c-format
msgid ""
      "SELECT ST_ConcaveHull(ST_Collect(geom), 0.99)\n"
      "        FROM l_shape;"
msgstr ""

#. Tag: para
#: reference_processing.xml:531
#, no-c-format
msgid "Concave Hull of L points at target 80% convex hull area"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:534
#, no-c-format
msgid ""
      "-- Concave Hull L shape points\n"
      "        -- at target 80% of convexhull\n"
      "        SELECT ST_ConcaveHull(ST_Collect(geom), 0.80)\n"
      "        FROM l_shape;"
msgstr ""

#. Tag: para
#: reference_processing.xml:543
#, no-c-format
msgid "multilinestring overlaid with Convex hull"
msgstr ""

#. Tag: para
#: reference_processing.xml:551
#, no-c-format
msgid "multilinestring with overlaid with Concave hull of linestrings at 99% target -- first hop"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:555
#, no-c-format
msgid ""
      "SELECT ST_ConcaveHull(ST_GeomFromText('MULTILINESTRING((106 164,30 112,74 70,82 112,130 94,\n"
      "        130 62,122 40,156 32,162 76,172 88),\n"
      "(132 178,134 148,128 136,96 128,132 108,150 130,\n"
      "170 142,174 110,156 96,158 90,158 88),\n"
      "(22 64,66 28,94 38,94 68,114 76,112 30,\n"
      "132 10,168 18,178 34,186 52,184 74,190 100,\n"
      "190 122,182 148,178 170,176 184,156 164,146 178,\n"
      "132 186,92 182,56 158,36 150,62 150,76 128,88 118))'),0.99)"
msgstr ""

#. Tag: para
#: reference_processing.xml:565
#, no-c-format
msgid ", <xref linkend=\"ST_ConvexHull\"/>, <xref linkend=\"ST_SimplifyPreserveTopology\"/>, <xref linkend=\"ST_SnapToGrid\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:571
#, no-c-format
msgid "ST_ConvexHull"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:572
#, no-c-format
msgid "<refpurpose>The convex hull of a geometry represents the minimum convex geometry that encloses all geometries within the set.</refpurpose>"
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:578
#, no-c-format
msgid "<funcdef>geometry <function>ST_ConvexHull</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:587
#, no-c-format
msgid "<para>The convex hull of a geometry represents the minimum convex geometry that encloses all geometries within the set.</para>"
msgstr ""

#. Tag: para
#: reference_processing.xml:590
#, no-c-format
msgid "One can think of the convex hull as the geometry you get by wrapping an elastic band around a set of geometries. This is different from a concave hull which is analogous to shrink-wrapping your geometries."
msgstr ""

#. Tag: para
#: reference_processing.xml:594
#, no-c-format
msgid "It is usually used with MULTI and Geometry Collections. Although it is not an aggregate - you can use it in conjunction with ST_Collect to get the convex hull of a set of points. ST_ConvexHull(ST_Collect(somepointfield))."
msgstr ""

#. Tag: para
#: reference_processing.xml:599
#, no-c-format
msgid "It is often used to determine an affected area based on a set of point observations."
msgstr ""

#. Tag: para
#: reference_processing.xml:606
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.16"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:612
#, no-c-format
msgid ""
      "--Get estimate of infected area based on point observations\n"
      "SELECT d.disease_type,\n"
      "        ST_ConvexHull(ST_Collect(d.the_geom)) As the_geom\n"
      "        FROM disease_obs As d\n"
      "        GROUP BY d.disease_type;"
msgstr ""

#. Tag: para
#: reference_processing.xml:620
#, no-c-format
msgid "Convex Hull of a MultiLinestring and a MultiPoint seen together with the MultiLinestring and MultiPoint"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:623
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_ConvexHull(\n"
      "        ST_Collect(\n"
      "                ST_GeomFromText('MULTILINESTRING((100 190,10 8),(150 10, 20 30))'),\n"
      "                        ST_GeomFromText('MULTIPOINT(50 5, 150 30, 50 10, 10 10)')\n"
      "                        )) );\n"
      "---st_astext--\n"
      "POLYGON((50 5,10 8,10 10,100 190,150 30,150 10,50 5))"
msgstr ""

#. Tag: para
#: reference_processing.xml:628
#, no-c-format
msgid ", <xref linkend=\"ST_ConcaveHull\"/>, <xref linkend=\"ST_MinimumBoundingCircle\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:634
#, no-c-format
msgid "ST_CurveToLine"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:636
#, no-c-format
msgid "Converts a CIRCULARSTRING/CURVEPOLYGON to a LINESTRING/POLYGON"
msgstr ""

#. Tag: funcsynopsis
#: reference_processing.xml:640
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_CurveToLine</function></funcdef> <paramdef><type>geometry</type> <parameter>curveGeom</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_CurveToLine</function></funcdef> <paramdef><type>geometry</type> <parameter>curveGeom</parameter></paramdef> <paramdef><type>integer</type> <parameter>segments_per_qtr_circle</parameter></paramdef> </funcprototype>"
msgstr ""

#. Tag: para
#: reference_processing.xml:656
#, no-c-format
msgid "Converst a CIRCULAR STRING to regular LINESTRING or CURVEPOLYGON to POLYGON. Useful for outputting to devices that can't support CIRCULARSTRING geometry types"
msgstr ""

#. Tag: para
#: reference_processing.xml:657
#, no-c-format
msgid "Converts a given geometry to a linear geometry. Each curved geometry or segment is converted into a linear approximation using the default value of 32 segments per quarter circle"
msgstr ""

#. Tag: para
#: reference_processing.xml:659 reference_processing.xml:1255
#, no-c-format
msgid "Availability: 1.2.2?"
msgstr ""

#. Tag: para
#: reference_processing.xml:660
#, no-c-format
msgid "&sfs_compliant;"
msgstr ""

#. Tag: para
#: reference_processing.xml:661
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 7.1.7"
msgstr ""

#. Tag: para
#: reference_processing.xml:663 reference_processing.xml:902 reference_processing.xml:957 reference_processing.xml:1058 reference_processing.xml:1257 reference_processing.xml:2470
#, no-c-format
msgid "&curve_support;"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:670
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_CurveToLine(ST_GeomFromText('CIRCULARSTRING(220268 150415,220227 150505,220227 150406)')));\n"
      "\n"
      "--Result --\n"
      " LINESTRING(220268 150415,220269.95064912 150416.539364228,220271.823415575 150418.17258804,220273.613787707 150419.895736857,\n"
      " 220275.317452352 150421.704659462,220276.930305234 150423.594998003,220278.448460847 150425.562198489,\n"
      " 220279.868261823 150427.60152176,220281.186287736 150429.708054909,220282.399363347 150431.876723113,\n"
      " 220283.50456625 150434.10230186,220284.499233914 150436.379429536,220285.380970099 150438.702620341,220286.147650624 150441.066277505,\n"
      " 220286.797428488 150443.464706771,220287.328738321 150445.892130112,220287.740300149 150448.342699654,\n"
      " 220288.031122486 150450.810511759,220288.200504713 150453.289621251,220288.248038775 150455.77405574,\n"
      " 220288.173610157 150458.257830005,220287.977398166 150460.734960415,220287.659875492 150463.199479347,\n"
      " 220287.221807076 150465.64544956,220286.664248262 150468.066978495,220285.988542259 150470.458232479,220285.196316903 150472.81345077,\n"
      " 220284.289480732 150475.126959442,220283.270218395 150477.39318505,220282.140985384 150479.606668057,\n"
      " 220280.90450212 150481.762075989,220279.5637474 150483.85421628,220278.12195122 150485.87804878,\n"
      " 220276.582586992 150487.828697901,220274.949363179 150489.701464356,220273.226214362 150491.491836488,\n"
      " 220271.417291757 150493.195501133,220269.526953216 150494.808354014,220267.559752731 150496.326509628,\n"
      " 220265.520429459 150497.746310603,220263.41389631 150499.064336517,220261.245228106 150500.277412127,\n"
      " 220259.019649359 150501.38261503,220256.742521683 150502.377282695,220254.419330878 150503.259018879,\n"
      " 220252.055673714 150504.025699404,220249.657244448 150504.675477269,220247.229821107 150505.206787101,\n"
      " 220244.779251566 150505.61834893,220242.311439461 150505.909171266,220239.832329968 150506.078553494,\n"
      " 220237.347895479 150506.126087555,220234.864121215 150506.051658938,220232.386990804 150505.855446946,\n"
      " 220229.922471872 150505.537924272,220227.47650166 150505.099855856,220225.054972724 150504.542297043,\n"
      " 220222.663718741 150503.86659104,220220.308500449 150503.074365683,\n"
      " 220217.994991777 150502.167529512,220215.72876617 150501.148267175,\n"
      " 220213.515283163 150500.019034164,220211.35987523 150498.7825509,\n"
      " 220209.267734939 150497.441796181,220207.243902439 150496,\n"
      " 220205.293253319 150494.460635772,220203.420486864 150492.82741196,220201.630114732 150491.104263143,\n"
      " 220199.926450087 150489.295340538,220198.313597205 150487.405001997,220196.795441592 150485.437801511,\n"
      " 220195.375640616 150483.39847824,220194.057614703 150481.291945091,220192.844539092 150479.123276887,220191.739336189 150476.89769814,\n"
      " 220190.744668525 150474.620570464,220189.86293234 150472.297379659,220189.096251815 150469.933722495,\n"
      " 220188.446473951 150467.535293229,220187.915164118 150465.107869888,220187.50360229 150462.657300346,\n"
      " 220187.212779953 150460.189488241,220187.043397726 150457.710378749,220186.995863664 150455.22594426,\n"
      " 220187.070292282 150452.742169995,220187.266504273 150450.265039585,220187.584026947 150447.800520653,\n"
      " 220188.022095363 150445.35455044,220188.579654177 150442.933021505,220189.25536018 150440.541767521,\n"
      " 220190.047585536 150438.18654923,220190.954421707 150435.873040558,220191.973684044 150433.60681495,\n"
      " 220193.102917055 150431.393331943,220194.339400319 150429.237924011,220195.680155039 150427.14578372,220197.12195122 150425.12195122,\n"
      " 220198.661315447 150423.171302099,220200.29453926 150421.298535644,220202.017688077 150419.508163512,220203.826610682 150417.804498867,\n"
      " 220205.716949223 150416.191645986,220207.684149708 150414.673490372,220209.72347298 150413.253689397,220211.830006129 150411.935663483,\n"
      " 220213.998674333 150410.722587873,220216.22425308 150409.61738497,220218.501380756 150408.622717305,220220.824571561 150407.740981121,\n"
      " 220223.188228725 150406.974300596,220225.586657991 150406.324522731,220227 150406)\n"
      "\n"
      "--3d example\n"
      "SELECT ST_AsEWKT(ST_CurveToLine(ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 150406 3)')));\n"
      "Output\n"
      "------\n"
      " LINESTRING(220268 150415 1,220269.95064912 150416.539364228 1.0181172856673,\n"
      " 220271.823415575 150418.17258804 1.03623457133459,220273.613787707 150419.895736857 1.05435185700189,....AD INFINITUM ....\n"
      "        220225.586657991 150406.324522731 1.32611114201132,220227 150406 3)\n"
      "\n"
      "--use only 2 segments to approximate quarter circle\n"
      "SELECT ST_AsText(ST_CurveToLine(ST_GeomFromText('CIRCULARSTRING(220268 150415,220227 150505,220227 150406)'),2));\n"
      "st_astext\n"
      "------------------------------\n"
      " LINESTRING(220268 150415,220287.740300149 150448.342699654,220278.12195122 150485.87804878,\n"
      " 220244.779251566 150505.61834893,220207.243902439 150496,220187.50360229 150462.657300346,\n"
      " 220197.12195122 150425.12195122,220227 150406)"
msgstr ""

#. Tag: refname
#: reference_processing.xml:683
#, no-c-format
msgid "ST_DelaunayTriangles"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:685
#, no-c-format
msgid "Return a Delaunay triangulation around the given input points."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:692
#, no-c-format
msgid "<funcdef>geometry <function>ST_DelaunayTriangles</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef> <paramdef><type>float </type> <parameter>tolerance</parameter></paramdef> <paramdef><type>int4 </type> <parameter>flags</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:704
#, no-c-format
msgid "Return a <ulink url=\"http://en.wikipedia.org/wiki/Delaunay_triangulation\">Delaunay triangulation</ulink> around the vertices of the input geometry. Output is a COLLECTION of polygons (for flags=0) or a MULTILINESTRING (for flags=1) or TIN (for flags=2). The tolerance, if any, is used to snap input vertices togheter."
msgstr ""

#. Tag: para
#: reference_processing.xml:713
#, no-c-format
msgid "Availability: 2.1.0 - requires GEOS &gt;= 3.4.0."
msgstr ""

#. Tag: para
#: reference_processing.xml:715 reference_processing.xml:904 reference_processing.xml:959 reference_processing.xml:1062 reference_processing.xml:1883 reference_processing.xml:2474
#, no-c-format
msgid "&T_support;"
msgstr ""

#. Tag: title
#: reference_processing.xml:719
#, no-c-format
msgid "2D Examples"
msgstr ""

#. Tag: para
#: reference_processing.xml:728
#, no-c-format
msgid "Original polygons"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:731
#, no-c-format
msgid ""
      "-- our original geometry --\n"
      "        ST_Union(ST_GeomFromText('POLYGON((175 150, 20 40,\n"
      "                        50 60, 125 100, 175 150))'),\n"
      "                ST_Buffer(ST_GeomFromText('POINT(110 170)'), 20)\n"
      "                )"
msgstr ""

#. Tag: para
#: reference_processing.xml:739
#, no-c-format
msgid "ST_DelaunayTriangles of 2 polygons: delaunay triangle polygons each triangle themed in different color"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:742
#, no-c-format
msgid ""
      "-- geometries overlaid multilinestring triangles\n"
      "SELECT\n"
      "        ST_DelaunayTriangles(\n"
      "                ST_Union(ST_GeomFromText('POLYGON((175 150, 20 40,\n"
      "                        50 60, 125 100, 175 150))'),\n"
      "                ST_Buffer(ST_GeomFromText('POINT(110 170)'), 20)\n"
      "                ))\n"
      "         As  dtriag;"
msgstr ""

#. Tag: para
#: reference_processing.xml:749
#, no-c-format
msgid "-- delaunay triangles as multilinestring"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:752
#, no-c-format
msgid ""
      "SELECT\n"
      "        ST_DelaunayTriangles(\n"
      "                ST_Union(ST_GeomFromText('POLYGON((175 150, 20 40,\n"
      "                        50 60, 125 100, 175 150))'),\n"
      "                ST_Buffer(ST_GeomFromText('POINT(110 170)'), 20)\n"
      "                ),0.001,1)\n"
      "         As  dtriag;"
msgstr ""

#. Tag: para
#: reference_processing.xml:760
#, no-c-format
msgid "-- delaunay triangles of 45 points as 55 triangle polygons"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:763
#, no-c-format
msgid ""
      "-- this produces a table of 42 points that form an L shape\n"
      "SELECT (ST_DumpPoints(ST_GeomFromText(\n"
      "'MULTIPOINT(14 14,34 14,54 14,74 14,94 14,114 14,134 14,\n"
      "150 14,154 14,154 6,134 6,114 6,94 6,74 6,54 6,34 6,\n"
      "14 6,10 6,8 6,7 7,6 8,6 10,6 30,6 50,6 70,6 90,6 110,6 130,\n"
      "6 150,6 170,6 190,6 194,14 194,14 174,14 154,14 134,14 114,\n"
      "14 94,14 74,14 54,14 34,14 14)'))).geom\n"
      "        INTO TABLE l_shape;\n"
      "-- output as individual polygon triangles\n"
      "SELECT ST_AsText((ST_Dump(geom)).geom) As wkt\n"
      "FROM ( SELECT ST_DelaunayTriangles(ST_Collect(geom)) As geom\n"
      "FROM l_shape) As foo;\n"
      "\n"
      "---wkt ---\n"
      "POLYGON((6 194,6 190,14 194,6 194))\n"
      "POLYGON((14 194,6 190,14 174,14 194))\n"
      "POLYGON((14 194,14 174,154 14,14 194))\n"
      "POLYGON((154 14,14 174,14 154,154 14))\n"
      "POLYGON((154 14,14 154,150 14,154 14))\n"
      "POLYGON((154 14,150 14,154 6,154 14))\n"
      ":\n"
      ":"
msgstr ""

#. Tag: title
#: reference_processing.xml:772
#, no-c-format
msgid "3D Examples"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:773
#, no-c-format
msgid ""
      "-- 3D multipoint --\n"
      "SELECT ST_AsText(ST_DelaunayTriangles(ST_GeomFromText(\n"
      "'MULTIPOINT Z(14 14 10,\n"
      "150 14 100,34 6 25, 20 10 150)'))) As wkt;\n"
      "\n"
      "-----wkt----\n"
      "GEOMETRYCOLLECTION Z (POLYGON Z ((14 14 10,20 10 150,34 6 25,14 14 10))\n"
      " ,POLYGON Z ((14 14 10,34 6 25,150 14 100,14 14 10)))"
msgstr ""

#. Tag: para
#: reference_processing.xml:777 reference_processing.xml:1520
#, no-c-format
msgid ", <xref linkend=\"ST_Dump\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:784
#, no-c-format
msgid "ST_Difference"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:786
#, no-c-format
msgid "Returns a geometry that represents that part of geometry A that does not intersect with geometry B."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:792
#, no-c-format
msgid "<funcdef>geometry <function>ST_Difference</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef> <paramdef><type>geometry </type> <parameter>geomB</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:803
#, no-c-format
msgid "Returns a geometry that represents that part of geometry A that does not intersect with geometry B. One can think of this as GeometryA - ST_Intersection(A,B). If A is completely contained in B then an empty geometry collection is returned."
msgstr ""

#. Tag: para
#: reference_processing.xml:806
#, no-c-format
msgid "Note - order matters. B - A will always return a portion of B"
msgstr ""

#. Tag: para
#: reference_processing.xml:810 reference_processing.xml:2303
#, no-c-format
msgid "Do not call with a GeometryCollection as an argument"
msgstr ""

#. Tag: para
#: reference_processing.xml:813
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.20"
msgstr ""

#. Tag: para
#: reference_processing.xml:814 reference_processing.xml:2307
#, no-c-format
msgid "&Z_support; However it seems to only consider x y when doing the difference and tacks back on the Z-Index"
msgstr ""

#. Tag: para
#: reference_processing.xml:831
#, no-c-format
msgid "The original linestrings shown together."
msgstr ""

#. Tag: para
#: reference_processing.xml:843
#, no-c-format
msgid "The difference of the two linestrings"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:852
#, no-c-format
msgid ""
      "--Safe for 2d. This is same geometries as what is shown for st_symdifference\n"
      "SELECT ST_AsText(\n"
      "        ST_Difference(\n"
      "                        ST_GeomFromText('LINESTRING(50 100, 50 200)'),\n"
      "                        ST_GeomFromText('LINESTRING(50 50, 50 150)')\n"
      "                )\n"
      "        );\n"
      "\n"
      "st_astext\n"
      "---------\n"
      "LINESTRING(50 150,50 200)"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:854
#, no-c-format
msgid ""
      "--When used in 3d doesn't quite do the right thing\n"
      "SELECT ST_AsEWKT(ST_Difference(ST_GeomFromEWKT('MULTIPOINT(-118.58 38.38 5,-118.60 38.329 6,-118.614 38.281 7)'), ST_GeomFromEWKT('POINT(-118.614 38.281 5)')));\n"
      "st_asewkt\n"
      "---------\n"
      "MULTIPOINT(-118.6 38.329 6,-118.58 38.38 5)"
msgstr ""

#. Tag: refname
#: reference_processing.xml:867
#, no-c-format
msgid "ST_Dump"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:868
#, no-c-format
msgid "Returns a set of geometry_dump (geom,path) rows, that make up a geometry g1."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:873
#, no-c-format
msgid "<funcdef>geometry_dump[] <function>ST_Dump</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:882
#, no-c-format
msgid "This is a set-returning function (SRF). It returns a set of geometry_dump rows, formed by a geometry (geom) and an array of integers (path). When the input geometry is a simple type (POINT,LINESTRING,POLYGON) a single record will be returned with an empty path array and the input geometry as geom. When the input geometry is a collection or multi it will return a record for each of the collection components, and the path will express the position of the component inside the collection."
msgstr ""

#. Tag: para
#: reference_processing.xml:891
#, no-c-format
msgid "ST_Dump is useful for expanding geometries. It is the reverse of a GROUP BY in that it creates new rows. For example it can be use to expand MULTIPOLYGONS into POLYGONS."
msgstr ""

#. Tag: para
#: reference_processing.xml:895 reference_processing.xml:955
#, no-c-format
msgid "Enhanced: 2.0.0 support for Polyhedral surfaces, Triangles and TIN was introduced."
msgstr ""

#. Tag: para
#: reference_processing.xml:896
#, no-c-format
msgid "Availability: PostGIS 1.0.0RC1. Requires PostgreSQL 7.3 or higher."
msgstr ""

#. Tag: para
#: reference_processing.xml:898
#, no-c-format
msgid "Prior to 1.3.4, this function crashes if used with geometries that contain CURVES. This is fixed in 1.3.4+"
msgstr ""

#. Tag: para
#: reference_processing.xml:903 reference_processing.xml:958 reference_processing.xml:1061 reference_processing.xml:1766 reference_processing.xml:1882 reference_processing.xml:2473
#, no-c-format
msgid "&P_support;"
msgstr ""

#. Tag: title
#: reference_processing.xml:909
#, no-c-format
msgid "Standard Examples"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:910
#, no-c-format
msgid ""
      "SELECT sometable.field1, sometable.field1,\n"
      "      (ST_Dump(sometable.the_geom)).geom AS the_geom\n"
      "FROM sometable;\n"
      "\n"
      "-- Break a compound curve into its constituent linestrings and circularstrings\n"
      "SELECT ST_AsEWKT(a.geom), ST_HasArc(a.geom)\n"
      "  FROM ( SELECT (ST_Dump(p_geom)).geom AS geom\n"
      "         FROM (SELECT ST_GeomFromEWKT('COMPOUNDCURVE(CIRCULARSTRING(0 0, 1 1, 1 0),(1 0, 0 1))') AS p_geom) AS b\n"
      "        ) AS a;\n"
      "          st_asewkt          | st_hasarc\n"
      "-----------------------------+----------\n"
      " CIRCULARSTRING(0 0,1 1,1 0) | t\n"
      " LINESTRING(1 0,0 1)         | f\n"
      "(2 rows)"
msgstr ""

#. Tag: title
#: reference_processing.xml:912 reference_processing.xml:980
#, no-c-format
msgid "Polyhedral Surfaces, TIN and Triangle Examples"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:913
#, no-c-format
msgid ""
      "-- Polyhedral surface example\n"
      "-- Break a Polyhedral surface into its faces\n"
      "SELECT (a.p_geom).path[1] As path, ST_AsEWKT((a.p_geom).geom) As geom_ewkt\n"
      "  FROM (SELECT ST_Dump(ST_GeomFromEWKT('POLYHEDRALSURFACE(\n"
      "((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)),\n"
      "((0 0 0, 0 1 0, 1 1 0, 1 0 0, 0 0 0)), ((0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 0 0)),  ((1 1 0, 1 1 1, 1 0 1, 1 0 0, 1 1 0)),\n"
      "((0 1 0, 0 1 1, 1 1 1, 1 1 0, 0 1 0)),  ((0 0 1, 1 0 1, 1 1 1, 0 1 1, 0 0 1))\n"
      ")') ) AS p_geom )  AS a;\n"
      "\n"
      " path |                geom_ewkt\n"
      "------+------------------------------------------\n"
      "    1 | POLYGON((0 0 0,0 0 1,0 1 1,0 1 0,0 0 0))\n"
      "    2 | POLYGON((0 0 0,0 1 0,1 1 0,1 0 0,0 0 0))\n"
      "    3 | POLYGON((0 0 0,1 0 0,1 0 1,0 0 1,0 0 0))\n"
      "    4 | POLYGON((1 1 0,1 1 1,1 0 1,1 0 0,1 1 0))\n"
      "    5 | POLYGON((0 1 0,0 1 1,1 1 1,1 1 0,0 1 0))\n"
      "    6 | POLYGON((0 0 1,1 0 1,1 1 1,0 1 1,0 0 1))"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:915
#, no-c-format
msgid ""
      "-- TIN --\n"
      "SELECT (g.gdump).path, ST_AsEWKT((g.gdump).geom) as wkt\n"
      "  FROM\n"
      "    (SELECT\n"
      "       ST_Dump( ST_GeomFromEWKT('TIN (((\n"
      "                0 0 0,\n"
      "                0 0 1,\n"
      "                0 1 0,\n"
      "                0 0 0\n"
      "            )), ((\n"
      "                0 0 0,\n"
      "                0 1 0,\n"
      "                1 1 0,\n"
      "                0 0 0\n"
      "            ))\n"
      "            )') ) AS gdump\n"
      "    ) AS g;\n"
      "-- result --\n"
      " path |                 wkt\n"
      "------+-------------------------------------\n"
      " {1}  | TRIANGLE((0 0 0,0 0 1,0 1 0,0 0 0))\n"
      " {2}  | TRIANGLE((0 0 0,0 1 0,1 1 0,0 0 0))"
msgstr ""

#. Tag: para
#: reference_processing.xml:919
#, no-c-format
msgid ", <xref linkend=\"PostGIS_Geometry_DumpFunctions\"/>, <xref linkend=\"ST_Collect\"/>, <xref linkend=\"ST_Collect\"/>, <xref linkend=\"ST_GeometryN\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:925
#, no-c-format
msgid "ST_DumpPoints"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:926
#, no-c-format
msgid "Returns a set of geometry_dump (geom,path) rows of all points that make up a geometry."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:931
#, no-c-format
msgid "<funcdef>geometry_dump[]<function>ST_DumpPoints</function></funcdef> <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:940
#, no-c-format
msgid "This set-returning function (SRF) returns a set of <varname>geometry_dump</varname> rows formed by a geometry (<varname>geom</varname>) and an array of integers (<varname>path</varname>)."
msgstr ""

#. Tag: para
#: reference_processing.xml:943
#, no-c-format
msgid "The <parameter>geom</parameter> component of <varname>geometry_dump</varname> are all the <varname>POINT</varname>s that make up the supplied geometry"
msgstr ""

#. Tag: para
#: reference_processing.xml:946
#, no-c-format
msgid "The <parameter>path</parameter> component of <varname>geometry_dump</varname> (an <varname>integer[]</varname>) is an index reference enumerating the <varname>POINT</varname>s of the supplied geometry. For example, if a <varname>LINESTRING</varname> is supplied, a path of <varname>{i}</varname> is returned where <varname>i</varname> is the <varname>nth</varname> coordinate in the <varname>LINESTRING</varname>. If a <varname>POLYGON</varname> is supplied, a path of <varname>{i,j}</varname> is returned where <varname>i</varname> is the ring number (1 is outer; inner rings follow) and <varname>j</varname> enumerates the <varname>POINT</varname>s (again 1-based index)."
msgstr ""

#. Tag: para
#: reference_processing.xml:954
#, no-c-format
msgid "Enhanced: 2.1.0 Faster speed. Reimplemented as native-C."
msgstr ""

#. Tag: para
#: reference_processing.xml:956
#, no-c-format
msgid "Availability: 1.5.0"
msgstr ""

#. Tag: title
#: reference_processing.xml:963
#, no-c-format
msgid "Classic Explode a Table of LineStrings into nodes"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:964
#, no-c-format
msgid ""
      "SELECT edge_id, (dp).path[1] As index, ST_AsText((dp).geom) As wktnode\n"
      "FROM (SELECT 1 As edge_id\n"
      "        , ST_DumpPoints(ST_GeomFromText('LINESTRING(1 2, 3 4, 10 10)')) AS dp\n"
      "     UNION ALL\n"
      "     SELECT 2 As edge_id\n"
      "        , ST_DumpPoints(ST_GeomFromText('LINESTRING(3 5, 5 6, 9 10)')) AS dp\n"
      "   ) As foo;\n"
      " edge_id | index |    wktnode\n"
      "---------+-------+--------------\n"
      "       1 |     1 | POINT(1 2)\n"
      "       1 |     2 | POINT(3 4)\n"
      "       1 |     3 | POINT(10 10)\n"
      "       2 |     1 | POINT(3 5)\n"
      "       2 |     2 | POINT(5 6)\n"
      "       2 |     3 | POINT(9 10)"
msgstr ""

#. Tag: title
#: reference_processing.xml:967
#, no-c-format
msgid "Standard Geometry Examples"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:977
#, no-c-format
msgid ""
      "SELECT path, ST_AsText(geom)\n"
      "FROM (\n"
      "  SELECT (ST_DumpPoints(g.geom)).*\n"
      "  FROM\n"
      "    (SELECT\n"
      "       'GEOMETRYCOLLECTION(\n"
      "          POINT ( 0 1 ),\n"
      "          LINESTRING ( 0 3, 3 4 ),\n"
      "          POLYGON (( 2 0, 2 3, 0 2, 2 0 )),\n"
      "          POLYGON (( 3 0, 3 3, 6 3, 6 0, 3 0 ),\n"
      "                   ( 5 1, 4 2, 5 2, 5 1 )),\n"
      "          MULTIPOLYGON (\n"
      "                  (( 0 5, 0 8, 4 8, 4 5, 0 5 ),\n"
      "                   ( 1 6, 3 6, 2 7, 1 6 )),\n"
      "                  (( 5 4, 5 8, 6 7, 5 4 ))\n"
      "          )\n"
      "        )'::geometry AS geom\n"
      "    ) AS g\n"
      "  ) j;\n"
      "\n"
      "   path    | st_astext\n"
      "-----------+------------\n"
      " {1,1}     | POINT(0 1)\n"
      " {2,1}     | POINT(0 3)\n"
      " {2,2}     | POINT(3 4)\n"
      " {3,1,1}   | POINT(2 0)\n"
      " {3,1,2}   | POINT(2 3)\n"
      " {3,1,3}   | POINT(0 2)\n"
      " {3,1,4}   | POINT(2 0)\n"
      " {4,1,1}   | POINT(3 0)\n"
      " {4,1,2}   | POINT(3 3)\n"
      " {4,1,3}   | POINT(6 3)\n"
      " {4,1,4}   | POINT(6 0)\n"
      " {4,1,5}   | POINT(3 0)\n"
      " {4,2,1}   | POINT(5 1)\n"
      " {4,2,2}   | POINT(4 2)\n"
      " {4,2,3}   | POINT(5 2)\n"
      " {4,2,4}   | POINT(5 1)\n"
      " {5,1,1,1} | POINT(0 5)\n"
      " {5,1,1,2} | POINT(0 8)\n"
      " {5,1,1,3} | POINT(4 8)\n"
      " {5,1,1,4} | POINT(4 5)\n"
      " {5,1,1,5} | POINT(0 5)\n"
      " {5,1,2,1} | POINT(1 6)\n"
      " {5,1,2,2} | POINT(3 6)\n"
      " {5,1,2,3} | POINT(2 7)\n"
      " {5,1,2,4} | POINT(1 6)\n"
      " {5,2,1,1} | POINT(5 4)\n"
      " {5,2,1,2} | POINT(5 8)\n"
      " {5,2,1,3} | POINT(6 7)\n"
      " {5,2,1,4} | POINT(5 4)\n"
      "(29 rows)"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:981
#, no-c-format
msgid ""
      "-- Polyhedral surface cube --\n"
      "SELECT (g.gdump).path, ST_AsEWKT((g.gdump).geom) as wkt\n"
      "  FROM\n"
      "    (SELECT\n"
      "       ST_DumpPoints(ST_GeomFromEWKT('POLYHEDRALSURFACE( ((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)),\n"
      "((0 0 0, 0 1 0, 1 1 0, 1 0 0, 0 0 0)), ((0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 0 0)),\n"
      "((1 1 0, 1 1 1, 1 0 1, 1 0 0, 1 1 0)),\n"
      "((0 1 0, 0 1 1, 1 1 1, 1 1 0, 0 1 0)), ((0 0 1, 1 0 1, 1 1 1, 0 1 1, 0 0 1)) )') ) AS gdump\n"
      "    ) AS g;\n"
      "-- result --\n"
      "  path   |     wkt\n"
      "---------+--------------\n"
      " {1,1,1} | POINT(0 0 0)\n"
      " {1,1,2} | POINT(0 0 1)\n"
      " {1,1,3} | POINT(0 1 1)\n"
      " {1,1,4} | POINT(0 1 0)\n"
      " {1,1,5} | POINT(0 0 0)\n"
      " {2,1,1} | POINT(0 0 0)\n"
      " {2,1,2} | POINT(0 1 0)\n"
      " {2,1,3} | POINT(1 1 0)\n"
      " {2,1,4} | POINT(1 0 0)\n"
      " {2,1,5} | POINT(0 0 0)\n"
      " {3,1,1} | POINT(0 0 0)\n"
      " {3,1,2} | POINT(1 0 0)\n"
      " {3,1,3} | POINT(1 0 1)\n"
      " {3,1,4} | POINT(0 0 1)\n"
      " {3,1,5} | POINT(0 0 0)\n"
      " {4,1,1} | POINT(1 1 0)\n"
      " {4,1,2} | POINT(1 1 1)\n"
      " {4,1,3} | POINT(1 0 1)\n"
      " {4,1,4} | POINT(1 0 0)\n"
      " {4,1,5} | POINT(1 1 0)\n"
      " {5,1,1} | POINT(0 1 0)\n"
      " {5,1,2} | POINT(0 1 1)\n"
      " {5,1,3} | POINT(1 1 1)\n"
      " {5,1,4} | POINT(1 1 0)\n"
      " {5,1,5} | POINT(0 1 0)\n"
      " {6,1,1} | POINT(0 0 1)\n"
      " {6,1,2} | POINT(1 0 1)\n"
      " {6,1,3} | POINT(1 1 1)\n"
      " {6,1,4} | POINT(0 1 1)\n"
      " {6,1,5} | POINT(0 0 1)\n"
      "(30 rows)"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:982
#, no-c-format
msgid ""
      "-- Triangle --\n"
      "SELECT (g.gdump).path, ST_AsText((g.gdump).geom) as wkt\n"
      "  FROM\n"
      "    (SELECT\n"
      "       ST_DumpPoints( ST_GeomFromEWKT('TRIANGLE ((\n"
      "                0 0,\n"
      "                0 9,\n"
      "                9 0,\n"
      "                0 0\n"
      "            ))') ) AS gdump\n"
      "    ) AS g;\n"
      "-- result --\n"
      " path |    wkt\n"
      "------+------------\n"
      " {1}  | POINT(0 0)\n"
      " {2}  | POINT(0 9)\n"
      " {3}  | POINT(9 0)\n"
      " {4}  | POINT(0 0)"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:983
#, no-c-format
msgid ""
      "-- TIN --\n"
      "SELECT (g.gdump).path, ST_AsEWKT((g.gdump).geom) as wkt\n"
      "  FROM\n"
      "    (SELECT\n"
      "       ST_DumpPoints( ST_GeomFromEWKT('TIN (((\n"
      "                0 0 0,\n"
      "                0 0 1,\n"
      "                0 1 0,\n"
      "                0 0 0\n"
      "            )), ((\n"
      "                0 0 0,\n"
      "                0 1 0,\n"
      "                1 1 0,\n"
      "                0 0 0\n"
      "            ))\n"
      "            )') ) AS gdump\n"
      "    ) AS g;\n"
      "-- result --\n"
      "  path   |     wkt\n"
      "---------+--------------\n"
      " {1,1,1} | POINT(0 0 0)\n"
      " {1,1,2} | POINT(0 0 1)\n"
      " {1,1,3} | POINT(0 1 0)\n"
      " {1,1,4} | POINT(0 0 0)\n"
      " {2,1,1} | POINT(0 0 0)\n"
      " {2,1,2} | POINT(0 1 0)\n"
      " {2,1,3} | POINT(1 1 0)\n"
      " {2,1,4} | POINT(0 0 0)\n"
      "(8 rows)"
msgstr ""

#. Tag: para
#: reference_processing.xml:987
#, no-c-format
msgid ", <xref linkend=\"PostGIS_Geometry_DumpFunctions\"/>, <xref linkend=\"ST_Dump\"/>, <xref linkend=\"ST_DumpRings\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:992
#, no-c-format
msgid "ST_DumpRings"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:994
#, no-c-format
msgid "Returns a set of <varname>geometry_dump</varname> rows, representing the exterior and interior rings of a polygon."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1000
#, no-c-format
msgid "<funcdef>geometry_dump[] <function>ST_DumpRings</function></funcdef> <paramdef><type>geometry </type> <parameter>a_polygon</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1010
#, no-c-format
msgid "This is a set-returning function (SRF). It returns a set of <varname>geometry_dump</varname> rows, defined as an <varname>integer[]</varname> and a <varname>geometry</varname>, aliased \"path\" and \"geom\" respectively. The \"path\" field holds the polygon ring index containing a single integer: 0 for the shell, >0 for holes. The \"geom\" field contains the corresponding ring as a polygon."
msgstr ""

#. Tag: para
#: reference_processing.xml:1016
#, no-c-format
msgid "Availability: PostGIS 1.1.3. Requires PostgreSQL 7.3 or higher."
msgstr ""

#. Tag: para
#: reference_processing.xml:1017
#, no-c-format
msgid "This only works for POLYGON geometries. It will not work for MULTIPOLYGONS"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1025
#, no-c-format
msgid ""
      "SELECT sometable.field1, sometable.field1,\n"
      "          (ST_DumpRings(sometable.the_geom)).geom As the_geom\n"
      "FROM sometableOfpolys;\n"
      "\n"
      "SELECT ST_AsEWKT(geom) As the_geom, path\n"
      "        FROM ST_DumpRings(\n"
      "                ST_GeomFromEWKT('POLYGON((-8149064 5133092 1,-8149064 5132986 1,-8148996 5132839 1,-8148972 5132767 1,-8148958 5132508 1,-8148941 5132466 1,-8148924 5132394 1,\n"
      "                -8148903 5132210 1,-8148930 5131967 1,-8148992 5131978 1,-8149237 5132093 1,-8149404 5132211 1,-8149647 5132310 1,-8149757 5132394 1,\n"
      "                -8150305 5132788 1,-8149064 5133092 1),\n"
      "                (-8149362 5132394 1,-8149446 5132501 1,-8149548 5132597 1,-8149695 5132675 1,-8149362 5132394 1))')\n"
      "                )  as foo;\n"
      " path |                                            the_geom\n"
      "----------------------------------------------------------------------------------------------------------------\n"
      "  {0} | POLYGON((-8149064 5133092 1,-8149064 5132986 1,-8148996 5132839 1,-8148972 5132767 1,-8148958 5132508 1,\n"
      "          |          -8148941 5132466 1,-8148924 5132394 1,\n"
      "          |          -8148903 5132210 1,-8148930 5131967 1,\n"
      "          |          -8148992 5131978 1,-8149237 5132093 1,\n"
      "          |          -8149404 5132211 1,-8149647 5132310 1,-8149757 5132394 1,-8150305 5132788 1,-8149064 5133092 1))\n"
      "  {1} | POLYGON((-8149362 5132394 1,-8149446 5132501 1,\n"
      "          |          -8149548 5132597 1,-8149695 5132675 1,-8149362 5132394 1))"
msgstr ""

#. Tag: para
#: reference_processing.xml:1032
#, no-c-format
msgid ", <xref linkend=\"PostGIS_Geometry_DumpFunctions\"/>, <xref linkend=\"ST_Dump\"/>, <xref linkend=\"ST_ExteriorRing\"/>, <xref linkend=\"ST_InteriorRingN\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1038
#, no-c-format
msgid "ST_FlipCoordinates"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1039
#, no-c-format
msgid "Returns a version of the given geometry with X and Y axis flipped. Useful for people who have built latitude/longitude features and need to fix them."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1047
#, no-c-format
msgid "<funcdef>geometry <function>ST_FlipCoordinates</function></funcdef> <paramdef><type>geometry</type> <parameter>geom</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1056
#, no-c-format
msgid "Returns a version of the given geometry with X and Y axis flipped."
msgstr ""

#. Tag: para
#: reference_processing.xml:1060 reference_processing.xml:2472
#, no-c-format
msgid "&M_support;"
msgstr ""

#. Tag: title
#: reference_processing.xml:1066 reference_processing.xml:2478
#, no-c-format
msgid "Example"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1067
#, no-c-format
msgid ""
      "<![CDATA[\n"
      "SELECT ST_AsEWKT(ST_FlipCoordinates(GeomFromEWKT('POINT(1 2)')));\n"
      " st_asewkt\n"
      "------------\n"
      "POINT(2 1)\n"
      "                 ]]>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1080
#, no-c-format
msgid "ST_GeneratePoints"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1082
#, no-c-format
msgid "Converts a polygon or multi-polygon into a multi-point composed of randomly location points within the original areas."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1087
#, no-c-format
msgid "<funcdef>geometry <function>ST_GeneratePoints</function></funcdef> <paramdef> <parameter>g</parameter> <type>geometry</type> </paramdef> <paramdef> <parameter>npoints</parameter> <type>numeric</type> </paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1105
#, no-c-format
msgid "ST_GeneratePoints generates pseudo-random points until the requested number are found within the input area."
msgstr ""

#. Tag: para
#: reference_processing.xml:1110 reference_processing.xml:1935
#, no-c-format
msgid "Availability: 2.3.0"
msgstr ""

#. Tag: para
#: reference_processing.xml:1126
#, no-c-format
msgid "Original Polygon"
msgstr ""

#. Tag: para
#: reference_processing.xml:1137
#, no-c-format
msgid "Generated 12 Points overlaid on top of original polygon"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1140
#, no-c-format
msgid ""
      "SELECT ST_GeneratePoints(\n"
      "        ST_Buffer(\n"
      "                ST_GeomFromText(\n"
      "                'LINESTRING(50 50,150 150,150 50)'\n"
      "                ), 10, 'endcap=round join=round'), 12);"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1152
#, no-c-format
msgid "ST_Intersection"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1154
#, no-c-format
msgid "(T) Returns a geometry that represents the shared portion of geomA and geomB."
msgstr ""

#. Tag: funcsynopsis
#: reference_processing.xml:1160
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_Intersection</function></funcdef> <paramdef> <type>geometry</type> <parameter>geomA</parameter> </paramdef> <paramdef> <type>geometry</type> <parameter>geomB</parameter> </paramdef> </funcprototype> <funcprototype> <funcdef>geography <function>ST_Intersection</function></funcdef> <paramdef> <type>geography</type> <parameter>geogA</parameter> </paramdef> <paramdef> <type>geography</type> <parameter>geogB</parameter> </paramdef> </funcprototype>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1187
#, no-c-format
msgid "Returns a geometry that represents the point set intersection of the Geometries."
msgstr ""

#. Tag: para
#: reference_processing.xml:1190
#, no-c-format
msgid "In other words - that portion of geometry A and geometry B that is shared between the two geometries."
msgstr ""

#. Tag: para
#: reference_processing.xml:1193
#, no-c-format
msgid "If the geometries do not share any space (are disjoint), then an empty geometry collection is returned."
msgstr ""

#. Tag: para
#: reference_processing.xml:1195
#, no-c-format
msgid "ST_Intersection in conjunction with ST_Intersects is very useful for clipping geometries such as in bounding box, buffer, region queries where you only want to return that portion of a geometry that sits in a country or region of interest."
msgstr ""

#. Tag: para
#: reference_processing.xml:1198
#, no-c-format
msgid "Geography: For geography this is really a thin wrapper around the geometry implementation. It first determines the best SRID that fits the bounding box of the 2 geography objects (if geography objects are within one half zone UTM but not same UTM will pick one of those) (favoring UTM or Lambert Azimuthal Equal Area (LAEA) north/south pole, and falling back on mercator in worst case scenario) and then intersection in that best fit planar spatial ref and retransforms back to WGS84 geography."
msgstr ""

#. Tag: para
#: reference_processing.xml:1201
#, no-c-format
msgid "Do not call with a <varname>GEOMETRYCOLLECTION</varname> as an argument"
msgstr ""

#. Tag: para
#: reference_processing.xml:1204
#, no-c-format
msgid "If working with 3D geometries, you may want to use SFGCAL based <xref linkend=\"ST_3DIntersection\"/> which does a proper 3D intersection for 3D geometries. Although this function works with Z-coordinate, it does an averaging of Z-Coordinate values when <code>postgis.backend=geos</code>. <code>postgis.backend=sfcgal</code>, it will return a 2D geometry regardless ignoring the Z-Coordinate. Refer to <xref linkend=\"postgis_backend\"/> for details."
msgstr ""

#. Tag: para
#: reference_processing.xml:1207
#, no-c-format
msgid "&sfcgal_enhanced;"
msgstr ""

#. Tag: para
#: reference_processing.xml:1209
#, no-c-format
msgid "Availability: 1.5 support for geography data type was introduced."
msgstr ""

#. Tag: para
#: reference_processing.xml:1212
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.18"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1216
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_Intersection('POINT(0 0)'::geometry, 'LINESTRING ( 2 0, 0 2 )'::geometry));\n"
      " st_astext\n"
      "---------------\n"
      "GEOMETRYCOLLECTION EMPTY\n"
      "(1 row)\n"
      "SELECT ST_AsText(ST_Intersection('POINT(0 0)'::geometry, 'LINESTRING ( 0 0, 0 2 )'::geometry));\n"
      " st_astext\n"
      "---------------\n"
      "POINT(0 0)\n"
      "(1 row)\n"
      "\n"
      "---Clip all lines (trails) by country (here we assume country geom are POLYGON or MULTIPOLYGONS)\n"
      "-- NOTE: we are only keeping intersections that result in a LINESTRING or MULTILINESTRING because we don't\n"
      "-- care about trails that just share a point\n"
      "-- the dump is needed to expand a geometry collection into individual single MULT* parts\n"
      "-- the below is fairly generic and will work for polys, etc. by just changing the where clause\n"
      "SELECT clipped.gid, clipped.f_name, clipped_geom\n"
      "FROM (SELECT trails.gid, trails.f_name, (ST_Dump(ST_Intersection(country.the_geom, trails.the_geom))).geom As clipped_geom\n"
      "FROM country\n"
      "        INNER JOIN trails\n"
      "        ON ST_Intersects(country.the_geom, trails.the_geom))  As clipped\n"
      "        WHERE ST_Dimension(clipped.clipped_geom) = 1 ;\n"
      "\n"
      "--For polys e.g. polygon landmarks, you can also use the sometimes faster hack that buffering anything by 0.0\n"
      "-- except a polygon results in an empty geometry collection\n"
      "--(so a geometry collection containing polys, lines and points)\n"
      "-- buffered by 0.0 would only leave the polygons and dissolve the collection shell\n"
      "SELECT poly.gid,  ST_Multi(ST_Buffer(\n"
      "                                ST_Intersection(country.the_geom, poly.the_geom),\n"
      "                                0.0)\n"
      "                                ) As clipped_geom\n"
      "FROM country\n"
      "        INNER JOIN poly\n"
      "        ON ST_Intersects(country.the_geom, poly.the_geom)\n"
      "        WHERE Not ST_IsEmpty(ST_Buffer(ST_Intersection(country.the_geom, poly.the_geom),0.0));"
msgstr ""

#. Tag: title
#: reference_processing.xml:1220
#, no-c-format
msgid "Examples: 2.5Dish"
msgstr ""

#. Tag: para
#: reference_processing.xml:1221
#, no-c-format
msgid "Geos is the default backend if not set. Note this is not a true intersection, compare to the same example using <xref linkend=\"ST_3DIntersection\"/>."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1222
#, no-c-format
msgid ""
      "set postgis.backend=geos;\n"
      "select ST_AsText(ST_Intersection(linestring, polygon)) As wkt\n"
      "from  ST_GeomFromText('LINESTRING Z (2 2 6,1.5 1.5 7,1 1 8,0.5 0.5 8,0 0 10)') AS linestring\n"
      " CROSS JOIN ST_GeomFromText('POLYGON((0 0 8, 0 1 8, 1 1 8, 1 0 8, 0 0 8))') AS polygon;\n"
      "\n"
      "               st_astext\n"
      "---------------------------------------\n"
      " LINESTRING Z (1 1 8,0.5 0.5 8,0 0 10)"
msgstr ""

#. Tag: para
#: reference_processing.xml:1224
#, no-c-format
msgid "If your PostGIS is compiled with sfcgal support, have option of using sfcgal, but note if basically cases down both geometries to 2D before doing intersection and returns the ST_Force2D equivalent result which is a 2D geometry"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1226
#, no-c-format
msgid ""
      "set postgis.backend=sfcgal;\n"
      "select ST_AsText(ST_Intersection(linestring, polygon)) As wkt\n"
      "from  ST_GeomFromText('LINESTRING Z (2 2 6,1.5 1.5 7,1 1 8,0.5 0.5 8,0 0 10)') AS linestring\n"
      " CROSS JOIN ST_GeomFromText('POLYGON((0 0 8, 0 1 8, 1 1 8, 1 0 8, 0 0 8))') AS polygon;\n"
      "\n"
      "                     wkt\n"
      "----------------------------------------------\n"
      " MULTILINESTRING((0.5 0.5,0 0),(1 1,0.5 0.5))"
msgstr ""

#. Tag: para
#: reference_processing.xml:1230
#, no-c-format
msgid ", <xref linkend=\"ST_Difference\"/>, <xref linkend=\"ST_Dimension\"/>, <xref linkend=\"ST_Dump\"/>, <xref linkend=\"ST_Force2D\"/>, <xref linkend=\"ST_SymDifference\"/>, <xref linkend=\"ST_Intersects\"/>, <xref linkend=\"ST_Multi\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1236
#, no-c-format
msgid "ST_LineToCurve"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1238
#, no-c-format
msgid "Converts a LINESTRING/POLYGON to a CIRCULARSTRING, CURVEPOLYGON"
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1243
#, no-c-format
msgid "<funcdef>geometry <function>ST_LineToCurve</function></funcdef> <paramdef><type>geometry </type> <parameter>geomANoncircular</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1253
#, no-c-format
msgid "Converts plain LINESTRING/POLYGONS to CIRCULAR STRINGs and Curved Polygons. Note much fewer points are needed to describe the curved equivalent."
msgstr ""

#. Tag: title
#: reference_processing.xml:1262
#, no-c-format
msgid "Examples: 2D"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1264
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_LineToCurve(foo.the_geom)) As curvedastext,ST_AsText(foo.the_geom) As non_curvedastext\n"
      "        FROM (SELECT ST_Buffer('POINT(1 3)'::geometry, 3) As the_geom) As foo;\n"
      "\n"
      "curvedatext                                                            non_curvedastext\n"
      "--------------------------------------------------------------------|-----------------------------------------------------------------\n"
      "CURVEPOLYGON(CIRCULARSTRING(4 3,3.12132034355964 0.878679656440359, | POLYGON((4 3,3.94235584120969 2.41472903395162,3.77163859753386 1.85194970290473,\n"
      "1 0,-1.12132034355965 5.12132034355963,4 3))                        |  3.49440883690764 1.33328930094119,3.12132034355964 0.878679656440359,\n"
      "                                                                    |  2.66671069905881 0.505591163092366,2.14805029709527 0.228361402466141,\n"
      "                                                                    |  1.58527096604839 0.0576441587903094,1 0,\n"
      "                                                                    |  0.414729033951621 0.0576441587903077,-0.148050297095264 0.228361402466137,\n"
      "                                                                    |  -0.666710699058802 0.505591163092361,-1.12132034355964 0.878679656440353,\n"
      "                                                                    |  -1.49440883690763 1.33328930094119,-1.77163859753386 1.85194970290472\n"
      "                                                                    |  --ETC-- ,3.94235584120969 3.58527096604839,4 3))\n"
      "--3D example\n"
      "SELECT ST_AsEWKT(ST_LineToCurve(ST_GeomFromEWKT('LINESTRING(1 2 3, 3 4 8, 5 6 4, 7 8 4, 9 10 4)')));\n"
      "\n"
      "                         st_asewkt\n"
      "------------------------------------\n"
      " CIRCULARSTRING(1 2 3,5 6 4,9 10 4)"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1279
#, no-c-format
msgid "ST_MakeValid"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1280
#, no-c-format
msgid "Attempts to make an invalid geometry valid without losing vertices."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1285
#, no-c-format
msgid "<funcdef>geometry <function>ST_MakeValid</function></funcdef> <paramdef><type>geometry</type> <parameter>input</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1294
#, no-c-format
msgid "The function attempts to create a valid representation of a given invalid geometry without losing any of the input vertices. Already-valid geometries are returned without further intervention."
msgstr ""

#. Tag: para
#: reference_processing.xml:1300
#, no-c-format
msgid "Supported inputs are: POINTS, MULTIPOINTS, LINESTRINGS, MULTILINESTRINGS, POLYGONS, MULTIPOLYGONS and GEOMETRYCOLLECTIONS containing any mix of them."
msgstr ""

#. Tag: para
#: reference_processing.xml:1306
#, no-c-format
msgid "In case of full or partial dimensional collapses, the output geometry may be a collection of lower-to-equal dimension geometries or a geometry of lower dimension."
msgstr ""

#. Tag: para
#: reference_processing.xml:1312
#, no-c-format
msgid "Single polygons may become multi-geometries in case of self-intersections."
msgstr ""

#. Tag: para
#: reference_processing.xml:1316
#, no-c-format
msgid "Availability: 2.0.0, requires GEOS-3.3.0"
msgstr ""

#. Tag: para
#: reference_processing.xml:1317
#, no-c-format
msgid "Enhanced: 2.0.1, speed improvements requires GEOS-3.3.4"
msgstr ""

#. Tag: para
#: reference_processing.xml:1318
#, no-c-format
msgid "Enhanced: 2.1.0 added support for GEOMETRYCOLLECTION and MULTIPOINT."
msgstr ""

#. Tag: refname
#: reference_processing.xml:1335
#, no-c-format
msgid "ST_MemUnion"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1337
#, no-c-format
msgid "Same as ST_Union, only memory-friendly (uses less memory and more processor time)."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1343
#, no-c-format
msgid "<funcdef>geometry <function>ST_MemUnion</function></funcdef> <paramdef><type>geometry set</type> <parameter>geomfield</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1354
#, no-c-format
msgid "Some useful description here."
msgstr ""

#. Tag: para
#: reference_processing.xml:1358
#, no-c-format
msgid "Same as ST_Union, only memory-friendly (uses less memory and more processor time). This aggregate function works by unioning the geometries one at a time to previous result as opposed to ST_Union aggregate which first creates an array and then unions"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1370
#, no-c-format
msgid "See ST_Union"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1383
#, no-c-format
msgid "ST_MinimumBoundingCircle"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1384
#, no-c-format
msgid "Returns the smallest circle polygon that can fully contain a geometry. Default uses 48 segments per quarter circle."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1390
#, no-c-format
msgid "<funcdef>geometry <function>ST_MinimumBoundingCircle</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef> <paramdef choice=\"opt\"><type>integer </type> <parameter>num_segs_per_qt_circ=48</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1400
#, no-c-format
msgid "Returns the smallest circle polygon that can fully contain a geometry."
msgstr ""

#. Tag: para
#: reference_processing.xml:1401
#, no-c-format
msgid "The circle is approximated by a polygon with a default of 48 segments per quarter circle. Because the polygon is an approximation of the minimum bounding circle, some points in the input geometry may not be contained within the polygon. The approximation can be improved by increasing the number of segments, with little performance penalty. For applications where a polygonal approximation is not suitable, ST_MinimumBoundingRadius may be used."
msgstr ""

#. Tag: para
#: reference_processing.xml:1403
#, no-c-format
msgid "It is often used with MULTI and Geometry Collections. Although it is not an aggregate - you can use it in conjunction with ST_Collect to get the minimum bounding circle of a set of geometries. ST_MinimumBoundingCircle(ST_Collect(somepointfield))."
msgstr ""

#. Tag: para
#: reference_processing.xml:1408
#, no-c-format
msgid "The ratio of the area of a polygon divided by the area of its Minimum Bounding Circle is often referred to as the Roeck test."
msgstr ""

#. Tag: para
#: reference_processing.xml:1410
#, no-c-format
msgid "Availability: 1.4.0 - requires GEOS"
msgstr ""

#. Tag: para
#: reference_processing.xml:1415 reference_processing.xml:1433
#, no-c-format
msgid ", <xref linkend=\"ST_MinimumBoundingRadius\"/>"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1420
#, no-c-format
msgid ""
      "SELECT d.disease_type,\n"
      "        ST_MinimumBoundingCircle(ST_Collect(d.the_geom)) As the_geom\n"
      "        FROM disease_obs As d\n"
      "        GROUP BY d.disease_type;"
msgstr ""

#. Tag: para
#: reference_processing.xml:1426
#, no-c-format
msgid "Minimum bounding circle of a point and linestring. Using 8 segs to approximate a quarter circle"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1429
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_MinimumBoundingCircle(\n"
      "                ST_Collect(\n"
      "                        ST_GeomFromEWKT('LINESTRING(55 75,125 150)'),\n"
      "                                ST_Point(20, 80)), 8\n"
      "                                )) As wktmbc;\n"
      "wktmbc\n"
      "-----------\n"
      "POLYGON((135.59714732062 115,134.384753327498 102.690357210921,130.79416296937 90.8537670908995,124.963360620072 79.9451031602111,117.116420743937 70.3835792560632,107.554896839789 62.5366393799277,96.6462329091006 56.70583703063,84.8096427890789 53.115246672502,72.5000000000001 51.9028526793802,60.1903572109213 53.1152466725019,48.3537670908996 56.7058370306299,37.4451031602112 62.5366393799276,27.8835792560632 70.383579256063,20.0366393799278 79.9451031602109,14.20583703063 90.8537670908993,10.615246672502 102.690357210921,9.40285267938019 115,10.6152466725019 127.309642789079,14.2058370306299 139.1462329091,20.0366393799275 150.054896839789,27.883579256063 159.616420743937,\n"
      "37.4451031602108 167.463360620072,48.3537670908992 173.29416296937,60.190357210921 176.884753327498,\n"
      "72.4999999999998 178.09714732062,84.8096427890786 176.884753327498,96.6462329091003 173.29416296937,107.554896839789 167.463360620072,\n"
      "117.116420743937 159.616420743937,124.963360620072 150.054896839789,130.79416296937 139.146232909101,134.384753327498 127.309642789079,135.59714732062 115))"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1439
#, no-c-format
msgid "ST_MinimumBoundingRadius"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1440
#, no-c-format
msgid "Returns the center point and radius of the smallest circle that can fully contain a geometry."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1445
#, no-c-format
msgid "<funcdef>(geometry, double precision) <function>ST_MinimumBoundingRadius</function></funcdef> <paramdef><type>geometry</type> <parameter>geom</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1454
#, no-c-format
msgid "Returns a record containing the center point and radius of the smallest circle that can fully contain a geometry."
msgstr ""

#. Tag: para
#: reference_processing.xml:1455
#, no-c-format
msgid "Can be used in conjunction with <xref linkend=\"ST_Collect\"/> to get the minimum bounding circle of a set of geometries."
msgstr ""

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

#. Tag: para
#: reference_processing.xml:1461
#, no-c-format
msgid ", <xref linkend=\"ST_MinimumBoundingCircle\"/>"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1466
#, no-c-format
msgid ""
      "SELECT ST_AsText(center), radius FROM ST_MinimumBoundingRadius('POLYGON((26426 65078,26531 65242,26075 65136,26096 65427,26426 65078))');\n"
      "\n"
      "                st_astext                 |      radius\n"
      "------------------------------------------+------------------\n"
      " POINT(26284.8418027133 65267.1145090825) | 247.436045591407"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1473
#, no-c-format
msgid "ST_Polygonize"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1475
#, no-c-format
msgid "Aggregate. Creates a GeometryCollection containing possible polygons formed from the constituent linework of a set of geometries."
msgstr ""

#. Tag: funcsynopsis
#: reference_processing.xml:1481
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_Polygonize</function></funcdef> <paramdef><type>geometry set</type> <parameter>geomfield</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_Polygonize</function></funcdef> <paramdef><type>geometry[]</type> <parameter>geom_array</parameter></paramdef> </funcprototype>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1497
#, no-c-format
msgid "Creates a GeometryCollection containing possible polygons formed from the constituent linework of a set of geometries."
msgstr ""

#. Tag: para
#: reference_processing.xml:1502
#, no-c-format
msgid "Geometry Collections are often difficult to deal with with third party tools, so use ST_Polygonize in conjunction with <xref linkend=\"ST_Dump\"/> to dump the polygons out into individual polygons."
msgstr ""

#. Tag: para
#: reference_processing.xml:1510
#, no-c-format
msgid "Availability: 1.0.0RC1 - requires GEOS &gt;= 2.1.0."
msgstr ""

#. Tag: title
#: reference_processing.xml:1514
#, no-c-format
msgid "Examples: Polygonizing single linestrings"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1515
#, no-c-format
msgid ""
      "SELECT ST_AsEWKT(ST_Polygonize(the_geom_4269)) As geomtextrep\n"
      "FROM (SELECT the_geom_4269 FROM ma.suffolk_edges ORDER BY tlid LIMIT 45) As foo;\n"
      "\n"
      "geomtextrep\n"
      "-------------------------------------\n"
      " SRID=4269;GEOMETRYCOLLECTION(POLYGON((-71.040878 42.285678,-71.040943 42.2856,-71.04096 42.285752,-71.040878 42.285678)),\n"
      " POLYGON((-71.17166 42.353675,-71.172026 42.354044,-71.17239 42.354358,-71.171794 42.354971,-71.170511 42.354855,\n"
      " -71.17112 42.354238,-71.17166 42.353675)))\n"
      "(1 row)\n"
      "\n"
      "--Use ST_Dump to dump out the polygonize geoms into individual polygons\n"
      "SELECT ST_AsEWKT((ST_Dump(foofoo.polycoll)).geom) As geomtextrep\n"
      "FROM (SELECT ST_Polygonize(the_geom_4269) As polycoll\n"
      "        FROM (SELECT the_geom_4269 FROM ma.suffolk_edges\n"
      "                ORDER BY tlid LIMIT 45) As foo) As foofoo;\n"
      "\n"
      "geomtextrep\n"
      "------------------------\n"
      " SRID=4269;POLYGON((-71.040878 42.285678,-71.040943 42.2856,-71.04096 42.285752,\n"
      "-71.040878 42.285678))\n"
      " SRID=4269;POLYGON((-71.17166 42.353675,-71.172026 42.354044,-71.17239 42.354358\n"
      ",-71.171794 42.354971,-71.170511 42.354855,-71.17112 42.354238,-71.17166 42.353675))\n"
      "(2 rows)"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1529
#, no-c-format
msgid "ST_Node"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1531
#, no-c-format
msgid "Node a set of linestrings."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1538
#, no-c-format
msgid "<funcdef>geometry <function>ST_Node</function></funcdef> <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1549
#, no-c-format
msgid "Fully node a set of linestrings using the least possible number of nodes while preserving all of the input ones."
msgstr ""

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

#. Tag: para
#: reference_processing.xml:1558
#, no-c-format
msgid "Due to a bug in GEOS up to 3.3.1 this function fails to node self-intersecting lines. This is fixed with GEOS 3.3.2 or higher."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1565
#, no-c-format
msgid ""
      "SELECT ST_AsEWKT(\n"
      "                ST_Node('LINESTRINGZ(0 0 0, 10 10 10, 0 10 5, 10 0 3)'::geometry)\n"
      "        ) As  output;\n"
      "output\n"
      "-----------\n"
      "MULTILINESTRING((0 0 0,5 5 4.5),(5 5 4.5,10 10 10,0 10 5,5 5 4.5),(5 5 4.5,10 0 3))"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1580
#, no-c-format
msgid "ST_OffsetCurve"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1582
#, no-c-format
msgid "Return an offset line at a given distance and side from an input line. Useful for computing parallel lines about a center line"
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1590
#, no-c-format
msgid "<funcdef>geometry <function>ST_OffsetCurve</function></funcdef> <paramdef><type>geometry </type> <parameter>line</parameter></paramdef> <paramdef><type>float </type> <parameter>signed_distance</parameter></paramdef> <paramdef choice=\"opt\"><type>text </type> <parameter>style_parameters=''</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1603
#, no-c-format
msgid "Return an offset line at a given distance and side from an input line. All points of the returned geometries are not further than the given distance from the input geometry."
msgstr ""

#. Tag: para
#: reference_processing.xml:1609
#, no-c-format
msgid "For positive distance the offset will be at the left side of the input line and retain the same direction. For a negative distance it'll be at the right side and in the opposite direction."
msgstr ""

#. Tag: para
#: reference_processing.xml:1615
#, no-c-format
msgid "Availability: 2.0 - requires GEOS &gt;= 3.2, improved with GEOS &gt;= 3.3"
msgstr ""

#. Tag: para
#: reference_processing.xml:1619
#, no-c-format
msgid "The optional third parameter allows specifying a list of blank-separated key=value pairs to tweak operations as follows:"
msgstr ""

#. Tag: para
#: reference_processing.xml:1627
#, no-c-format
msgid "'join=round|mitre|bevel' : join style (defaults to \"round\"). 'miter' is also accepted as a synonym for 'mitre'."
msgstr ""

#. Tag: para
#: reference_processing.xml:1630
#, no-c-format
msgid "'mitre_limit=#.#' : mitre ratio limit (only affects mitred join style). 'miter_limit' is also accepted as a synonym for 'mitre_limit'."
msgstr ""

#. Tag: para
#: reference_processing.xml:1635
#, no-c-format
msgid "Units of distance are measured in units of the spatial reference system."
msgstr ""

#. Tag: para
#: reference_processing.xml:1639
#, no-c-format
msgid "The inputs can only be LINESTRINGS."
msgstr ""

#. Tag: para
#: reference_processing.xml:1643
#, no-c-format
msgid "This function ignores the third dimension (z) and will always give a 2-d result even when presented with a 3d-geometry."
msgstr ""

#. Tag: para
#: reference_processing.xml:1651
#, no-c-format
msgid "Compute an open buffer around roads"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1652
#, no-c-format
msgid ""
      "SELECT ST_Union(\n"
      " ST_OffsetCurve(f.the_geom,  f.width/2, 'quad_segs=4 join=round'),\n"
      " ST_OffsetCurve(f.the_geom, -f.width/2, 'quad_segs=4 join=round')\n"
      ") as track\n"
      "FROM someroadstable;"
msgstr ""

#. Tag: para
#: reference_processing.xml:1662
#, no-c-format
msgid "15, 'quad_segs=4 join=round' original line and its offset 15 units."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1666
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_OffsetCurve(ST_GeomFromText(\n"
      "'LINESTRING(164 16,144 16,124 16,104 16,84 16,64 16,\n"
      "        44 16,24 16,20 16,18 16,17 17,\n"
      "        16 18,16 20,16 40,16 60,16 80,16 100,\n"
      "        16 120,16 140,16 160,16 180,16 195)'),\n"
      "        15, 'quad_segs=4 join=round'));\n"
      "--output --\n"
      "LINESTRING(164 1,18 1,12.2597485145237 2.1418070123307,\n"
      "        7.39339828220179 5.39339828220179,\n"
      "        5.39339828220179 7.39339828220179,\n"
      "        2.14180701233067 12.2597485145237,1 18,1 195)"
msgstr ""

#. Tag: para
#: reference_processing.xml:1673
#, no-c-format
msgid "-15, 'quad_segs=4 join=round' original line and its offset -15 units"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1677
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_OffsetCurve(geom,\n"
      "        -15, 'quad_segs=4 join=round')) As notsocurvy\n"
      "        FROM ST_GeomFromText(\n"
      "'LINESTRING(164 16,144 16,124 16,104 16,84 16,64 16,\n"
      "        44 16,24 16,20 16,18 16,17 17,\n"
      "        16 18,16 20,16 40,16 60,16 80,16 100,\n"
      "        16 120,16 140,16 160,16 180,16 195)') As geom;\n"
      "-- notsocurvy --\n"
      "LINESTRING(31 195,31 31,164 31)"
msgstr ""

#. Tag: para
#: reference_processing.xml:1686
#, no-c-format
msgid "double-offset to get more curvy, note the first reverses direction, so -30 + 15 = -15"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1689
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_OffsetCurve(ST_OffsetCurve(geom,\n"
      "        -30, 'quad_segs=4 join=round'), -15, 'quad_segs=4 join=round')) As morecurvy\n"
      "        FROM ST_GeomFromText(\n"
      "'LINESTRING(164 16,144 16,124 16,104 16,84 16,64 16,\n"
      "        44 16,24 16,20 16,18 16,17 17,\n"
      "        16 18,16 20,16 40,16 60,16 80,16 100,\n"
      "        16 120,16 140,16 160,16 180,16 195)') As geom;\n"
      "-- morecurvy --\n"
      "LINESTRING(164 31,46 31,40.2597485145236 32.1418070123307,\n"
      "35.3933982822018 35.3933982822018,\n"
      "32.1418070123307 40.2597485145237,31 46,31 195)"
msgstr ""

#. Tag: para
#: reference_processing.xml:1696
#, no-c-format
msgid "double-offset to get more curvy,combined with regular offset 15 to get parallel lines. Overlaid with original."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1699
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_Collect(\n"
      "        ST_OffsetCurve(geom, 15, 'quad_segs=4 join=round'),\n"
      "        ST_OffsetCurve(ST_OffsetCurve(geom,\n"
      "        -30, 'quad_segs=4 join=round'), -15, 'quad_segs=4 join=round')\n"
      "        )\n"
      ") As parallel_curves\n"
      "        FROM ST_GeomFromText(\n"
      "'LINESTRING(164 16,144 16,124 16,104 16,84 16,64 16,\n"
      "        44 16,24 16,20 16,18 16,17 17,\n"
      "        16 18,16 20,16 40,16 60,16 80,16 100,\n"
      "        16 120,16 140,16 160,16 180,16 195)') As geom;\n"
      "-- parallel curves  --\n"
      "MULTILINESTRING((164 1,18 1,12.2597485145237 2.1418070123307,\n"
      "7.39339828220179 5.39339828220179,5.39339828220179 7.39339828220179,\n"
      "2.14180701233067 12.2597485145237,1 18,1 195),\n"
      "(164 31,46 31,40.2597485145236 32.1418070123307,35.3933982822018 35.3933982822018,\n"
      "32.1418070123307 40.2597485145237,31 46,31 195))"
msgstr ""

#. Tag: para
#: reference_processing.xml:1708
#, no-c-format
msgid "15, 'quad_segs=4 join=bevel' shown with original line"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1711
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_OffsetCurve(ST_GeomFromText(\n"
      "'LINESTRING(164 16,144 16,124 16,104 16,84 16,64 16,\n"
      "        44 16,24 16,20 16,18 16,17 17,\n"
      "        16 18,16 20,16 40,16 60,16 80,16 100,\n"
      "        16 120,16 140,16 160,16 180,16 195)'),\n"
      "                15, 'quad_segs=4 join=bevel'));\n"
      "-- output --\n"
      "LINESTRING(164 1,18 1,7.39339828220179 5.39339828220179,\n"
      "        5.39339828220179 7.39339828220179,1 18,1 195)"
msgstr ""

#. Tag: para
#: reference_processing.xml:1719
#, no-c-format
msgid "15,-15 collected, join=mitre mitre_limit=2.1"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1722
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_Collect(\n"
      "        ST_OffsetCurve(geom, 15, 'quad_segs=4 join=mitre mitre_limit=2.2'),\n"
      "        ST_OffsetCurve(geom, -15, 'quad_segs=4 join=mitre mitre_limit=2.2')\n"
      "        ) )\n"
      "        FROM ST_GeomFromText(\n"
      "'LINESTRING(164 16,144 16,124 16,104 16,84 16,64 16,\n"
      "        44 16,24 16,20 16,18 16,17 17,\n"
      "        16 18,16 20,16 40,16 60,16 80,16 100,\n"
      "        16 120,16 140,16 160,16 180,16 195)') As geom;\n"
      "-- output --\n"
      "MULTILINESTRING((164 1,11.7867965644036 1,1 11.7867965644036,1 195),\n"
      "        (31 195,31 31,164 31))"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1739
#, no-c-format
msgid "ST_RemoveRepeatedPoints"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1740
#, no-c-format
msgid "Returns a version of the given geometry with duplicated points removed."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1746
#, no-c-format
msgid "<funcdef>geometry <function>ST_RemoveRepeatedPoints</function></funcdef> <paramdef><type>geometry</type> <parameter>geom</parameter></paramdef> <paramdef choice=\"opt\"><type>float8</type> <parameter>tolerance</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1756
#, no-c-format
msgid "Returns a version of the given geometry with duplicated points removed. Will actually do something only with (multi)lines, (multi)polygons and multipoints but you can safely call it with any kind of geometry. Since simplification occurs on a object-by-object basis you can also feed a GeometryCollection to this function."
msgstr ""

#. Tag: para
#: reference_processing.xml:1762
#, no-c-format
msgid "If the tolerance parameter is provided, vertices within the tolerance of one another will be considered the \"same\" for the purposes of removal."
msgstr ""

#. Tag: para
#: reference_processing.xml:1765 reference_processing.xml:2079 reference_processing.xml:2135 reference_processing.xml:2469
#, no-c-format
msgid "Availability: 2.2.0"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1778
#, no-c-format
msgid "ST_SharedPaths"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1779
#, no-c-format
msgid "Returns a collection containing paths shared by the two input linestrings/multilinestrings."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1784
#, no-c-format
msgid "<funcdef>geometry <function>ST_SharedPaths</function></funcdef> <paramdef><type>geometry</type> <parameter>lineal1</parameter></paramdef> <paramdef><type>geometry</type> <parameter>lineal2</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1794
#, no-c-format
msgid "Returns a collection containing paths shared by the two input geometries. Those going in the same direction are in the first element of the collection, those going in the opposite direction are in the second element. The paths themselves are given in the direction of the first geometry."
msgstr ""

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

#. Tag: title
#: reference_processing.xml:1802
#, no-c-format
msgid "Examples: Finding shared paths"
msgstr ""

#. Tag: para
#: reference_processing.xml:1812
#, no-c-format
msgid "A multilinestring and a linestring"
msgstr ""

#. Tag: para
#: reference_processing.xml:1823
#, no-c-format
msgid "The shared path of multilinestring and linestring overlaid with original geometries."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1826
#, no-c-format
msgid ""
      "SELECT ST_AsText(\n"
      "  ST_SharedPaths(\n"
      "    ST_GeomFromText('MULTILINESTRING((26 125,26 200,126 200,126 125,26 125),\n"
      "           (51 150,101 150,76 175,51 150))'),\n"
      "        ST_GeomFromText('LINESTRING(151 100,126 156.25,126 125,90 161, 76 175)')\n"
      "        )\n"
      "  ) As wkt\n"
      "\n"
      "                                wkt\n"
      "-------------------------------------------------------------\n"
      "GEOMETRYCOLLECTION(MULTILINESTRING((126 156.25,126 125),\n"
      " (101 150,90 161),(90 161,76 175)),MULTILINESTRING EMPTY)"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1832
#, no-c-format
msgid ""
      "-- same example but linestring orientation flipped\n"
      "SELECT ST_AsText(\n"
      "  ST_SharedPaths(\n"
      "   ST_GeomFromText('LINESTRING(76 175,90 161,126 125,126 156.25,151 100)'),\n"
      "   ST_GeomFromText('MULTILINESTRING((26 125,26 200,126 200,126 125,26 125),\n"
      "           (51 150,101 150,76 175,51 150))')\n"
      "        )\n"
      "  ) As wkt\n"
      "\n"
      "                                wkt\n"
      "-------------------------------------------------------------\n"
      "GEOMETRYCOLLECTION(MULTILINESTRING EMPTY,\n"
      "MULTILINESTRING((76 175,90 161),(90 161,101 150),(126 125,126 156.25)))"
msgstr ""

#. Tag: para
#: reference_processing.xml:1842
#, no-c-format
msgid ", <xref linkend=\"ST_GeometryN\"/>, <xref linkend=\"ST_NumGeometries\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1852
#, no-c-format
msgid "ST_ShiftLongitude"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1854
#, no-c-format
msgid "Toggle geometry coordinates between -180..180 and 0..360 ranges."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1859
#, no-c-format
msgid "<funcdef>geometry <function>ST_ShiftLongitude</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1869
#, no-c-format
msgid "Reads every point/vertex in every component of every feature in a geometry, and if the longitude coordinate is &lt;0, adds 360 to it. The result would be a 0-360 version of the data to be plotted in a 180 centric map"
msgstr ""

#. Tag: para
#: reference_processing.xml:1873
#, no-c-format
msgid "This is only useful for data in long lat e.g. 4326 (WGS 84 long lat)"
msgstr ""

#. Tag: para
#: reference_processing.xml:1875
#, no-c-format
msgid "Pre-1.3.4 bug prevented this from working for MULTIPOINT. 1.3.4+ works with MULTIPOINT as well."
msgstr ""

#. Tag: para
#: reference_processing.xml:1880
#, no-c-format
msgid "Enhanced: 2.0.0 support for Polyhedral surfaces and TIN was introduced."
msgstr ""

#. Tag: para
#: reference_processing.xml:1881
#, no-c-format
msgid "NOTE: this function was renamed from \"ST_Shift_Longitude\" in 2.2.0"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1890
#, no-c-format
msgid ""
      "--3d points\n"
      "SELECT ST_AsEWKT(ST_ShiftLongitude(ST_GeomFromEWKT('SRID=4326;POINT(-118.58 38.38 10)'))) As geomA,\n"
      "        ST_AsEWKT(ST_ShiftLongitude(ST_GeomFromEWKT('SRID=4326;POINT(241.42 38.38 10)'))) As geomb\n"
      "geomA                                                          geomB\n"
      "----------                                                  -----------\n"
      "SRID=4326;POINT(241.42 38.38 10) SRID=4326;POINT(-118.58 38.38 10)\n"
      "\n"
      "--regular line string\n"
      "SELECT ST_AsText(ST_ShiftLongitude(ST_GeomFromText('LINESTRING(-118.58 38.38, -118.20 38.45)')))\n"
      "\n"
      "st_astext\n"
      "----------\n"
      "LINESTRING(241.42 38.38,241.8 38.45)"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1904
#, no-c-format
msgid "ST_WrapX"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:1906
#, no-c-format
msgid "Wrap a geometry around an X value."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:1911
#, no-c-format
msgid "<funcdef>geometry <function>ST_WrapX</function></funcdef> <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef> <paramdef><type>float8 </type> <parameter>wrap</parameter></paramdef> <paramdef><type>float8 </type> <parameter>move</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1923
#, no-c-format
msgid "This function splits the input geometries and then moves every resulting component falling on the right (for negative 'move') or on the left (for positive 'move') of given 'wrap' line in the direction specified by the 'move' parameter, finally re-unioning the pieces togheter."
msgstr ""

#. Tag: para
#: reference_processing.xml:1930
#, no-c-format
msgid "This is useful to \"recenter\" long-lat input to have features of interest not spawned from one side to the other."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:1948
#, no-c-format
msgid ""
      "-- Move all components of the given geometries whose bounding box\n"
      "-- falls completely on the left of x=0 to +360\n"
      "select ST_WrapX(the_geom, 0, 360);\n"
      "\n"
      "-- Move all components of the given geometries whose bounding box\n"
      "-- falls completely on the left of x=-30 to +360\n"
      "select ST_WrapX(the_geom, -30, 360);"
msgstr ""

#. Tag: refname
#: reference_processing.xml:1960
#, no-c-format
msgid "ST_Simplify"
msgstr ""

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

#. Tag: funcprototype
#: reference_processing.xml:1967
#, no-c-format
msgid "<funcdef>geometry <function>ST_Simplify</function></funcdef> <paramdef><type>geometry</type> <parameter>geomA</parameter></paramdef> <paramdef><type>float</type> <parameter>tolerance</parameter></paramdef> <paramdef><type>boolean</type> <parameter>preserveCollapsed</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:1978
#, no-c-format
msgid "Returns a \"simplified\" version of the given geometry using the Douglas-Peucker algorithm. Will actually do something only with (multi)lines and (multi)polygons but you can safely call it with any kind of geometry. Since simplification occurs on a object-by-object basis you can also feed a GeometryCollection to this function."
msgstr ""

#. Tag: para
#: reference_processing.xml:1985
#, no-c-format
msgid "The \"preserve collapsed\" flag will retain objects that would otherwise be too small given the tolerance. For example, a 1m long line simplified with a 10m tolerance. If the preserve flag is given, the line will not disappear. This flag is useful for rendering engines, to avoid having large numbers of very small objects disappear from a map leaving surprising gaps."
msgstr ""

#. Tag: para
#: reference_processing.xml:1991 reference_processing.xml:2075 reference_processing.xml:2130
#, no-c-format
msgid "Note that returned geometry might lose its simplicity (see <xref linkend=\"ST_IsSimple\"/>)"
msgstr ""

#. Tag: para
#: reference_processing.xml:1993 reference_processing.xml:2077 reference_processing.xml:2132
#, no-c-format
msgid "Note topology may not be preserved and may result in invalid geometries. Use (see <xref linkend=\"ST_SimplifyPreserveTopology\"/>) to preserve topology."
msgstr ""

#. Tag: para
#: reference_processing.xml:1995
#, no-c-format
msgid "Availability: 1.2.2"
msgstr ""

#. Tag: para
#: reference_processing.xml:2000
#, no-c-format
msgid "A circle simplified too much becomes a triangle, medium an octagon,"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2001
#, no-c-format
msgid ""
      "SELECT ST_Npoints(the_geom) As np_before, ST_NPoints(ST_Simplify(the_geom,0.1)) As np01_notbadcircle, ST_NPoints(ST_Simplify(the_geom,0.5)) As np05_notquitecircle,\n"
      "ST_NPoints(ST_Simplify(the_geom,1)) As np1_octagon, ST_NPoints(ST_Simplify(the_geom,10)) As np10_triangle,\n"
      "(ST_Simplify(the_geom,100) is null) As  np100_geometrygoesaway\n"
      "FROM (SELECT ST_Buffer('POINT(1 3)', 10,12) As the_geom) As foo;\n"
      "-result\n"
      " np_before | np01_notbadcircle | np05_notquitecircle | np1_octagon | np10_triangle | np100_geometrygoesaway\n"
      "-----------+-------------------+---------------------+-------------+---------------+------------------------\n"
      "                49 |                33 |                  17 |           9 |             4 | t"
msgstr ""

#. Tag: para
#: reference_processing.xml:2005
#, no-c-format
msgid ", <xref linkend=\"ST_SimplifyPreserveTopology\"/>, Topology <xref linkend=\"TP_ST_Simplify\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:2011
#, no-c-format
msgid "ST_SimplifyPreserveTopology"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:2012
#, no-c-format
msgid "Returns a \"simplified\" version of the given geometry using the Douglas-Peucker algorithm. Will avoid creating derived geometries (polygons in particular) that are invalid."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:2019
#, no-c-format
msgid "<funcdef>geometry <function>ST_SimplifyPreserveTopology</function></funcdef> <paramdef><type>geometry</type> <parameter>geomA</parameter></paramdef> <paramdef><type>float</type> <parameter>tolerance</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:2029
#, no-c-format
msgid "Returns a \"simplified\" version of the given geometry using the Douglas-Peucker algorithm. Will avoid creating derived geometries (polygons in particular) that are invalid. Will actually do something only with (multi)lines and (multi)polygons but you can safely call it with any kind of geometry. Since simplification occurs on a object-by-object basis you can also feed a GeometryCollection to this function."
msgstr ""

#. Tag: para
#: reference_processing.xml:2038
#, no-c-format
msgid "Requires GEOS 3.0.0+"
msgstr ""

#. Tag: para
#: reference_processing.xml:2039
#, no-c-format
msgid "Availability: 1.3.3"
msgstr ""

#. Tag: para
#: reference_processing.xml:2044
#, no-c-format
msgid "Same example as Simplify, but we see Preserve Topology prevents oversimplification. The circle can at most become a square."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2045
#, no-c-format
msgid ""
      "SELECT ST_Npoints(the_geom) As np_before, ST_NPoints(ST_SimplifyPreserveTopology(the_geom,0.1)) As np01_notbadcircle, ST_NPoints(ST_SimplifyPreserveTopology(the_geom,0.5)) As np05_notquitecircle,\n"
      "ST_NPoints(ST_SimplifyPreserveTopology(the_geom,1)) As np1_octagon, ST_NPoints(ST_SimplifyPreserveTopology(the_geom,10)) As np10_square,\n"
      "ST_NPoints(ST_SimplifyPreserveTopology(the_geom,100)) As  np100_stillsquare\n"
      "FROM (SELECT ST_Buffer('POINT(1 3)', 10,12) As the_geom) As foo;\n"
      "\n"
      "--result--\n"
      " np_before | np01_notbadcircle | np05_notquitecircle | np1_octagon | np10_square | np100_stillsquare\n"
      "-----------+-------------------+---------------------+-------------+---------------+-------------------\n"
      "                49 |                33 |                  17 |           9 |             5 |                 5"
msgstr ""

#. Tag: refname
#: reference_processing.xml:2055
#, no-c-format
msgid "ST_SimplifyVW"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:2056
#, no-c-format
msgid "Returns a \"simplified\" version of the given geometry using the Visvalingam-Whyatt algorithm"
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:2061
#, no-c-format
msgid "<funcdef>geometry <function>ST_SimplifyVW</function></funcdef> <paramdef><type>geometry</type> <parameter>geomA</parameter></paramdef> <paramdef><type>float</type> <parameter>tolerance</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:2071
#, no-c-format
msgid "Returns a \"simplified\" version of the given geometry using the Visvalingam-Whyatt algorithm. Will actually do something only with (multi)lines and (multi)polygons but you can safely call it with any kind of geometry. Since simplification occurs on a object-by-object basis you can also feed a GeometryCollection to this function."
msgstr ""

#. Tag: para
#: reference_processing.xml:2078
#, no-c-format
msgid "This function handles 3D and the third dimension will affect the result."
msgstr ""

#. Tag: para
#: reference_processing.xml:2084
#, no-c-format
msgid "A LineString is simplified with a minimum area threshold of 30."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2085
#, no-c-format
msgid ""
      "select ST_AsText(ST_SimplifyVW(geom,30)) simplified\n"
      "FROM (SELECT  'LINESTRING(5 2, 3 8, 6 20, 7 25, 10 10)'::geometry geom) As foo;\n"
      "-result\n"
      " simplified\n"
      "-----------+-------------------+\n"
      "LINESTRING(5 2,7 25,10 10)"
msgstr ""

#. Tag: para
#: reference_processing.xml:2089
#, no-c-format
msgid ", <xref linkend=\"ST_Simplify\"/>, <xref linkend=\"ST_SimplifyPreserveTopology\"/>, Topology <xref linkend=\"TP_ST_Simplify\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:2094
#, no-c-format
msgid "ST_SetEffectiveArea"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:2095
#, no-c-format
msgid "Sets the effective area for each vertex, storing the value in the M ordinate. A simplified geometry can then be generated by filtering on the M ordinate."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:2102
#, no-c-format
msgid "<funcdef>geometry <function>ST_SetEffectiveArea</function></funcdef> <paramdef><type>geometry</type> <parameter>geomA</parameter></paramdef> <paramdef><type>float</type> <parameter>threshold = 0</parameter></paramdef> <paramdef><type>integer</type> <parameter>set_area = 1</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:2113
#, no-c-format
msgid "Sets the effective area for each vertex, using the Visvalingam-Whyatt algorithm. The effective area is stored as the M-value of the vertex. If the optional \"theshold\" parameter is used, a simplified geometry will be returned, containing only vertices with an effective area greater than or equal to the threshold value."
msgstr ""

#. Tag: para
#: reference_processing.xml:2118
#, no-c-format
msgid "This function can be used for server-side simplification when a threshold is specified. Another option is to use a threshold value of zero. In this case, the full geometry will be returned with effective areas as M-values, which can be used by the client to simplify very quickly."
msgstr ""

#. Tag: para
#: reference_processing.xml:2121
#, no-c-format
msgid "Will actually do something only with (multi)lines and (multi)polygons but you can safely call it with any kind of geometry. Since simplification occurs on a object-by-object basis you can also feed a GeometryCollection to this function."
msgstr ""

#. Tag: para
#: reference_processing.xml:2133
#, no-c-format
msgid "The output geometry will lose all previous information in the M-values"
msgstr ""

#. Tag: para
#: reference_processing.xml:2134
#, no-c-format
msgid "This function handles 3D and the third dimension will affect the effective area"
msgstr ""

#. Tag: para
#: reference_processing.xml:2140
#, no-c-format
msgid "Calculating the effective area of a LineString. Because we use a threshold value of zero, all vertices in the input geometry are returned."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2143
#, no-c-format
msgid ""
      "select ST_AsText(ST_SetEffectiveArea(geom)) all_pts, ST_AsText(ST_SetEffectiveArea(geom,30) ) thrshld_30\n"
      "FROM (SELECT  'LINESTRING(5 2, 3 8, 6 20, 7 25, 10 10)'::geometry geom) As foo;\n"
      "-result\n"
      " all_pts | thrshld_30\n"
      "-----------+-------------------+\n"
      "LINESTRING M (5 2 3.40282346638529e+38,3 8 29,6 20 1.5,7 25 49.5,10 10 3.40282346638529e+38) | LINESTRING M (5 2 3.40282346638529e+38,7 25 49.5,10 10 3.40282346638529e+38)"
msgstr ""

#. Tag: refname
#: reference_processing.xml:2153
#, no-c-format
msgid "ST_Split"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:2154
#, no-c-format
msgid "Returns a collection of geometries resulting by splitting a geometry."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:2159
#, no-c-format
msgid "<funcdef>geometry <function>ST_Split</function></funcdef> <paramdef><type>geometry</type> <parameter>input</parameter></paramdef> <paramdef><type>geometry</type> <parameter>blade</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:2169
#, no-c-format
msgid "The function supports splitting a line by (multi)point, (multi)line or (multi)polygon boundary, a (multi)polygon by line. The returned geometry is always a collection."
msgstr ""

#. Tag: para
#: reference_processing.xml:2173
#, no-c-format
msgid "Think of this function as the opposite of ST_Union. Theoretically applying ST_Union to the elements of the returned collection should always yield the original geometry."
msgstr ""

#. Tag: para
#: reference_processing.xml:2180
#, no-c-format
msgid "Changed: 2.2.0 support for splitting a line by a multiline, a multipoint or (multi)polygon boundary was introduced."
msgstr ""

#. Tag: para
#: reference_processing.xml:2182
#, no-c-format
msgid "To improve the robustness of ST_Split it may be convenient to <xref linkend=\"ST_Snap\"/> the input to the blade in advance using a very low tolerance. Otherwise the internally used coordinate grid may cause tolerance problems, where coordinates of input and blade do not fall onto each other and the input is not being split correctly (see <ulink url=\"http://trac.osgeo.org/postgis/ticket/2192\">#2192</ulink>)."
msgstr ""

#. Tag: para
#: reference_processing.xml:2184
#, no-c-format
msgid "When a (multi)polygon is passed as as the blade, its linear component (the boundary) is used for cutting the input."
msgstr ""

#. Tag: para
#: reference_processing.xml:2192
#, no-c-format
msgid "Polygon Cut by Line"
msgstr ""

#. Tag: para
#: reference_processing.xml:2204 reference_processing.xml:2238
#, no-c-format
msgid "Before Split"
msgstr ""

#. Tag: para
#: reference_processing.xml:2216 reference_processing.xml:2250
#, no-c-format
msgid "After split"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2225
#, no-c-format
msgid ""
      "-- this creates a geometry collection consisting of the 2 halves of the polygon\n"
      "-- this is similar to the example we demonstrated in ST_BuildArea\n"
      "SELECT ST_Split(circle, line)\n"
      "FROM (SELECT\n"
      "    ST_MakeLine(ST_MakePoint(10, 10),ST_MakePoint(190, 190)) As line,\n"
      "    ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50) As circle) As foo;\n"
      "\n"
      "-- result --\n"
      " GEOMETRYCOLLECTION(POLYGON((150 90,149.039264020162 80.2454838991936,146.193976625564 70.8658283817455,..), POLYGON(..)))\n"
      "\n"
      "-- To convert to individual polygons, you can use ST_Dump or ST_GeometryN\n"
      "SELECT ST_AsText((ST_Dump(ST_Split(circle, line))).geom) As wkt\n"
      "FROM (SELECT\n"
      "    ST_MakeLine(ST_MakePoint(10, 10),ST_MakePoint(190, 190)) As line,\n"
      "    ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50) As circle) As foo;\n"
      "\n"
      "-- result --\n"
      "wkt\n"
      "---------------\n"
      "POLYGON((150 90,149.039264020162 80.2454838991936,..))\n"
      "POLYGON((60.1371179574584 60.1371179574584,58.4265193848728 62.2214883490198,53.8060233744357 ..))"
msgstr ""

#. Tag: para
#: reference_processing.xml:2226
#, no-c-format
msgid "Multilinestring Cut by point"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2259
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_Split(mline, pt)) As wktcut\n"
      "        FROM (SELECT\n"
      "    ST_GeomFromText('MULTILINESTRING((10 10, 190 190), (15 15, 30 30, 100 90))') As mline,\n"
      "    ST_Point(30,30) As pt) As foo;\n"
      "\n"
      "wktcut\n"
      "------\n"
      "GEOMETRYCOLLECTION(\n"
      "    LINESTRING(10 10,30 30),\n"
      "    LINESTRING(30 30,190 190),\n"
      "    LINESTRING(15 15,30 30),\n"
      "    LINESTRING(30 30,100 90)\n"
      ")"
msgstr ""

#. Tag: para
#: reference_processing.xml:2263
#, no-c-format
msgid ", <xref linkend=\"ST_BuildArea\"/>, <xref linkend=\"ST_Dump\"/>, <xref linkend=\"ST_GeometryN\"/>, <xref linkend=\"ST_Union\"/>, <xref linkend=\"ST_Subdivide\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:2276
#, no-c-format
msgid "ST_SymDifference"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:2278
#, no-c-format
msgid "Returns a geometry that represents the portions of A and B that do not intersect. It is called a symmetric difference because ST_SymDifference(A,B) = ST_SymDifference(B,A)."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:2285
#, no-c-format
msgid "<funcdef>geometry <function>ST_SymDifference</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef> <paramdef><type>geometry </type> <parameter>geomB</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:2296
#, no-c-format
msgid "Returns a geometry that represents the portions of A and B that do not intersect. It is called a symmetric difference because ST_SymDifference(A,B) = ST_SymDifference(B,A). One can think of this as ST_Union(geomA,geomB) - ST_Intersection(A,B)."
msgstr ""

#. Tag: para
#: reference_processing.xml:2306
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.21"
msgstr ""

#. Tag: para
#: reference_processing.xml:2326
#, no-c-format
msgid "The original linestrings shown together"
msgstr ""

#. Tag: para
#: reference_processing.xml:2338
#, no-c-format
msgid "The symmetric difference of the two linestrings"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2347
#, no-c-format
msgid ""
      "--Safe for 2d - symmetric difference of 2 linestrings\n"
      "SELECT ST_AsText(\n"
      "        ST_SymDifference(\n"
      "                ST_GeomFromText('LINESTRING(50 100, 50 200)'),\n"
      "                ST_GeomFromText('LINESTRING(50 50, 50 150)')\n"
      "        )\n"
      ");\n"
      "\n"
      "st_astext\n"
      "---------\n"
      "MULTILINESTRING((50 150,50 200),(50 50,50 100))"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2349
#, no-c-format
msgid ""
      "--When used in 3d doesn't quite do the right thing\n"
      "SELECT ST_AsEWKT(ST_SymDifference(ST_GeomFromEWKT('LINESTRING(1 2 1, 1 4 2)'),\n"
      "        ST_GeomFromEWKT('LINESTRING(1 1 3, 1 3 4)')))\n"
      "\n"
      "st_astext\n"
      "------------\n"
      "MULTILINESTRING((1 3 2.75,1 4 2),(1 1 3,1 2 2.25))"
msgstr ""

#. Tag: para
#: reference_processing.xml:2356
#, no-c-format
msgid ", <xref linkend=\"ST_Intersection\"/>, <xref linkend=\"ST_Union\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:2363
#, no-c-format
msgid "ST_Subdivide"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:2364
#, no-c-format
msgid "Returns a set of geometry where no geometry in the set has more than the specified number of vertices."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:2369
#, no-c-format
msgid "<funcdef>setof geometry <function>ST_Subdivide</function></funcdef> <paramdef><type>geometry</type> <parameter>geom</parameter></paramdef> <paramdef><type>integer</type> <parameter>max_vertices=256</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:2380
#, no-c-format
msgid "Turns a single geometry into a set in which each element has fewer than the maximum allowed number of vertices. Useful for converting excessively large polygons and other objects into small portions that fit within the database page size. Uses the same envelope clipping as ST_ClipByBox2D does, recursively subdividing the input geometry until all portions have less than the maximum vertex count. Minimum vertice count allowed is 8 and if you try to specify lower than 8, it will throw an error."
msgstr ""

#. Tag: para
#: reference_processing.xml:2389
#, no-c-format
msgid "Clipping performed by the GEOS module."
msgstr ""

#. Tag: para
#: reference_processing.xml:2392
#, no-c-format
msgid "Availability: 2.2.0 requires GEOS &gt;= 3.5.0."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2398
#, no-c-format
msgid ""
      "-- Create a new subdivided table suitable for joining to the original\n"
      "CREATE TABLE subdivided_geoms AS\n"
      "SELECT pkey, ST_Subdivide(geom) AS geom\n"
      "FROM original_geoms;"
msgstr ""

#. Tag: para
#: reference_processing.xml:2409
#, no-c-format
msgid "Subdivide max 10 vertices"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2412
#, no-c-format
msgid ""
      "SELECT row_number() OVER() As rn, ST_AsText(geom) As wkt\n"
      "FROM ( SELECT ST_SubDivide('POLYGON((132 10,119 23,85 35,68 29,66 28,49 42,32 56,22 64,32 110,40 119,36 150,\n"
      "57 158,75 171,92 182,114 184,132 186,146 178,176 184,179 162,184 141,190 122,\n"
      "190 100,185 79,186 56,186 52,178 34,168 18,147 13,132 10))'::geometry,10))  As f(geom);"
msgstr ""

#. Tag: screen
#: reference_processing.xml:2413
#, no-c-format
msgid ""
      "rn |                          wkt\n"
      "---+---------------------------------------------------------------------------\n"
      " 1 | POLYGON((22 64,29.3913043478263 98.000000000001,106.000000000001 98.00000000001,\n"
      "        106.000000000001 27.5882352941173,85 35,68 29,66 28,49 42,32 56,22 64))\n"
      " 2 | POLYGON((29.3913043478263 98.000000000001,32 110,40 119,36 150,57 158,\n"
      "        75 11,92 182,106.000000000001 183.272727272727,106.000000000001 98.000000000001,\n"
      "        29.913043478263 98.000000000001))\n"
      " 3 | POLYGON((106.000000000001 27.5882352941173,106.000000000001 98.00000000000,\n"
      " 189.52380952381 98.000000000001,185 79,186 56,186 52,178 34,168 18,147 13,\n"
      " 132 0,119 23,106.000000000001 27.5882352941173))\n"
      " 4 | POLYGON((106.000000000001 98.000000000001,106.000000000001 183.27272727272,\n"
      "    114 184,132 186,146 178,176 184,179 162,184 141,190 122,190 100,189.5238095238\n"
      " 98.000000000001,106.000000000001 98.000000000001))"
msgstr ""

#. Tag: para
#: reference_processing.xml:2422
#, no-c-format
msgid "Useful in conjunction with ST_Segmentize to create additional vertices that can then be used for splitting"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2425
#, no-c-format
msgid "SELECT ST_AsText(ST_SubDivide(ST_Segmentize('LINESTRING(0 0, 100 100, 150 150)'::geometry,10),8));"
msgstr ""

#. Tag: screen
#: reference_processing.xml:2426
#, no-c-format
msgid ""
      "LINESTRING(0 0,7.07106781186547 7.07106781186547,14.1421356237309 14.1421356237309,21.2132034355964 21.2132034355964,28.2842712474619 28.2842712474619,35.3553390593274 35.3553390593274,37.499999999998 37.499999999998)\n"
      "LINESTRING(37.499999999998 37.499999999998,42.4264068711929 42.4264068711929,49.4974746830583 49.4974746830583,56.5685424949238 56.5685424949238,63.6396103067893 63.6396103067893,70.7106781186548 70.7106781186548,74.999999999998 74.999999999998)\n"
      "LINESTRING(74.999999999998 74.999999999998,77.7817459305202 77.7817459305202,84.8528137423857 84.8528137423857,91.9238815542512 91.9238815542512,98.9949493661167 98.9949493661167,100 100,107.071067811865 107.071067811865,112.499999999998 112.499999999998)\n"
      "LINESTRING(112.499999999998 112.499999999998,114.142135623731 114.142135623731,121.213203435596 121.213203435596,128.284271247462 128.284271247462,135.355339059327 135.355339059327,142.426406871193 142.426406871193,149.497474683058 149.497474683058,149.999999999998 149.999999999998)"
msgstr ""

#. Tag: para
#: reference_processing.xml:2433
#, no-c-format
msgid ", <xref linkend=\"ST_ClipByBox2D\"/>, <xref linkend=\"ST_Segmentize\"/>, <xref linkend=\"ST_Split\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:2444
#, no-c-format
msgid "ST_SwapOrdinates"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:2445
#, no-c-format
msgid "Returns a version of the given geometry with given ordinate values swapped."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:2452
#, no-c-format
msgid "<funcdef>geometry <function>ST_SwapOrdinates</function></funcdef> <paramdef><type>geometry</type> <parameter>geom</parameter></paramdef> <paramdef><type>cstring</type> <parameter>ords</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:2462
#, no-c-format
msgid "Returns a version of the given geometry with given ordinates swapped."
msgstr ""

#. Tag: para
#: reference_processing.xml:2465
#, no-c-format
msgid "The <varname>ords</varname> parameter is a 2-characters string naming the ordinates to swap. Valid names are: x,y,z and m."
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2479
#, no-c-format
msgid ""
      "<![CDATA[\n"
      "-- Scale M value by 2\n"
      "SELECT ST_AsText(\n"
      "  ST_SwapOrdinates(\n"
      "    ST_Scale(\n"
      "      ST_SwapOrdinates(g,'xm'),\n"
      "      2, 1\n"
      "    ),\n"
      "  'xm')\n"
      ") FROM ( SELECT 'POINT ZM (0 0 0 2)'::geometry g ) foo;\n"
      "     st_astext\n"
      "--------------------\n"
      " POINT ZM (0 0 0 4)\n"
      "                 ]]>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:2492
#, no-c-format
msgid "ST_Union"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:2493
#, no-c-format
msgid "Returns a geometry that represents the point set union of the Geometries."
msgstr ""

#. Tag: funcsynopsis
#: reference_processing.xml:2498
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_Union</function></funcdef> <paramdef><type>geometry set</type> <parameter>g1field</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_Union</function></funcdef> <paramdef><type>geometry</type> <parameter>g1</parameter></paramdef> <paramdef><type>geometry</type> <parameter>g2</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_Union</function></funcdef> <paramdef><type>geometry[]</type> <parameter>g1_array</parameter></paramdef> </funcprototype>"
msgstr ""

#. Tag: para
#: reference_processing.xml:2517
#, no-c-format
msgid "Output type can be a MULTI*, single geometry, or Geometry Collection. Comes in 2 variants. Variant 1 unions 2 geometries resulting in a new geometry with no intersecting regions. Variant 2 is an aggregate function that takes a set of geometries and unions them into a single ST_Geometry resulting in no intersecting regions."
msgstr ""

#. Tag: para
#: reference_processing.xml:2521
#, no-c-format
msgid "Aggregate version: This function returns a MULTI geometry or NON-MULTI geometry from a set of geometries. The ST_Union() function is an \"aggregate\" function in the terminology of PostgreSQL. That means that it operates on rows of data, in the same way the SUM() and AVG() functions do and like most aggregates, it also ignores NULL geometries."
msgstr ""

#. Tag: para
#: reference_processing.xml:2527
#, no-c-format
msgid "Non-Aggregate version: This function returns a geometry being a union of two input geometries. Output type can be a MULTI*, NON-MULTI or GEOMETRYCOLLECTION. If any are NULL, then NULL is returned."
msgstr ""

#. Tag: para
#: reference_processing.xml:2531
#, no-c-format
msgid "ST_Collect and ST_Union are often interchangeable. ST_Union is in general orders of magnitude slower than ST_Collect because it tries to dissolve boundaries and reorder geometries to ensure that a constructed Multi* doesn't have intersecting regions."
msgstr ""

#. Tag: para
#: reference_processing.xml:2537
#, no-c-format
msgid "NOTE: this function was formerly called GeomUnion(), which was renamed from \"Union\" because UNION is an SQL reserved word."
msgstr ""

#. Tag: para
#: reference_processing.xml:2540
#, no-c-format
msgid "Availability: 1.4.0 - ST_Union was enhanced. ST_Union(geomarray) was introduced and also faster aggregate collection in PostgreSQL. If you are using GEOS 3.1.0+ ST_Union will use the faster Cascaded Union algorithm described in <ulink url=\"http://blog.cleverelephant.ca/2009/01/must-faster-unions-in-postgis-14.html\">http://blog.cleverelephant.ca/2009/01/must-faster-unions-in-postgis-14.html</ulink>"
msgstr ""

#. Tag: para
#: reference_processing.xml:2546
#, no-c-format
msgid "Aggregate version is not explicitly defined in OGC SPEC."
msgstr ""

#. Tag: para
#: reference_processing.xml:2547
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.19 the z-index (elevation) when polygons are involved."
msgstr ""

#. Tag: para
#: reference_processing.xml:2553
#, no-c-format
msgid "Aggregate example"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2554
#, no-c-format
msgid ""
      "SELECT stusps,\n"
      "           ST_Multi(ST_Union(f.the_geom)) as singlegeom\n"
      "         FROM sometable As f\n"
      "GROUP BY stusps"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2556
#, no-c-format
msgid ""
      "SELECT ST_AsText(ST_Union(ST_GeomFromText('POINT(1 2)'),\n"
      "        ST_GeomFromText('POINT(-2 3)') ) )\n"
      "\n"
      "st_astext\n"
      "----------\n"
      "MULTIPOINT(-2 3,1 2)\n"
      "\n"
      "\n"
      "SELECT ST_AsText(ST_Union(ST_GeomFromText('POINT(1 2)'),\n"
      "                ST_GeomFromText('POINT(1 2)') ) );\n"
      "st_astext\n"
      "----------\n"
      "POINT(1 2)\n"
      "\n"
      "--3d example - sort of supports 3d (and with mixed dimensions!)\n"
      "SELECT ST_AsEWKT(st_union(the_geom))\n"
      "FROM\n"
      "(SELECT ST_GeomFromEWKT('POLYGON((-7 4.2,-7.1 4.2,-7.1 4.3,\n"
      "-7 4.2))') as the_geom\n"
      "UNION ALL\n"
      "SELECT ST_GeomFromEWKT('POINT(5 5 5)') as the_geom\n"
      "UNION ALL\n"
      "        SELECT ST_GeomFromEWKT('POINT(-2 3 1)') as the_geom\n"
      "UNION ALL\n"
      "SELECT ST_GeomFromEWKT('LINESTRING(5 5 5, 10 10 10)') as the_geom ) as foo;\n"
      "\n"
      "st_asewkt\n"
      "---------\n"
      "GEOMETRYCOLLECTION(POINT(-2 3 1),LINESTRING(5 5 5,10 10 10),POLYGON((-7 4.2 5,-7.1 4.2 5,-7.1 4.3 5,-7 4.2 5)));\n"
      "\n"
      "--3d example not mixing dimensions\n"
      "SELECT ST_AsEWKT(st_union(the_geom))\n"
      "FROM\n"
      "(SELECT ST_GeomFromEWKT('POLYGON((-7 4.2 2,-7.1 4.2 3,-7.1 4.3 2,\n"
      "-7 4.2 2))') as the_geom\n"
      "UNION ALL\n"
      "SELECT ST_GeomFromEWKT('POINT(5 5 5)') as the_geom\n"
      "UNION ALL\n"
      "        SELECT ST_GeomFromEWKT('POINT(-2 3 1)') as the_geom\n"
      "UNION ALL\n"
      "SELECT ST_GeomFromEWKT('LINESTRING(5 5 5, 10 10 10)') as the_geom ) as foo;\n"
      "\n"
      "st_asewkt\n"
      "---------\n"
      "GEOMETRYCOLLECTION(POINT(-2 3 1),LINESTRING(5 5 5,10 10 10),POLYGON((-7 4.2 2,-7.1 4.2 3,-7.1 4.3 2,-7 4.2 2)))\n"
      "\n"
      "--Examples using new Array construct\n"
      "SELECT ST_Union(ARRAY(SELECT the_geom FROM sometable));\n"
      "\n"
      "SELECT ST_AsText(ST_Union(ARRAY[ST_GeomFromText('LINESTRING(1 2, 3 4)'),\n"
      "                        ST_GeomFromText('LINESTRING(3 4, 4 5)')])) As wktunion;\n"
      "\n"
      "--wktunion---\n"
      "MULTILINESTRING((3 4,4 5),(1 2,3 4))"
msgstr ""

#. Tag: refname
#: reference_processing.xml:2569
#, no-c-format
msgid "ST_UnaryUnion"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:2571
#, no-c-format
msgid "Like ST_Union, but working at the geometry component level."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:2576
#, no-c-format
msgid "<funcdef>geometry <function>ST_UnaryUnion</function></funcdef> <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:2587
#, no-c-format
msgid "Unlike ST_Union, ST_UnaryUnion does dissolve boundaries between components of a multipolygon (invalid) and does perform union between the components of a geometrycollection. Each components of the input geometry is assumed to be valid, so you won't get a valid multipolygon out of a bow-tie polygon (invalid)."
msgstr ""

#. Tag: para
#: reference_processing.xml:2597
#, no-c-format
msgid "You may use this function to node a set of linestrings. You may mix ST_UnaryUnion with ST_Collect to fine-tune how many geometries at once you want to dissolve to be nice on both memory size and CPU time, finding the balance between ST_Union and ST_MemUnion."
msgstr ""

#. Tag: para
#: reference_processing.xml:2615
#, no-c-format
msgid ", <xref linkend=\"ST_MemUnion\"/>, <xref linkend=\"ST_Collect\"/>, <xref linkend=\"ST_Node\"/>"
msgstr ""

#. Tag: refname
#: reference_processing.xml:2626
#, no-c-format
msgid "ST_Voronoi"
msgstr ""

#. Tag: refpurpose
#: reference_processing.xml:2628
#, no-c-format
msgid "Computes a Voronoi diagram from the vertices of a geometry."
msgstr ""

#. Tag: funcprototype
#: reference_processing.xml:2633
#, no-c-format
msgid "<funcdef>geometry <function>ST_Voronoi</function></funcdef> <paramdef> <parameter>g1</parameter> <type>geometry</type> </paramdef> <paramdef choice=\"opt\"> <parameter>clip</parameter> <type>geometry</type> </paramdef> <paramdef choice=\"opt\"> <parameter>tolerance</parameter> <type>float8</type> </paramdef> <paramdef choice=\"opt\"> <parameter>return_polygons</parameter> <type>boolean</type> </paramdef>"
msgstr ""

#. Tag: para
#: reference_processing.xml:2659
#, no-c-format
msgid "ST_Voronoi computes a two-dimensional <ulink url=\"https://en.wikipedia.org/wiki/Voronoi_diagram\">Voronoi diagram</ulink> from the vertices of the supplied geometry. By default, the result will be a GeometryCollection of Polygons that covers an envelope larger than the extent of the input vertices."
msgstr ""

#. Tag: para
#: reference_processing.xml:2665
#, no-c-format
msgid "Optional parameters:"
msgstr ""

#. Tag: para
#: reference_processing.xml:2669
#, no-c-format
msgid "'clip' : If a geometry is supplied as the \"clip\" parameter, the diagram will be extended to cover the envelope of the \"clip\" geometry, unless that envelope is smaller than the default envelope. (default = NULL)"
msgstr ""

#. Tag: para
#: reference_processing.xml:2674
#, no-c-format
msgid "'tolerance' : The distance within which vertices will be considered equivalent. Robustness of the algorithm can be improved by supplying a nonzero tolerance distance. (default = 0.0)"
msgstr ""

#. Tag: para
#: reference_processing.xml:2677
#, no-c-format
msgid "'return_polygons' : if true, the result of ST_Voronoi will be a GeometryCollection of Polygons. If false, the result will be a MultiLineString. (default = true)"
msgstr ""

#. Tag: para
#: reference_processing.xml:2682
#, no-c-format
msgid "Availability: 2.3.0 - requires GEOS &gt;= 3.5.0."
msgstr ""

#. Tag: para
#: reference_processing.xml:2698
#, no-c-format
msgid "Points overlaid on top of voronoi diagram"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2701
#, no-c-format
msgid ""
      "SELECT\n"
      "        ST_Voronoi(geom) As geom\n"
      "FROM (SELECT 'MULTIPOINT (50 30, 60 30, 100 100,10 150, 110 120)'::geometry As geom ) As g;"
msgstr ""

#. Tag: screen
#: reference_processing.xml:2702
#, no-c-format
msgid ""
      "-- ST_AsText output\n"
      "GEOMETRYCOLLECTION(POLYGON((-110 43.3333333333333,-110 270,100.5 270,59.3478260869565 132.826086956522,36.8181818181818 92.2727272727273,-110 43.3333333333333)),\n"
      "POLYGON((55 -90,-110 -90,-110 43.3333333333333,36.8181818181818 92.2727272727273,55 79.2857142857143,55 -90)),\n"
      "POLYGON((230 47.5,230 -20.7142857142857,55 79.2857142857143,36.8181818181818 92.2727272727273,59.3478260869565 132.826086956522,230 47.5)),POLYGON((230 -20.7142857142857,230 -90,55 -90,55 79.2857142857143,230 -20.7142857142857)),\n"
      "POLYGON((100.5 270,230 270,230 47.5,59.3478260869565 132.826086956522,100.5 270)))"
msgstr ""

#. Tag: para
#: reference_processing.xml:2712
#, no-c-format
msgid "Voronoi with tolerance of 30 units"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2715
#, no-c-format
msgid ""
      "SELECT ST_Voronoi(geom, null,30) As geom\n"
      "FROM (SELECT 'MULTIPOINT (50 30, 60 30, 100 100,10 150, 110 120)'::geometry As geom ) As g;"
msgstr ""

#. Tag: screen
#: reference_processing.xml:2716
#, no-c-format
msgid ""
      "-- ST_AsText output\n"
      "GEOMETRYCOLLECTION(POLYGON((-110 43.3333333333333,-110 270,100.5 270,59.3478260869565 132.826086956522,36.8181818181818 92.2727272727273,-110 43.3333333333333)),\n"
      "POLYGON((230 47.5,230 -45.7142857142858,36.8181818181818 92.2727272727273,59.3478260869565 132.826086956522,230 47.5)),POLYGON((230 -45.7142857142858,230 -90,-110 -90,-110 43.3333333333333,36.8181818181818 92.2727272727273,230 -45.7142857142858)),\n"
      "POLYGON((100.5 270,230 270,230 47.5,59.3478260869565 132.826086956522,100.5 270)))"
msgstr ""

#. Tag: para
#: reference_processing.xml:2725
#, no-c-format
msgid "Voronoi with tolerance of 30 units as multilinestring"
msgstr ""

#. Tag: programlisting
#: reference_processing.xml:2728
#, no-c-format
msgid ""
      "SELECT ST_Voronoi(geom, null,30,false) As geom\n"
      "FROM (SELECT 'MULTIPOINT (50 30, 60 30, 100 100,10 150, 110 120)'::geometry As geom ) As g"
msgstr ""

#. Tag: screen
#: reference_processing.xml:2729
#, no-c-format
msgid ""
      "-- ST_AsText output\n"
      "MULTILINESTRING((135.555555555556 270,36.8181818181818 92.2727272727273),(36.8181818181818 92.2727272727273,-110 43.3333333333333),(230 -45.7142857142858,36.8181818181818 92.2727272727273))"
msgstr ""

#. Tag: para
#: reference_processing.xml:2742
#, no-c-format
msgid ", <xref linkend=\"ST_Collect\"/>"
msgstr ""