Line | |
---|
1 | .. _api-zoo-projection: |
---|
2 | |
---|
3 | ZOO.Projection |
---|
4 | ============== |
---|
5 | |
---|
6 | Class for coordinate transforms between coordinate systems. |
---|
7 | |
---|
8 | Properties |
---|
9 | ---------- |
---|
10 | |
---|
11 | .. list-table:: |
---|
12 | :widths: 30 50 |
---|
13 | :header-rows: 1 |
---|
14 | |
---|
15 | * - NAME |
---|
16 | - DESCRIPTION |
---|
17 | * - :ref:`proj <proj>` |
---|
18 | - {Number} Proj4js.Proj instance. |
---|
19 | * - :ref:`projCode <projCode>` |
---|
20 | - {String} |
---|
21 | |
---|
22 | Functions |
---|
23 | --------- |
---|
24 | |
---|
25 | .. list-table:: |
---|
26 | :widths: 12 50 |
---|
27 | :header-rows: 1 |
---|
28 | |
---|
29 | * - NAME |
---|
30 | - DESCRIPTION |
---|
31 | * - :ref:`ZOO.Projection <ZOO.Projection>` |
---|
32 | - This class offers several methods for interacting with a wrapped zoo-pro4js projection object. |
---|
33 | * - :ref:`getCode <getCode>` |
---|
34 | - Get the string SRS code. |
---|
35 | * - :ref:`getUnits <getUnits>` |
---|
36 | - Get the units string for the projection -- returns null if zoo-proj4js is not available. |
---|
37 | * - :ref:`toString <toString>` |
---|
38 | - Convert projection to string (getCode wrapper). |
---|
39 | * - :ref:`equals <equals>` |
---|
40 | - Test equality of two projection instances. |
---|
41 | * - :ref:`destroy <destroy>` |
---|
42 | - Destroy projection object. |
---|
43 | * - :ref:`transform <transform>` |
---|
44 | - Transform a point coordinate from one projection to another. |
---|
45 | |
---|
46 | **Properties** |
---|
47 | |
---|
48 | .. _proj: |
---|
49 | |
---|
50 | proj |
---|
51 | {Object} Proj4js.Proj instance. |
---|
52 | |
---|
53 | .. _projCode: |
---|
54 | |
---|
55 | projCode |
---|
56 | {String} |
---|
57 | |
---|
58 | **Functions** |
---|
59 | |
---|
60 | .. _ZOO.Projection: |
---|
61 | |
---|
62 | ZOO.Projection |
---|
63 | This class offers several methods for interacting with a wrapped zoo-pro4js projection object. |
---|
64 | |
---|
65 | .. _getCode: |
---|
66 | |
---|
67 | getCode |
---|
68 | Get the string SRS code. |
---|
69 | |
---|
70 | .. _getUnits: |
---|
71 | |
---|
72 | getUnits |
---|
73 | Get the units string for the projection -- returns null if zoo-proj4js is not available. |
---|
74 | |
---|
75 | .. _toString: |
---|
76 | |
---|
77 | toString |
---|
78 | Convert projection to string (getCode wrapper). |
---|
79 | |
---|
80 | .. _equals: |
---|
81 | |
---|
82 | equals |
---|
83 | Test equality of two projection instances. |
---|
84 | |
---|
85 | .. _destroy: |
---|
86 | |
---|
87 | destroy |
---|
88 | Destroy projection object. |
---|
89 | |
---|
90 | .. _transform: |
---|
91 | |
---|
92 | transform |
---|
93 | Transform a point coordinate from one projection to another. |
---|
Note: See
TracBrowser
for help on using the repository browser.