Albers, Common, GeostationarySatellite, Hammer, LambertAzimuthalEqualArea, LambertConformalConic, LambertEqualAreaConic, LongLat, Mercator, Molleweide, OrthographicAzimuthal, Robinson, Sinusoidal, StereographicAzimuthal, TransverseMercator, Wagner3public abstract class ProjectionInfo extends Object
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
protected PolygonShape |
boundary |
|
protected CoordinateReferenceSystem |
crs |
|
protected float |
cutoff |
| 构造器 | 说明 |
|---|---|
ProjectionInfo() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static double |
calScaleFactorFromStandardParallel(double stP) |
Calculate scale factor from standard parallel
|
protected List<PointD> |
ellipse_boundary(double semimajor,
double semiminor,
double easting,
double northing,
int n) |
Define a projection boundary using an ellipse.This type of boundary is used by several projections.
|
boolean |
equals(ProjectionInfo projInfo) |
Determine if the projection is same with another projection
|
static ProjectionInfo |
factory(String proj4Str) |
Create new ProjectionInfo with crs
|
static ProjectionInfo |
factory(CoordinateReferenceSystem crs) |
Create new ProjectionInfo with crs
|
static ProjectionInfo |
factory(ProjectionNames name) |
Create new ProjectionInfo with crs
|
PolygonShape |
getBoundary() |
Get map boundary
|
double |
getCenterLat() |
Get center latitude
|
double |
getCenterLon() |
Get center longitude
|
CoordinateReferenceSystem |
getCoordinateReferenceSystem() |
Get CoordinateReferenceSystem
|
float |
getCutoff() |
Get latitude cutoff
|
abstract ProjectionNames |
getProjectionName() |
Get projection name
|
double |
getRefCutLon() |
Get reference cut longitude for projection operation
|
List<String> |
getValidParas() |
Get valid parameters
|
boolean |
isLonLat() |
Get if is Lon/Lat projection
|
void |
setBoundary(PolygonShape value) |
Set map boundary
|
void |
setCutoff(float value) |
Set latitude cutoff
|
void |
setCutoff_bak(float value) |
Set latitude cutoff
|
String |
toEsriString() |
Get Esri projection string
|
String |
toProj4String() |
Get proj4 string
|
String |
toString() |
To string
|
protected CoordinateReferenceSystem crs
protected PolygonShape boundary
protected float cutoff
public static ProjectionInfo factory(CoordinateReferenceSystem crs)
crs - Coordinate reference systempublic static ProjectionInfo factory(String proj4Str)
proj4Str - proj4 stringpublic static ProjectionInfo factory(ProjectionNames name)
name - ProjectionNamepublic CoordinateReferenceSystem getCoordinateReferenceSystem()
public abstract ProjectionNames getProjectionName()
public boolean isLonLat()
public double getCenterLon()
public double getCenterLat()
public PolygonShape getBoundary()
public void setBoundary(PolygonShape value)
value - Map boundarypublic float getCutoff()
public void setCutoff(float value)
value - Latitude cutoffpublic void setCutoff_bak(float value)
value - Latitude cutoffprotected List<PointD> ellipse_boundary(double semimajor, double semiminor, double easting, double northing, int n)
semimajor - semiminor - easting - northing - n - public double getRefCutLon()
public String toProj4String()
public String toEsriString()
public boolean equals(ProjectionInfo projInfo)
projInfo - Projection infopublic static double calScaleFactorFromStandardParallel(double stP)
stP - Standard parallelCopyright © 2019. All rights reserved.