E
- public class CrsFactory<E> extends java.lang.Object implements ICRSFactory
FORMAT_PROJ4, FORMAT_WKT, FORMAT_WKT_ESRI
Constructor and Description |
---|
CrsFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
addCustomCRSIdentifyExpression(java.lang.String expression,
int epsgcode) |
boolean |
doesRigurousTransformations() |
java.lang.String |
export(java.lang.String format,
IProjection proj) |
IProjection |
get(java.lang.String name)
Devuelve una proyeccion a partir de una cadena.
|
IProjection |
get(java.lang.String format,
java.lang.String value)
Devuelve una proyección a partir de una cadena en uno de los formatos admitidos.
|
ICrs |
getCRS(int epsg_code,
java.lang.String code) |
ICrs |
getCRS(int epsg_code,
java.lang.String code,
java.lang.String params) |
ICrs |
getCRS(java.lang.String code)
Obtiene un CRS a partir de su código (p.e.
|
ICrs |
getCRS(java.lang.String code,
java.lang.String theSourceParams,
java.lang.String theTargetParams) |
static java.io.File |
getDataBaseFolder() |
static java.io.File |
getEpsgDatabaseFile() |
static java.io.File |
getProjLibFolder() |
static SpatialReference |
getSpatialReferenceFromWKT(java.lang.String wkt) |
static void |
initializeDatabase() |
static void |
initializeDatabaseInbackground() |
static boolean |
isEnableMemoryCacheOfCRS() |
static void |
setDataBaseFolder(java.io.File folder) |
static void |
setEnableMemoryCacheOfCRS(boolean enableMemoryCache) |
static void |
setEpsgDatabaseFile(java.io.File databaseFile) |
static void |
setProjLibFolder(java.io.File folder) |
public ICrs getCRS(java.lang.String code) throws CrsException
code
- CrsException
public ICrs getCRS(java.lang.String code, java.lang.String theSourceParams, java.lang.String theTargetParams) throws CrsException
CrsException
public ICrs getCRS(int epsg_code, java.lang.String code) throws CrsException
epsg_code
- code
- CrsException
public ICrs getCRS(int epsg_code, java.lang.String code, java.lang.String params) throws CrsException
epsg_code
- code
- params
- CrsException
public IProjection get(java.lang.String name)
ICRSFactory
get
in interface ICRSFactory
name
- public boolean doesRigurousTransformations()
doesRigurousTransformations
in interface ICRSFactory
public static java.io.File getDataBaseFolder()
public static void setDataBaseFolder(java.io.File folder)
public static java.io.File getProjLibFolder()
public static void setProjLibFolder(java.io.File folder)
public static void setEnableMemoryCacheOfCRS(boolean enableMemoryCache)
public static boolean isEnableMemoryCacheOfCRS()
public static java.io.File getEpsgDatabaseFile()
public static void setEpsgDatabaseFile(java.io.File databaseFile)
public static void initializeDatabase()
public static void initializeDatabaseInbackground()
public IProjection get(java.lang.String format, java.lang.String value)
ICRSFactory
get
in interface ICRSFactory
public static SpatialReference getSpatialReferenceFromWKT(java.lang.String wkt)
public java.lang.String export(java.lang.String format, IProjection proj)
public static void addCustomCRSIdentifyExpression(java.lang.String expression, int epsgcode)