superclass of all the projections the main proj methods are held here
More...
|
native String | getProjInfo (String proj) |
| get all the projection informations needed from the projection code (reproduces pj_get_def() of the proj api) More...
|
|
native String | getEllipsInfo (String proj) |
| get the ellipsoid parameters from the projection code More...
|
|
native void | transform (double[] firstCoord, double[] secondCoord, double[] values, String srcCodeString, String destCodeString, long pointcount, int pointoffset) |
| native call to the reprojections routines of proj More...
|
|
void | doTheTransform (Projections srcProj, ProjectionData dataTP, long point_count, int point_offset) |
| do the transform. More...
|
|
void | degreeToRadiant (double[] la, double[] lo) |
| transform latitude and longitude from degree to radiant format More...
|
|
void | radiantToDegree (double[] la, double[] lo) |
| transform latitude and longitude from radiant to degree format More...
|
|
native String getProjInfo |
( |
String |
proj | ) |
|
|
protected |
- Parameters
-
- Returns
- the info String
native String getEllipsInfo |
( |
String |
proj | ) |
|
|
protected |
native void transform |
( |
double[] |
firstCoord, |
|
|
double[] |
secondCoord, |
|
|
double[] |
values, |
|
|
String |
srcCodeString, |
|
|
String |
destCodeString, |
|
|
long |
pointcount, |
|
|
int |
pointoffset |
|
) |
| |
|
protected |
- Parameters
-
firstCoord | array of x |
secondCoord | array of y |
values | array of z |
srcCodeString | source projection code or option |
destCodeString | destination projection code or option |
pointcount | |
pointoffset | |
Referenced by Projections.doTheTransform().
- Returns
- quoting the proj api:"Returns the PROJ.4 command string that would produce this definition expanded as much as possible. For instance, +init= calls and +datum= defintions would be expanded"
Referenced by Projections.mapProjInfo(), and Projections.printProjInfo().
String getEllipseInfo |
( |
| ) |
|
LinkedHashMap mapProjInfo |
( |
| ) |
|
latlong from degree to radiant) -> i.e. do whatever is needed
- Parameters
-
The srcProjection is passed to the destination proj and the transformation takes place. Then the resulting transformed data are passed to the destProj, so that the destProj in case can take care of final transformation of data (ex. if the destProj is latlong, the values have to be set beck to degrees
- Parameters
-
srcProj | object holding the source projection |
dataTP | the data set |
point_count | |
point_offset | |
References Projections.transform(), ProjectionData.x, ProjectionData.y, and ProjectionData.z.
latlong has to be transformed back to radiant)
- Parameters
-
void degreeToRadiant |
( |
double[] |
la, |
|
|
double[] |
lo |
|
) |
| |
|
protected |
void radiantToDegree |
( |
double[] |
la, |
|
|
double[] |
lo |
|
) |
| |
|
protected |