Package mil.nga.crs.wkt
Class CRSPretty
- java.lang.Object
-
- mil.nga.crs.wkt.CRSPretty
-
public class CRSPretty extends Object
Parse OGC Coordinate Reference System Well-Known Text (1|2) and pretty print Coordinate Reference System Well-Known Text 2 and PROJ params To run from command line: java -jar name.jar +usage_arguments java -classpath name.jar mil.nga.crs.wkt.CRSPretty +usage_arguments- Since:
- 1.1.2
- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMMAND_PROMPT
Command prompt
-
Constructor Summary
Constructors Constructor Description CRSPretty()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isQuoteCharacter(char c)
Check if the character is a quote characterstatic void
main(String[] args)
Main method to generate tiles in a GeoPackagestatic void
parseAndPrint(String wkt)
Project coordinates
-
-
-
Field Detail
-
COMMAND_PROMPT
public static final String COMMAND_PROMPT
Command prompt- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException
Main method to generate tiles in a GeoPackage- Parameters:
args
- arguments- Throws:
IOException
- upon error
-
isQuoteCharacter
public static boolean isQuoteCharacter(char c)
Check if the character is a quote character- Parameters:
c
- character- Returns:
- true if quote character
- Since:
- 1.1.3
-
parseAndPrint
public static void parseAndPrint(String wkt) throws IOException
Project coordinates- Parameters:
wkt
- well-known text- Throws:
IOException
- upon error
-
-