Package org.openjump.core.ccordsys.utils
Class SridLookupTable
- java.lang.Object
-
- org.openjump.core.ccordsys.utils.SridLookupTable
-
public class SridLookupTable extends Object
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 Constructor Description SridLookupTable()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 voidmain(String[] args)Test the class
-
-
-
Method Detail
-
main
public static void main(String[] args)
Test the class
-
getOGCWKTFromWkidCode
public static String getOGCWKTFromWkidCode(String code) throws URISyntaxException, IOException
- Throws:
URISyntaxExceptionIOException
-
-