root / org.gvsig.proj / branches / refactor2018 / org.gvsig.proj / org.gvsig.proj.catalog / org.gvsig.proj.catalog.api / src / main / java / org / gvsig / proj / catalog / CRSType.java @ 807
History | View | Annotate | Download (2.67 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2018 gvSIG Association.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
* For any additional information, do not hesitate to contact us
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
23 |
*/
|
24 |
package org.gvsig.proj.catalog; |
25 |
|
26 |
/**
|
27 |
* Defines the type of CRS.
|
28 |
*
|
29 |
* @author Cesar Martinez Izquierdo
|
30 |
*/
|
31 |
public enum CRSType { |
32 |
/**
|
33 |
* A 2D coordinate reference system which defines a mathematical model
|
34 |
* to approximate the surface of an area of the earth using a planar
|
35 |
* surface. Projected CRSs are derived from a GeographicCRS (which is
|
36 |
* called the base CRS), because the projection formulas are applied
|
37 |
* to the geographic coordinates to create the projected coordinates.
|
38 |
*/
|
39 |
ProjectedCRSType, |
40 |
/**
|
41 |
* A coordinate reference system which is defined by a coordinate conversion
|
42 |
* from another coordinate reference system but is not a projected CRS.
|
43 |
*/
|
44 |
OtherDerivedCRSType, |
45 |
/**
|
46 |
* A coordinate reference system based on an ellipsoidal approximation of the
|
47 |
* earth shape.
|
48 |
*/
|
49 |
GeographicCRSType, |
50 |
/**
|
51 |
* A 3D coordinate reference system with the origin at the approximate centre
|
52 |
* of mass of the earth. A geocentric CRS deals with the earth's curvature by
|
53 |
* taking a 3D spatial view, which obviates the need to model the earth's
|
54 |
* curvature.
|
55 |
*/
|
56 |
GeocentricCRSType, |
57 |
/**
|
58 |
* A CRS which combines two or more independent coordinate reference systems,
|
59 |
* for instance: ProjectedCRS + VerticalCRS, GeographicCRS + TemporalCRS,
|
60 |
* etc.
|
61 |
*/
|
62 |
CompoundCRSType, |
63 |
/**
|
64 |
* A 1D coordinate reference system used for recording heights or depths.
|
65 |
*/
|
66 |
VerticalCRSType, |
67 |
//ImageCRSType, #FIXME: consider ImageCRSType? PixelInCell?
|
68 |
/**
|
69 |
* A 1D coordinate reference system used for the recording of time.
|
70 |
*/
|
71 |
TemporalCRSType, |
72 |
/**
|
73 |
* A CRS that does not fall under any of the other types, or whose type
|
74 |
* is unknown.
|
75 |
*/
|
76 |
OtherCRSType; |
77 |
|
78 |
public boolean isDerived() { |
79 |
return (this == ProjectedCRSType) || (this == OtherDerivedCRSType); |
80 |
} |
81 |
} |