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
|
# 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_constructor.xml:3
#, no-c-format
msgid "Geometry Constructors"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:6
#, no-c-format
msgid "ST_BdPolyFromText"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:8
#, no-c-format
msgid "<refpurpose>Construct a Polygon given an arbitrary collection of closed linestrings as a MultiLineString Well-Known text representation.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:14
#, no-c-format
msgid "<funcdef>geometry <function>ST_BdPolyFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef>"
msgstr ""
#. Tag: title
#: reference_constructor.xml:23 reference_constructor.xml:72 reference_constructor.xml:123 reference_constructor.xml:159 reference_constructor.xml:188 reference_constructor.xml:215 reference_constructor.xml:258 reference_constructor.xml:303 reference_constructor.xml:354 reference_constructor.xml:402 reference_constructor.xml:445 reference_constructor.xml:474 reference_constructor.xml:517 reference_constructor.xml:591 reference_constructor.xml:630 reference_constructor.xml:681 reference_constructor.xml:713 reference_constructor.xml:766 reference_constructor.xml:814 reference_constructor.xml:852 reference_constructor.xml:897 reference_constructor.xml:956 reference_constructor.xml:1024 reference_constructor.xml:1084 reference_constructor.xml:1123 reference_constructor.xml:1180 reference_constructor.xml:1255 reference_constructor.xml:1300 reference_constructor.xml:1382 reference_constructor.xml:1425 reference_constructor.xml:1467 reference_constructor.xml:1528 reference_constructor.xml:1589 reference_constructor.xml:1643 reference_constructor.xml:1694 reference_constructor.xml:1737 reference_constructor.xml:1793 reference_constructor.xml:1842 reference_constructor.xml:1896 reference_constructor.xml:1939 reference_constructor.xml:1962
#, no-c-format
msgid "Description"
msgstr ""
#. Tag: para
#: reference_constructor.xml:25
#, no-c-format
msgid "<para>Construct a Polygon given an arbitrary collection of closed linestrings as a MultiLineString Well-Known text representation.</para>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:30
#, no-c-format
msgid "Throws an error if WKT is not a MULTILINESTRING. Throws an error if output is a MULTIPOLYGON; use ST_BdMPolyFromText in that case, or see ST_BuildArea() for a postgis-specific approach."
msgstr ""
#. Tag: para
#: reference_constructor.xml:36 reference_constructor.xml:88 reference_constructor.xml:317 reference_constructor.xml:913 reference_constructor.xml:981 reference_constructor.xml:1047 reference_constructor.xml:1483 reference_constructor.xml:1605 reference_constructor.xml:1907
#, no-c-format
msgid "&sfs_compliant; s3.2.6.2"
msgstr ""
#. Tag: para
#: reference_constructor.xml:38 reference_constructor.xml:90
#, no-c-format
msgid "Availability: 1.1.0 - requires GEOS >= 2.1.0."
msgstr ""
#. Tag: title
#: reference_constructor.xml:42 reference_constructor.xml:94 reference_constructor.xml:135 reference_constructor.xml:165 reference_constructor.xml:230 reference_constructor.xml:267 reference_constructor.xml:324 reference_constructor.xml:368 reference_constructor.xml:416 reference_constructor.xml:486 reference_constructor.xml:602 reference_constructor.xml:734 reference_constructor.xml:782 reference_constructor.xml:822 reference_constructor.xml:860 reference_constructor.xml:920 reference_constructor.xml:988 reference_constructor.xml:1052 reference_constructor.xml:1092 reference_constructor.xml:1139 reference_constructor.xml:1397 reference_constructor.xml:1432 reference_constructor.xml:1490 reference_constructor.xml:1551 reference_constructor.xml:1612 reference_constructor.xml:1706 reference_constructor.xml:1761 reference_constructor.xml:1811 reference_constructor.xml:1860 reference_constructor.xml:1912
#, no-c-format
msgid "Examples"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:44 reference_constructor.xml:96
#, no-c-format
msgid "Forthcoming"
msgstr ""
#. Tag: title
#: reference_constructor.xml:48 reference_constructor.xml:100 reference_constructor.xml:139 reference_constructor.xml:169 reference_constructor.xml:193 reference_constructor.xml:235 reference_constructor.xml:272 reference_constructor.xml:331 reference_constructor.xml:381 reference_constructor.xml:422 reference_constructor.xml:450 reference_constructor.xml:490 reference_constructor.xml:570 reference_constructor.xml:609 reference_constructor.xml:657 reference_constructor.xml:688 reference_constructor.xml:738 reference_constructor.xml:789 reference_constructor.xml:829 reference_constructor.xml:867 reference_constructor.xml:927 reference_constructor.xml:995 reference_constructor.xml:1059 reference_constructor.xml:1099 reference_constructor.xml:1146 reference_constructor.xml:1227 reference_constructor.xml:1270 reference_constructor.xml:1334 reference_constructor.xml:1401 reference_constructor.xml:1438 reference_constructor.xml:1497 reference_constructor.xml:1558 reference_constructor.xml:1619 reference_constructor.xml:1670 reference_constructor.xml:1710 reference_constructor.xml:1765 reference_constructor.xml:1818 reference_constructor.xml:1867 reference_constructor.xml:1919 reference_constructor.xml:1943 reference_constructor.xml:1966
#, no-c-format
msgid "See Also"
msgstr ""
#. Tag: para
#: reference_constructor.xml:49
#, no-c-format
msgid ", <xref linkend=\"ST_BdMPolyFromText\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:55
#, no-c-format
msgid "ST_BdMPolyFromText"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:56
#, no-c-format
msgid "Construct a MultiPolygon given an arbitrary collection of closed linestrings as a MultiLineString text representation Well-Known text representation."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:63
#, no-c-format
msgid "<funcdef>geometry <function>ST_BdMPolyFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:74
#, no-c-format
msgid "Construct a Polygon given an arbitrary collection of closed linestrings, polygons, MultiLineStrings as Well-Known text representation."
msgstr ""
#. Tag: para
#: reference_constructor.xml:79
#, no-c-format
msgid "Throws an error if WKT is not a MULTILINESTRING. Forces MULTIPOLYGON output even when result is really only composed by a single POLYGON; use <link linkend=\"ST_BdPolyFromText\">ST_BdPolyFromText</link> if you're sure a single POLYGON will result from operation, or see <link linkend=\"ST_BuildArea\">ST_BuildArea()</link> for a postgis-specific approach."
msgstr ""
#. Tag: para
#: reference_constructor.xml:101
#, no-c-format
msgid ", <xref linkend=\"ST_BdPolyFromText\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:107
#, no-c-format
msgid "ST_Box2dFromGeoHash"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:109
#, no-c-format
msgid "<refpurpose>Return a BOX2D from a GeoHash string.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:114
#, no-c-format
msgid "<funcdef>box2d <function>ST_Box2dFromGeoHash</function></funcdef> <paramdef><type>text </type> <parameter>geohash</parameter></paramdef> <paramdef choice=\"opt\"><type>integer </type> <parameter>precision=full_precision_of_geohash</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:125
#, no-c-format
msgid "<para>Return a BOX2D from a GeoHash string.</para>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:127
#, no-c-format
msgid "If no <varname>precision</varname> is specficified ST_Box2dFromGeoHash returns a BOX2D based on full precision of the input GeoHash string."
msgstr ""
#. Tag: para
#: reference_constructor.xml:129
#, no-c-format
msgid "If <varname>precision</varname> is specified ST_Box2dFromGeoHash will use that many characters from the GeoHash to create the BOX2D. Lower precision values results in larger BOX2Ds and larger values increase the precision."
msgstr ""
#. Tag: para
#: reference_constructor.xml:131 reference_constructor.xml:482 reference_constructor.xml:1702
#, no-c-format
msgid "Availability: 2.1.0"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:136
#, no-c-format
msgid ""
"<![CDATA[SELECT ST_Box2dFromGeoHash('9qqj7nmxncgyy4d0dbxqz0');\n"
"\n"
" st_geomfromgeohash\n"
"--------------------------------------------------\n"
" BOX(-115.172816 36.114646,-115.172816 36.114646)\n"
"\n"
"SELECT ST_Box2dFromGeoHash('9qqj7nmxncgyy4d0dbxqz0', 0);\n"
"\n"
" st_box2dfromgeohash\n"
"----------------------\n"
" BOX(-180 -90,180 90)\n"
"\n"
" SELECT ST_Box2dFromGeoHash('9qqj7nmxncgyy4d0dbxqz0', 10);\n"
" st_box2dfromgeohash\n"
"---------------------------------------------------------------------------\n"
" BOX(-115.17282128334 36.1146408319473,-115.172810554504 36.1146461963654)\n"
" ]]>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:141
#, no-c-format
msgid ", <xref linkend=\"ST_GeomFromGeoHash\"/>, <xref linkend=\"ST_PointFromGeoHash\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:147
#, no-c-format
msgid "ST_GeogFromText"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:148 reference_constructor.xml:177
#, no-c-format
msgid "Return a specified geography value from Well-Known Text representation or extended (WKT)."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:152
#, no-c-format
msgid "<funcdef>geography <function>ST_GeogFromText</function></funcdef> <paramdef><type>text </type> <parameter>EWKT</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:160
#, no-c-format
msgid "Returns a geography object from the well-known text or extended well-known representation. SRID 4326 is assumed if unspecified. This is an alias for ST_GeographyFromText. Points are always expressed in long lat form."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:166
#, no-c-format
msgid ""
"--- converting lon lat coords to geography\n"
"ALTER TABLE sometable ADD COLUMN geog geography(POINT,4326);\n"
"UPDATE sometable SET geog = ST_GeogFromText('SRID=4326;POINT(' || lon || ' ' || lat || ')');\n"
"\n"
"--- specify a geography point using EPSG:4267, NAD27\n"
"SELECT ST_AsEWKT(ST_GeogFromText('SRID=4267;POINT(-77.0092 38.889588)'));"
msgstr ""
#. Tag: para
#: reference_constructor.xml:170
#, no-c-format
msgid ", <xref linkend=\"ST_GeographyFromText\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:176
#, no-c-format
msgid "ST_GeographyFromText"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:181
#, no-c-format
msgid "<funcdef>geography <function>ST_GeographyFromText</function></funcdef> <paramdef><type>text </type> <parameter>EWKT</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:189
#, no-c-format
msgid "Returns a geography object from the well-known text representation. SRID 4326 is assumed if unspecified."
msgstr ""
#. Tag: para
#: reference_constructor.xml:194
#, no-c-format
msgid ", <xref linkend=\"ST_AsText\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:200
#, no-c-format
msgid "ST_GeogFromWKB"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:201
#, no-c-format
msgid "Creates a geography instance from a Well-Known Binary geometry representation (WKB) or extended Well Known Binary (EWKB)."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:207
#, no-c-format
msgid "<funcdef>geography <function>ST_GeogFromWKB</function></funcdef> <paramdef><type>bytea </type> <parameter>wkb</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:217
#, no-c-format
msgid "The <varname>ST_GeogFromWKB</varname> function, takes a well-known binary representation (WKB) of a geometry or PostGIS Extended WKB and creates an instance of the appropriate geography type. This function plays the role of the Geometry Factory in SQL."
msgstr ""
#. Tag: para
#: reference_constructor.xml:222
#, no-c-format
msgid "If SRID is not specified, it defaults to 4326 (WGS 84 long lat)."
msgstr ""
#. Tag: para
#: reference_constructor.xml:224 reference_constructor.xml:362 reference_constructor.xml:410 reference_constructor.xml:727 reference_constructor.xml:777 reference_constructor.xml:1807
#, no-c-format
msgid "&curve_support;"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:232
#, no-c-format
msgid ""
"--Although bytea rep contains single \\, these need to be escaped when inserting into a table\n"
"SELECT ST_AsText(\n"
"ST_GeogFromWKB(E'\\\\001\\\\002\\\\000\\\\000\\\\000\\\\002\\\\000\\\\000\\\\000\\\\037\\\\205\\\\353Q\\\\270~\\\\\\\\\\\\300\\\\323Mb\\\\020X\\\\231C@\\\\020X9\\\\264\\\\310~\\\\\\\\\\\\300)\\\\\\\\\\\\217\\\\302\\\\365\\\\230C@')\n"
");\n"
" st_astext\n"
"------------------------------------------------------\n"
" LINESTRING(-113.98 39.198,-113.981 39.195)\n"
"(1 row)"
msgstr ""
#. Tag: para
#: reference_constructor.xml:237
#, no-c-format
msgid ", <xref linkend=\"ST_AsBinary\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:243
#, no-c-format
msgid "ST_GeomFromTWKB"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:244
#, no-c-format
msgid "Creates a geometry instance from a TWKB (\"<ulink url=\"https://github.com/TWKB/Specification/blob/master/twkb.md\">Tiny Well-Known Binary</ulink>\") geometry representation."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:250
#, no-c-format
msgid "<funcdef>geometry <function>ST_GeomFromTWKB</function></funcdef> <paramdef><type>bytea </type> <parameter>twkb</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:260
#, no-c-format
msgid "The <varname>ST_GeomFromTWKB</varname> function, takes a a TWKB (\"<ulink url=\"https://github.com/TWKB/Specification/blob/master/twkb.md\">Tiny Well-Known Binary</ulink>\") geometry representation (WKB) and creates an instance of the appropriate geometry type."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:269
#, no-c-format
msgid ""
"SELECT ST_AsText(ST_GeomFromTWKB(ST_AsTWKB('LINESTRING(126 34, 127 35)'::geometry)));\n"
"\n"
" st_astext\n"
"-----------------------------\n"
" LINESTRING(126 34, 127 35)\n"
"(1 row)\n"
"\n"
"\n"
"SELECT ST_AsEWKT(\n"
" ST_GeomFromTWKB(E'\\\\x620002f7f40dbce4040105')\n"
");\n"
" st_asewkt\n"
"------------------------------------------------------\n"
"LINESTRING(-113.98 39.198,-113.981 39.195)\n"
"(1 row)"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:280
#, no-c-format
msgid "ST_GeomCollFromText"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:282
#, no-c-format
msgid "Makes a collection Geometry from collection WKT with the given SRID. If SRID is not give, it defaults to 0."
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:287
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_GeomCollFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_GeomCollFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:305
#, no-c-format
msgid "Makes a collection Geometry from the Well-Known-Text (WKT) representation with the given SRID. If SRID is not give, it defaults to 0."
msgstr ""
#. Tag: para
#: reference_constructor.xml:308 reference_constructor.xml:1472 reference_constructor.xml:1533 reference_constructor.xml:1594 reference_constructor.xml:1902
#, no-c-format
msgid "OGC SPEC 3.2.6.2 - option SRID is from the conformance suite"
msgstr ""
#. Tag: para
#: reference_constructor.xml:310
#, no-c-format
msgid "Returns null if the WKT is not a GEOMETRYCOLLECTION"
msgstr ""
#. Tag: para
#: reference_constructor.xml:312
#, no-c-format
msgid "If you are absolutely sure all your WKT geometries are collections, don't use this function. It is slower than ST_GeomFromText since it adds an additional validation step."
msgstr ""
#. Tag: para
#: reference_constructor.xml:318
#, no-c-format
msgid "&sqlmm_compliant;"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:326
#, no-c-format
msgid "SELECT ST_GeomCollFromText('GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(1 2, 3 4))');"
msgstr ""
#. Tag: para
#: reference_constructor.xml:333 reference_constructor.xml:1621
#, no-c-format
msgid ", <xref linkend=\"ST_SRID\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:340
#, no-c-format
msgid "ST_GeomFromEWKB"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:341
#, no-c-format
msgid "Return a specified ST_Geometry value from Extended Well-Known Binary representation (EWKB)."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:346
#, no-c-format
msgid "<funcdef>geometry <function>ST_GeomFromEWKB</function></funcdef> <paramdef><type>bytea </type> <parameter>EWKB</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:355
#, no-c-format
msgid "Constructs a PostGIS ST_Geometry object from the OGC Extended Well-Known binary (EWKT) representation."
msgstr ""
#. Tag: para
#: reference_constructor.xml:357
#, no-c-format
msgid "The EWKB format is not an OGC standard, but a PostGIS specific format that includes the spatial reference system (SRID) identifier"
msgstr ""
#. Tag: para
#: reference_constructor.xml:360 reference_constructor.xml:408 reference_constructor.xml:537 reference_constructor.xml:684
#, no-c-format
msgid "Enhanced: 2.0.0 support for Polyhedral surfaces and TIN was introduced."
msgstr ""
#. Tag: para
#: reference_constructor.xml:361 reference_constructor.xml:409 reference_constructor.xml:539 reference_constructor.xml:598 reference_constructor.xml:644 reference_constructor.xml:855 reference_constructor.xml:1194 reference_constructor.xml:1312 reference_constructor.xml:1392 reference_constructor.xml:1806 reference_constructor.xml:1854
#, no-c-format
msgid "&Z_support;"
msgstr ""
#. Tag: para
#: reference_constructor.xml:363 reference_constructor.xml:411 reference_constructor.xml:540
#, no-c-format
msgid "&P_support;"
msgstr ""
#. Tag: para
#: reference_constructor.xml:364 reference_constructor.xml:412 reference_constructor.xml:541
#, no-c-format
msgid "&T_support;"
msgstr ""
#. Tag: para
#: reference_constructor.xml:369
#, no-c-format
msgid "line string binary rep 0f LINESTRING(-71.160281 42.258729,-71.160837 42.259113,-71.161144 42.25932) in NAD 83 long lat (4269)."
msgstr ""
#. Tag: para
#: reference_constructor.xml:371
#, no-c-format
msgid "NOTE: Even though byte arrays are delimited with \\ and may have ', we need to escape both out with \\ and '' if standard_conforming_strings is off. So it does not look exactly like its AsEWKB representation."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:373
#, no-c-format
msgid ""
"SELECT ST_GeomFromEWKB(E'\\\\001\\\\002\\\\000\\\\000 \\\\255\\\\020\\\\000\\\\000\\\\003\\\\000\\\\000\\\\000\\\\344J=\n"
"\\\\013B\\\\312Q\\\\300n\\\\303(\\\\010\\\\036!E@''\\\\277E''K\n"
"\\\\312Q\\\\300\\\\366{b\\\\235*!E@\\\\225|\\\\354.P\\\\312Q\n"
"\\\\300p\\\\231\\\\323e1!E@');"
msgstr ""
#. Tag: para
#: reference_constructor.xml:375
#, no-c-format
msgid "In PostgreSQL 9.1+ - standard_conforming_strings is set to on by default, where as in past versions it was set to on. You can change defaults as needed for a single query or at the database or server level. Below is how you would do it with standard_conforming_strings = on. In this case we escape the ' with standard ansi ', but slashes are not escaped"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:378
#, no-c-format
msgid ""
"set standard_conforming_strings = on;\n"
"SELECT ST_GeomFromEWKB('\\001\\002\\000\\000 \\255\\020\\000\\000\\003\\000\\000\\000\\344J=\\012\\013B\n"
" \\312Q\\300n\\303(\\010\\036!E@''\\277E''K\\012\\312Q\\300\\366{b\\235*!E@\\225|\\354.P\\312Q\\012\\300p\\231\\323e1')"
msgstr ""
#. Tag: para
#: reference_constructor.xml:382
#, no-c-format
msgid ", <xref linkend=\"ST_AsEWKB\"/>, <xref linkend=\"ST_GeomFromWKB\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:388
#, no-c-format
msgid "ST_GeomFromEWKT"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:389
#, no-c-format
msgid "Return a specified ST_Geometry value from Extended Well-Known Text representation (EWKT)."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:394
#, no-c-format
msgid "<funcdef>geometry <function>ST_GeomFromEWKT</function></funcdef> <paramdef><type>text </type> <parameter>EWKT</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:403
#, no-c-format
msgid "Constructs a PostGIS ST_Geometry object from the OGC Extended Well-Known text (EWKT) representation."
msgstr ""
#. Tag: para
#: reference_constructor.xml:405
#, no-c-format
msgid "The EWKT format is not an OGC standard, but an PostGIS specific format that includes the spatial reference system (SRID) identifier"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:417
#, no-c-format
msgid ""
"SELECT ST_GeomFromEWKT('SRID=4269;LINESTRING(-71.160281 42.258729,-71.160837 42.259113,-71.161144 42.25932)');\n"
"SELECT ST_GeomFromEWKT('SRID=4269;MULTILINESTRING((-71.160281 42.258729,-71.160837 42.259113,-71.161144 42.25932))');\n"
"\n"
"SELECT ST_GeomFromEWKT('SRID=4269;POINT(-71.064544 42.28787)');\n"
"\n"
"SELECT ST_GeomFromEWKT('SRID=4269;POLYGON((-71.1776585052917 42.3902909739571,-71.1776820268866 42.3903701743239,\n"
"-71.1776063012595 42.3903825660754,-71.1775826583081 42.3903033653531,-71.1776585052917 42.3902909739571))');\n"
"\n"
"SELECT ST_GeomFromEWKT('SRID=4269;MULTIPOLYGON(((-71.1031880899493 42.3152774590236,\n"
"-71.1031627617667 42.3152960829043,-71.102923838298 42.3149156848307,\n"
"-71.1023097974109 42.3151969047397,-71.1019285062273 42.3147384934248,\n"
"-71.102505233663 42.3144722937587,-71.10277487471 42.3141658254797,\n"
"-71.103113945163 42.3142739188902,-71.10324876416 42.31402489987,\n"
"-71.1033002961013 42.3140393340215,-71.1033488797549 42.3139495090772,\n"
"-71.103396240451 42.3138632439557,-71.1041521907712 42.3141153348029,\n"
"-71.1041411411543 42.3141545014533,-71.1041287795912 42.3142114839058,\n"
"-71.1041188134329 42.3142693656241,-71.1041112482575 42.3143272556118,\n"
"-71.1041072845732 42.3143851580048,-71.1041057218871 42.3144430686681,\n"
"-71.1041065602059 42.3145009876017,-71.1041097995362 42.3145589148055,\n"
"-71.1041166403905 42.3146168544148,-71.1041258822717 42.3146748022936,\n"
"-71.1041375307579 42.3147318674446,-71.1041492906949 42.3147711126569,\n"
"-71.1041598612795 42.314808571739,-71.1042515013869 42.3151287620809,\n"
"-71.1041173835118 42.3150739481917,-71.1040809891419 42.3151344119048,\n"
"-71.1040438678912 42.3151191367447,-71.1040194562988 42.3151832057859,\n"
"-71.1038734225584 42.3151140942995,-71.1038446938243 42.3151006300338,\n"
"-71.1038315271889 42.315094347535,-71.1037393329282 42.315054824985,\n"
"-71.1035447555574 42.3152608696313,-71.1033436658644 42.3151648370544,\n"
"-71.1032580383161 42.3152269126061,-71.103223066939 42.3152517403219,\n"
"-71.1031880899493 42.3152774590236)),\n"
"((-71.1043632495873 42.315113108546,-71.1043583974082 42.3151211109857,\n"
"-71.1043443253471 42.3150676015829,-71.1043850704575 42.3150793250568,-71.1043632495873 42.315113108546)))');"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:418
#, no-c-format
msgid ""
"--3d circular string\n"
"SELECT ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 150406 3)');"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:419
#, no-c-format
msgid ""
"--Polyhedral Surface example\n"
"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"
")');"
msgstr ""
#. Tag: para
#: reference_constructor.xml:423
#, no-c-format
msgid ", <xref linkend=\"ST_GeomFromText\"/>, <xref linkend=\"ST_GeomFromEWKT\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:428
#, no-c-format
msgid "ST_GeometryFromText"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:429 reference_constructor.xml:1951
#, no-c-format
msgid "Return a specified ST_Geometry value from Well-Known Text representation (WKT). This is an alias name for ST_GeomFromText"
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:432
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_GeometryFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_GeometryFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:446 reference_constructor.xml:1852
#, no-c-format
msgid "&sfs_compliant;"
msgstr ""
#. Tag: para
#: reference_constructor.xml:447 reference_constructor.xml:726
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.40"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:458
#, no-c-format
msgid "ST_GeomFromGeoHash"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:460
#, no-c-format
msgid "Return a geometry from a GeoHash string."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:465
#, no-c-format
msgid "<funcdef>geometry <function>ST_GeomFromGeoHash</function></funcdef> <paramdef><type>text </type> <parameter>geohash</parameter></paramdef> <paramdef choice=\"opt\"><type>integer </type> <parameter>precision=full_precision_of_geohash</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:476
#, no-c-format
msgid "Return a geometry from a GeoHash string. The geometry will be a polygon representing the GeoHash bounds."
msgstr ""
#. Tag: para
#: reference_constructor.xml:478
#, no-c-format
msgid "If no <varname>precision</varname> is specified ST_GeomFromGeoHash returns a polygon based on full precision of the input GeoHash string."
msgstr ""
#. Tag: para
#: reference_constructor.xml:480
#, no-c-format
msgid "If <varname>precision</varname> is specified ST_GeomFromGeoHash will use that many characters from the GeoHash to create the polygon."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:487
#, no-c-format
msgid ""
"<![CDATA[SELECT ST_AsText(ST_GeomFromGeoHash('9qqj7nmxncgyy4d0dbxqz0'));\n"
" st_astext\n"
"--------------------------------------------------------------------------------------------------------------------------\n"
" POLYGON((-115.172816 36.114646,-115.172816 36.114646,-115.172816 36.114646,-115.172816 36.114646,-115.172816 36.114646))\n"
"\n"
"SELECT ST_AsText(ST_GeomFromGeoHash('9qqj7nmxncgyy4d0dbxqz0', 4));\n"
" st_astext\n"
"------------------------------------------------------------------------------------------------------------------------------\n"
" POLYGON((-115.3125 36.03515625,-115.3125 36.2109375,-114.9609375 36.2109375,-114.9609375 36.03515625,-115.3125 36.03515625))\n"
"\n"
"SELECT ST_AsText(ST_GeomFromGeoHash('9qqj7nmxncgyy4d0dbxqz0', 10));\n"
" st_astext\n"
"----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n"
" POLYGON((-115.17282128334 36.1146408319473,-115.17282128334 36.1146461963654,-115.172810554504 36.1146461963654,-115.172810554504 36.1146408319473,-115.17282128334 36.1146408319473))\n"
" ]]>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:492
#, no-c-format
msgid ",<xref linkend=\"ST_Box2dFromGeoHash\"/>, <xref linkend=\"ST_PointFromGeoHash\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:498
#, no-c-format
msgid "ST_GeomFromGML"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:499
#, no-c-format
msgid "Takes as input GML representation of geometry and outputs a PostGIS geometry object"
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:503
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_GeomFromGML</function></funcdef> <paramdef><type>text </type> <parameter>geomgml</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_GeomFromGML</function></funcdef> <paramdef><type>text </type> <parameter>geomgml</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:518
#, no-c-format
msgid "Constructs a PostGIS ST_Geometry object from the OGC GML representation."
msgstr ""
#. Tag: para
#: reference_constructor.xml:519
#, no-c-format
msgid "ST_GeomFromGML works only for GML Geometry fragments. It throws an error if you try to use it on a whole GML document."
msgstr ""
#. Tag: para
#: reference_constructor.xml:520
#, no-c-format
msgid "OGC GML versions supported: <itemizedlist> <listitem> <para>GML 3.2.1 Namespace</para> </listitem> <listitem> <para>GML 3.1.1 Simple Features profile SF-2 (with GML 3.1.0 and 3.0.0 backward compatibility)</para> </listitem> <listitem> <para>GML 2.1.2</para> </listitem> </itemizedlist> OGC GML standards, cf: <ulink url=\"http://www.opengeospatial.org/standards/gml\">http://www.opengeospatial.org/standards/gml</ulink>:"
msgstr ""
#. Tag: para
#: reference_constructor.xml:536 reference_constructor.xml:683
#, no-c-format
msgid "Availability: 1.5, requires libxml2 1.6+"
msgstr ""
#. Tag: para
#: reference_constructor.xml:538 reference_constructor.xml:685
#, no-c-format
msgid "Enhanced: 2.0.0 default srid optional parameter added."
msgstr ""
#. Tag: para
#: reference_constructor.xml:542
#, no-c-format
msgid "GML allow mixed dimensions (2D and 3D inside the same MultiGeometry for instance). As PostGIS geometries don't, ST_GeomFromGML convert the whole geometry to 2D if a missing Z dimension is found once."
msgstr ""
#. Tag: para
#: reference_constructor.xml:544
#, no-c-format
msgid "GML support mixed SRS inside the same MultiGeometry. As PostGIS geometries don't, ST_GeomFromGML, in this case, reproject all subgeometries to the SRS root node. If no srsName attribute available for the GML root node, the function throw an error."
msgstr ""
#. Tag: para
#: reference_constructor.xml:546
#, no-c-format
msgid "ST_GeomFromGML function is not pedantic about an explicit GML namespace. You could avoid to mention it explicitly for common usages. But you need it if you want to use XLink feature inside GML."
msgstr ""
#. Tag: para
#: reference_constructor.xml:548
#, no-c-format
msgid "ST_GeomFromGML function not support SQL/MM curves geometries."
msgstr ""
#. Tag: title
#: reference_constructor.xml:554 reference_constructor.xml:652
#, no-c-format
msgid "Examples - A single geometry with srsName"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:555
#, no-c-format
msgid ""
"SELECT ST_GeomFromGML('<![CDATA[\n"
" <gml:LineString srsName=\"EPSG:4269\">\n"
" <gml:coordinates>\n"
" -71.16028,42.258729 -71.160837,42.259112 -71.161143,42.25932\n"
" </gml:coordinates>\n"
" </gml:LineString>']]>);"
msgstr ""
#. Tag: title
#: reference_constructor.xml:559
#, no-c-format
msgid "Examples - XLink usage"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:560
#, no-c-format
msgid ""
"SELECT <![CDATA[ST_GeomFromGML('\n"
" <gml:LineString xmlns:gml=\"http://www.opengis.net/gml\"\n"
" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n"
" srsName=\"urn:ogc:def:crs:EPSG::4269\">\n"
" <gml:pointProperty>\n"
" <gml:Point gml:id=\"p1\"><gml:pos>42.258729 -71.16028</gml:pos></gml:Point>\n"
" </gml:pointProperty>\n"
" <gml:pos>42.259112 -71.160837</gml:pos>\n"
" <gml:pointProperty>\n"
" <gml:Point xlink:type=\"simple\" xlink:href=\"#p1\"/>\n"
" </gml:pointProperty>\n"
" </gml:LineString>');]]>);"
msgstr ""
#. Tag: title
#: reference_constructor.xml:564
#, no-c-format
msgid "Examples - Polyhedral Surface"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:565
#, no-c-format
msgid ""
"SELECT ST_AsEWKT(<![CDATA[ST_GeomFromGML('\n"
"<gml:PolyhedralSurface>\n"
"<gml:polygonPatches>\n"
" <gml:PolygonPatch>\n"
" <gml:exterior>\n"
" <gml:LinearRing><gml:posList srsDimension=\"3\">0 0 0 0 0 1 0 1 1 0 1 0 0 0 0</gml:posList></gml:LinearRing>\n"
" </gml:exterior>\n"
" </gml:PolygonPatch>\n"
" <gml:PolygonPatch>\n"
" <gml:exterior>\n"
" <gml:LinearRing><gml:posList srsDimension=\"3\">0 0 0 0 1 0 1 1 0 1 0 0 0 0 0</gml:posList></gml:LinearRing>\n"
" </gml:exterior>\n"
" </gml:PolygonPatch>\n"
" <gml:PolygonPatch>\n"
" <gml:exterior>\n"
" <gml:LinearRing><gml:posList srsDimension=\"3\">0 0 0 1 0 0 1 0 1 0 0 1 0 0 0</gml:posList></gml:LinearRing>\n"
" </gml:exterior>\n"
" </gml:PolygonPatch>\n"
" <gml:PolygonPatch>\n"
" <gml:exterior>\n"
" <gml:LinearRing><gml:posList srsDimension=\"3\">1 1 0 1 1 1 1 0 1 1 0 0 1 1 0</gml:posList></gml:LinearRing>\n"
" </gml:exterior>\n"
" </gml:PolygonPatch>\n"
" <gml:PolygonPatch>\n"
" <gml:exterior>\n"
" <gml:LinearRing><gml:posList srsDimension=\"3\">0 1 0 0 1 1 1 1 1 1 1 0 0 1 0</gml:posList></gml:LinearRing>\n"
" </gml:exterior>\n"
" </gml:PolygonPatch>\n"
" <gml:PolygonPatch>\n"
" <gml:exterior>\n"
" <gml:LinearRing><gml:posList srsDimension=\"3\">0 0 1 1 0 1 1 1 1 0 1 1 0 0 1</gml:posList></gml:LinearRing>\n"
" </gml:exterior>\n"
" </gml:PolygonPatch>\n"
"</gml:polygonPatches>\n"
"</gml:PolyhedralSurface>']]>));\n"
"\n"
"-- result --\n"
" 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)),\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)))"
msgstr ""
#. Tag: para
#: reference_constructor.xml:571
#, no-c-format
msgid ", <xref linkend=\"ST_AsGML\"/>, <xref linkend=\"ST_GMLToSQL\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:577
#, no-c-format
msgid "ST_GeomFromGeoJSON"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:578
#, no-c-format
msgid "Takes as input a geojson representation of a geometry and outputs a PostGIS geometry object"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:583
#, no-c-format
msgid "<funcdef>geometry <function>ST_GeomFromGeoJSON</function></funcdef> <paramdef><type>text </type> <parameter>geomjson</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:592
#, no-c-format
msgid "Constructs a PostGIS geometry object from the GeoJSON representation."
msgstr ""
#. Tag: para
#: reference_constructor.xml:593
#, no-c-format
msgid "ST_GeomFromGeoJSON works only for JSON Geometry fragments. It throws an error if you try to use it on a whole JSON document."
msgstr ""
#. Tag: para
#: reference_constructor.xml:595
#, no-c-format
msgid "Availability: 2.0.0 requires - JSON-C >= 0.9"
msgstr ""
#. Tag: para
#: reference_constructor.xml:596
#, no-c-format
msgid "If you do not have JSON-C enabled, support you will get an error notice instead of seeing an output. To enable JSON-C, run configure --with-jsondir=/path/to/json-c. See <xref linkend=\"installation_configuration\"/> for details."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:603
#, no-c-format
msgid ""
"SELECT ST_AsText(ST_GeomFromGeoJSON('{\"type\":\"Point\",\"coordinates\":[-48.23456,20.12345]}')) As wkt;\n"
"wkt\n"
"------\n"
"POINT(-48.23456 20.12345)"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:604
#, no-c-format
msgid ""
"-- a 3D linestring\n"
"SELECT ST_AsText(ST_GeomFromGeoJSON('{\"type\":\"LineString\",\"coordinates\":[[1,2,3],[4,5,6],[7,8,9]]}')) As wkt;\n"
"\n"
"wkt\n"
"-------------------\n"
"LINESTRING(1 2,4 5,7 8)"
msgstr ""
#. Tag: para
#: reference_constructor.xml:610
#, no-c-format
msgid ", <xref linkend=\"ST_AsGeoJSON\"/>, <xref linkend=\"installation_configuration\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:616
#, no-c-format
msgid "ST_GeomFromKML"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:617
#, no-c-format
msgid "Takes as input KML representation of geometry and outputs a PostGIS geometry object"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:622
#, no-c-format
msgid "<funcdef>geometry <function>ST_GeomFromKML</function></funcdef> <paramdef><type>text </type> <parameter>geomkml</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:631
#, no-c-format
msgid "Constructs a PostGIS ST_Geometry object from the OGC KML representation."
msgstr ""
#. Tag: para
#: reference_constructor.xml:632
#, no-c-format
msgid "ST_GeomFromKML works only for KML Geometry fragments. It throws an error if you try to use it on a whole KML document."
msgstr ""
#. Tag: para
#: reference_constructor.xml:633
#, no-c-format
msgid "OGC KML versions supported: <itemizedlist> <listitem> <para>KML 2.2.0 Namespace</para> </listitem> </itemizedlist> OGC KML standards, cf: <ulink url=\"http://www.opengeospatial.org/standards/kml\">http://www.opengeospatial.org/standards/kml</ulink>:"
msgstr ""
#. Tag: para
#: reference_constructor.xml:643
#, no-c-format
msgid "Availability: 1.5,libxml2 2.6+"
msgstr ""
#. Tag: para
#: reference_constructor.xml:646
#, no-c-format
msgid "ST_GeomFromKML function not support SQL/MM curves geometries."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:653
#, no-c-format
msgid ""
"SELECT ST_GeomFromKML('<![CDATA[\n"
" <LineString>\n"
" <coordinates>-71.1663,42.2614\n"
" -71.1667,42.2616</coordinates>\n"
" </LineString>']]>);"
msgstr ""
#. Tag: para
#: reference_constructor.xml:658
#, no-c-format
msgid ", <xref linkend=\"ST_AsKML\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:664
#, no-c-format
msgid "ST_GMLToSQL"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:665
#, no-c-format
msgid "Return a specified ST_Geometry value from GML representation. This is an alias name for ST_GeomFromGML"
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:668
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_GMLToSQL</function></funcdef> <paramdef><type>text </type> <parameter>geomgml</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_GMLToSQL</function></funcdef> <paramdef><type>text </type> <parameter>geomgml</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:682
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.50 (except for curves support)."
msgstr ""
#. Tag: para
#: reference_constructor.xml:689
#, no-c-format
msgid ", <xref linkend=\"ST_GeomFromGML\"/>, <xref linkend=\"ST_AsGML\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:695
#, no-c-format
msgid "ST_GeomFromText"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:696
#, no-c-format
msgid "Return a specified ST_Geometry value from Well-Known Text representation (WKT)."
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:699
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_GeomFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_GeomFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:715
#, no-c-format
msgid "Constructs a PostGIS ST_Geometry object from the OGC Well-Known text representation."
msgstr ""
#. Tag: para
#: reference_constructor.xml:719
#, no-c-format
msgid "There are two variants of ST_GeomFromText function. The first takes no SRID and returns a geometry with no defined spatial reference system (SRID=0). The second takes a SRID as the second argument and returns a geometry that includes this SRID as part of its metadata."
msgstr ""
#. Tag: para
#: reference_constructor.xml:725 reference_constructor.xml:1756
#, no-c-format
msgid "&sfs_compliant; s3.2.6.2 - option SRID is from the conformance suite."
msgstr ""
#. Tag: para
#: reference_constructor.xml:728
#, 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. This should now be written as ST_GeomFromText('GEOMETRYCOLLECTION EMPTY')"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:735
#, no-c-format
msgid ""
"SELECT ST_GeomFromText('LINESTRING(-71.160281 42.258729,-71.160837 42.259113,-71.161144 42.25932)');\n"
"SELECT ST_GeomFromText('LINESTRING(-71.160281 42.258729,-71.160837 42.259113,-71.161144 42.25932)',4269);\n"
"\n"
"SELECT ST_GeomFromText('MULTILINESTRING((-71.160281 42.258729,-71.160837 42.259113,-71.161144 42.25932))');\n"
"\n"
"SELECT ST_GeomFromText('POINT(-71.064544 42.28787)');\n"
"\n"
"SELECT ST_GeomFromText('POLYGON((-71.1776585052917 42.3902909739571,-71.1776820268866 42.3903701743239,\n"
"-71.1776063012595 42.3903825660754,-71.1775826583081 42.3903033653531,-71.1776585052917 42.3902909739571))');\n"
"\n"
"SELECT ST_GeomFromText('MULTIPOLYGON(((-71.1031880899493 42.3152774590236,\n"
"-71.1031627617667 42.3152960829043,-71.102923838298 42.3149156848307,\n"
"-71.1023097974109 42.3151969047397,-71.1019285062273 42.3147384934248,\n"
"-71.102505233663 42.3144722937587,-71.10277487471 42.3141658254797,\n"
"-71.103113945163 42.3142739188902,-71.10324876416 42.31402489987,\n"
"-71.1033002961013 42.3140393340215,-71.1033488797549 42.3139495090772,\n"
"-71.103396240451 42.3138632439557,-71.1041521907712 42.3141153348029,\n"
"-71.1041411411543 42.3141545014533,-71.1041287795912 42.3142114839058,\n"
"-71.1041188134329 42.3142693656241,-71.1041112482575 42.3143272556118,\n"
"-71.1041072845732 42.3143851580048,-71.1041057218871 42.3144430686681,\n"
"-71.1041065602059 42.3145009876017,-71.1041097995362 42.3145589148055,\n"
"-71.1041166403905 42.3146168544148,-71.1041258822717 42.3146748022936,\n"
"-71.1041375307579 42.3147318674446,-71.1041492906949 42.3147711126569,\n"
"-71.1041598612795 42.314808571739,-71.1042515013869 42.3151287620809,\n"
"-71.1041173835118 42.3150739481917,-71.1040809891419 42.3151344119048,\n"
"-71.1040438678912 42.3151191367447,-71.1040194562988 42.3151832057859,\n"
"-71.1038734225584 42.3151140942995,-71.1038446938243 42.3151006300338,\n"
"-71.1038315271889 42.315094347535,-71.1037393329282 42.315054824985,\n"
"-71.1035447555574 42.3152608696313,-71.1033436658644 42.3151648370544,\n"
"-71.1032580383161 42.3152269126061,-71.103223066939 42.3152517403219,\n"
"-71.1031880899493 42.3152774590236)),\n"
"((-71.1043632495873 42.315113108546,-71.1043583974082 42.3151211109857,\n"
"-71.1043443253471 42.3150676015829,-71.1043850704575 42.3150793250568,-71.1043632495873 42.315113108546)))',4326);\n"
"\n"
"SELECT ST_GeomFromText('CIRCULARSTRING(220268 150415,220227 150505,220227 150406)');"
msgstr ""
#. Tag: para
#: reference_constructor.xml:739
#, no-c-format
msgid ", <xref linkend=\"ST_GeomFromWKB\"/>, <xref linkend=\"ST_SRID\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:745
#, no-c-format
msgid "ST_GeomFromWKB"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:746
#, no-c-format
msgid "Creates a geometry instance from a Well-Known Binary geometry representation (WKB) and optional SRID."
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:751 reference_constructor.xml:1778
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_GeomFromWKB</function></funcdef> <paramdef><type>bytea </type> <parameter>geom</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_GeomFromWKB</function></funcdef> <paramdef><type>bytea </type> <parameter>geom</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:768
#, no-c-format
msgid "The <varname>ST_GeomFromWKB</varname> function, takes a well-known binary representation of a geometry and a Spatial Reference System ID (<varname>SRID</varname>) and creates an instance of the appropriate geometry type. This function plays the role of the Geometry Factory in SQL. This is an alternate name for ST_WKBToSQL."
msgstr ""
#. Tag: para
#: reference_constructor.xml:774
#, no-c-format
msgid "If SRID is not specified, it defaults to 0 (Unknown)."
msgstr ""
#. Tag: para
#: reference_constructor.xml:775
#, no-c-format
msgid "&sfs_compliant; s3.2.7.2 - the optional SRID is from the conformance suite"
msgstr ""
#. Tag: para
#: reference_constructor.xml:776
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.41"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:784
#, no-c-format
msgid ""
"--Although bytea rep contains single \\, these need to be escaped when inserting into a table\n"
" -- unless standard_conforming_strings is set to on.\n"
"SELECT ST_AsEWKT(\n"
"ST_GeomFromWKB(E'\\\\001\\\\002\\\\000\\\\000\\\\000\\\\002\\\\000\\\\000\\\\000\\\\037\\\\205\\\\353Q\\\\270~\\\\\\\\\\\\300\\\\323Mb\\\\020X\\\\231C@\\\\020X9\\\\264\\\\310~\\\\\\\\\\\\300)\\\\\\\\\\\\217\\\\302\\\\365\\\\230C@',4326)\n"
");\n"
" st_asewkt\n"
"------------------------------------------------------\n"
" SRID=4326;LINESTRING(-113.98 39.198,-113.981 39.195)\n"
"(1 row)\n"
"\n"
"SELECT\n"
" ST_AsText(\n"
" ST_GeomFromWKB(\n"
" ST_AsEWKB('POINT(2 5)'::geometry)\n"
" )\n"
" );\n"
" st_astext\n"
"------------\n"
" POINT(2 5)\n"
"(1 row)"
msgstr ""
#. Tag: para
#: reference_constructor.xml:791
#, no-c-format
msgid ", <xref linkend=\"ST_AsBinary\"/>, <xref linkend=\"ST_GeomFromEWKB\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:798
#, no-c-format
msgid "ST_LineFromEncodedPolyline"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:800
#, no-c-format
msgid "Creates a LineString from an Encoded Polyline."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:805
#, no-c-format
msgid "<funcdef>geometry <function>ST_LineFromEncodedPolyline</function></funcdef> <paramdef><type>text </type> <parameter>polyline</parameter></paramdef> <paramdef choice=\"opt\"><type>integer </type> <parameter>precision=5</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:816
#, no-c-format
msgid "Creates a LineString from an Encoded Polyline string."
msgstr ""
#. Tag: para
#: reference_constructor.xml:817
#, no-c-format
msgid "See http://developers.google.com/maps/documentation/utilities/polylinealgorithm"
msgstr ""
#. Tag: para
#: reference_constructor.xml:818
#, no-c-format
msgid "Availability: 2.2.0"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:824
#, no-c-format
msgid ""
"--Create a line string from a polyline\n"
"SELECT ST_AsEWKT(ST_LineFromEncodedPolyline('_p~iF~ps|U_ulLnnqC_mqNvxq`@'));\n"
"--result--\n"
"LINESTRING(-120.2 38.5,-120.95 40.7,-126.453 43.252)"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:837
#, no-c-format
msgid "ST_LineFromMultiPoint"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:839
#, no-c-format
msgid "<refpurpose>Creates a LineString from a MultiPoint geometry.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:844
#, no-c-format
msgid "<funcdef>geometry <function>ST_LineFromMultiPoint</function></funcdef> <paramdef><type>geometry </type> <parameter>aMultiPoint</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:854
#, no-c-format
msgid "<para>Creates a LineString from a MultiPoint geometry.</para>"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:862
#, no-c-format
msgid ""
"--Create a 3d line string from a 3d multipoint\n"
"SELECT ST_AsEWKT(ST_LineFromMultiPoint(ST_GeomFromEWKT('MULTIPOINT(1 2 3, 4 5 6, 7 8 9)')));\n"
"--result--\n"
"LINESTRING(1 2 3,4 5 6,7 8 9)"
msgstr ""
#. Tag: para
#: reference_constructor.xml:869
#, no-c-format
msgid ", <xref linkend=\"ST_Collect\"/>, <xref linkend=\"ST_MakeLine\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:875
#, no-c-format
msgid "ST_LineFromText"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:877
#, no-c-format
msgid "Makes a Geometry from WKT representation with the given SRID. If SRID is not given, it defaults to 0."
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:882
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_LineFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_LineFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:899
#, no-c-format
msgid "Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to 0. If WKT passed in is not a LINESTRING, then null is returned."
msgstr ""
#. Tag: para
#: reference_constructor.xml:903 reference_constructor.xml:969
#, no-c-format
msgid "OGC SPEC 3.2.6.2 - option SRID is from the conformance suite."
msgstr ""
#. Tag: para
#: reference_constructor.xml:908
#, no-c-format
msgid "If you know all your geometries are LINESTRINGS, its more efficient to just use ST_GeomFromText. This just calls ST_GeomFromText and adds additional validation that it returns a linestring."
msgstr ""
#. Tag: para
#: reference_constructor.xml:914
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 7.2.8"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:922
#, no-c-format
msgid ""
"SELECT ST_LineFromText('LINESTRING(1 2, 3 4)') AS aline, ST_LineFromText('POINT(1 2)') AS null_return;\n"
"aline | null_return\n"
"------------------------------------------------\n"
"010200000002000000000000000000F ... | t"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:935
#, no-c-format
msgid "ST_LineFromWKB"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:937
#, no-c-format
msgid "Makes a <varname>LINESTRING</varname> from WKB with the given SRID"
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:941
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_LineFromWKB</function></funcdef> <paramdef><type>bytea </type> <parameter>WKB</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_LineFromWKB</function></funcdef> <paramdef><type>bytea </type> <parameter>WKB</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:958
#, no-c-format
msgid "The <varname>ST_LineFromWKB</varname> function, takes a well-known binary representation of geometry and a Spatial Reference System ID (<varname>SRID</varname>) and creates an instance of the appropriate geometry type - in this case, a <varname>LINESTRING</varname> geometry. This function plays the role of the Geometry Factory in SQL."
msgstr ""
#. Tag: para
#: reference_constructor.xml:964
#, no-c-format
msgid "If an SRID is not specified, it defaults to 0. <varname>NULL</varname> is returned if the input <varname>bytea</varname> does not represent a <varname>LINESTRING</varname>."
msgstr ""
#. Tag: para
#: reference_constructor.xml:974
#, no-c-format
msgid "If you know all your geometries are <varname>LINESTRING</varname>s, its more efficient to just use <xref linkend=\"ST_GeomFromWKB\"/>. This function just calls <xref linkend=\"ST_GeomFromWKB\"/> and adds additional validation that it returns a linestring."
msgstr ""
#. Tag: para
#: reference_constructor.xml:982 reference_constructor.xml:1048
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 7.2.9"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:990
#, no-c-format
msgid ""
"SELECT ST_LineFromWKB(ST_AsBinary(ST_GeomFromText('LINESTRING(1 2, 3 4)'))) AS aline,\n"
" ST_LineFromWKB(ST_AsBinary(ST_GeomFromText('POINT(1 2)'))) IS NULL AS null_return;\n"
"aline | null_return\n"
"------------------------------------------------\n"
"010200000002000000000000000000F ... | t"
msgstr ""
#. Tag: para
#: reference_constructor.xml:997
#, no-c-format
msgid ", <xref linkend=\"ST_LinestringFromWKB\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1003
#, no-c-format
msgid "ST_LinestringFromWKB"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1005
#, no-c-format
msgid "Makes a geometry from WKB with the given SRID."
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:1009
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_LinestringFromWKB</function></funcdef> <paramdef><type>bytea </type> <parameter>WKB</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_LinestringFromWKB</function></funcdef> <paramdef><type>bytea </type> <parameter>WKB</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1026
#, no-c-format
msgid "The <varname>ST_LinestringFromWKB</varname> function, takes a well-known binary representation of geometry and a Spatial Reference System ID (<varname>SRID</varname>) and creates an instance of the appropriate geometry type - in this case, a <varname>LINESTRING</varname> geometry. This function plays the role of the Geometry Factory in SQL."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1032
#, no-c-format
msgid "If an SRID is not specified, it defaults to 0. <varname>NULL</varname> is returned if the input <varname>bytea</varname> does not represent a <varname>LINESTRING</varname> geometry. This an alias for <xref linkend=\"ST_LineFromWKB\"/>."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1037
#, no-c-format
msgid "OGC SPEC 3.2.6.2 - optional SRID is from the conformance suite."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1041
#, no-c-format
msgid "If you know all your geometries are <varname>LINESTRING</varname>s, it's more efficient to just use <xref linkend=\"ST_GeomFromWKB\"/>. This function just calls <xref linkend=\"ST_GeomFromWKB\"/> and adds additional validation that it returns a <varname>LINESTRING</varname>."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1054
#, no-c-format
msgid ""
"SELECT\n"
" ST_LineStringFromWKB(\n"
" ST_AsBinary(ST_GeomFromText('LINESTRING(1 2, 3 4)'))\n"
" ) AS aline,\n"
" ST_LinestringFromWKB(\n"
" ST_AsBinary(ST_GeomFromText('POINT(1 2)'))\n"
" ) IS NULL AS null_return;\n"
" aline | null_return\n"
"------------------------------------------------\n"
"010200000002000000000000000000F ... | t"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1061 reference_constructor.xml:1820
#, no-c-format
msgid ", <xref linkend=\"ST_LineFromWKB\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1067
#, no-c-format
msgid "ST_MakeBox2D"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1069
#, no-c-format
msgid "Creates a BOX2D defined by the given point geometries."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1075
#, no-c-format
msgid "<funcdef>box2d <function>ST_MakeBox2D</function></funcdef> <paramdef><type>geometry </type> <parameter>pointLowLeft</parameter></paramdef> <paramdef><type>geometry </type> <parameter>pointUpRight</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1086
#, no-c-format
msgid "Creates a BOX2D defined by the given point geometries. This is useful for doing range queries"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1094
#, no-c-format
msgid ""
"--Return all features that fall reside or partly reside in a US national atlas coordinate bounding box\n"
"--It is assumed here that the geometries are stored with SRID = 2163 (US National atlas equal area)\n"
"SELECT feature_id, feature_name, the_geom\n"
"FROM features\n"
"WHERE the_geom && ST_SetSRID(ST_MakeBox2D(ST_Point(-989502.1875, 528439.5625),\n"
" ST_Point(-987121.375 ,529933.1875)),2163)"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1101
#, no-c-format
msgid ", <xref linkend=\"ST_Point\"/>, <xref linkend=\"ST_SetSRID\"/>, <xref linkend=\"ST_SRID\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1107
#, no-c-format
msgid "ST_3DMakeBox"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1109
#, no-c-format
msgid "Creates a BOX3D defined by the given 3d point geometries."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1114
#, no-c-format
msgid "<funcdef>box3d <function>ST_3DMakeBox</function></funcdef> <paramdef><type>geometry </type> <parameter>point3DLowLeftBottom</parameter></paramdef> <paramdef><type>geometry </type> <parameter>point3DUpRightTop</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1125
#, no-c-format
msgid "Creates a BOX3D defined by the given 2 3D point geometries."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1132
#, no-c-format
msgid "This function supports 3d and will not drop the z-index."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1134
#, no-c-format
msgid "Changed: 2.0.0 In prior versions this used to be called ST_MakeBox3D"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1141
#, no-c-format
msgid ""
"SELECT ST_3DMakeBox(ST_MakePoint(-989502.1875, 528439.5625, 10),\n"
" ST_MakePoint(-987121.375 ,529933.1875, 10)) As abb3d\n"
"\n"
"--bb3d--\n"
"--------\n"
"BOX3D(-989502.1875 528439.5625 10,-987121.375 529933.1875 10)"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1148
#, no-c-format
msgid ", <xref linkend=\"ST_SetSRID\"/>, <xref linkend=\"ST_SRID\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1154
#, no-c-format
msgid "ST_MakeLine"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1156
#, no-c-format
msgid "Creates a Linestring from point, multipoint, or line geometries."
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:1160
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_MakeLine</function></funcdef> <paramdef><type>geometry set</type> <parameter>geoms</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_MakeLine</function></funcdef> <paramdef><type>geometry</type> <parameter>geom1</parameter></paramdef> <paramdef><type>geometry</type> <parameter>geom2</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_MakeLine</function></funcdef> <paramdef><type>geometry[]</type> <parameter>geoms_array</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1182
#, no-c-format
msgid "ST_MakeLine comes in 3 forms: a spatial aggregate that takes rows of point, multipoint, or line geometries and returns a line string, a function that takes an array of point, multipoint, or line, and a regular function that takes two point, multipoint, or line geometries. You might want to use a subselect to order points before feeding them to the aggregate version of this function."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1189
#, no-c-format
msgid "Inputs other than point, multipoint, or lines are ignored."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1190
#, no-c-format
msgid "When adding line components common nodes at the beginning of lines are removed from the output. Common nodes in point and multipoint inputs are not removed."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1195
#, no-c-format
msgid "Availability: 1.4.0 - ST_MakeLine(geomarray) was introduced. ST_MakeLine aggregate functions was enhanced to handle more points faster."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1196
#, no-c-format
msgid "Availability: 2.0.0 - Support for linestring input elements was introduced"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1197
#, no-c-format
msgid "Availability: 2.0.0 - Support for multipoint input elements was introduced"
msgstr ""
#. Tag: title
#: reference_constructor.xml:1201
#, no-c-format
msgid "Examples: Spatial Aggregate version"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1202
#, no-c-format
msgid "This example takes a sequence of GPS points and creates one record for each gps travel where the geometry field is a line string composed of the gps points in the order of the travel."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1206
#, no-c-format
msgid ""
"-- For pre-PostgreSQL 9.0 - this usually works,\n"
"-- but the planner may on occasion choose not to respect the order of the subquery\n"
"SELECT gps.gps_track, ST_MakeLine(gps.the_geom) As newgeom\n"
" FROM (SELECT gps_track,gps_time, the_geom\n"
" FROM gps_points ORDER BY gps_track, gps_time) As gps\n"
" GROUP BY gps.gps_track;"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1208
#, no-c-format
msgid ""
"-- If you are using PostgreSQL 9.0+\n"
"-- (you can use the new ORDER BY support for aggregates)\n"
"-- this is a guaranteed way to get a correctly ordered linestring\n"
"-- Your order by part can order by more than one column if needed\n"
"SELECT gps.gps_track, ST_MakeLine(gps.the_geom ORDER BY gps_time) As newgeom\n"
" FROM gps_points As gps\n"
" GROUP BY gps.gps_track;"
msgstr ""
#. Tag: title
#: reference_constructor.xml:1211
#, no-c-format
msgid "Examples: Non-Spatial Aggregate version"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1213
#, no-c-format
msgid "First example is a simple one off line string composed of 2 points. The second formulates line strings from 2 points a user draws. The third is a one-off that joins 2 3d points to create a line in 3d space."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1215
#, no-c-format
msgid ""
"SELECT ST_AsText(ST_MakeLine(ST_MakePoint(1,2), ST_MakePoint(3,4)));\n"
" st_astext\n"
"---------------------\n"
" LINESTRING(1 2,3 4)\n"
"\n"
"SELECT userpoints.id, ST_MakeLine(startpoint, endpoint) As drawn_line\n"
" FROM userpoints ;\n"
"\n"
"SELECT ST_AsEWKT(ST_MakeLine(ST_MakePoint(1,2,3), ST_MakePoint(3,4,5)));\n"
" st_asewkt\n"
"-------------------------\n"
" LINESTRING(1 2 3,3 4 5)"
msgstr ""
#. Tag: title
#: reference_constructor.xml:1219
#, no-c-format
msgid "Examples: Using Array version"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1221
#, no-c-format
msgid ""
"SELECT ST_MakeLine(ARRAY(SELECT ST_Centroid(the_geom) FROM visit_locations ORDER BY visit_time));\n"
"\n"
"--Making a 3d line with 3 3-d points\n"
"SELECT ST_AsEWKT(ST_MakeLine(ARRAY[ST_MakePoint(1,2,3),\n"
" ST_MakePoint(3,4,5), ST_MakePoint(6,6,6)]));\n"
" st_asewkt\n"
"-------------------------\n"
"LINESTRING(1 2 3,3 4 5,6 6 6)"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1228
#, no-c-format
msgid ", <xref linkend=\"ST_AsText\"/>, <xref linkend=\"ST_GeomFromText\"/>, <xref linkend=\"ST_MakePoint\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1235
#, no-c-format
msgid "ST_MakeEnvelope"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1237
#, no-c-format
msgid "Creates a rectangular Polygon formed from the given minimums and maximums. Input values must be in SRS specified by the SRID."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1243
#, no-c-format
msgid "<funcdef>geometry <function>ST_MakeEnvelope</function></funcdef> <paramdef><type>double precision</type> <parameter>xmin</parameter></paramdef> <paramdef><type>double precision</type> <parameter>ymin</parameter></paramdef> <paramdef><type>double precision</type> <parameter>xmax</parameter></paramdef> <paramdef><type>double precision</type> <parameter>ymax</parameter></paramdef> <paramdef choice=\"opt\"><type>integer </type> <parameter>srid=unknown</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1257
#, no-c-format
msgid "Creates a rectangular Polygon formed from the minima and maxima. by the given shell. Input values must be in SRS specified by the SRID. If no SRID is specified the unknown spatial reference system is assumed"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1260
#, no-c-format
msgid "Availability: 1.5"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1261
#, no-c-format
msgid "Enhanced: 2.0: Ability to specify an envelope without specifying an SRID was introduced."
msgstr ""
#. Tag: title
#: reference_constructor.xml:1266
#, no-c-format
msgid "Example: Building a bounding box polygon"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1267
#, no-c-format
msgid ""
"SELECT ST_AsText(ST_MakeEnvelope(10, 10, 11, 11, 4326));\n"
"\n"
"st_asewkt\n"
"-----------\n"
"POLYGON((10 10, 10 11, 11 11, 11 10, 10 10))"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1271
#, no-c-format
msgid ", <xref linkend=\"ST_MakeLine\"/>, <xref linkend=\"ST_MakePolygon\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1277
#, no-c-format
msgid "ST_MakePolygon"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1279
#, no-c-format
msgid "Creates a Polygon formed by the given shell. Input geometries must be closed LINESTRINGS."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1285
#, no-c-format
msgid "<funcdef>geometry <function>ST_MakePolygon</function></funcdef> <paramdef><type>geometry</type> <parameter>linestring</parameter></paramdef>"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1291
#, no-c-format
msgid "<funcdef>geometry <function>ST_MakePolygon</function></funcdef> <paramdef><type>geometry</type> <parameter>outerlinestring</parameter></paramdef> <paramdef><type>geometry[]</type> <parameter>interiorlinestrings</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1302
#, no-c-format
msgid "Creates a Polygon formed by the given shell. Input geometries must be closed LINESTRINGS. Comes in 2 variants."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1304
#, no-c-format
msgid "Variant 1: Takes one closed linestring."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1305
#, no-c-format
msgid "Variant 2: Creates a Polygon formed by the given shell and array of holes. You can construct a geometry array using ST_Accum or the PostgreSQL ARRAY[] and ARRAY() constructs. Input geometries must be closed LINESTRINGS."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1309
#, no-c-format
msgid "This function will not accept a MULTILINESTRING. Use <xref linkend=\"ST_LineMerge\"/> or <xref linkend=\"ST_Dump\"/> to generate line strings."
msgstr ""
#. Tag: title
#: reference_constructor.xml:1316
#, no-c-format
msgid "Examples: Single closed LINESTRING"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1317
#, no-c-format
msgid ""
"--2d line\n"
"SELECT ST_MakePolygon(ST_GeomFromText('LINESTRING(75.15 29.53,77 29,77.6 29.5, 75.15 29.53)'));\n"
"--If linestring is not closed\n"
"--you can add the start point to close it\n"
"SELECT ST_MakePolygon(ST_AddPoint(foo.open_line, ST_StartPoint(foo.open_line)))\n"
"FROM (\n"
"SELECT ST_GeomFromText('LINESTRING(75.15 29.53,77 29,77.6 29.5)') As open_line) As foo;\n"
"\n"
"--3d closed line\n"
"SELECT ST_MakePolygon(ST_GeomFromText('LINESTRING(75.15 29.53 1,77 29 1,77.6 29.5 1, 75.15 29.53 1)'));\n"
"\n"
"st_asewkt\n"
"-----------\n"
"POLYGON((75.15 29.53 1,77 29 1,77.6 29.5 1,75.15 29.53 1))\n"
"\n"
"--measured line --\n"
"SELECT ST_MakePolygon(ST_GeomFromText('LINESTRINGM(75.15 29.53 1,77 29 1,77.6 29.5 2, 75.15 29.53 2)'));\n"
"\n"
"st_asewkt\n"
"----------\n"
"POLYGONM((75.15 29.53 1,77 29 1,77.6 29.5 2,75.15 29.53 2))"
msgstr ""
#. Tag: title
#: reference_constructor.xml:1320
#, no-c-format
msgid "Examples: Outer shell with inner shells"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1322
#, no-c-format
msgid "Build a donut with an ant hole"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1323
#, no-c-format
msgid ""
"SELECT ST_MakePolygon(\n"
" ST_ExteriorRing(ST_Buffer(foo.line,10)),\n"
" ARRAY[ST_Translate(foo.line,1,1),\n"
" ST_ExteriorRing(ST_Buffer(ST_MakePoint(20,20),1)) ]\n"
" )\n"
"FROM\n"
" (SELECT ST_ExteriorRing(ST_Buffer(ST_MakePoint(10,10),10,10))\n"
" As line )\n"
" As foo;"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1324
#, no-c-format
msgid "Build province boundaries with holes representing lakes in the province from a set of province polygons/multipolygons and water linestrings. This is an example of using PostGIS ST_Accum."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1328
#, no-c-format
msgid "The CASE construct is used because feeding a null array into ST_MakePolygon results in NULL."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1330
#, no-c-format
msgid "A left join is used to guarantee we get all provinces back even if they have no lakes."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1331
#, no-c-format
msgid ""
"SELECT p.gid, p.province_name,\n"
" CASE WHEN\n"
" ST_Accum(w.the_geom) IS NULL THEN p.the_geom\n"
" ELSE ST_MakePolygon(ST_LineMerge(ST_Boundary(p.the_geom)), ST_Accum(w.the_geom)) END\n"
" FROM\n"
" provinces p LEFT JOIN waterlines w\n"
" ON (ST_Within(w.the_geom, p.the_geom) AND ST_IsClosed(w.the_geom))\n"
" GROUP BY p.gid, p.province_name, p.the_geom;\n"
"\n"
" --Same example above but utilizing a correlated subquery\n"
" --and PostgreSQL built-in ARRAY() function that converts a row set to an array\n"
"\n"
" SELECT p.gid, p.province_name, CASE WHEN\n"
" EXISTS(SELECT w.the_geom\n"
" FROM waterlines w\n"
" WHERE ST_Within(w.the_geom, p.the_geom)\n"
" AND ST_IsClosed(w.the_geom))\n"
" THEN\n"
" ST_MakePolygon(ST_LineMerge(ST_Boundary(p.the_geom)),\n"
" ARRAY(SELECT w.the_geom\n"
" FROM waterlines w\n"
" WHERE ST_Within(w.the_geom, p.the_geom)\n"
" AND ST_IsClosed(w.the_geom)))\n"
" ELSE p.the_geom END As the_geom\n"
" FROM\n"
" provinces p;"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1335
#, no-c-format
msgid ", <xref linkend=\"ST_Accum\"/>, <xref linkend=\"ST_AddPoint\"/>, <xref linkend=\"ST_GeometryType\"/>, <xref linkend=\"ST_IsClosed\"/>, <xref linkend=\"ST_LineMerge\"/>, <xref linkend=\"ST_BuildArea\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1349
#, no-c-format
msgid "ST_MakePoint"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1351
#, no-c-format
msgid "Creates a 2D,3DZ or 4D point geometry."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1356
#, no-c-format
msgid "<funcdef>geometry <function>ST_MakePoint</function></funcdef> <paramdef><type>double precision</type> <parameter>x</parameter></paramdef> <paramdef><type>double precision</type> <parameter>y</parameter></paramdef>"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1363
#, no-c-format
msgid "<funcdef>geometry <function>ST_MakePoint</function></funcdef> <paramdef><type>double precision</type> <parameter>x</parameter></paramdef> <paramdef><type>double precision</type> <parameter>y</parameter></paramdef> <paramdef><type>double precision</type> <parameter>z</parameter></paramdef>"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1371
#, no-c-format
msgid "<funcdef>geometry <function>ST_MakePoint</function></funcdef> <paramdef><type>double precision</type> <parameter>x</parameter></paramdef> <paramdef><type>double precision</type> <parameter>y</parameter></paramdef> <paramdef><type>double precision</type> <parameter>z</parameter></paramdef> <paramdef><type>double precision</type> <parameter>m</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1384
#, no-c-format
msgid "Creates a 2D,3DZ or 4D point geometry (geometry with measure). <varname>ST_MakePoint</varname> while not being OGC compliant is generally faster and more precise than <xref linkend=\"ST_GeomFromText\"/> and <xref linkend=\"ST_PointFromText\"/>. It is also easier to use if you have raw coordinates rather than WKT."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1390
#, no-c-format
msgid "Note x is longitude and y is latitude"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1391
#, no-c-format
msgid "Use <xref linkend=\"ST_MakePointM\"/> if you need to make a point with x,y,m."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1398
#, no-c-format
msgid ""
"--Return point with unknown SRID\n"
"SELECT ST_MakePoint(-71.1043443253471, 42.3150676015829);\n"
"\n"
"--Return point marked as WGS 84 long lat\n"
"SELECT ST_SetSRID(ST_MakePoint(-71.1043443253471, 42.3150676015829),4326);\n"
"\n"
"--Return a 3D point (e.g. has altitude)\n"
"SELECT ST_MakePoint(1, 2,1.5);\n"
"\n"
"--Get z of point\n"
"SELECT ST_Z(ST_MakePoint(1, 2,1.5));\n"
"result\n"
"-------\n"
"1.5"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1402
#, no-c-format
msgid ", <xref linkend=\"ST_PointFromText\"/>, <xref linkend=\"ST_SetSRID\"/>, <xref linkend=\"ST_MakePointM\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1408
#, no-c-format
msgid "ST_MakePointM"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1410
#, no-c-format
msgid "Creates a point geometry with an x y and m coordinate."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1415
#, no-c-format
msgid "<funcdef>geometry <function>ST_MakePointM</function></funcdef> <paramdef><type>float</type> <parameter>x</parameter></paramdef> <paramdef><type>float</type> <parameter>y</parameter></paramdef> <paramdef><type>float</type> <parameter>m</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1427
#, no-c-format
msgid "Creates a point with x, y and measure coordinates."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1428
#, no-c-format
msgid "Note x is longitude and y is latitude."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1433
#, no-c-format
msgid "We use ST_AsEWKT in these examples to show the text representation instead of ST_AsText because ST_AsText does not support returning M."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1435
#, no-c-format
msgid ""
"--Return EWKT representation of point with unknown SRID\n"
"SELECT ST_AsEWKT(ST_MakePointM(-71.1043443253471, 42.3150676015829, 10));\n"
"\n"
"--result\n"
" st_asewkt\n"
"-----------------------------------------------\n"
" POINTM(-71.1043443253471 42.3150676015829 10)\n"
"\n"
"--Return EWKT representation of point with measure marked as WGS 84 long lat\n"
"SELECT ST_AsEWKT(ST_SetSRID(ST_MakePointM(-71.1043443253471, 42.3150676015829,10),4326));\n"
"\n"
" st_asewkt\n"
"---------------------------------------------------------\n"
"SRID=4326;POINTM(-71.1043443253471 42.3150676015829 10)\n"
"\n"
"--Return a 3d point (e.g. has altitude)\n"
"SELECT ST_MakePoint(1, 2,1.5);\n"
"\n"
"--Get m of point\n"
"SELECT ST_M(ST_MakePointM(-71.1043443253471, 42.3150676015829,10));\n"
"result\n"
"-------\n"
"10"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1439
#, no-c-format
msgid ", <xref linkend=\"ST_MakePoint\"/>, <xref linkend=\"ST_SetSRID\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1445
#, no-c-format
msgid "ST_MLineFromText"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1447
#, no-c-format
msgid "Return a specified ST_MultiLineString value from WKT representation."
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:1451
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_MLineFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_MLineFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1469
#, no-c-format
msgid "Makes a Geometry from Well-Known-Text (WKT) with the given SRID. If SRID is not give, it defaults to 0."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1475
#, no-c-format
msgid "Returns null if the WKT is not a MULTILINESTRING"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1478 reference_constructor.xml:1539
#, no-c-format
msgid "If you are absolutely sure all your WKT geometries are points, don't use this function. It is slower than ST_GeomFromText since it adds an additional validation step."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1484
#, no-c-format
msgid "&sqlmm_compliant;SQL-MM 3: 9.4.4"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1492
#, no-c-format
msgid "SELECT ST_MLineFromText('MULTILINESTRING((1 2, 3 4), (4 5, 6 7))');"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1505
#, no-c-format
msgid "ST_MPointFromText"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1507 reference_constructor.xml:1877
#, no-c-format
msgid "<refpurpose>Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to 0.</refpurpose>"
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:1512
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_MPointFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_MPointFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1530
#, no-c-format
msgid "<para>Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to 0.</para>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1536
#, no-c-format
msgid "Returns null if the WKT is not a MULTIPOINT"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1544
#, no-c-format
msgid "&sfs_compliant; 3.2.6.2"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1545
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 9.2.4"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1553
#, no-c-format
msgid ""
"SELECT ST_MPointFromText('MULTIPOINT(1 2, 3 4)');\n"
"SELECT ST_MPointFromText('MULTIPOINT(-70.9590 42.1180, -70.9611 42.1223)', 4326);"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1566
#, no-c-format
msgid "ST_MPolyFromText"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1568
#, no-c-format
msgid "Makes a MultiPolygon Geometry from WKT with the given SRID. If SRID is not give, it defaults to 0."
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:1573
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_MPolyFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_MPolyFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1591
#, no-c-format
msgid "Makes a MultiPolygon from WKT with the given SRID. If SRID is not give, it defaults to 0."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1597
#, no-c-format
msgid "Throws an error if the WKT is not a MULTIPOLYGON"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1600
#, no-c-format
msgid "If you are absolutely sure all your WKT geometries are multipolygons, don't use this function. It is slower than ST_GeomFromText since it adds an additional validation step."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1606
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 9.6.4"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1614
#, no-c-format
msgid ""
"SELECT ST_MPolyFromText('MULTIPOLYGON(((0 0 1,20 0 1,20 20 1,0 20 1,0 0 1),(5 5 3,5 7 3,7 7 3,7 5 3,5 5 3)))');\n"
"SELECt ST_MPolyFromText('MULTIPOLYGON(((-70.916 42.1002,-70.9468 42.0946,-70.9765 42.0872,-70.9754 42.0875,-70.9749 42.0879,-70.9752 42.0881,-70.9754 42.0891,-70.9758 42.0894,-70.9759 42.0897,-70.9759 42.0899,-70.9754 42.0902,-70.9756 42.0906,-70.9753 42.0907,-70.9753 42.0917,-70.9757 42.0924,-70.9755 42.0928,-70.9755 42.0942,-70.9751 42.0948,-70.9755 42.0953,-70.9751 42.0958,-70.9751 42.0962,-70.9759 42.0983,-70.9767 42.0987,-70.9768 42.0991,-70.9771 42.0997,-70.9771 42.1003,-70.9768 42.1005,-70.977 42.1011,-70.9766 42.1019,-70.9768 42.1026,-70.9769 42.1033,-70.9775 42.1042,-70.9773 42.1043,-70.9776 42.1043,-70.9778 42.1048,-70.9773 42.1058,-70.9774 42.1061,-70.9779 42.1065,-70.9782 42.1078,-70.9788 42.1085,-70.9798 42.1087,-70.9806 42.109,-70.9807 42.1093,-70.9806 42.1099,-70.9809 42.1109,-70.9808 42.1112,-70.9798 42.1116,-70.9792 42.1127,-70.979 42.1129,-70.9787 42.1134,-70.979 42.1139,-70.9791 42.1141,-70.9987 42.1116,-71.0022 42.1273,\n"
" -70.9408 42.1513,-70.9315 42.1165,-70.916 42.1002)))',4326);"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1627
#, no-c-format
msgid "ST_Point"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1629
#, no-c-format
msgid "Returns an ST_Point with the given coordinate values. OGC alias for ST_MakePoint."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1634
#, no-c-format
msgid "<funcdef>geometry <function>ST_Point</function></funcdef> <paramdef><type>float </type> <parameter>x_lon</parameter></paramdef> <paramdef><type>float </type> <parameter>y_lat</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1645
#, no-c-format
msgid "Returns an ST_Point with the given coordinate values. MM compliant alias for ST_MakePoint that takes just an x and y."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1648
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 6.1.2"
msgstr ""
#. Tag: title
#: reference_constructor.xml:1654
#, no-c-format
msgid "Examples: Geometry"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1656
#, no-c-format
msgid "SELECT ST_SetSRID(ST_Point(-71.1043443253471, 42.3150676015829),4326)"
msgstr ""
#. Tag: title
#: reference_constructor.xml:1660
#, no-c-format
msgid "Examples: Geography"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1662
#, no-c-format
msgid "SELECT CAST(ST_SetSRID(ST_Point(-71.1043443253471, 42.3150676015829),4326) As geography);"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1663
#, no-c-format
msgid ""
"-- the :: is PostgreSQL short-hand for casting.\n"
"SELECT ST_SetSRID(ST_Point(-71.1043443253471, 42.3150676015829),4326)::geography;"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1665
#, no-c-format
msgid ""
"--If your point coordinates are in a different spatial reference from WGS-84 long lat, then you need to transform before casting\n"
"-- This example we convert a point in Pennsylvania State Plane feet to WGS 84 and then geography\n"
"SELECT ST_Transform(ST_SetSRID(ST_Point(3637510, 3014852),2273),4326)::geography;"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1672
#, no-c-format
msgid ", <xref linkend=\"ST_MakePoint\"/>, <xref linkend=\"ST_SetSRID\"/>, <xref linkend=\"ST_Transform\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1678
#, no-c-format
msgid "ST_PointFromGeoHash"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1680
#, no-c-format
msgid "Return a point from a GeoHash string."
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1685
#, no-c-format
msgid "<funcdef>point <function>ST_PointFromGeoHash</function></funcdef> <paramdef><type>text </type> <parameter>geohash</parameter></paramdef> <paramdef choice=\"opt\"><type>integer </type> <parameter>precision=full_precision_of_geohash</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1696
#, no-c-format
msgid "Return a point from a GeoHash string. The point represents the center point of the GeoHash."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1698
#, no-c-format
msgid "If no <varname>precision</varname> is specified ST_PointFromGeoHash returns a point based on full precision of the input GeoHash string."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1700
#, no-c-format
msgid "If <varname>precision</varname> is specified ST_PointFromGeoHash will use that many characters from the GeoHash to create the point."
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1707
#, no-c-format
msgid ""
"<![CDATA[SELECT ST_AsText(ST_PointFromGeoHash('9qqj7nmxncgyy4d0dbxqz0'));\n"
" st_astext\n"
"------------------------------\n"
" POINT(-115.172816 36.114646)\n"
"\n"
"SELECT ST_AsText(ST_PointFromGeoHash('9qqj7nmxncgyy4d0dbxqz0', 4));\n"
" st_astext\n"
"-----------------------------------\n"
" POINT(-115.13671875 36.123046875)\n"
"\n"
"SELECT ST_AsText(ST_PointFromGeoHash('9qqj7nmxncgyy4d0dbxqz0', 10));\n"
" st_astext\n"
"-------------------------------------------\n"
" POINT(-115.172815918922 36.1146435141563)\n"
" ]]>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1712
#, no-c-format
msgid ", <xref linkend=\"ST_Box2dFromGeoHash\"/>, <xref linkend=\"ST_GeomFromGeoHash\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1718
#, no-c-format
msgid "ST_PointFromText"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1719
#, no-c-format
msgid "Makes a point Geometry from WKT with the given SRID. If SRID is not given, it defaults to unknown."
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:1723
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_PointFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_PointFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1739
#, no-c-format
msgid "Constructs a PostGIS ST_Geometry point object from the OGC Well-Known text representation. If SRID is not give, it defaults to unknown (currently 0). If geometry is not a WKT point representation, returns null. If completely invalid WKT, then throws an error."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1745
#, no-c-format
msgid "There are 2 variants of ST_PointFromText function, the first takes no SRID and returns a geometry with no defined spatial reference system. The second takes a spatial reference id as the second argument and returns an ST_Geometry that includes this srid as part of its meta-data. The srid must be defined in the spatial_ref_sys table."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1752
#, no-c-format
msgid "If you are absolutely sure all your WKT geometries are points, don't use this function. It is slower than ST_GeomFromText since it adds an additional validation step. If you are building points from long lat coordinates and care more about performance and accuracy than OGC compliance, use <xref linkend=\"ST_MakePoint\"/> or OGC compliant alias <xref linkend=\"ST_Point\"/>."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1757
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 6.1.8"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1762
#, no-c-format
msgid ""
"SELECT ST_PointFromText('POINT(-71.064544 42.28787)');\n"
"SELECT ST_PointFromText('POINT(-71.064544 42.28787)', 4326);"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1766
#, no-c-format
msgid ", <xref linkend=\"ST_MakePoint\"/>, <xref linkend=\"ST_Point\"/>, <xref linkend=\"ST_SRID\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1772
#, no-c-format
msgid "ST_PointFromWKB"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1774
#, no-c-format
msgid "Makes a geometry from WKB with the given SRID"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1795
#, no-c-format
msgid "The <varname>ST_PointFromWKB</varname> function, takes a well-known binary representation of geometry and a Spatial Reference System ID (<varname>SRID</varname>) and creates an instance of the appropriate geometry type - in this case, a <varname>POINT</varname> geometry. This function plays the role of the Geometry Factory in SQL."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1801
#, no-c-format
msgid "If an SRID is not specified, it defaults to 0. <varname>NULL</varname> is returned if the input <varname>bytea</varname> does not represent a <varname>POINT</varname> geometry."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1804
#, no-c-format
msgid "&sfs_compliant; s3.2.7.2"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1805
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 6.1.9"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1813
#, no-c-format
msgid ""
"SELECT\n"
" ST_AsText(\n"
" ST_PointFromWKB(\n"
" ST_AsEWKB('POINT(2 5)'::geometry)\n"
" )\n"
" );\n"
" st_astext\n"
"------------\n"
" POINT(2 5)\n"
"(1 row)\n"
"\n"
"SELECT\n"
" ST_AsText(\n"
" ST_PointFromWKB(\n"
" ST_AsEWKB('LINESTRING(2 5, 2 6)'::geometry)\n"
" )\n"
" );\n"
" st_astext\n"
"-----------\n"
"\n"
"(1 row)"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1826
#, no-c-format
msgid "ST_Polygon"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1828
#, no-c-format
msgid "<refpurpose>Returns a polygon built from the specified linestring and SRID.</refpurpose>"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1833
#, no-c-format
msgid "<funcdef>geometry <function>ST_Polygon</function></funcdef> <paramdef><type>geometry </type> <parameter>aLineString</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1844
#, no-c-format
msgid "<para>Returns a polygon built from the specified linestring and SRID.</para>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1848
#, no-c-format
msgid "ST_Polygon is similar to first version oST_MakePolygon except it also sets the spatial ref sys (SRID) of the polygon. Will not work with MULTILINESTRINGS so use LineMerge to merge multilines. Also does not create polygons with holes. Use ST_MakePolygon for that."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1853
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 8.3.2"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1862
#, no-c-format
msgid ""
"--a 2d polygon\n"
"SELECT ST_Polygon(ST_GeomFromText('LINESTRING(75.15 29.53,77 29,77.6 29.5, 75.15 29.53)'), 4326);\n"
"\n"
"--result--\n"
"POLYGON((75.15 29.53,77 29,77.6 29.5,75.15 29.53))\n"
"--a 3d polygon\n"
"SELECT ST_AsEWKT(ST_Polygon(ST_GeomFromEWKT('LINESTRING(75.15 29.53 1,77 29 1,77.6 29.5 1, 75.15 29.53 1)'), 4326));\n"
"\n"
"result\n"
"------\n"
"SRID=4326;POLYGON((75.15 29.53 1,77 29 1,77.6 29.5 1,75.15 29.53 1))"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1869
#, no-c-format
msgid ", <xref linkend=\"ST_AsText\"/>, <xref linkend=\"ST_GeomFromEWKT\"/>, <xref linkend=\"ST_GeomFromText\"/>, <xref linkend=\"ST_LineMerge\"/>, <xref linkend=\"ST_MakePolygon\"/>"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1875
#, no-c-format
msgid "ST_PolygonFromText"
msgstr ""
#. Tag: funcsynopsis
#: reference_constructor.xml:1882
#, no-c-format
msgid "<funcprototype> <funcdef>geometry <function>ST_PolygonFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>geometry <function>ST_PolygonFromText</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef> <paramdef><type>integer </type> <parameter>srid</parameter></paramdef> </funcprototype>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1898
#, no-c-format
msgid "Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to 0. Returns null if WKT is not a polygon."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1905
#, no-c-format
msgid "If you are absolutely sure all your WKT geometries are polygons, don't use this function. It is slower than ST_GeomFromText since it adds an additional validation step."
msgstr ""
#. Tag: para
#: reference_constructor.xml:1908
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 8.3.6"
msgstr ""
#. Tag: programlisting
#: reference_constructor.xml:1914
#, no-c-format
msgid ""
"SELECT ST_PolygonFromText('POLYGON((-71.1776585052917 42.3902909739571,-71.1776820268866 42.3903701743239,\n"
"-71.1776063012595 42.3903825660754,-71.1775826583081 42.3903033653531,-71.1776585052917 42.3902909739571))');\n"
"st_polygonfromtext\n"
"------------------\n"
"010300000001000000050000006...\n"
"\n"
"\n"
"SELECT ST_PolygonFromText('POINT(1 2)') IS NULL as point_is_notpoly;\n"
"\n"
"point_is_not_poly\n"
"----------\n"
"t"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1927
#, no-c-format
msgid "ST_WKBToSQL"
msgstr ""
#. Tag: refpurpose
#: reference_constructor.xml:1928
#, no-c-format
msgid "Return a specified ST_Geometry value from Well-Known Binary representation (WKB). This is an alias name for ST_GeomFromWKB that takes no srid"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1932
#, no-c-format
msgid "<funcdef>geometry <function>ST_WKBToSQL</function></funcdef> <paramdef><type>bytea </type> <parameter>WKB</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1940
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.36"
msgstr ""
#. Tag: refname
#: reference_constructor.xml:1950
#, no-c-format
msgid "ST_WKTToSQL"
msgstr ""
#. Tag: funcprototype
#: reference_constructor.xml:1955
#, no-c-format
msgid "<funcdef>geometry <function>ST_WKTToSQL</function></funcdef> <paramdef><type>text </type> <parameter>WKT</parameter></paramdef>"
msgstr ""
#. Tag: para
#: reference_constructor.xml:1963
#, no-c-format
msgid "&sqlmm_compliant; SQL-MM 3: 5.1.34"
msgstr ""
|