Class XConstants
java.lang.Object
org.opensextant.extractors.xcoord.XConstants
- Author:
- ubaldino
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
RUNTIME FLAGS: filter out coordinate matches that appear embedded in other text, e.g., ABC45.44,77.1Wstatic final int
RUNTIME FLAGS: filter Decimal Degree coordinates -- primarily for bare floating point numbers w/out hemisphere or other symbolsstatic final int
static final int
static final int
RUNTIME FLAGS: filter DMS coordinatesstatic final int
static final int
static final int
static final int
RUNTIME FLAGS: filter all coordinate patterns that have filtersstatic final int
RUNTIME FLAGS: extract context or notstatic final int
RUNTIME FLAGS: filter MGRS coordinates -- date patterns and NUM PER NUM patterns e.g., the ratio "4 per 4000" is not MGRSstatic final int
static final int
Strict MGRS parsing does not allow typos or mismatched Northing/Easting and possibly other parsing problems.static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
get_CCE_family
(int id) Get the CCE family for the given XConstants enum idstatic int
get_CCE_family
(String nm) Get the CCE family for the given string/key
-
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_ONRUNTIME FLAGS: filter DMS coordinates- See Also:
-
DD_FILTERS_ON
public static final int DD_FILTERS_ONRUNTIME 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_ONRUNTIME 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_ONStrict 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_ONRUNTIME 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_FILTERSRUNTIME FLAGS: filter all coordinate patterns that have filters- See Also:
-
FLAG_EXTRACT_CONTEXT
public static final int FLAG_EXTRACT_CONTEXTRUNTIME FLAGS: extract context or not- See Also:
-
familyInt
-
familyLabel
-
-
Constructor Details
-
XConstants
public XConstants()
-
-
Method Details
-
get_CCE_family
Get the CCE family for the given string/key- Parameters:
nm
-- Returns:
-
get_CCE_family
Get the CCE family for the given XConstants enum id- Parameters:
id
-- Returns:
-