public class ProjectionFactory extends Object
| Constructor and Description |
|---|
ProjectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Clear all authority projections
|
static void |
clear(String authority)
Clear the authority projections
|
static void |
clear(String authority,
long code)
Clear the authority projection code
|
static void |
clear(String authority,
String code)
Clear the authority projection code
|
static Projection |
getProjection(long epsg)
Get the projection for the EPSG code
|
static Projection |
getProjection(SpatialReferenceSystem srs)
Get the projection for the Spatial Reference System
|
static Projection |
getProjection(String authority,
long code)
Get the projection for authority and code
|
static Projection |
getProjection(String authority,
long code,
String paramStr)
Get the projection for authority, code, and parameter string
|
static Projection |
getProjection(String authority,
long code,
String[] params)
Get the projection for authority, code, and parameters
|
static Projection |
getProjection(String authority,
long code,
String[] params,
String definition)
Get the projection for the authority, code, definition, and custom
parameter array
|
static Projection |
getProjection(String authority,
String code)
Get the projection for authority and code
|
static Projection |
getProjection(String authority,
String code,
String paramStr)
Get the projection for authority, code, and parameter string
|
static Projection |
getProjection(String authority,
String code,
String[] params)
Get the projection for authority, code, and parameters
|
static Projection |
getProjection(String authority,
String code,
String[] params,
String definition)
Get the projection for the authority, code, definition, and custom
parameter array
|
static AuthorityProjections |
getProjections(String authority)
Get or create projections for the authority
|
public static Projection getProjection(long epsg)
epsg - EPSG coordinate codepublic static Projection getProjection(String authority, long code)
authority - coordinate authoritycode - authority coordinate codepublic static Projection getProjection(String authority, String code)
authority - coordinate authoritycode - authority coordinate codepublic static Projection getProjection(String authority, long code, String paramStr)
authority - coordinate authoritycode - authority coordinate codeparamStr - proj4 stringpublic static Projection getProjection(String authority, String code, String paramStr)
authority - coordinate authoritycode - authority coordinate codeparamStr - proj4 stringpublic static Projection getProjection(String authority, long code, String[] params)
authority - coordinate authoritycode - authority coordinate codeparams - proj4 params arraypublic static Projection getProjection(String authority, String code, String[] params)
authority - coordinate authoritycode - authority coordinate codeparams - proj4 params arraypublic static Projection getProjection(String authority, long code, String[] params, String definition)
authority - coordinate authoritycode - authority coordinate codeparams - proj4 params arraydefinition - definitionpublic static Projection getProjection(String authority, String code, String[] params, String definition)
authority - coordinate authoritycode - authority coordinate codeparams - proj4 params arraydefinition - definitionpublic static AuthorityProjections getProjections(String authority)
authority - coordinate authoritypublic static void clear()
public static void clear(String authority)
authority - coordinate authoritypublic static void clear(String authority, long code)
authority - coordinate authoritycode - coordinate codepublic static void clear(String authority, String code)
authority - coordinate authoritycode - coordinate codepublic static Projection getProjection(SpatialReferenceSystem srs)
srs - spatial reference systemCopyright © 2017 National Geospatial-Intelligence Agency. All rights reserved.