Class SridLookupTable
java.lang.Object
org.openjump.core.ccordsys.utils.SridLookupTable
A class to lookup in srid.txt.
Can find the srid, the name and/or the unit from the code or the name
of a Coordinate Reference System
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetOGCWKTFromWkidCode(String code) static SRSInfogetSrsAndUnitFromCode(String code) static SRSInfogetSrsAndUnitFromCodeOrName(String codeOrName) static SRSInfogetSrsAndUnitFromName(String name) static StringgetSrsCodeFromName(String name) static StringgetSrsNameFromCode(String code) static UnitgetUnitFromCode(String code) static UnitgetUnitFromName(String name) static voidTest the class
-
Constructor Details
-
SridLookupTable
public SridLookupTable()
-
-
Method Details
-
main
Test the class -
getSrsAndUnitFromCode
-
getSrsAndUnitFromName
-
getSrsAndUnitFromCodeOrName
-
getSrsCodeFromName
-
getSrsNameFromCode
-
getUnitFromName
-
getUnitFromCode
-
getOGCWKTFromWkidCode
- Throws:
URISyntaxExceptionIOException
-