Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Geotoolkit.org - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2006-2012, Open Source Geospatial Foundation (OSGeo)
* (C) 2009-2012, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.referencing.operation.provider;
import net.jcip.annotations.Immutable;
import org.opengis.parameter.ParameterValueGroup;
import org.opengis.parameter.ParameterDescriptor;
import org.opengis.parameter.ParameterDescriptorGroup;
import org.opengis.referencing.operation.MathTransform2D;
import org.opengis.referencing.ReferenceIdentifier;
import org.geotoolkit.referencing.NamedIdentifier;
import org.geotoolkit.metadata.iso.citation.Citations;
/**
* The provider for "Lambert Azimuthal Equal Area" projection (EPSG:9820, EPSG:1027,
* EPSG:9821).
*
* {@note EPSG defines two codes for this projection, 1027 being the spherical case and 9820 the
* ellipsoidal case. However the formulas are the same in both cases. Consequently they are
* implemented in Geotk by the same class.}
*
* {@note EPSG:9820 and 1027 are the current codes, while EPSG:9821 is a deprecated code. The new
* and deprecated definitions differ only by their names. In the Geotk implementation, both
* current and legacy definitions are known, but the legacy names are marked as deprecated.}
*
* The math transform implementations instantiated by this provider may be any of the following classes:
*
The following table summarizes the parameters recognized by this provider.
* For a more detailed parameter list, see the {@link #PARAMETERS} constant.
*
Operation name: {@code Lambert_Azimuthal_Equal_Area}
* Area of use: (union of CRS domains of validity in EPSG database)
*
*
in latitudes:
90°00.0′S
to
90°00.0′N
*
in longitudes:
180°00.0′W
to
180°00.0′E
*
*
*
Parameter name
Default value
*
{@code semi_major}
*
{@code semi_minor}
*
{@code roll_longitude}
false
*
{@code latitude_of_center}
0°
*
{@code longitude_of_center}
0°
*
{@code false_easting}
0 metres
*
{@code false_northing}
0 metres
*
*
*
* @author Beate Stollberg
* @author Martin Desruisseaux (Geomatys, Geomatys)
* @version 3.20
*
* @see Lambert Azimuthal Equal Area on RemoteSensing.org
* @see Geotk coordinate operations matrix
*
* @since 2.4
* @module
*/
@Immutable
public class LambertAzimuthalEqualArea extends MapProjection {
/**
* For cross-version compatibility.
*/
private static final long serialVersionUID = 3877793025552244132L;
/**
* The operation parameter descriptor for the {@linkplain
* org.geotoolkit.referencing.operation.projection.UnitaryProjection.Parameters#centralMeridian
* central meridian} parameter value.
*
* This parameter is mandatory.
* Valid values range is [-180 … 180]° and default value is 0°.
*
* @deprecated Invoke {@linkplain #PARAMETERS}.{@linkplain ParameterDescriptorGroup#descriptor(String)
* descriptor(String)} instead.
*/
@Deprecated
public static final ParameterDescriptor LONGITUDE_OF_CENTRE =
UniversalParameters.CENTRAL_MERIDIAN.select(null, null, null, new String[] {
"Spherical longitude of origin"}, // EPSG (deprecated - was used by EPSG:9821 only)
"Longitude of natural origin", // EPSG
"longitude_of_center", // OGC
"Central_Meridian", // ESRI
"longitude_of_projection_origin", // NetCDF
"ProjCenterLong"); // GeoTIFF
/**
* The operation parameter descriptor for the {@linkplain
* org.geotoolkit.referencing.operation.projection.UnitaryProjection.Parameters#latitudeOfOrigin
* latitude of origin} parameter value.
*
* This parameter is mandatory.
* Valid values range is [-90 … 90]° and default value is 0°.
*
* @deprecated Invoke {@linkplain #PARAMETERS}.{@linkplain ParameterDescriptorGroup#descriptor(String)
* descriptor(String)} instead.
*/
@Deprecated
public static final ParameterDescriptor LATITUDE_OF_CENTRE =
UniversalParameters.LATITUDE_OF_ORIGIN.select(null, null, null, new String[] {
"Spherical latitude of origin"}, // EPSG (deprecated - was used by EPSG:9821 only)
"Latitude of natural origin", // EPSG
"latitude_of_center", // OGC
"Latitude_Of_Origin", // ESRI
"ProjCenterLat"); // GeoTIFF
/**
* The operation parameter descriptor for the {@linkplain
* org.geotoolkit.referencing.operation.projection.UnitaryProjection.Parameters#falseEasting
* false easting} parameter value.
*
* This parameter is mandatory.
* Valid values range is unrestricted and default value is 0 metre.
*
* @deprecated Invoke {@linkplain #PARAMETERS}.{@linkplain ParameterDescriptorGroup#descriptor(String)
* descriptor(String)} instead.
*/
@Deprecated
public static final ParameterDescriptor FALSE_EASTING = Mercator2SP.FALSE_EASTING;
/**
* The operation parameter descriptor for the {@linkplain
* org.geotoolkit.referencing.operation.projection.UnitaryProjection.Parameters#falseNorthing
* false northing} parameter value.
*
* This parameter is mandatory.
* Valid values range is unrestricted and default value is 0 metre.
*
* @deprecated Invoke {@linkplain #PARAMETERS}.{@linkplain ParameterDescriptorGroup#descriptor(String)
* descriptor(String)} instead.
*/
@Deprecated
public static final ParameterDescriptor FALSE_NORTHING = Mercator2SP.FALSE_NORTHING;
/**
* The group of all parameters expected by this coordinate operation.
* The following table lists the operation names and the parameters recognized by Geotk:
*
*
*
*
*
*
Name:
OGC:
Lambert_Azimuthal_Equal_Area
*
Alias:
EPSG:
Lambert Azimuthal Equal Area
*
EPSG:
Lambert Azimuthal Equal Area (Spherical)
*
ESRI:
Lambert_Azimuthal_Equal_Area
*
NetCDF:
LambertAzimuthalEqualArea
*
GeoTIFF:
CT_LambertAzimEqualArea
*
PROJ4:
laea
*
Identifier:
EPSG:
9820
*
EPSG:
1027
*
EPSG:
9821
*
GeoTIFF:
10
*
*
*
*
*
Name:
OGC:
semi_major
*
Alias:
EPSG:
Semi-major axis
*
ESRI:
Semi_Major
*
NetCDF:
semi_major_axis
*
GeoTIFF:
SemiMajor
*
PROJ4:
a
*
*
*
*
Type:
{@code Double}
*
Obligation:
mandatory
*
Value range:
[0…∞) metres
*
*
*
*
*
Name:
OGC:
semi_minor
*
Alias:
EPSG:
Semi-minor axis
*
ESRI:
Semi_Minor
*
NetCDF:
semi_minor_axis
*
GeoTIFF:
SemiMinor
*
PROJ4:
b
*
*
*
*
Type:
{@code Double}
*
Obligation:
mandatory
*
Value range:
[0…∞) metres
*
*
*
*
*
Name:
Geotk:
roll_longitude
*
*
*
*
Type:
{@code Boolean}
*
Obligation:
optional
*
Default value:
false
*
*
*
*
*
Name:
OGC:
latitude_of_center
*
Alias:
EPSG:
Latitude of natural origin
*
ESRI:
Latitude_Of_Origin
*
NetCDF:
latitude_of_projection_origin
*
GeoTIFF:
ProjCenterLat
*
PROJ4:
lat_0
*
EPSG:
Spherical latitude of origin
*
*
*
*
Type:
{@code Double}
*
Obligation:
mandatory
*
Value range:
[-90 … 90]°
*
Default value:
0°
*
*
*
*
*
Name:
OGC:
longitude_of_center
*
Alias:
EPSG:
Longitude of natural origin
*
ESRI:
Central_Meridian
*
NetCDF:
longitude_of_projection_origin
*
GeoTIFF:
ProjCenterLong
*
PROJ4:
lon_0
*
EPSG:
Spherical longitude of origin
*
*
*
*
Type:
{@code Double}
*
Obligation:
mandatory
*
Value range:
[-180 … 180]°
*
Default value:
0°
*
*
*
*
*
Name:
OGC:
false_easting
*
Alias:
EPSG:
False easting
*
ESRI:
False_Easting
*
NetCDF:
false_easting
*
GeoTIFF:
FalseEasting
*
PROJ4:
x_0
*
*
*
*
Type:
{@code Double}
*
Obligation:
mandatory
*
Value range:
(-∞ … ∞) metres
*
Default value:
0 metres
*
*
*
*
*
Name:
OGC:
false_northing
*
Alias:
EPSG:
False northing
*
ESRI:
False_Northing
*
NetCDF:
false_northing
*
GeoTIFF:
FalseNorthing
*
PROJ4:
y_0
*
*
*
*
Type:
{@code Double}
*
Obligation:
mandatory
*
Value range:
(-∞ … ∞) metres
*
Default value:
0 metres
*
*
*
*/
public static final ParameterDescriptorGroup PARAMETERS = UniversalParameters.createDescriptorGroup(
new ReferenceIdentifier[] {
new NamedIdentifier(Citations.OGC, "Lambert_Azimuthal_Equal_Area"),
new NamedIdentifier(Citations.EPSG, "Lambert Azimuthal Equal Area"),
new NamedIdentifier(Citations.EPSG, "Lambert Azimuthal Equal Area (Spherical)"),
new IdentifierCode (Citations.EPSG, 9820),
new IdentifierCode (Citations.EPSG, 1027),
new IdentifierCode (Citations.EPSG, 9821, 1027), // Legacy (deprecated) code.
new NamedIdentifier(Citations.ESRI, "Lambert_Azimuthal_Equal_Area"),
new NamedIdentifier(Citations.NETCDF, "LambertAzimuthalEqualArea"),
new NamedIdentifier(Citations.GEOTIFF, "CT_LambertAzimEqualArea"),
new IdentifierCode (Citations.GEOTIFF, 10),
new NamedIdentifier(Citations.PROJ4, "laea"),
}, null, new ParameterDescriptor>[] {
SEMI_MAJOR, SEMI_MINOR, ROLL_LONGITUDE,
LATITUDE_OF_CENTRE, LONGITUDE_OF_CENTRE,
FALSE_EASTING, FALSE_NORTHING
}, MapProjectionDescriptor.ADD_EARTH_RADIUS);
/**
* Constructs a new provider.
*/
public LambertAzimuthalEqualArea() {
super(PARAMETERS);
}
/**
* Constructs a new provider for the given parameters.
*/
LambertAzimuthalEqualArea(ParameterDescriptorGroup parameters) {
super(parameters);
}
/**
* {@inheritDoc}
*/
@Override
protected MathTransform2D createMathTransform(ParameterValueGroup values) {
return org.geotoolkit.referencing.operation.projection.LambertAzimuthalEqualArea.create(getParameters(), values);
}
}