source: trunk/docs/api/zoo-projection.txt @ 176

Last change on this file since 176 was 162, checked in by jmckenna, 14 years ago

add ZOO.Projection doc

File size: 2.0 KB
Line 
1.. _api-zoo-projection:
2
3ZOO.Projection
4==============
5
6Class for coordinate transforms between coordinate systems.
7
8Properties     
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       
22Functions       
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
50proj   
51  {Object} Proj4js.Proj instance.
52 
53.. _projCode:     
54 
55projCode       
56  {String}
57
58**Functions**
59
60.. _ZOO.Projection:     
61
62ZOO.Projection 
63  This class offers several methods for interacting with a wrapped zoo-pro4js projection object.
64
65.. _getCode:     
66
67getCode
68  Get the string SRS code.
69 
70.. _getUnits:       
71
72getUnits       
73  Get the units string for the projection -- returns null if zoo-proj4js is not available.
74
75.. _toString:       
76
77toString       
78  Convert projection to string (getCode wrapper).
79 
80.. _equals:         
81 
82equals 
83  Test equality of two projection instances.
84 
85.. _destroy:           
86 
87destroy
88  Destroy projection object.
89 
90.. _transform:             
91 
92transform       
93  Transform a point coordinate from one projection to another.
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