File: index.rst

package info (click to toggle)
python-cartopy 0.18.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 18,204 kB
  • sloc: python: 15,593; makefile: 160; javascript: 65; sh: 6
file content (45 lines) | stat: -rw-r--r-- 1,684 bytes parent folder | download | duplicates (2)
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
Coordinate reference systems in Cartopy
---------------------------------------

The :class:`cartopy.crs.CRS` class is the very core of cartopy, all coordinate reference systems
in cartopy have :class:`~cartopy.crs.CRS` as a parent class, meaning all projections have
the interface described below.

.. autoclass:: cartopy.crs.CRS
   :members:

   .. data:: globe

      The :class:`~cartopy.crs.Globe` instance of this CRS.


The :class:`~cartopy.crs.Globe` class is used to encapsulate the underlying sphere or ellipsoid of any cartopy CRS.
All CRSs have an associated :class:`~cartopy.crs.Globe`, though often it is just the default :class:`~cartopy.crs.Globe`
which represents the reference ellipsoid (i.e. "wgs84").

.. autoclass:: cartopy.crs.Globe
   :members:
   :exclude-members: to_proj4_params


The most common :class:`~cartopy.crs.CRS` subclass is itself another abstract class;
the :class:`cartopy.crs.Projection` class represents a 2 dimensional coordinate system
which could be drawn directly as a map (i.e. on a flat piece of paper). :class:`~cartopy.crs.Projection` is the parent class of
all projections in the :ref:`cartopy_projections`.

.. autoclass:: cartopy.crs.Projection
    :members:


There are a few non-:class:`~cartopy.crs.Projection` subclasses. These represent
coordinate reference systems which are 3 dimensional and could not be drawn directly on a piece of paper.

.. autoclass:: cartopy.crs.Geodetic

.. autoclass:: cartopy.crs.Geocentric

.. autoclass:: cartopy.crs.RotatedGeodetic

There is also a function for calling epsg.io with a specified code, returning the corresponding cartopy projection, see below.

.. autofunction:: cartopy.crs.epsg