source: trunk/docs/api/zoo-format-wkt.txt @ 164

Last change on this file since 164 was 164, checked in by jmckenna, 13 years ago

add ZOO.Format.WKT doc

File size: 3.0 KB
Line 
1.. _api-zoo-format-wkt:
2
3ZOO.Format.WKT
4==============
5
6Class for reading and writing Well-Known Text.
7
8Functions 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
44ZOO.Format.WKT 
45  Create a new parser for WKT
46 
47.. _read:     
48 
49read   
50  Deserialize a WKT string and return a vector feature or an array of vector features.
51 
52.. _write:       
53 
54write   
55  Serialize a feature or array of features into a WKT string.
56 
57.. _extract:         
58 
59extract
60  Object with properties corresponding to the geometry types.
61 
62.. _parse:           
63 
64parse   
65  Object with properties corresponding to the geometry types.
66 
67.. _parse.point:             
68 
69parse.point     
70  Return point feature given a point WKT fragment.
71 
72.. _parse.multipoint:               
73 
74parse.multipoint       
75  Return a multipoint feature given a multipoint WKT fragment.
76 
77.. _parse.linestring:               
78 
79parse.linestring       
80  Return a linestring feature given a linestring WKT fragment.
81 
82.. _parse.multilinestring:                 
83 
84parse.multilinestring   
85  Return a multilinestring feature given a multilinestring WKT fragment.
86 
87.. _parse.polygon:                 
88 
89parse.polygon   
90  Return a polygon feature given a polygon WKT fragment.
91 
92.. _parse.multipolygon:                   
93 
94parse.multipolygon     
95  Return a multipolygon feature given a multipolygon WKT fragment.
96 
97.. _parse.geometrycollection:                     
98 
99parse.geometrycollection       
100  Return an array of features given a geometrycollection WKT fragment.
101
Note: See TracBrowser for help on using the repository browser.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png