1 | .. _api-zoo-format-wkt: |
---|
2 | |
---|
3 | ZOO.Format.WKT |
---|
4 | ============== |
---|
5 | |
---|
6 | Class for reading and writing Well-Known Text. |
---|
7 | |
---|
8 | Functions and Properties |
---|
9 | ------------------------ |
---|
10 | |
---|
11 | .. list-table:: |
---|
12 | :widths: 30 50 |
---|
13 | :header-rows: 1 |
---|
14 | |
---|
15 | * - NAME |
---|
16 | - DESCRIPTION |
---|
17 | * - :ref:`ZOO.Format.WKT <ZOO.Format.WKT>` |
---|
18 | - Create a new parser for WKT |
---|
19 | * - :ref:`read <read>` |
---|
20 | - Deserialize a WKT string and return a vector feature or an array of vector features. |
---|
21 | * - :ref:`write <write>` |
---|
22 | - Serialize a feature or array of features into a WKT string. |
---|
23 | * - :ref:`extract <extract>` |
---|
24 | - Object with properties corresponding to the geometry types. |
---|
25 | * - :ref:`parse <parse>` |
---|
26 | - Object with properties corresponding to the geometry types. |
---|
27 | * - :ref:`parse.point <parse.point>` |
---|
28 | - Return point feature given a point WKT fragment. |
---|
29 | * - :ref:`parse.multipoint <parse.multipoint>` |
---|
30 | - Return a multipoint feature given a multipoint WKT fragment. |
---|
31 | * - :ref:`parse.linestring <parse.linestring>` |
---|
32 | - Return a linestring feature given a linestring WKT fragment. |
---|
33 | * - :ref:`parse.multilinestring <parse.multilinestring>` |
---|
34 | - Return a multilinestring feature given a multilinestring WKT fragment. |
---|
35 | * - :ref:`parse.polygon <parse.polygon>` |
---|
36 | - Return a polygon feature given a polygon WKT fragment. |
---|
37 | * - :ref:`parse.multipolygon <parse.multipolygon>` |
---|
38 | - Return a multipolygon feature given a multipolygon WKT fragment. |
---|
39 | * - :ref:`parse.geometrycollection <parse.geometrycollection>` |
---|
40 | - Return an array of features given a geometrycollection WKT fragment. |
---|
41 | |
---|
42 | .. _ZOO.Format.WKT: |
---|
43 | |
---|
44 | ZOO.Format.WKT |
---|
45 | Create a new parser for WKT |
---|
46 | |
---|
47 | .. _read: |
---|
48 | |
---|
49 | read |
---|
50 | Deserialize a WKT string and return a vector feature or an array of vector features. |
---|
51 | |
---|
52 | .. _write: |
---|
53 | |
---|
54 | write |
---|
55 | Serialize a feature or array of features into a WKT string. |
---|
56 | |
---|
57 | .. _extract: |
---|
58 | |
---|
59 | extract |
---|
60 | Object with properties corresponding to the geometry types. |
---|
61 | |
---|
62 | .. _parse: |
---|
63 | |
---|
64 | parse |
---|
65 | Object with properties corresponding to the geometry types. |
---|
66 | |
---|
67 | .. _parse.point: |
---|
68 | |
---|
69 | parse.point |
---|
70 | Return point feature given a point WKT fragment. |
---|
71 | |
---|
72 | .. _parse.multipoint: |
---|
73 | |
---|
74 | parse.multipoint |
---|
75 | Return a multipoint feature given a multipoint WKT fragment. |
---|
76 | |
---|
77 | .. _parse.linestring: |
---|
78 | |
---|
79 | parse.linestring |
---|
80 | Return a linestring feature given a linestring WKT fragment. |
---|
81 | |
---|
82 | .. _parse.multilinestring: |
---|
83 | |
---|
84 | parse.multilinestring |
---|
85 | Return a multilinestring feature given a multilinestring WKT fragment. |
---|
86 | |
---|
87 | .. _parse.polygon: |
---|
88 | |
---|
89 | parse.polygon |
---|
90 | Return a polygon feature given a polygon WKT fragment. |
---|
91 | |
---|
92 | .. _parse.multipolygon: |
---|
93 | |
---|
94 | parse.multipolygon |
---|
95 | Return a multipolygon feature given a multipolygon WKT fragment. |
---|
96 | |
---|
97 | .. _parse.geometrycollection: |
---|
98 | |
---|
99 | parse.geometrycollection |
---|
100 | Return an array of features given a geometrycollection WKT fragment. |
---|
101 | |
---|