com.esri.sde.sdk.pe
Class PeMgrs

java.lang.Object
  extended by com.esri.sde.sdk.pe.PeMgrs

public final class PeMgrs
extends java.lang.Object

Conversion between lat/lon and MGRS notation


Field Summary
static int PE_MGRS_180_ZONE_1_DEFAULT
           
static int PE_MGRS_180_ZONE_1_MINUS
           
static int PE_MGRS_180_ZONE_1_PLUS
           
static int PE_MGRS_AUTO_180_MINUS
           
static int PE_MGRS_AUTO_180_PLUS
           
static int PE_MGRS_MODE_DEFAULT
           
static int PE_MGRS_NEW_180_MINUS
           
static int PE_MGRS_NEW_180_PLUS
           
static int PE_MGRS_OLD_180_MINUS
           
static int PE_MGRS_OLD_180_PLUS
           
static int PE_MGRS_STYLE_AUTO
           
static int PE_MGRS_STYLE_DEFAULT
           
static int PE_MGRS_STYLE_NEW
           
static int PE_MGRS_STYLE_OLD
           
 
Constructor Summary
PeMgrs()
           
 
Method Summary
static int geog_to_mgrs_extended(PeGeographicCS geogcs, int n, double[] coord, int num_digits, boolean numeric_rounding, int mode, java.lang.String[] mgrs_str)
           
static int geog_to_mgrs(PeGeographicCS geogcs, int n, double[] coord, int num_digits, boolean numeric_rounding, java.lang.String[] mgrs_str)
           
static int mgrs_to_geog_extended(PeGeographicCS geogcs, int n, java.lang.String[] mgrs_str, int mode, double[] coord)
           
static int mgrs_to_geog(PeGeographicCS geogcs, int n, java.lang.String[] mgrs_str, double[] coord)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PE_MGRS_STYLE_NEW

public static final int PE_MGRS_STYLE_NEW
See Also:
Constant Field Values

PE_MGRS_STYLE_OLD

public static final int PE_MGRS_STYLE_OLD
See Also:
Constant Field Values

PE_MGRS_STYLE_AUTO

public static final int PE_MGRS_STYLE_AUTO
See Also:
Constant Field Values

PE_MGRS_STYLE_DEFAULT

public static final int PE_MGRS_STYLE_DEFAULT
See Also:
Constant Field Values

PE_MGRS_180_ZONE_1_MINUS

public static final int PE_MGRS_180_ZONE_1_MINUS
See Also:
Constant Field Values

PE_MGRS_180_ZONE_1_PLUS

public static final int PE_MGRS_180_ZONE_1_PLUS
See Also:
Constant Field Values

PE_MGRS_180_ZONE_1_DEFAULT

public static final int PE_MGRS_180_ZONE_1_DEFAULT
See Also:
Constant Field Values

PE_MGRS_MODE_DEFAULT

public static final int PE_MGRS_MODE_DEFAULT
See Also:
Constant Field Values

PE_MGRS_NEW_180_MINUS

public static final int PE_MGRS_NEW_180_MINUS
See Also:
Constant Field Values

PE_MGRS_NEW_180_PLUS

public static final int PE_MGRS_NEW_180_PLUS
See Also:
Constant Field Values

PE_MGRS_OLD_180_MINUS

public static final int PE_MGRS_OLD_180_MINUS
See Also:
Constant Field Values

PE_MGRS_OLD_180_PLUS

public static final int PE_MGRS_OLD_180_PLUS
See Also:
Constant Field Values

PE_MGRS_AUTO_180_MINUS

public static final int PE_MGRS_AUTO_180_MINUS
See Also:
Constant Field Values

PE_MGRS_AUTO_180_PLUS

public static final int PE_MGRS_AUTO_180_PLUS
See Also:
Constant Field Values
Constructor Detail

PeMgrs

public PeMgrs()
Method Detail

geog_to_mgrs_extended

public static int geog_to_mgrs_extended(PeGeographicCS geogcs,
                                        int n,
                                        double[] coord,
                                        int num_digits,
                                        boolean numeric_rounding,
                                        int mode,
                                        java.lang.String[] mgrs_str)

mgrs_to_geog_extended

public static int mgrs_to_geog_extended(PeGeographicCS geogcs,
                                        int n,
                                        java.lang.String[] mgrs_str,
                                        int mode,
                                        double[] coord)

geog_to_mgrs

public static int geog_to_mgrs(PeGeographicCS geogcs,
                               int n,
                               double[] coord,
                               int num_digits,
                               boolean numeric_rounding,
                               java.lang.String[] mgrs_str)

mgrs_to_geog

public static int mgrs_to_geog(PeGeographicCS geogcs,
                               int n,
                               java.lang.String[] mgrs_str,
                               double[] coord)