E - public class CrsFactory<E> extends Object implements ICRSFactory
FORMAT_PROJ4, FORMAT_WKT, FORMAT_WKT_ESRI| Constructor and Description |
|---|
CrsFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesRigurousTransformations() |
String |
export(String format,
IProjection proj) |
IProjection |
get(String name)
Devuelve una proyeccion a partir de una cadena.
|
IProjection |
get(String format,
String value)
Devuelve una proyección a partir de una cadena en uno de los formatos admitidos.
|
ICrs |
getCRS(int epsg_code,
String code) |
ICrs |
getCRS(int epsg_code,
String code,
String params) |
ICrs |
getCRS(String code)
Obtiene un CRS a partir de su código (p.e.
|
ICrs |
getCRS(String code,
String theSourceParams,
String theTargetParams) |
static File |
getDataBaseFolder() |
static File |
getEpsgDatabaseFile() |
static File |
getProjLibFolder() |
static boolean |
isEnableMemoryCacheOfCRS() |
static void |
setDataBaseFolder(File folder) |
static void |
setEnableMemoryCacheOfCRS(boolean enableMemoryCache) |
static void |
setEpsgDatabaseFile(File databaseFile) |
static void |
setProjLibFolder(File folder) |
public ICrs getCRS(String code) throws CrsException
code - CrsExceptionpublic ICrs getCRS(String code, String theSourceParams, String theTargetParams) throws CrsException
CrsExceptionpublic ICrs getCRS(int epsg_code, String code) throws CrsException
epsg_code - code - CrsExceptionpublic ICrs getCRS(int epsg_code, String code, String params) throws CrsException
epsg_code - code - params - CrsExceptionpublic IProjection get(String name)
ICRSFactoryget in interface ICRSFactoryname - abreviatura de la proyecccion (i.e. EPSG:23030)public boolean doesRigurousTransformations()
doesRigurousTransformations in interface ICRSFactorypublic static File getDataBaseFolder()
public static void setDataBaseFolder(File folder)
public static File getProjLibFolder()
public static void setProjLibFolder(File folder)
public static void setEnableMemoryCacheOfCRS(boolean enableMemoryCache)
public static boolean isEnableMemoryCacheOfCRS()
public static File getEpsgDatabaseFile()
public static void setEpsgDatabaseFile(File databaseFile)
public IProjection get(String format, String value)
ICRSFactoryget in interface ICRSFactorypublic String export(String format, IProjection proj)