Package org.locationtech.proj4j.util
Class CRSCache
java.lang.Object
org.locationtech.proj4j.util.CRSCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static CRSFactory
private ConcurrentHashMap
<String, String> -
Constructor Summary
ConstructorsConstructorDescriptionCRSCache()
CRSCache
(ConcurrentHashMap<String, CoordinateReferenceSystem> crsCache, ConcurrentHashMap<String, String> epsgCache) -
Method Summary
Modifier and TypeMethodDescriptioncreateFromName
(String name) createFromParameters
(String name, String paramStr) createFromParameters
(String name, String[] params) readEpsgFromParameters
(String paramStr) readEpsgFromParameters
(String[] params)
-
Field Details
-
crsFactory
-
crsCache
-
epsgCache
-
-
Constructor Details
-
CRSCache
public CRSCache() -
CRSCache
public CRSCache(ConcurrentHashMap<String, CoordinateReferenceSystem> crsCache, ConcurrentHashMap<String, String> epsgCache)
-
-
Method Details
-
createFromName
public CoordinateReferenceSystem createFromName(String name) throws UnsupportedParameterException, InvalidValueException, UnknownAuthorityCodeException -
createFromParameters
public CoordinateReferenceSystem createFromParameters(String name, String paramStr) throws UnsupportedParameterException, InvalidValueException -
createFromParameters
public CoordinateReferenceSystem createFromParameters(String name, String[] params) throws UnsupportedParameterException, InvalidValueException -
readEpsgFromParameters
-
readEpsgFromParameters
-