Class XConstants

java.lang.Object
org.opensextant.extractors.xcoord.XConstants

public final class XConstants extends Object
Author:
ubaldino
  • Field Details

    • UNK_PATTERN

      public static final int UNK_PATTERN
      See Also:
    • DD_PATTERN

      public static final int DD_PATTERN
      See Also:
    • DM_PATTERN

      public static final int DM_PATTERN
      See Also:
    • DMS_PATTERN

      public static final int DMS_PATTERN
      See Also:
    • MGRS_PATTERN

      public static final int MGRS_PATTERN
      See Also:
    • UTM_PATTERN

      public static final int UTM_PATTERN
      See Also:
    • ALL_PATTERNS

      public static final int ALL_PATTERNS
      See Also:
    • UNFILTERED

      public static final int UNFILTERED
      See Also:
    • FILTERED_OUT

      public static final int FILTERED_OUT
      See Also:
    • FILTERED_IN

      public static final int FILTERED_IN
      See Also:
    • DMS_FILTERS_ON

      public static final int DMS_FILTERS_ON
      RUNTIME FLAGS: filter DMS coordinates
      See Also:
    • DD_FILTERS_ON

      public static final int DD_FILTERS_ON
      RUNTIME FLAGS: filter Decimal Degree coordinates -- primarily for bare floating point numbers w/out hemisphere or other symbols
      See Also:
    • MGRS_FILTERS_ON

      public static final int MGRS_FILTERS_ON
      RUNTIME FLAGS: filter MGRS coordinates -- date patterns and NUM PER NUM patterns e.g., the ratio "4 per 4000" is not MGRS
      See Also:
    • MGRS_STRICT_ON

      public static final int MGRS_STRICT_ON
      Strict MGRS parsing does not allow typos or mismatched Northing/Easting and possibly other parsing problems.
      See Also:
    • CONTEXT_FILTERS_ON

      public static final int CONTEXT_FILTERS_ON
      RUNTIME FLAGS: filter out coordinate matches that appear embedded in other text, e.g., ABC45.44,77.1W
      See Also:
    • FLAG_ALL_FILTERS

      public static final int FLAG_ALL_FILTERS
      RUNTIME FLAGS: filter all coordinate patterns that have filters
      See Also:
    • FLAG_EXTRACT_CONTEXT

      public static final int FLAG_EXTRACT_CONTEXT
      RUNTIME FLAGS: extract context or not
      See Also:
    • familyInt

      public static final Map<String,Integer> familyInt
    • familyLabel

      public static final Map<Integer,String> familyLabel
  • Constructor Details

    • XConstants

      public XConstants()
  • Method Details

    • get_CCE_family

      public static int get_CCE_family(String nm)
      Get the CCE family for the given string/key
      Parameters:
      nm -
      Returns:
    • get_CCE_family

      public static String get_CCE_family(int id)
      Get the CCE family for the given XConstants enum id
      Parameters:
      id -
      Returns: