Class 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
    • Constructor Detail

      • CRSPretty

        public CRSPretty()
    • 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