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
|
# 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_accessor.xml:4
#, no-c-format
msgid "Geometry Accessors"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:8
#, no-c-format
msgid "GeometryType"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:10
#, no-c-format
msgid "<refpurpose>Returns the type of the geometry as a string. Eg: 'LINESTRING', 'POLYGON', 'MULTIPOINT', etc.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:16
#, no-c-format
msgid "<funcdef>text <function>GeometryType</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef>"
msgstr ""
#. Tag: title
#: reference_accessor.xml:24 reference_accessor.xml:81 reference_accessor.xml:162 reference_accessor.xml:210 reference_accessor.xml:258 reference_accessor.xml:309 reference_accessor.xml:361 reference_accessor.xml:432 reference_accessor.xml:481 reference_accessor.xml:542 reference_accessor.xml:593 reference_accessor.xml:652 reference_accessor.xml:711 reference_accessor.xml:766 reference_accessor.xml:810 reference_accessor.xml:861 reference_accessor.xml:918 reference_accessor.xml:990 reference_accessor.xml:1042 reference_accessor.xml:1101 reference_accessor.xml:1147 reference_accessor.xml:1182 reference_accessor.xml:1221 reference_accessor.xml:1261 reference_accessor.xml:1304 reference_accessor.xml:1366 reference_accessor.xml:1407 reference_accessor.xml:1451 reference_accessor.xml:1508 reference_accessor.xml:1572 reference_accessor.xml:1621 reference_accessor.xml:1664 reference_accessor.xml:1717 reference_accessor.xml:1791 reference_accessor.xml:1834 reference_accessor.xml:1879 reference_accessor.xml:1925 reference_accessor.xml:1967 reference_accessor.xml:2012 reference_accessor.xml:2058 reference_accessor.xml:2100 reference_accessor.xml:2146 reference_accessor.xml:2187
#, no-c-format
msgid "Description"
msgstr ""
#. Tag: para
#: reference_accessor.xml:26
#, no-c-format
msgid "<para>Returns the type of the geometry as a string. Eg: 'LINESTRING', 'POLYGON', 'MULTIPOINT', etc.</para>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:29
#, no-c-format
msgid "OGC SPEC s2.1.1.1 - Returns the name of the instantiable subtype of Geometry of which this Geometry instance is a member. The name of the instantiable subtype of Geometry is returned as a string."
msgstr ""
#. Tag: para
#: reference_accessor.xml:35
#, no-c-format
msgid "This function also indicates if the geometry is measured, by returning a string of the form 'POINTM'."
msgstr ""
#. Tag: para
#: reference_accessor.xml:38 reference_accessor.xml:495 reference_accessor.xml:1266
#, no-c-format
msgid "Enhanced: 2.0.0 support for Polyhedral surfaces, Triangles and TIN was introduced."
msgstr ""
#. Tag: para
#: reference_accessor.xml:39 reference_accessor.xml:168 reference_accessor.xml:497 reference_accessor.xml:604 reference_accessor.xml:657 reference_accessor.xml:937 reference_accessor.xml:1110 reference_accessor.xml:1373 reference_accessor.xml:1415 reference_accessor.xml:1525 reference_accessor.xml:1930
#, no-c-format
msgid "&sfs_compliant;"
msgstr ""
#. Tag: para
#: reference_accessor.xml:40 reference_accessor.xml:170 reference_accessor.xml:267 reference_accessor.xml:500 reference_accessor.xml:666 reference_accessor.xml:731 reference_accessor.xml:777 reference_accessor.xml:1188 reference_accessor.xml:1226 reference_accessor.xml:1528 reference_accessor.xml:1586 reference_accessor.xml:1629 reference_accessor.xml:1673 reference_accessor.xml:1733 reference_accessor.xml:1844 reference_accessor.xml:1889 reference_accessor.xml:1977 reference_accessor.xml:2022 reference_accessor.xml:2110 reference_accessor.xml:2152 reference_accessor.xml:2197
#, no-c-format
msgid "&curve_support;"
msgstr ""
#. Tag: para
#: reference_accessor.xml:41 reference_accessor.xml:96 reference_accessor.xml:171 reference_accessor.xml:265 reference_accessor.xml:390 reference_accessor.xml:441 reference_accessor.xml:499 reference_accessor.xml:548 reference_accessor.xml:606 reference_accessor.xml:665 reference_accessor.xml:730 reference_accessor.xml:875 reference_accessor.xml:1112 reference_accessor.xml:1152 reference_accessor.xml:1187 reference_accessor.xml:1225 reference_accessor.xml:1270 reference_accessor.xml:1372 reference_accessor.xml:1468 reference_accessor.xml:1527 reference_accessor.xml:1587 reference_accessor.xml:1671 reference_accessor.xml:1799 reference_accessor.xml:1843 reference_accessor.xml:1888 reference_accessor.xml:1932 reference_accessor.xml:1976 reference_accessor.xml:2021 reference_accessor.xml:2066 reference_accessor.xml:2109 reference_accessor.xml:2151 reference_accessor.xml:2196
#, no-c-format
msgid "&Z_support;"
msgstr ""
#. Tag: para
#: reference_accessor.xml:42 reference_accessor.xml:172 reference_accessor.xml:223 reference_accessor.xml:501 reference_accessor.xml:549 reference_accessor.xml:669 reference_accessor.xml:1189 reference_accessor.xml:1271 reference_accessor.xml:1375 reference_accessor.xml:1469 reference_accessor.xml:1736
#, no-c-format
msgid "&P_support;"
msgstr ""
#. Tag: para
#: reference_accessor.xml:43 reference_accessor.xml:173 reference_accessor.xml:224 reference_accessor.xml:502 reference_accessor.xml:1272 reference_accessor.xml:1739
#, no-c-format
msgid "&T_support;"
msgstr ""
#. Tag: title
#: reference_accessor.xml:49 reference_accessor.xml:101 reference_accessor.xml:178 reference_accessor.xml:228 reference_accessor.xml:277 reference_accessor.xml:331 reference_accessor.xml:395 reference_accessor.xml:446 reference_accessor.xml:554 reference_accessor.xml:612 reference_accessor.xml:736 reference_accessor.xml:784 reference_accessor.xml:829 reference_accessor.xml:880 reference_accessor.xml:951 reference_accessor.xml:1007 reference_accessor.xml:1067 reference_accessor.xml:1118 reference_accessor.xml:1156 reference_accessor.xml:1194 reference_accessor.xml:1231 reference_accessor.xml:1277 reference_accessor.xml:1316 reference_accessor.xml:1379 reference_accessor.xml:1420 reference_accessor.xml:1475 reference_accessor.xml:1540 reference_accessor.xml:1594 reference_accessor.xml:1634 reference_accessor.xml:1683 reference_accessor.xml:1747 reference_accessor.xml:1805 reference_accessor.xml:1849 reference_accessor.xml:1894 reference_accessor.xml:1938 reference_accessor.xml:1982 reference_accessor.xml:2027 reference_accessor.xml:2071 reference_accessor.xml:2115 reference_accessor.xml:2157 reference_accessor.xml:2202
#, no-c-format
msgid "Examples"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:51
#, no-c-format
msgid ""
"SELECT GeometryType(ST_GeomFromText('LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.29 29.07)'));\n"
" geometrytype\n"
"--------------\n"
" LINESTRING"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:52
#, no-c-format
msgid ""
"SELECT ST_GeometryType(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)) )'));\n"
" --result\n"
" POLYHEDRALSURFACE"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:53
#, no-c-format
msgid ""
"SELECT GeometryType(geom) as result\n"
" FROM\n"
" (SELECT\n"
" 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 geom\n"
" ) AS g;\n"
" result\n"
"--------\n"
" TIN"
msgstr ""
#. Tag: title
#: reference_accessor.xml:58 reference_accessor.xml:139 reference_accessor.xml:185 reference_accessor.xml:233 reference_accessor.xml:283 reference_accessor.xml:336 reference_accessor.xml:400 reference_accessor.xml:451 reference_accessor.xml:521 reference_accessor.xml:565 reference_accessor.xml:619 reference_accessor.xml:686 reference_accessor.xml:742 reference_accessor.xml:835 reference_accessor.xml:886 reference_accessor.xml:957 reference_accessor.xml:1014 reference_accessor.xml:1074 reference_accessor.xml:1124 reference_accessor.xml:1161 reference_accessor.xml:1199 reference_accessor.xml:1238 reference_accessor.xml:1282 reference_accessor.xml:1321 reference_accessor.xml:1344 reference_accessor.xml:1384 reference_accessor.xml:1425 reference_accessor.xml:1482 reference_accessor.xml:1546 reference_accessor.xml:1600 reference_accessor.xml:1639 reference_accessor.xml:1689 reference_accessor.xml:1753 reference_accessor.xml:1811 reference_accessor.xml:1856 reference_accessor.xml:1901 reference_accessor.xml:1944 reference_accessor.xml:1989 reference_accessor.xml:2034 reference_accessor.xml:2077 reference_accessor.xml:2122 reference_accessor.xml:2164 reference_accessor.xml:2209
#, no-c-format
msgid "See Also"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:64
#, no-c-format
msgid "ST_Boundary"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:66
#, no-c-format
msgid "Returns the closure of the combinatorial boundary of this Geometry."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:72
#, no-c-format
msgid "<funcdef>geometry <function>ST_Boundary</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:83
#, no-c-format
msgid "Returns the closure of the combinatorial boundary of this Geometry. The combinatorial boundary is defined as described in section 3.12.3.2 of the OGC SPEC. Because the result of this function is a closure, and hence topologically closed, the resulting boundary can be represented using representational geometry primitives as discussed in the OGC SPEC, section 3.12.2."
msgstr ""
#. Tag: para
#: reference_accessor.xml:90
#, no-c-format
msgid "Performed by the GEOS module"
msgstr ""
#. Tag: para
#: reference_accessor.xml:92
#, no-c-format
msgid "Prior to 2.0.0, this function throws an exception if used with <varname>GEOMETRYCOLLECTION</varname>. From 2.0.0 up it will return NULL instead (unsupported input)."
msgstr ""
#. Tag: para
#: reference_accessor.xml:94
#, no-c-format
msgid "&sfs_compliant; OGC SPEC s2.1.1.1"
msgstr ""
#. Tag: para
#: reference_accessor.xml:95
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.14"
msgstr ""
#. Tag: para
#: reference_accessor.xml:97
#, no-c-format
msgid "Enhanced: 2.1.0 support for Triangle was introduced"
msgstr ""
#. Tag: para
#: reference_accessor.xml:112
#, no-c-format
msgid "Linestring with boundary points overlaid"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:115
#, no-c-format
msgid ""
"SELECT ST_Boundary(geom)\n"
"FROM (SELECT 'LINESTRING(100 150,50 60, 70 80, 160 170)'::geometry As geom) As f;"
msgstr ""
#. Tag: screen
#: reference_accessor.xml:116
#, no-c-format
msgid ""
"-- ST_AsText output\n"
"MULTIPOINT(100 150,160 170)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:124
#, no-c-format
msgid "polygon holes with boundary multilinestring"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:127
#, no-c-format
msgid ""
"SELECT ST_Boundary(geom)\n"
"FROM (SELECT\n"
"'POLYGON (( 10 130, 50 190, 110 190, 140 150, 150 80, 100 10, 20 40, 10 130 ),\n"
" ( 70 40, 100 50, 120 80, 80 110, 50 90, 70 40 ))'::geometry As geom) As f;"
msgstr ""
#. Tag: screen
#: reference_accessor.xml:128
#, no-c-format
msgid ""
"-- ST_AsText output\n"
"MULTILINESTRING((10 130,50 190,110 190,140 150,150 80,100 10,20 40,10 130),\n"
" (70 40,100 50,120 80,80 110,50 90,70 40))"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:136
#, no-c-format
msgid ""
"SELECT ST_AsText(ST_Boundary(ST_GeomFromText('LINESTRING(1 1,0 0, -1 1)')));\n"
"st_astext\n"
"-----------\n"
"MULTIPOINT(1 1,-1 1)\n"
"\n"
"SELECT ST_AsText(ST_Boundary(ST_GeomFromText('POLYGON((1 1,0 0, -1 1, 1 1))')));\n"
"st_astext\n"
"----------\n"
"LINESTRING(1 1,0 0,-1 1,1 1)\n"
"\n"
"--Using a 3d polygon\n"
"SELECT ST_AsEWKT(ST_Boundary(ST_GeomFromEWKT('POLYGON((1 1 1,0 0 1, -1 1 1, 1 1 1))')));\n"
"\n"
"st_asewkt\n"
"-----------------------------------\n"
"LINESTRING(1 1 1,0 0 1,-1 1 1,1 1 1)\n"
"\n"
"--Using a 3d multilinestring\n"
"SELECT ST_AsEWKT(ST_Boundary(ST_GeomFromEWKT('MULTILINESTRING((1 1 1,0 0 0.5, -1 1 1),(1 1 0.5,0 0 0.5, -1 1 0.5, 1 1 0.5) )')));\n"
"\n"
"st_asewkt\n"
"----------\n"
"MULTIPOINT(-1 1 1,1 1 0.75)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:141
#, no-c-format
msgid ", <xref linkend=\"ST_ExteriorRing\"/>, <xref linkend=\"ST_MakePolygon\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:147
#, no-c-format
msgid "ST_CoordDim"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:149
#, no-c-format
msgid "<refpurpose>Return the coordinate dimension of the ST_Geometry value.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:154
#, no-c-format
msgid "<funcdef>integer <function>ST_CoordDim</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:164
#, no-c-format
msgid "<para>Return the coordinate dimension of the ST_Geometry value.</para>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:166
#, no-c-format
msgid "This is the MM compliant alias name for <xref linkend=\"ST_NDims\"/>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:169
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.3"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:180
#, no-c-format
msgid ""
"SELECT ST_CoordDim('CIRCULARSTRING(1 2 3, 1 3 4, 5 6 7, 8 9 10, 11 12 13)');\n"
" ---result--\n"
" 3\n"
"\n"
" SELECT ST_CoordDim(ST_Point(1,2));\n"
" --result--\n"
" 2"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:193
#, no-c-format
msgid "ST_Dimension"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:195
#, no-c-format
msgid "The inherent dimension of this Geometry object, which must be less than or equal to the coordinate dimension."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:201
#, no-c-format
msgid "<funcdef>integer <function>ST_Dimension</function></funcdef> <paramdef><type>geometry </type> <parameter>g</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:212
#, no-c-format
msgid "The inherent dimension of this Geometry object, which must be less than or equal to the coordinate dimension. OGC SPEC s2.1.1.1 - returns 0 for <varname>POINT</varname>, 1 for <varname>LINESTRING</varname>, 2 for <varname>POLYGON</varname>, and the largest dimension of the components of a <varname>GEOMETRYCOLLECTION</varname>. If unknown (empty geometry) null is returned."
msgstr ""
#. Tag: para
#: reference_accessor.xml:220
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.2"
msgstr ""
#. Tag: para
#: reference_accessor.xml:221
#, no-c-format
msgid "Enhanced: 2.0.0 support for Polyhedral surfaces and TINs was introduced. No longer throws an exception if given empty geometry."
msgstr ""
#. Tag: para
#: reference_accessor.xml:222
#, no-c-format
msgid "Prior to 2.0.0, this function throws an exception if used with empty geometry."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:230
#, no-c-format
msgid ""
"SELECT ST_Dimension('GEOMETRYCOLLECTION(LINESTRING(1 1,0 0),POINT(0 0))');\n"
"ST_Dimension\n"
"-----------\n"
"1"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:241
#, no-c-format
msgid "ST_EndPoint"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:243
#, no-c-format
msgid "Returns the last point of a <varname>LINESTRING</varname> or <varname>CIRCULARLINESTRING</varname> geometry as a <varname>POINT</varname>."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:249
#, no-c-format
msgid "<funcdef>boolean <function>ST_EndPoint</function></funcdef> <paramdef><type>geometry </type> <parameter>g</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:260
#, no-c-format
msgid "Returns the last point of a <varname>LINESTRING</varname> geometry as a <varname>POINT</varname> or <varname>NULL</varname> if the input parameter is not a <varname>LINESTRING</varname>."
msgstr ""
#. Tag: para
#: reference_accessor.xml:264
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 7.1.4"
msgstr ""
#. Tag: para
#: reference_accessor.xml:268 reference_accessor.xml:1674
#, no-c-format
msgid "Changed: 2.0.0 no longer works with single geometry multilinestrings. In older versions of PostGIS -- a single line multilinestring would work happily with this function and return the start point. In 2.0.0 it just returns NULL like any other multilinestring. The older behavior was an undocumented feature, but people who assumed they had their data stored as LINESTRING may experience these returning NULL in 2.0 now."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:279
#, no-c-format
msgid ""
"postgis=# SELECT ST_AsText(ST_EndPoint('LINESTRING(1 1, 2 2, 3 3)'::geometry));\n"
" st_astext\n"
"------------\n"
" POINT(3 3)\n"
"(1 row)\n"
"\n"
"postgis=# SELECT ST_EndPoint('POINT(1 1)'::geometry) IS NULL AS is_null;\n"
" is_null\n"
"----------\n"
" t\n"
"(1 row)\n"
"\n"
"--3d endpoint\n"
"SELECT ST_AsEWKT(ST_EndPoint('LINESTRING(1 1 2, 1 2 3, 0 0 5)'));\n"
" st_asewkt\n"
"--------------\n"
" POINT(0 0 5)\n"
"(1 row)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:285
#, no-c-format
msgid ", <xref linkend=\"ST_StartPoint\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:292
#, no-c-format
msgid "ST_Envelope"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:294
#, no-c-format
msgid "Returns a geometry representing the double precision (float8) bounding box of the supplied geometry."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:300
#, no-c-format
msgid "<funcdef>geometry <function>ST_Envelope</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:311
#, no-c-format
msgid "Returns the float8 minimum bounding box for the supplied geometry, as a geometry. The polygon is defined by the corner points of the bounding box ((<varname>MINX</varname>, <varname>MINY</varname>), (<varname>MINX</varname>, <varname>MAXY</varname>), (<varname>MAXX</varname>, <varname>MAXY</varname>), (<varname>MAXX</varname>, <varname>MINY</varname>), (<varname>MINX</varname>, <varname>MINY</varname>)). (PostGIS will add a <varname>ZMIN</varname>/<varname>ZMAX</varname> coordinate as well)."
msgstr ""
#. Tag: para
#: reference_accessor.xml:321
#, no-c-format
msgid "Degenerate cases (vertical lines, points) will return a geometry of lower dimension than <varname>POLYGON</varname>, ie. <varname>POINT</varname> or <varname>LINESTRING</varname>."
msgstr ""
#. Tag: para
#: reference_accessor.xml:325
#, no-c-format
msgid "Availability: 1.5.0 behavior changed to output double precision instead of float4"
msgstr ""
#. Tag: para
#: reference_accessor.xml:326 reference_accessor.xml:775 reference_accessor.xml:873 reference_accessor.xml:1627
#, no-c-format
msgid "&sfs_compliant; s2.1.1.1"
msgstr ""
#. Tag: para
#: reference_accessor.xml:327
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.15"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:333
#, no-c-format
msgid ""
"SELECT ST_AsText(ST_Envelope('POINT(1 3)'::geometry));\n"
" st_astext\n"
"------------\n"
" POINT(1 3)\n"
"(1 row)\n"
"\n"
"\n"
"SELECT ST_AsText(ST_Envelope('LINESTRING(0 0, 1 3)'::geometry));\n"
" st_astext\n"
"--------------------------------\n"
" POLYGON((0 0,0 3,1 3,1 0,0 0))\n"
"(1 row)\n"
"\n"
"\n"
"SELECT ST_AsText(ST_Envelope('POLYGON((0 0, 0 1, 1.0000001 1, 1.0000001 0, 0 0))'::geometry));\n"
" st_astext\n"
"--------------------------------------------------------------\n"
" POLYGON((0 0,0 1,1.00000011920929 1,1.00000011920929 0,0 0))\n"
"(1 row)\n"
"SELECT ST_AsText(ST_Envelope('POLYGON((0 0, 0 1, 1.0000000001 1, 1.0000000001 0, 0 0))'::geometry));\n"
" st_astext\n"
"--------------------------------------------------------------\n"
" POLYGON((0 0,0 1,1.00000011920929 1,1.00000011920929 0,0 0))\n"
"(1 row)\n"
"\n"
"SELECT Box3D(geom), Box2D(geom), ST_AsText(ST_Envelope(geom)) As envelopewkt\n"
" FROM (SELECT 'POLYGON((0 0, 0 1000012333334.34545678, 1.0000001 1, 1.0000001 0, 0 0))'::geometry As geom) As foo;\n"
"\n"
"<!-- TODO: Fix examples to reflect new behavior -->"
msgstr ""
#. Tag: para
#: reference_accessor.xml:338
#, no-c-format
msgid ", <xref linkend=\"Box3D\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:344
#, no-c-format
msgid "ST_BoundingDiagonal"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:346
#, no-c-format
msgid "Returns the diagonal of the supplied geometry's bounding box."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:351
#, no-c-format
msgid "<funcdef>geometry <function>ST_BoundingDiagonal</function></funcdef> <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef> <paramdef choice=\"opt\"><type>boolean </type> <parameter>fits=false</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:363
#, no-c-format
msgid "Returns the diagonal of the supplied geometry's bounding box as linestring. If the input geometry is empty, the diagonal line is also empty, otherwise it is a 2-points linestring with minimum values of each dimension in its start point and maximum values in its end point."
msgstr ""
#. Tag: para
#: reference_accessor.xml:370
#, no-c-format
msgid "The returned linestring geometry always retains SRID and dimensionality (Z and M presence) of the input geometry."
msgstr ""
#. Tag: para
#: reference_accessor.xml:375
#, no-c-format
msgid "The <varname>fits</varname> parameter specifies if the best fit is needed. If false, the diagonal of a somewhat larger bounding box can be accepted (is faster to obtain for geometries with a lot of vertices). In any case the bounding box of the returned diagonal line always covers the input geometry."
msgstr ""
#. Tag: para
#: reference_accessor.xml:383
#, no-c-format
msgid "In degenerate cases (a single vertex in input) the returned linestring will be topologically invalid (no interior). This does not make the return semantically invalid."
msgstr ""
#. Tag: para
#: reference_accessor.xml:389
#, no-c-format
msgid "Availability: 2.2.0"
msgstr ""
#. Tag: para
#: reference_accessor.xml:391
#, no-c-format
msgid "&M_support;"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:397
#, no-c-format
msgid ""
"-- Get the minimum X in a buffer around a point\n"
"SELECT ST_X(ST_StartPoint(ST_BoundingDiagonal(\n"
" ST_Buffer(ST_MakePoint(0,0),10)\n"
")));\n"
" st_x\n"
"------\n"
" -10"
msgstr ""
#. Tag: para
#: reference_accessor.xml:401
#, no-c-format
msgid ", <xref linkend=\"ST_EndPoint\"/>, <xref linkend=\"ST_X\"/>, <xref linkend=\"ST_Y\"/>, <xref linkend=\"ST_Z\"/>, <xref linkend=\"ST_M\"/>, <xref linkend=\"geometry_overlaps_nd\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:415
#, no-c-format
msgid "ST_ExteriorRing"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:417
#, no-c-format
msgid "Returns a line string representing the exterior ring of the <varname>POLYGON</varname> geometry. Return NULL if the geometry is not a polygon. Will not work with MULTIPOLYGON"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:423
#, no-c-format
msgid "<funcdef>geometry <function>ST_ExteriorRing</function></funcdef> <paramdef><type>geometry </type> <parameter>a_polygon</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:434
#, no-c-format
msgid "Returns a line string representing the exterior ring of the <varname>POLYGON</varname> geometry. Return NULL if the geometry is not a polygon."
msgstr ""
#. Tag: para
#: reference_accessor.xml:437
#, no-c-format
msgid "Only works with POLYGON geometry types"
msgstr ""
#. Tag: para
#: reference_accessor.xml:439 reference_accessor.xml:819
#, no-c-format
msgid "&sfs_compliant; 2.1.5.1"
msgstr ""
#. Tag: para
#: reference_accessor.xml:440
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 8.2.3, 8.3.3"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:447
#, no-c-format
msgid ""
"--If you have a table of polygons\n"
"SELECT gid, ST_ExteriorRing(the_geom) AS ering\n"
"FROM sometable;\n"
"\n"
"--If you have a table of MULTIPOLYGONs\n"
"--and want to return a MULTILINESTRING composed of the exterior rings of each polygon\n"
"SELECT gid, ST_Collect(ST_ExteriorRing(the_geom)) AS erings\n"
" FROM (SELECT gid, (ST_Dump(the_geom)).geom As the_geom\n"
" FROM sometable) As foo\n"
"GROUP BY gid;\n"
"\n"
"--3d Example\n"
"SELECT ST_AsEWKT(\n"
" ST_ExteriorRing(\n"
" ST_GeomFromEWKT('POLYGON((0 0 1, 1 1 1, 1 2 1, 1 1 1, 0 0 1))')\n"
" )\n"
");\n"
"\n"
"st_asewkt\n"
"---------\n"
"LINESTRING(0 0 1,1 1 1,1 2 1,1 1 1,0 0 1)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:453
#, no-c-format
msgid ", <xref linkend=\"ST_Boundary\"/>, <xref linkend=\"ST_NumInteriorRings\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:463
#, no-c-format
msgid "ST_GeometryN"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:465
#, no-c-format
msgid "Return the 1-based Nth geometry if the geometry is a GEOMETRYCOLLECTION, (MULTI)POINT, (MULTI)LINESTRING, MULTICURVE or (MULTI)POLYGON, POLYHEDRALSURFACE Otherwise, return NULL."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:472
#, no-c-format
msgid "<funcdef>geometry <function>ST_GeometryN</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef> <paramdef><type>integer </type> <parameter>n</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:483
#, no-c-format
msgid "Return the 1-based Nth geometry if the geometry is a GEOMETRYCOLLECTION, (MULTI)POINT, (MULTI)LINESTRING, MULTICURVE or (MULTI)POLYGON, POLYHEDRALSURFACE Otherwise, return NULL"
msgstr ""
#. Tag: para
#: reference_accessor.xml:488
#, no-c-format
msgid "Index is 1-based as for OGC specs since version 0.8.0. Previous versions implemented this as 0-based instead."
msgstr ""
#. Tag: para
#: reference_accessor.xml:493
#, no-c-format
msgid "If you want to extract all geometries, of a geometry, ST_Dump is more efficient and will also work for singular geoms."
msgstr ""
#. Tag: para
#: reference_accessor.xml:496
#, no-c-format
msgid "Changed: 2.0.0 Prior versions would return NULL for singular geometries. This was changed to return the geometry for ST_GeometryN(..,1) case."
msgstr ""
#. Tag: para
#: reference_accessor.xml:498
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 9.1.5"
msgstr ""
#. Tag: title
#: reference_accessor.xml:508
#, no-c-format
msgid "Standard Examples"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:510
#, no-c-format
msgid ""
"--Extracting a subset of points from a 3d multipoint\n"
"SELECT n, ST_AsEWKT(ST_GeometryN(the_geom, n)) As geomewkt\n"
"FROM (\n"
"VALUES (ST_GeomFromEWKT('MULTIPOINT(1 2 7, 3 4 7, 5 6 7, 8 9 10)') ),\n"
"( ST_GeomFromEWKT('MULTICURVE(CIRCULARSTRING(2.5 2.5,4.5 2.5, 3.5 3.5), (10 11, 12 11))') )\n"
" )As foo(the_geom)\n"
" CROSS JOIN generate_series(1,100) n\n"
"WHERE n <= ST_NumGeometries(the_geom);\n"
"\n"
" n | geomewkt\n"
"---+-----------------------------------------\n"
" 1 | POINT(1 2 7)\n"
" 2 | POINT(3 4 7)\n"
" 3 | POINT(5 6 7)\n"
" 4 | POINT(8 9 10)\n"
" 1 | CIRCULARSTRING(2.5 2.5,4.5 2.5,3.5 3.5)\n"
" 2 | LINESTRING(10 11,12 11)\n"
"\n"
"\n"
"--Extracting all geometries (useful when you want to assign an id)\n"
"SELECT gid, n, ST_GeometryN(the_geom, n)\n"
"FROM sometable CROSS JOIN generate_series(1,100) n\n"
"WHERE n <= ST_NumGeometries(the_geom);"
msgstr ""
#. Tag: title
#: reference_accessor.xml:513
#, no-c-format
msgid "Polyhedral Surfaces, TIN and Triangle Examples"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:514
#, no-c-format
msgid ""
"-- Polyhedral surface example\n"
"-- Break a Polyhedral surface into its faces\n"
"SELECT ST_AsEWKT(ST_GeometryN(p_geom,3)) As geom_ewkt\n"
" FROM (SELECT 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)),\n"
"((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)),\n"
"((0 0 1, 1 0 1, 1 1 1, 0 1 1, 0 0 1))\n"
")') AS p_geom ) AS a;\n"
"\n"
" geom_ewkt\n"
"------------------------------------------\n"
" POLYGON((0 0 0,1 0 0,1 0 1,0 0 1,0 0 0))"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:516
#, no-c-format
msgid ""
"-- TIN --\n"
"SELECT ST_AsEWKT(ST_GeometryN(geom,2)) as wkt\n"
" FROM\n"
" (SELECT\n"
" 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 geom\n"
" ) AS g;\n"
"-- result --\n"
" wkt\n"
"-------------------------------------\n"
" TRIANGLE((0 0 0,0 1 0,1 1 0,0 0 0))"
msgstr ""
#. Tag: para
#: reference_accessor.xml:523 reference_accessor.xml:1386
#, no-c-format
msgid ", <xref linkend=\"ST_NumGeometries\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:529
#, no-c-format
msgid "ST_GeometryType"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:530
#, no-c-format
msgid "Return the geometry type of the ST_Geometry value."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:535
#, no-c-format
msgid "<funcdef>text <function>ST_GeometryType</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:544
#, no-c-format
msgid "Returns the type of the geometry as a string. EG: 'ST_Linestring', 'ST_Polygon','ST_MultiPolygon' etc. This function differs from GeometryType(geometry) in the case of the string and ST in front that is returned, as well as the fact that it will not indicate whether the geometry is measured."
msgstr ""
#. Tag: para
#: reference_accessor.xml:546 reference_accessor.xml:667 reference_accessor.xml:1185
#, no-c-format
msgid "Enhanced: 2.0.0 support for Polyhedral surfaces was introduced."
msgstr ""
#. Tag: para
#: reference_accessor.xml:547
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.4"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:556
#, no-c-format
msgid ""
"SELECT ST_GeometryType(ST_GeomFromText('LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.29 29.07)'));\n"
" --result\n"
" ST_LineString"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:558 reference_accessor.xml:560
#, no-c-format
msgid ""
"SELECT ST_GeometryType(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)) )'));\n"
" --result\n"
" ST_PolyhedralSurface"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:562
#, no-c-format
msgid ""
"SELECT ST_GeometryType(geom) as result\n"
" FROM\n"
" (SELECT\n"
" 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 geom\n"
" ) AS g;\n"
" result\n"
"--------\n"
" ST_Tin"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:575
#, no-c-format
msgid "ST_InteriorRingN"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:577
#, no-c-format
msgid "Return the Nth interior linestring ring of the polygon geometry. Return NULL if the geometry is not a polygon or the given N is out of range."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:584
#, no-c-format
msgid "<funcdef>geometry <function>ST_InteriorRingN</function></funcdef> <paramdef><type>geometry </type> <parameter>a_polygon</parameter></paramdef> <paramdef><type>integer </type> <parameter>n</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:595
#, no-c-format
msgid "Return the Nth interior linestring ring of the polygon geometry. Return NULL if the geometry is not a polygon or the given N is out of range. index starts at 1."
msgstr ""
#. Tag: para
#: reference_accessor.xml:601
#, no-c-format
msgid "This will not work for MULTIPOLYGONs. Use in conjunction with ST_Dump for MULTIPOLYGONS"
msgstr ""
#. Tag: para
#: reference_accessor.xml:605
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 8.2.6, 8.3.5"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:614
#, no-c-format
msgid ""
"SELECT ST_AsText(ST_InteriorRingN(the_geom, 1)) As the_geom\n"
"FROM (SELECT ST_BuildArea(\n"
" ST_Collect(ST_Buffer(ST_Point(1,2), 20,3),\n"
" ST_Buffer(ST_Point(1, 2), 10,3))) As the_geom\n"
" ) as foo"
msgstr ""
#. Tag: para
#: reference_accessor.xml:621
#, no-c-format
msgid ", <xref linkend=\"ST_Collect\"/>, <xref linkend=\"ST_Dump\"/>, <xref linkend=\"ST_NumInteriorRing\"/>,"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:634
#, no-c-format
msgid "ST_IsClosed"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:636
#, no-c-format
msgid "Returns <varname>TRUE</varname> if the <varname>LINESTRING</varname>'s start and end points are coincident. For Polyhedral surface is closed (volumetric)."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:643
#, no-c-format
msgid "<funcdef>boolean <function>ST_IsClosed</function></funcdef> <paramdef><type>geometry </type> <parameter>g</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:654
#, no-c-format
msgid "Returns <varname>TRUE</varname> if the <varname>LINESTRING</varname>'s start and end points are coincident. For Polyhedral Surfaces, it tells you if the surface is areal (open) or volumetric (closed)."
msgstr ""
#. Tag: para
#: reference_accessor.xml:658
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 7.1.5, 9.3.3"
msgstr ""
#. Tag: para
#: reference_accessor.xml:660
#, no-c-format
msgid "SQL-MM defines the result of <function>ST_IsClosed(<varname>NULL</varname>)</function> to be 0, while PostGIS returns <varname>NULL</varname>."
msgstr ""
#. Tag: title
#: reference_accessor.xml:674
#, no-c-format
msgid "Line String and Point Examples"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:676
#, no-c-format
msgid ""
"postgis=# SELECT ST_IsClosed('LINESTRING(0 0, 1 1)'::geometry);\n"
" st_isclosed\n"
"-------------\n"
" f\n"
"(1 row)\n"
"\n"
"postgis=# SELECT ST_IsClosed('LINESTRING(0 0, 0 1, 1 1, 0 0)'::geometry);\n"
" st_isclosed\n"
"-------------\n"
" t\n"
"(1 row)\n"
"\n"
"postgis=# SELECT ST_IsClosed('MULTILINESTRING((0 0, 0 1, 1 1, 0 0),(0 0, 1 1))'::geometry);\n"
" st_isclosed\n"
"-------------\n"
" f\n"
"(1 row)\n"
"\n"
"postgis=# SELECT ST_IsClosed('POINT(0 0)'::geometry);\n"
" st_isclosed\n"
"-------------\n"
" t\n"
"(1 row)\n"
"\n"
"postgis=# SELECT ST_IsClosed('MULTIPOINT((0 0), (1 1))'::geometry);\n"
" st_isclosed\n"
"-------------\n"
" t\n"
"(1 row)"
msgstr ""
#. Tag: title
#: reference_accessor.xml:680
#, no-c-format
msgid "Polyhedral Surface Examples"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:682
#, no-c-format
msgid ""
"-- A cube --\n"
" SELECT ST_IsClosed(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)) )'));\n"
"\n"
" st_isclosed\n"
"-------------\n"
" t\n"
"\n"
"\n"
" -- Same as cube but missing a side --\n"
" SELECT ST_IsClosed(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)) )'));\n"
"\n"
" st_isclosed\n"
"-------------\n"
" f"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:694
#, no-c-format
msgid "ST_IsCollection"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:696
#, no-c-format
msgid "Returns <varname>TRUE</varname> if the argument is a collection (<varname>MULTI*</varname>, <varname>GEOMETRYCOLLECTION</varname>, ...)"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:703
#, no-c-format
msgid "<funcdef>boolean <function>ST_IsCollection</function></funcdef> <paramdef><type>geometry </type> <parameter>g</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:713
#, no-c-format
msgid "Returns <varname>TRUE</varname> if the geometry type of the argument is either:"
msgstr ""
#. Tag: para
#: reference_accessor.xml:716
#, no-c-format
msgid "GEOMETRYCOLLECTION"
msgstr ""
#. Tag: para
#: reference_accessor.xml:717
#, no-c-format
msgid "MULTI{POINT,POLYGON,LINESTRING,CURVE,SURFACE}"
msgstr ""
#. Tag: para
#: reference_accessor.xml:718
#, no-c-format
msgid "COMPOUNDCURVE"
msgstr ""
#. Tag: para
#: reference_accessor.xml:723
#, no-c-format
msgid "This function analyzes the type of the geometry. This means that it will return <varname>TRUE</varname> on collections that are empty or that contain a single element."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:738
#, no-c-format
msgid ""
"postgis=# SELECT ST_IsCollection('LINESTRING(0 0, 1 1)'::geometry);\n"
" st_iscollection\n"
"-------------\n"
" f\n"
"(1 row)\n"
"\n"
"postgis=# SELECT ST_IsCollection('MULTIPOINT EMPTY'::geometry);\n"
" st_iscollection\n"
"-------------\n"
" t\n"
"(1 row)\n"
"\n"
"postgis=# SELECT ST_IsCollection('MULTIPOINT((0 0))'::geometry);\n"
" st_iscollection\n"
"-------------\n"
" t\n"
"(1 row)\n"
"\n"
"postgis=# SELECT ST_IsCollection('MULTIPOINT((0 0), (42 42))'::geometry);\n"
" st_iscollection\n"
"-------------\n"
" t\n"
"(1 row)\n"
"\n"
"postgis=# SELECT ST_IsCollection('GEOMETRYCOLLECTION(POINT(0 0))'::geometry);\n"
" st_iscollection\n"
"-------------\n"
" t\n"
"(1 row)"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:750
#, no-c-format
msgid "ST_IsEmpty"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:752
#, no-c-format
msgid "Returns true if this Geometry is an empty geometrycollection, polygon, point etc."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:758
#, no-c-format
msgid "<funcdef>boolean <function>ST_IsEmpty</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:768
#, no-c-format
msgid "Returns true if this Geometry is an empty geometry. If true, then this Geometry represents an empty geometry collection, polygon, point etc."
msgstr ""
#. Tag: para
#: reference_accessor.xml:771
#, no-c-format
msgid "SQL-MM defines the result of ST_IsEmpty(NULL) to be 0, while PostGIS returns NULL."
msgstr ""
#. Tag: para
#: reference_accessor.xml:776
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.7"
msgstr ""
#. Tag: para
#: reference_accessor.xml:778
#, no-c-format
msgid "Changed: 2.0.0 In prior versions of PostGIS ST_GeomFromText('GEOMETRYCOLLECTION(EMPTY)') was allowed. This is now illegal in PostGIS 2.0.0 to better conform with SQL/MM standards"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:786
#, no-c-format
msgid ""
"SELECT ST_IsEmpty(ST_GeomFromText('GEOMETRYCOLLECTION EMPTY'));\n"
" st_isempty\n"
"------------\n"
" t\n"
"(1 row)\n"
"\n"
" SELECT ST_IsEmpty(ST_GeomFromText('POLYGON EMPTY'));\n"
" st_isempty\n"
"------------\n"
" t\n"
"(1 row)\n"
"\n"
"SELECT ST_IsEmpty(ST_GeomFromText('POLYGON((1 2, 3 4, 5 6, 1 2))'));\n"
"\n"
" st_isempty\n"
"------------\n"
" f\n"
"(1 row)\n"
"\n"
" SELECT ST_IsEmpty(ST_GeomFromText('POLYGON((1 2, 3 4, 5 6, 1 2))')) = false;\n"
" ?column?\n"
"----------\n"
" t\n"
"(1 row)\n"
"\n"
" SELECT ST_IsEmpty(ST_GeomFromText('CIRCULARSTRING EMPTY'));\n"
" st_isempty\n"
"------------\n"
" t\n"
"(1 row)"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:793
#, no-c-format
msgid "ST_IsRing"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:795
#, no-c-format
msgid "Returns <varname>TRUE</varname> if this <varname>LINESTRING</varname> is both closed and simple."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:801
#, no-c-format
msgid "<funcdef>boolean <function>ST_IsRing</function></funcdef> <paramdef><type>geometry </type> <parameter>g</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:812
#, no-c-format
msgid "Returns <varname>TRUE</varname> if this <varname>LINESTRING</varname> is both <xref linkend=\"ST_IsClosed\"/> (<function>ST_StartPoint(<parameter>g</parameter>)</function> <function>~=</function> <function>ST_Endpoint(<parameter>g</parameter>)</function>) and <xref linkend=\"ST_IsSimple\"/> (does not self intersect)."
msgstr ""
#. Tag: para
#: reference_accessor.xml:820
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 7.1.6"
msgstr ""
#. Tag: para
#: reference_accessor.xml:822
#, no-c-format
msgid "SQL-MM defines the result of <function>ST_IsRing(<varname>NULL</varname>)</function> to be 0, while PostGIS returns <varname>NULL</varname>."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:831
#, no-c-format
msgid ""
"SELECT ST_IsRing(the_geom), ST_IsClosed(the_geom), ST_IsSimple(the_geom)\n"
"FROM (SELECT 'LINESTRING(0 0, 0 1, 1 1, 1 0, 0 0)'::geometry AS the_geom) AS foo;\n"
" st_isring | st_isclosed | st_issimple\n"
"-----------+-------------+-------------\n"
" t | t | t\n"
"(1 row)\n"
"\n"
"SELECT ST_IsRing(the_geom), ST_IsClosed(the_geom), ST_IsSimple(the_geom)\n"
"FROM (SELECT 'LINESTRING(0 0, 0 1, 1 0, 1 1, 0 0)'::geometry AS the_geom) AS foo;\n"
" st_isring | st_isclosed | st_issimple\n"
"-----------+-------------+-------------\n"
" f | t | f\n"
"(1 row)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:837
#, no-c-format
msgid ", <xref linkend=\"ST_IsSimple\"/>, <xref linkend=\"ST_StartPoint\"/>, <xref linkend=\"ST_EndPoint\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:845
#, no-c-format
msgid "ST_IsSimple"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:847
#, no-c-format
msgid "Returns (TRUE) if this Geometry has no anomalous geometric points, such as self intersection or self tangency."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:853
#, no-c-format
msgid "<funcdef>boolean <function>ST_IsSimple</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:863
#, no-c-format
msgid "Returns true if this Geometry has no anomalous geometric points, such as self intersection or self tangency. For more information on the OGC's definition of geometry simplicity and validity, refer to <link linkend=\"OGC_Validity\">\"Ensuring OpenGIS compliancy of geometries\"</link>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:869
#, no-c-format
msgid "SQL-MM defines the result of ST_IsSimple(NULL) to be 0, while PostGIS returns NULL."
msgstr ""
#. Tag: para
#: reference_accessor.xml:874
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.8"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:882
#, no-c-format
msgid ""
"SELECT ST_IsSimple(ST_GeomFromText('POLYGON((1 2, 3 4, 5 6, 1 2))'));\n"
" st_issimple\n"
"-------------\n"
" t\n"
"(1 row)\n"
"\n"
" SELECT ST_IsSimple(ST_GeomFromText('LINESTRING(1 1,2 2,2 3.5,1 3,1 2,2 1)'));\n"
" st_issimple\n"
"-------------\n"
" f\n"
"(1 row)"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:894
#, no-c-format
msgid "ST_IsValid"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:896
#, no-c-format
msgid "Returns <varname>true</varname> if the <varname>ST_Geometry</varname> is well formed."
msgstr ""
#. Tag: funcsynopsis
#: reference_accessor.xml:902
#, no-c-format
msgid "<funcprototype> <funcdef>boolean <function>ST_IsValid</function></funcdef> <paramdef><type>geometry </type> <parameter>g</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>boolean <function>ST_IsValid</function></funcdef> <paramdef><type>geometry </type> <parameter>g</parameter></paramdef> <paramdef><type>integer </type> <parameter>flags</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:920
#, no-c-format
msgid "Test if an ST_Geometry value is well formed. For geometries that are invalid, the PostgreSQL NOTICE will provide details of why it is not valid. For more information on the OGC's definition of geometry simplicity and validity, refer to <link linkend=\"OGC_Validity\">\"Ensuring OpenGIS compliancy of geometries\"</link>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:926
#, no-c-format
msgid "SQL-MM defines the result of ST_IsValid(NULL) to be 0, while PostGIS returns NULL."
msgstr ""
#. Tag: para
#: reference_accessor.xml:930
#, no-c-format
msgid "The version accepting flags is available starting with 2.0.0 and requires GEOS >= 3.3.0. Such version does not print a NOTICE explaining the invalidity. Allowed <varname>flags</varname> are documented in <xref linkend=\"ST_IsValidDetail\"/>."
msgstr ""
#. Tag: para
#: reference_accessor.xml:938
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.9"
msgstr ""
#. Tag: para
#: reference_accessor.xml:941
#, no-c-format
msgid "Neither OGC-SFS nor SQL-MM specifications include a flag argument for ST_IsValid. The flag is a PostGIS extension."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:953
#, no-c-format
msgid ""
"SELECT ST_IsValid(ST_GeomFromText('LINESTRING(0 0, 1 1)')) As good_line,\n"
" ST_IsValid(ST_GeomFromText('POLYGON((0 0, 1 1, 1 2, 1 1, 0 0))')) As bad_poly\n"
"--results\n"
"NOTICE: Self-intersection at or near point 0 0\n"
" good_line | bad_poly\n"
"-----------+----------\n"
" t | f"
msgstr ""
#. Tag: para
#: reference_accessor.xml:959
#, no-c-format
msgid ", <xref linkend=\"ST_IsValidReason\"/>, <xref linkend=\"ST_IsValidDetail\"/>, <xref linkend=\"ST_Summary\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:970
#, no-c-format
msgid "ST_IsValidReason"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:972
#, no-c-format
msgid "Returns text stating if a geometry is valid or not and if not valid, a reason why."
msgstr ""
#. Tag: funcsynopsis
#: reference_accessor.xml:976
#, no-c-format
msgid "<funcprototype> <funcdef>text <function>ST_IsValidReason</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>text <function>ST_IsValidReason</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef> <paramdef><type>integer </type> <parameter>flags</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:992
#, no-c-format
msgid "Returns text stating if a geometry is valid or not an if not valid, a reason why."
msgstr ""
#. Tag: para
#: reference_accessor.xml:994
#, no-c-format
msgid "Useful in combination with ST_IsValid to generate a detailed report of invalid geometries and reasons."
msgstr ""
#. Tag: para
#: reference_accessor.xml:996
#, no-c-format
msgid "Allowed <varname>flags</varname> are documented in <xref linkend=\"ST_IsValidDetail\"/>."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1000
#, no-c-format
msgid "Availability: 1.4 - requires GEOS >= 3.1.0."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1001
#, no-c-format
msgid "Availability: 2.0 - requires GEOS >= 3.3.0 for the version taking flags."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1009
#, no-c-format
msgid ""
"--First 3 Rejects from a successful quintuplet experiment\n"
"SELECT gid, ST_IsValidReason(the_geom) as validity_info\n"
"FROM\n"
"(SELECT ST_MakePolygon(ST_ExteriorRing(e.buff), ST_Accum(f.line)) As the_geom, gid\n"
"FROM (SELECT ST_Buffer(ST_MakePoint(x1*10,y1), z1) As buff, x1*10 + y1*100 + z1*1000 As gid\n"
" FROM generate_series(-4,6) x1\n"
" CROSS JOIN generate_series(2,5) y1\n"
" CROSS JOIN generate_series(1,8) z1\n"
" WHERE x1 > y1*0.5 AND z1 < x1*y1) As e\n"
" INNER JOIN (SELECT ST_Translate(ST_ExteriorRing(ST_Buffer(ST_MakePoint(x1*10,y1), z1)),y1*1, z1*2) As line\n"
" FROM generate_series(-3,6) x1\n"
" CROSS JOIN generate_series(2,5) y1\n"
" CROSS JOIN generate_series(1,10) z1\n"
" WHERE x1 > y1*0.75 AND z1 < x1*y1) As f\n"
"ON (ST_Area(e.buff) > 78 AND ST_Contains(e.buff, f.line))\n"
"GROUP BY gid, e.buff) As quintuplet_experiment\n"
"WHERE ST_IsValid(the_geom) = false\n"
"ORDER BY gid\n"
"LIMIT 3;\n"
"\n"
" gid | validity_info\n"
"------+--------------------------\n"
" 5330 | Self-intersection [32 5]\n"
" 5340 | Self-intersection [42 5]\n"
" 5350 | Self-intersection [52 5]\n"
"\n"
" --simple example\n"
"SELECT ST_IsValidReason('LINESTRING(220227 150406,2220227 150407,222020 150410)');\n"
"\n"
" st_isvalidreason\n"
"------------------\n"
" Valid Geometry"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1016
#, no-c-format
msgid ", <xref linkend=\"ST_Summary\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1022
#, no-c-format
msgid "ST_IsValidDetail"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1024
#, no-c-format
msgid "Returns a valid_detail (valid,reason,location) row stating if a geometry is valid or not and if not valid, a reason why and a location where."
msgstr ""
#. Tag: funcsynopsis
#: reference_accessor.xml:1028
#, no-c-format
msgid "<funcprototype> <funcdef>valid_detail <function>ST_IsValidDetail</function></funcdef> <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>valid_detail <function>ST_IsValidDetail</function></funcdef> <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef> <paramdef><type>integer </type> <parameter>flags</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1044
#, no-c-format
msgid "Returns a valid_detail row, formed by a boolean (valid) stating if a geometry is valid, a varchar (reason) stating a reason why it is invalid and a geometry (location) pointing out where it is invalid."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1046
#, no-c-format
msgid "Useful to substitute and improve the combination of ST_IsValid and ST_IsValidReason to generate a detailed report of invalid geometries."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1048
#, no-c-format
msgid "The 'flags' argument is a bitfield. It can have the following values:"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1052
#, no-c-format
msgid "1: Consider self-intersecting rings forming holes as valid. This is also know as \"the ESRI flag\". Note that this is against the OGC model."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1061
#, no-c-format
msgid "Availability: 2.0.0 - requires GEOS >= 3.3.0."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1069
#, no-c-format
msgid ""
"--First 3 Rejects from a successful quintuplet experiment\n"
"SELECT gid, reason(ST_IsValidDetail(the_geom)), ST_AsText(location(ST_IsValidDetail(the_geom))) as location\n"
"FROM\n"
"(SELECT ST_MakePolygon(ST_ExteriorRing(e.buff), ST_Accum(f.line)) As the_geom, gid\n"
"FROM (SELECT ST_Buffer(ST_MakePoint(x1*10,y1), z1) As buff, x1*10 + y1*100 + z1*1000 As gid\n"
" FROM generate_series(-4,6) x1\n"
" CROSS JOIN generate_series(2,5) y1\n"
" CROSS JOIN generate_series(1,8) z1\n"
" WHERE x1 > y1*0.5 AND z1 < x1*y1) As e\n"
" INNER JOIN (SELECT ST_Translate(ST_ExteriorRing(ST_Buffer(ST_MakePoint(x1*10,y1), z1)),y1*1, z1*2) As line\n"
" FROM generate_series(-3,6) x1\n"
" CROSS JOIN generate_series(2,5) y1\n"
" CROSS JOIN generate_series(1,10) z1\n"
" WHERE x1 > y1*0.75 AND z1 < x1*y1) As f\n"
"ON (ST_Area(e.buff) > 78 AND ST_Contains(e.buff, f.line))\n"
"GROUP BY gid, e.buff) As quintuplet_experiment\n"
"WHERE ST_IsValid(the_geom) = false\n"
"ORDER BY gid\n"
"LIMIT 3;\n"
"\n"
" gid | reason | location\n"
"------+-------------------+-------------\n"
" 5330 | Self-intersection | POINT(32 5)\n"
" 5340 | Self-intersection | POINT(42 5)\n"
" 5350 | Self-intersection | POINT(52 5)\n"
"\n"
" --simple example\n"
"SELECT * FROM ST_IsValidDetail('LINESTRING(220227 150406,2220227 150407,222020 150410)');\n"
"\n"
" valid | reason | location\n"
"-------+--------+----------\n"
" t | |"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1076
#, no-c-format
msgid ", <xref linkend=\"ST_IsValidReason\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1085
#, no-c-format
msgid "ST_M"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1087
#, no-c-format
msgid "<refpurpose>Return the M coordinate of the point, or NULL if not available. Input must be a point.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1093
#, no-c-format
msgid "<funcdef>float <function>ST_M</function></funcdef> <paramdef><type>geometry </type> <parameter>a_point</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1103
#, no-c-format
msgid "<para>Return the M coordinate of the point, or NULL if not available. Input must be a point.</para>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1107
#, no-c-format
msgid "This is not (yet) part of the OGC spec, but is listed here to complete the point coordinate extractor function list."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1111 reference_accessor.xml:2065
#, no-c-format
msgid "&sqlmm_compliant;"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1119
#, no-c-format
msgid ""
"SELECT ST_M(ST_GeomFromEWKT('POINT(1 2 3 4)'));\n"
" st_m\n"
"------\n"
" 4\n"
"(1 row)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1126
#, no-c-format
msgid ", <xref linkend=\"ST_X\"/>, <xref linkend=\"ST_Y\"/>, <xref linkend=\"ST_Z\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1132
#, no-c-format
msgid "ST_NDims"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1133
#, no-c-format
msgid "Returns coordinate dimension of the geometry as a small int. Values are: 2,3 or 4."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1139
#, no-c-format
msgid "<funcdef>integer <function>ST_NDims</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1149
#, no-c-format
msgid "Returns the coordinate dimension of the geometry. PostGIS supports 2 - (x,y) , 3 - (x,y,z) or 2D with measure - x,y,m, and 4 - 3D with measure space x,y,z,m"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1158
#, no-c-format
msgid ""
"SELECT ST_NDims(ST_GeomFromText('POINT(1 1)')) As d2point,\n"
" ST_NDims(ST_GeomFromEWKT('POINT(1 1 2)')) As d3point,\n"
" ST_NDims(ST_GeomFromEWKT('POINTM(1 1 0.5)')) As d2pointm;\n"
"\n"
" d2point | d3point | d2pointm\n"
"---------+---------+----------\n"
" 2 | 3 | 3"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1162
#, no-c-format
msgid ", <xref linkend=\"ST_Dimension\"/>, <xref linkend=\"ST_GeomFromEWKT\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1168
#, no-c-format
msgid "ST_NPoints"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1169
#, no-c-format
msgid "Return the number of points (vertexes) in a geometry."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1174
#, no-c-format
msgid "<funcdef>integer <function>ST_NPoints</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1184
#, no-c-format
msgid "Return the number of points in a geometry. Works for all geometries."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1186
#, 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: programlisting
#: reference_accessor.xml:1196
#, no-c-format
msgid ""
"SELECT ST_NPoints(ST_GeomFromText('LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.29 29.07)'));\n"
"--result\n"
"4\n"
"\n"
"--Polygon in 3D space\n"
"SELECT ST_NPoints(ST_GeomFromEWKT('LINESTRING(77.29 29.07 1,77.42 29.26 0,77.27 29.31 -1,77.29 29.07 3)'))\n"
"--result\n"
"4"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1207
#, no-c-format
msgid "ST_NRings"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1208
#, no-c-format
msgid "If the geometry is a polygon or multi-polygon returns the number of rings."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1213
#, no-c-format
msgid "<funcdef>integer <function>ST_NRings</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1223
#, no-c-format
msgid "If the geometry is a polygon or multi-polygon returns the number of rings. Unlike NumInteriorRings, it counts the outer rings as well."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1233
#, no-c-format
msgid ""
"SELECT ST_NRings(the_geom) As Nrings, ST_NumInteriorRings(the_geom) As ninterrings\n"
" FROM (SELECT ST_GeomFromText('POLYGON((1 2, 3 4, 5 6, 1 2))') As the_geom) As foo;\n"
" nrings | ninterrings\n"
"--------+-------------\n"
" 1 | 0\n"
"(1 row)"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1246
#, no-c-format
msgid "ST_NumGeometries"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1247
#, no-c-format
msgid "If geometry is a GEOMETRYCOLLECTION (or MULTI*) return the number of geometries, for single geometries will return 1, otherwise return NULL."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1253
#, no-c-format
msgid "<funcdef>integer <function>ST_NumGeometries</function></funcdef> <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1263
#, no-c-format
msgid "Returns the number of Geometries. If geometry is a GEOMETRYCOLLECTION (or MULTI*) return the number of geometries, for single geometries will return 1, otherwise return NULL."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1267
#, no-c-format
msgid "Changed: 2.0.0 In prior versions this would return NULL if the geometry was not a collection/MULTI type. 2.0.0+ now returns 1 for single geometries e.g POLYGON, LINESTRING, POINT."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1269
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 9.1.4"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1279
#, no-c-format
msgid ""
"--Prior versions would have returned NULL for this -- in 2.0.0 this returns 1\n"
"SELECT ST_NumGeometries(ST_GeomFromText('LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.29 29.07)'));\n"
"--result\n"
"1\n"
"\n"
"--Geometry Collection Example - multis count as one geom in a collection\n"
"SELECT ST_NumGeometries(ST_GeomFromEWKT('GEOMETRYCOLLECTION(MULTIPOINT(-2 3 , -2 2),\n"
"LINESTRING(5 5 ,10 10),\n"
"POLYGON((-7 4.2,-7.1 5,-7.1 4.3,-7 4.2)))'));\n"
"--result\n"
"3"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1284
#, no-c-format
msgid ", <xref linkend=\"ST_Multi\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1290
#, no-c-format
msgid "ST_NumInteriorRings"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1291
#, no-c-format
msgid "Return the number of interior rings of a polygon geometry."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1296
#, no-c-format
msgid "<funcdef>integer <function>ST_NumInteriorRings</function></funcdef> <paramdef><type>geometry </type> <parameter>a_polygon</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1306
#, no-c-format
msgid "Return the number of interior rings of a polygon geometry. Return NULL if the geometry is not a polygon."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1311
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 8.2.5"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1312
#, no-c-format
msgid "Changed: 2.0.0 - in prior versions it would allow passing a MULTIPOLYGON, returning the number of interior rings of first POLYGON."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1318
#, no-c-format
msgid ""
"--If you have a regular polygon\n"
"SELECT gid, field1, field2, ST_NumInteriorRings(the_geom) AS numholes\n"
"FROM sometable;\n"
"\n"
"--If you have multipolygons\n"
"--And you want to know the total number of interior rings in the MULTIPOLYGON\n"
"SELECT gid, field1, field2, SUM(ST_NumInteriorRings(the_geom)) AS numholes\n"
"FROM (SELECT gid, field1, field2, (ST_Dump(the_geom)).geom As the_geom\n"
" FROM sometable) As foo\n"
"GROUP BY gid, field1,field2;"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1329
#, no-c-format
msgid "ST_NumInteriorRing"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1330
#, no-c-format
msgid "Return the number of interior rings of a polygon in the geometry. Synonym for ST_NumInteriorRings."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1336
#, no-c-format
msgid "<funcdef>integer <function>ST_NumInteriorRing</function></funcdef> <paramdef><type>geometry </type> <parameter>a_polygon</parameter></paramdef>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1352
#, no-c-format
msgid "ST_NumPatches"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1353
#, no-c-format
msgid "Return the number of faces on a Polyhedral Surface. Will return null for non-polyhedral geometries."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1358
#, no-c-format
msgid "<funcdef>integer <function>ST_NumPatches</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1368
#, no-c-format
msgid "Return the number of faces on a Polyhedral Surface. Will return null for non-polyhedral geometries. This is an alias for ST_NumGeometries to support MM naming. Faster to use ST_NumGeometries if you don't care about MM convention."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1371 reference_accessor.xml:1466
#, no-c-format
msgid "Availability: 2.0.0"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1374 reference_accessor.xml:1467
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: ?"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1381
#, no-c-format
msgid ""
"SELECT ST_NumPatches(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)) )'));\n"
" --result\n"
" 6"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1392
#, no-c-format
msgid "ST_NumPoints"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1393
#, no-c-format
msgid "Return the number of points in an ST_LineString or ST_CircularString value."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1399
#, no-c-format
msgid "<funcdef>integer <function>ST_NumPoints</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1409
#, no-c-format
msgid "Return the number of points in an ST_LineString or ST_CircularString value. Prior to 1.4 only works with Linestrings as the specs state. From 1.4 forward this is an alias for ST_NPoints which returns number of vertexes for not just line strings. Consider using ST_NPoints instead which is multi-purpose and works with many geometry types."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1416
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 7.2.4"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1422
#, no-c-format
msgid ""
"SELECT ST_NumPoints(ST_GeomFromText('LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.29 29.07)'));\n"
" --result\n"
" 4"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1433
#, no-c-format
msgid "ST_PatchN"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1435
#, no-c-format
msgid "Return the 1-based Nth geometry (face) if the geometry is a POLYHEDRALSURFACE, POLYHEDRALSURFACEM. Otherwise, return NULL."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1442
#, no-c-format
msgid "<funcdef>geometry <function>ST_PatchN</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef> <paramdef><type>integer </type> <parameter>n</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1453
#, no-c-format
msgid ">Return the 1-based Nth geometry (face) if the geometry is a POLYHEDRALSURFACE, POLYHEDRALSURFACEM. Otherwise, return NULL. This returns the same answer as ST_GeometryN for Polyhedral Surfaces. Using ST_GemoetryN is faster."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1459
#, no-c-format
msgid "Index is 1-based."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1463
#, no-c-format
msgid "If you want to extract all geometries, of a geometry, ST_Dump is more efficient."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1477
#, no-c-format
msgid ""
"--Extract the 2nd face of the polyhedral surface\n"
"SELECT ST_AsEWKT(ST_PatchN(geom, 2)) As geomewkt\n"
"FROM (\n"
"VALUES (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 foo(geom);\n"
"\n"
" geomewkt\n"
"---+-----------------------------------------\n"
" POLYGON((0 0 0,0 1 0,1 1 0,1 0 0,0 0 0))"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1484
#, no-c-format
msgid ", <xref linkend=\"ST_GeomFromEWKT\"/>, <xref linkend=\"ST_Dump\"/>, <xref linkend=\"ST_GeometryN\"/>, <xref linkend=\"ST_NumGeometries\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1490
#, no-c-format
msgid "ST_PointN"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1492
#, no-c-format
msgid "Return the Nth point in the first LineString or circular LineString in the geometry. Negative values are counted backwards from the end of the LineString. Returns NULL if there is no linestring in the geometry."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1499
#, no-c-format
msgid "<funcdef>geometry <function>ST_PointN</function></funcdef> <paramdef><type>geometry </type> <parameter>a_linestring</parameter></paramdef> <paramdef><type>integer </type> <parameter>n</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1510
#, no-c-format
msgid "Return the Nth point in a single linestring or circular linestring in the geometry. Negative values are counted backwards from the end of the LineString, so that -1 is the last point. Returns NULL if there is no linestring in the geometry."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1515
#, no-c-format
msgid "Index is 1-based as for OGC specs since version 0.8.0. Backward indexing (negative index) is not in OGC Previous versions implemented this as 0-based instead."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1521
#, no-c-format
msgid "If you want to get the nth point of each line string in a multilinestring, use in conjunction with ST_Dump"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1526
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 7.2.5, 7.3.5"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1529
#, no-c-format
msgid "Changed: 2.0.0 no longer works with single geometry multilinestrings. In older versions of PostGIS -- a single line multilinestring would work happily with this function and return the start point. In 2.0.0 it just returns NULL like any other multilinestring."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1532
#, no-c-format
msgid "Changed: 2.3.0 : negative indexing available (-1 is last point)"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1542
#, no-c-format
msgid ""
"-- Extract all POINTs from a LINESTRING\n"
"SELECT ST_AsText(\n"
" ST_PointN(\n"
" column1,\n"
" generate_series(1, ST_NPoints(column1))\n"
" ))\n"
"FROM ( VALUES ('LINESTRING(0 0, 1 1, 2 2)'::geometry) ) AS foo;\n"
"\n"
" st_astext\n"
"------------\n"
" POINT(0 0)\n"
" POINT(1 1)\n"
" POINT(2 2)\n"
"(3 rows)\n"
"\n"
"--Example circular string\n"
"SELECT ST_AsText(ST_PointN(ST_GeomFromText('CIRCULARSTRING(1 2, 3 2, 1 2)'),2));\n"
"\n"
"st_astext\n"
"----------\n"
"POINT(3 2)\n"
"\n"
"SELECT st_astext(f)\n"
"FROM ST_GeometryFromtext('LINESTRING(0 0 0, 1 1 1, 2 2 2)') as g\n"
" ,ST_PointN(g, -2) AS f -- 1 based index\n"
"\n"
"st_astext\n"
"----------\n"
"\"POINT Z (1 1 1)\""
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1554
#, no-c-format
msgid "ST_Points"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1555
#, no-c-format
msgid "Returns a MultiPoint containing all of the coordinates of a geometry."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1561
#, no-c-format
msgid "<funcdef>geometry <function>ST_Points</function></funcdef> <paramdef> <type>geometry</type> <parameter>geom</parameter> </paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1574
#, no-c-format
msgid "Returns a MultiPoint containing all of the coordinates of a geometry. Does not remove points that are duplicated in the input geometry, including start and end points of ring geometries. (If this behavior is undesired, duplicates may be removed using <xref linkend=\"ST_RemoveRepeatedPoints\"/>)."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1582
#, no-c-format
msgid "M and Z ordinates will be preserved if present."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1589
#, no-c-format
msgid "Availability: 2.3.0"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1596
#, no-c-format
msgid ""
"SELECT ST_AsText(ST_Points('POLYGON Z ((30 10 4,10 30 5,40 40 6, 30 10))'));\n"
"\n"
"--result\n"
"MULTIPOINT Z (30 10 4,10 30 5,40 40 6, 30 10 4)"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1607
#, no-c-format
msgid "ST_SRID"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1608
#, no-c-format
msgid "Returns the spatial reference identifier for the ST_Geometry as defined in spatial_ref_sys table."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1613
#, no-c-format
msgid "<funcdef>integer <function>ST_SRID</function></funcdef> <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1623
#, no-c-format
msgid "Returns the spatial reference identifier for the ST_Geometry as defined in spatial_ref_sys table. <xref linkend=\"spatial_ref_sys\"/>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1624
#, no-c-format
msgid "spatial_ref_sys table is a table that catalogs all spatial reference systems known to PostGIS and is used for transformations from one spatial reference system to another. So verifying you have the right spatial reference system identifier is important if you plan to ever transform your geometries."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1628
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.5"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1636
#, no-c-format
msgid ""
"SELECT ST_SRID(ST_GeomFromText('POINT(-71.1043 42.315)',4326));\n"
" --result\n"
" 4326"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1641
#, no-c-format
msgid ", <xref linkend=\"ST_GeomFromText\"/>, <xref linkend=\"ST_SetSRID\"/>, <xref linkend=\"ST_Transform\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1647
#, no-c-format
msgid "ST_StartPoint"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1649
#, no-c-format
msgid "Returns the first point of a <varname>LINESTRING</varname> geometry as a <varname>POINT</varname>."
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1655
#, no-c-format
msgid "<funcdef>geometry <function>ST_StartPoint</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1666
#, no-c-format
msgid "Returns the first point of a <varname>LINESTRING</varname> or <varname>CIRCULARLINESTRING</varname> geometry as a <varname>POINT</varname> or <varname>NULL</varname> if the input parameter is not a <varname>LINESTRING</varname> or <varname>CIRCULARLINESTRING</varname>."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1670
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 7.1.3"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1685
#, no-c-format
msgid ""
"SELECT ST_AsText(ST_StartPoint('LINESTRING(0 1, 0 2)'::geometry));\n"
" st_astext\n"
"------------\n"
" POINT(0 1)\n"
"(1 row)\n"
"\n"
"SELECT ST_StartPoint('POINT(0 1)'::geometry) IS NULL AS is_null;\n"
" is_null\n"
"----------\n"
" t\n"
"(1 row)\n"
"\n"
"--3d line\n"
"SELECT ST_AsEWKT(ST_StartPoint('LINESTRING(0 1 1, 0 2 2)'::geometry));\n"
" st_asewkt\n"
"------------\n"
" POINT(0 1 1)\n"
"(1 row)\n"
"\n"
"-- circular linestring --\n"
"SELECT ST_AsText(ST_StartPoint('CIRCULARSTRING(5 2,-3 1.999999, -2 1, -4 2, 5 2)'::geometry));\n"
" st_astext\n"
"------------\n"
" POINT(5 2)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1691
#, no-c-format
msgid ", <xref linkend=\"ST_PointN\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1696
#, no-c-format
msgid "ST_Summary"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1698
#, no-c-format
msgid "<refpurpose>Returns a text summary of the contents of the geometry.</refpurpose>"
msgstr ""
#. Tag: funcsynopsis
#: reference_accessor.xml:1704
#, no-c-format
msgid "<funcprototype> <funcdef>text <function>ST_Summary</function></funcdef> <paramdef><type>geometry </type> <parameter>g</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>text <function>ST_Summary</function></funcdef> <paramdef><type>geography </type> <parameter>g</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1719
#, no-c-format
msgid "<para>Returns a text summary of the contents of the geometry.</para>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1721
#, no-c-format
msgid "Flags shown square brackets after the geometry type have the following meaning:"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1725
#, no-c-format
msgid "M: has M ordinate"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1726
#, no-c-format
msgid "Z: has Z ordinate"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1727
#, no-c-format
msgid "B: has a cached bounding box"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1728
#, no-c-format
msgid "G: is geodetic (geography)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1729
#, no-c-format
msgid "S: has spatial reference system"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1740
#, no-c-format
msgid "Availability: 1.2.2"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1741
#, no-c-format
msgid "Enhanced: 2.0.0 added support for geography"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1742
#, no-c-format
msgid "Enhanced: 2.1.0 S flag to denote if has a known spatial reference system"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1743
#, no-c-format
msgid "Enhanced: 2.2.0 Added support for TIN and Curves"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1749
#, no-c-format
msgid ""
"=# SELECT ST_Summary(ST_GeomFromText('LINESTRING(0 0, 1 1)')) as geom,\n"
" ST_Summary(ST_GeogFromText('POLYGON((0 0, 1 1, 1 2, 1 1, 0 0))')) geog;\n"
" geom | geog\n"
"-----------------------------+--------------------------\n"
" LineString[B] with 2 points | Polygon[BGS] with 1 rings\n"
" | ring 0 has 5 points\n"
" :\n"
"(1 row)\n"
"\n"
"\n"
"=# SELECT ST_Summary(ST_GeogFromText('LINESTRING(0 0 1, 1 1 1)')) As geog_line,\n"
" ST_Summary(ST_GeomFromText('SRID=4326;POLYGON((0 0 1, 1 1 2, 1 2 3, 1 1 1, 0 0 1))')) As geom_poly;\n"
";\n"
" geog_line | geom_poly\n"
"-------------------------------- +--------------------------\n"
" LineString[ZBGS] with 2 points | Polygon[ZBS] with 1 rings\n"
" : ring 0 has 5 points\n"
" :\n"
"(1 row)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1755
#, no-c-format
msgid ", <xref linkend=\"PostGIS_AddBBox\"/>, <xref linkend=\"ST_Force_3DM\"/>, <xref linkend=\"ST_Force_3DZ\"/>, <xref linkend=\"ST_Force2D\"/>, <xref linkend=\"geography\"/>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1764
#, no-c-format
msgid ", <xref linkend=\"ST_IsValid\"/>, <xref linkend=\"ST_IsValidReason\"/>, <xref linkend=\"ST_IsValidDetail\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1775
#, no-c-format
msgid "ST_X"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1777
#, no-c-format
msgid "<refpurpose>Return the X coordinate of the point, or NULL if not available. Input must be a point.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1783
#, no-c-format
msgid "<funcdef>float <function>ST_X</function></funcdef> <paramdef><type>geometry </type> <parameter>a_point</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1793
#, no-c-format
msgid "<para>Return the X coordinate of the point, or NULL if not available. Input must be a point.</para>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1796
#, no-c-format
msgid "If you want to get the max min x values of any geometry look at ST_XMin, ST_XMax functions."
msgstr ""
#. Tag: para
#: reference_accessor.xml:1798
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 6.1.3"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1806
#, no-c-format
msgid ""
"SELECT ST_X(ST_GeomFromEWKT('POINT(1 2 3 4)'));\n"
" st_x\n"
"------\n"
" 1\n"
"(1 row)\n"
"\n"
"SELECT ST_Y(ST_Centroid(ST_GeomFromEWKT('LINESTRING(1 2 3 4, 1 1 1 1)')));\n"
" st_y\n"
"------\n"
" 1.5\n"
"(1 row)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1813
#, no-c-format
msgid ", <xref linkend=\"ST_GeomFromEWKT\"/>, <xref linkend=\"ST_M\"/>, <xref linkend=\"ST_XMax\"/>, <xref linkend=\"ST_XMin\"/>, <xref linkend=\"ST_Y\"/>, <xref linkend=\"ST_Z\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1819
#, no-c-format
msgid "ST_XMax"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1821
#, no-c-format
msgid "<refpurpose>Returns X maxima of a bounding box 2d or 3d or a geometry.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1826
#, no-c-format
msgid "<funcdef>float <function>ST_XMax</function></funcdef> <paramdef><type>box3d </type> <parameter>aGeomorBox2DorBox3D</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1836
#, no-c-format
msgid "<para>Returns X maxima of a bounding box 2d or 3d or a geometry.</para>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1839 reference_accessor.xml:1884 reference_accessor.xml:1972 reference_accessor.xml:2017 reference_accessor.xml:2105 reference_accessor.xml:2192
#, no-c-format
msgid "Although this function is only defined for box3d, it will work for box2d and geometry because of the auto-casting behavior defined for geometries and box2d. However you can not feed it a geometry or box2d text representation, since that will not auto-cast."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1851
#, no-c-format
msgid ""
"SELECT ST_XMax('BOX3D(1 2 3, 4 5 6)');\n"
"st_xmax\n"
"-------\n"
"4\n"
"\n"
"SELECT ST_XMax(ST_GeomFromText('LINESTRING(1 3 4, 5 6 7)'));\n"
"st_xmax\n"
"-------\n"
"5\n"
"\n"
"SELECT ST_XMax(CAST('BOX(-3 2, 3 4)' As box2d));\n"
"st_xmax\n"
"-------\n"
"3\n"
"--Observe THIS DOES NOT WORK because it will try to autocast the string representation to a BOX3D\n"
"SELECT ST_XMax('LINESTRING(1 3, 5 6)');\n"
"\n"
"--ERROR: BOX3D parser - doesn't start with BOX3D(\n"
"\n"
"SELECT ST_XMax(ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 150406 3)'));\n"
"st_xmax\n"
"--------\n"
"220288.248780547"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1858 reference_accessor.xml:1903
#, no-c-format
msgid ", <xref linkend=\"ST_YMax\"/>, <xref linkend=\"ST_YMin\"/>, <xref linkend=\"ST_ZMax\"/>, <xref linkend=\"ST_ZMin\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1864
#, no-c-format
msgid "ST_XMin"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1866
#, no-c-format
msgid "<refpurpose>Returns X minima of a bounding box 2d or 3d or a geometry.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1871
#, no-c-format
msgid "<funcdef>float <function>ST_XMin</function></funcdef> <paramdef><type>box3d </type> <parameter>aGeomorBox2DorBox3D</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1881
#, no-c-format
msgid "<para>Returns X minima of a bounding box 2d or 3d or a geometry.</para>"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1896
#, no-c-format
msgid ""
"SELECT ST_XMin('BOX3D(1 2 3, 4 5 6)');\n"
"st_xmin\n"
"-------\n"
"1\n"
"\n"
"SELECT ST_XMin(ST_GeomFromText('LINESTRING(1 3 4, 5 6 7)'));\n"
"st_xmin\n"
"-------\n"
"1\n"
"\n"
"SELECT ST_XMin(CAST('BOX(-3 2, 3 4)' As box2d));\n"
"st_xmin\n"
"-------\n"
"-3\n"
"--Observe THIS DOES NOT WORK because it will try to autocast the string representation to a BOX3D\n"
"SELECT ST_XMin('LINESTRING(1 3, 5 6)');\n"
"\n"
"--ERROR: BOX3D parser - doesn't start with BOX3D(\n"
"\n"
"SELECT ST_XMin(ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 150406 3)'));\n"
"st_xmin\n"
"--------\n"
"220186.995121892"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1909
#, no-c-format
msgid "ST_Y"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1911
#, no-c-format
msgid "<refpurpose>Return the Y coordinate of the point, or NULL if not available. Input must be a point.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1917
#, no-c-format
msgid "<funcdef>float <function>ST_Y</function></funcdef> <paramdef><type>geometry </type> <parameter>a_point</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1927
#, no-c-format
msgid "<para>Return the Y coordinate of the point, or NULL if not available. Input must be a point.</para>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1931
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 6.1.4"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1939
#, no-c-format
msgid ""
"SELECT ST_Y(ST_GeomFromEWKT('POINT(1 2 3 4)'));\n"
" st_y\n"
"------\n"
" 2\n"
"(1 row)\n"
"\n"
"SELECT ST_Y(ST_Centroid(ST_GeomFromEWKT('LINESTRING(1 2 3 4, 1 1 1 1)')));\n"
" st_y\n"
"------\n"
" 1.5\n"
"(1 row)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1946
#, no-c-format
msgid ", <xref linkend=\"ST_GeomFromEWKT\"/>, <xref linkend=\"ST_M\"/>, <xref linkend=\"ST_X\"/>, <xref linkend=\"ST_YMax\"/>, <xref linkend=\"ST_YMin\"/>, <xref linkend=\"ST_Z\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1952
#, no-c-format
msgid "ST_YMax"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1954
#, no-c-format
msgid "<refpurpose>Returns Y maxima of a bounding box 2d or 3d or a geometry.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:1959
#, no-c-format
msgid "<funcdef>float <function>ST_YMax</function></funcdef> <paramdef><type>box3d </type> <parameter>aGeomorBox2DorBox3D</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1969
#, no-c-format
msgid "<para>Returns Y maxima of a bounding box 2d or 3d or a geometry.</para>"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:1984
#, no-c-format
msgid ""
"SELECT ST_YMax('BOX3D(1 2 3, 4 5 6)');\n"
"st_ymax\n"
"-------\n"
"5\n"
"\n"
"SELECT ST_YMax(ST_GeomFromText('LINESTRING(1 3 4, 5 6 7)'));\n"
"st_ymax\n"
"-------\n"
"6\n"
"\n"
"SELECT ST_YMax(CAST('BOX(-3 2, 3 4)' As box2d));\n"
"st_ymax\n"
"-------\n"
"4\n"
"--Observe THIS DOES NOT WORK because it will try to autocast the string representation to a BOX3D\n"
"SELECT ST_YMax('LINESTRING(1 3, 5 6)');\n"
"\n"
"--ERROR: BOX3D parser - doesn't start with BOX3D(\n"
"\n"
"SELECT ST_YMax(ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 150406 3)'));\n"
"st_ymax\n"
"--------\n"
"150506.126829327"
msgstr ""
#. Tag: para
#: reference_accessor.xml:1991
#, no-c-format
msgid ", <xref linkend=\"ST_XMax\"/>, <xref linkend=\"ST_YMin\"/>, <xref linkend=\"ST_ZMax\"/>, <xref linkend=\"ST_ZMin\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:1997
#, no-c-format
msgid "ST_YMin"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:1999
#, no-c-format
msgid "<refpurpose>Returns Y minima of a bounding box 2d or 3d or a geometry.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:2004
#, no-c-format
msgid "<funcdef>float <function>ST_YMin</function></funcdef> <paramdef><type>box3d </type> <parameter>aGeomorBox2DorBox3D</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:2014
#, no-c-format
msgid "<para>Returns Y minima of a bounding box 2d or 3d or a geometry.</para>"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:2029
#, no-c-format
msgid ""
"SELECT ST_YMin('BOX3D(1 2 3, 4 5 6)');\n"
"st_ymin\n"
"-------\n"
"2\n"
"\n"
"SELECT ST_YMin(ST_GeomFromText('LINESTRING(1 3 4, 5 6 7)'));\n"
"st_ymin\n"
"-------\n"
"3\n"
"\n"
"SELECT ST_YMin(CAST('BOX(-3 2, 3 4)' As box2d));\n"
"st_ymin\n"
"-------\n"
"2\n"
"--Observe THIS DOES NOT WORK because it will try to autocast the string representation to a BOX3D\n"
"SELECT ST_YMin('LINESTRING(1 3, 5 6)');\n"
"\n"
"--ERROR: BOX3D parser - doesn't start with BOX3D(\n"
"\n"
"SELECT ST_YMin(ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 150406 3)'));\n"
"st_ymin\n"
"--------\n"
"150406"
msgstr ""
#. Tag: para
#: reference_accessor.xml:2036
#, no-c-format
msgid ", <xref linkend=\"ST_XMin\"/>, <xref linkend=\"ST_XMax\"/>, <xref linkend=\"ST_YMax\"/>, <xref linkend=\"ST_ZMax\"/>, <xref linkend=\"ST_ZMin\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:2042
#, no-c-format
msgid "ST_Z"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:2044
#, no-c-format
msgid "<refpurpose>Return the Z coordinate of the point, or NULL if not available. Input must be a point.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:2050
#, no-c-format
msgid "<funcdef>float <function>ST_Z</function></funcdef> <paramdef><type>geometry </type> <parameter>a_point</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:2060
#, no-c-format
msgid "<para>Return the Z coordinate of the point, or NULL if not available. Input must be a point.</para>"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:2072
#, no-c-format
msgid ""
"SELECT ST_Z(ST_GeomFromEWKT('POINT(1 2 3 4)'));\n"
" st_z\n"
"------\n"
" 3\n"
"(1 row)"
msgstr ""
#. Tag: para
#: reference_accessor.xml:2079
#, no-c-format
msgid ", <xref linkend=\"ST_M\"/>, <xref linkend=\"ST_X\"/>, <xref linkend=\"ST_Y\"/>, <xref linkend=\"ST_ZMax\"/>, <xref linkend=\"ST_ZMin\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:2085
#, no-c-format
msgid "ST_ZMax"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:2087 reference_accessor.xml:2174
#, no-c-format
msgid "<refpurpose>Returns Z minima of a bounding box 2d or 3d or a geometry.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:2092
#, no-c-format
msgid "<funcdef>float <function>ST_ZMax</function></funcdef> <paramdef><type>box3d </type> <parameter>aGeomorBox2DorBox3D</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:2102
#, no-c-format
msgid "Returns Z maxima of a bounding box 2d or 3d or a geometry."
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:2117
#, no-c-format
msgid ""
"SELECT ST_ZMax('BOX3D(1 2 3, 4 5 6)');\n"
"st_zmax\n"
"-------\n"
"6\n"
"\n"
"SELECT ST_ZMax(ST_GeomFromEWKT('LINESTRING(1 3 4, 5 6 7)'));\n"
"st_zmax\n"
"-------\n"
"7\n"
"\n"
"SELECT ST_ZMax('BOX3D(-3 2 1, 3 4 1)' );\n"
"st_zmax\n"
"-------\n"
"1\n"
"--Observe THIS DOES NOT WORK because it will try to autocast the string representation to a BOX3D\n"
"SELECT ST_ZMax('LINESTRING(1 3 4, 5 6 7)');\n"
"\n"
"--ERROR: BOX3D parser - doesn't start with BOX3D(\n"
"\n"
"SELECT ST_ZMax(ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 150406 3)'));\n"
"st_zmax\n"
"--------\n"
"3"
msgstr ""
#. Tag: para
#: reference_accessor.xml:2124
#, no-c-format
msgid ", <xref linkend=\"ST_XMin\"/>, <xref linkend=\"ST_XMax\"/>, <xref linkend=\"ST_YMax\"/>, <xref linkend=\"ST_YMin\"/>, <xref linkend=\"ST_ZMax\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:2130
#, no-c-format
msgid "ST_Zmflag"
msgstr ""
#. Tag: refpurpose
#: reference_accessor.xml:2132
#, no-c-format
msgid "<refpurpose>Returns ZM (dimension semantic) flag of the geometries as a small int. Values are: 0=2d, 1=3dm, 2=3dz, 3=4d.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:2138
#, no-c-format
msgid "<funcdef>smallint <function>ST_Zmflag</function></funcdef> <paramdef><type>geometry </type> <parameter>geomA</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:2148
#, no-c-format
msgid "<para>Returns ZM (dimension semantic) flag of the geometries as a small int. Values are: 0=2d, 1=3dm, 2=3dz, 3=4d.</para>"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:2159
#, no-c-format
msgid ""
"SELECT ST_Zmflag(ST_GeomFromEWKT('LINESTRING(1 2, 3 4)'));\n"
" st_zmflag\n"
"-----------\n"
" 0\n"
"\n"
"SELECT ST_Zmflag(ST_GeomFromEWKT('LINESTRINGM(1 2 3, 3 4 3)'));\n"
" st_zmflag\n"
"-----------\n"
" 1\n"
"\n"
"SELECT ST_Zmflag(ST_GeomFromEWKT('CIRCULARSTRING(1 2 3, 3 4 3, 5 6 3)'));\n"
" st_zmflag\n"
"-----------\n"
" 2\n"
"SELECT ST_Zmflag(ST_GeomFromEWKT('POINT(1 2 3 4)'));\n"
" st_zmflag\n"
"-----------\n"
" 3"
msgstr ""
#. Tag: para
#: reference_accessor.xml:2166
#, no-c-format
msgid ", <xref linkend=\"ST_NDims\"/>, <xref linkend=\"ST_Dimension\"/>"
msgstr ""
#. Tag: refname
#: reference_accessor.xml:2172
#, no-c-format
msgid "ST_ZMin"
msgstr ""
#. Tag: funcprototype
#: reference_accessor.xml:2179
#, no-c-format
msgid "<funcdef>float <function>ST_ZMin</function></funcdef> <paramdef><type>box3d </type> <parameter>aGeomorBox2DorBox3D</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_accessor.xml:2189
#, no-c-format
msgid "<para>Returns Z minima of a bounding box 2d or 3d or a geometry.</para>"
msgstr ""
#. Tag: programlisting
#: reference_accessor.xml:2204
#, no-c-format
msgid ""
"SELECT ST_ZMin('BOX3D(1 2 3, 4 5 6)');\n"
"st_zmin\n"
"-------\n"
"3\n"
"\n"
"SELECT ST_ZMin(ST_GeomFromEWKT('LINESTRING(1 3 4, 5 6 7)'));\n"
"st_zmin\n"
"-------\n"
"4\n"
"\n"
"SELECT ST_ZMin('BOX3D(-3 2 1, 3 4 1)' );\n"
"st_zmin\n"
"-------\n"
"1\n"
"--Observe THIS DOES NOT WORK because it will try to autocast the string representation to a BOX3D\n"
"SELECT ST_ZMin('LINESTRING(1 3 4, 5 6 7)');\n"
"\n"
"--ERROR: BOX3D parser - doesn't start with BOX3D(\n"
"\n"
"SELECT ST_ZMin(ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 150406 3)'));\n"
"st_zmin\n"
"--------\n"
"1"
msgstr ""
#. Tag: para
#: reference_accessor.xml:2211
#, no-c-format
msgid ", <xref linkend=\"ST_GeomFromText\"/>, <xref linkend=\"ST_XMin\"/>, <xref linkend=\"ST_XMax\"/>, <xref linkend=\"ST_YMax\"/>, <xref linkend=\"ST_YMin\"/>, <xref linkend=\"ST_ZMax\"/>"
msgstr ""
|