Tabnine Logo
Utm_To_Gdc_Converter.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
ucar.unidata.geoloc.projection.Utm_To_Gdc_Converter
constructor

Best Java code snippets using ucar.unidata.geoloc.projection.Utm_To_Gdc_Converter.<init> (Showing top 10 results out of 315)

origin: edu.ucar/netcdf

/**
 * Construct a Universal Transverse Mercator Projection.
 *
 * @param a       the semi-major axis (meters) for the ellipsoid
 * @param f       the inverse flattening for the ellipsoid
 * @param zone    the UTM zone number (1-60)
 * @param isNorth true if the UTM coordinate is in the northern hemisphere
 */
public UtmProjection(double a, double f, int zone, boolean isNorth) {
 super("UtmProjection", false);
 save = new SaveParams(a, f);
 convert2latlon = new Utm_To_Gdc_Converter(a, f, zone, isNorth);
 convert2xy = new Gdc_To_Utm_Converter(a, f, zone, isNorth);
 addParameter(CF.GRID_MAPPING_NAME, GRID_MAPPING_NAME);
 addParameter(CF.SEMI_MAJOR_AXIS, a);
 addParameter(CF.INVERSE_FLATTENING, f);
 addParameter(UTM_ZONE1, zone);
}
origin: edu.ucar/cdm

/**
 * Construct a Universal Transverse Mercator Projection.
 *
 * @param a       the semi-major axis (meters) for the ellipsoid
 * @param f       the inverse flattening for the ellipsoid
 * @param zone    the UTM zone number (1-60)
 * @param isNorth true if the UTM coordinate is in the northern hemisphere
 */
public UtmProjection(double a, double f, int zone, boolean isNorth) {
 super("UtmProjection", false);
 saveParams = new SaveParams(a, f, zone, isNorth);
 convert2latlon = new Utm_To_Gdc_Converter(a, f, zone, isNorth);
 convert2xy = new Gdc_To_Utm_Converter(a, f, zone, isNorth);
 addParameter(CF.GRID_MAPPING_NAME, GRID_MAPPING_NAME);
 addParameter(CF.SEMI_MAJOR_AXIS, a);
 addParameter(CF.INVERSE_FLATTENING, f);
 addParameter(UTM_ZONE1, zone);
}
origin: Unidata/thredds

/**
 * Construct a Universal Transverse Mercator Projection.
 *
 * @param a       the semi-major axis (meters) for the ellipsoid
 * @param f       the inverse flattening for the ellipsoid
 * @param zone    the UTM zone number (1-60)
 * @param isNorth true if the UTM coordinate is in the northern hemisphere
 */
public UtmProjection(double a, double f, int zone, boolean isNorth) {
 super("UtmProjection", false);
 saveParams = new SaveParams(a, f, zone, isNorth);
 convert2latlon = new Utm_To_Gdc_Converter(a, f, zone, isNorth);
 convert2xy = new Gdc_To_Utm_Converter(a, f, zone, isNorth);
 addParameter(CF.GRID_MAPPING_NAME, GRID_MAPPING_NAME);
 addParameter(CF.SEMI_MAJOR_AXIS, a);
 addParameter(CF.INVERSE_FLATTENING, f);
 addParameter(UTM_ZONE1, zone);
}
origin: edu.ucar/netcdf

/**
 * Constructor with default WGS 84 ellipsoid.
 *
 * @param zone    the UTM zone number (1-60)
 * @param isNorth true if the UTM coordinate is in the northern hemisphere
 */
public UtmProjection(int zone, boolean isNorth) {
 super("UtmProjection", false);
 convert2latlon = new Utm_To_Gdc_Converter(zone, isNorth);
 convert2xy = new Gdc_To_Utm_Converter(zone, isNorth);
 addParameter(CF.GRID_MAPPING_NAME, GRID_MAPPING_NAME);
 addParameter(CF.SEMI_MAJOR_AXIS, convert2latlon.getA());
 addParameter(CF.INVERSE_FLATTENING, convert2latlon.getF());
 addParameter(UTM_ZONE1, zone);
}
origin: edu.ucar/unidataCommon

/**
 * Set the zone number = [1,60]
 *
 * @param newZone _more_
 */
public void setZone(int newZone) {
 convert2latlon = new Utm_To_Gdc_Converter(convert2latlon.getA(),
     convert2latlon.getF(), newZone, convert2latlon.isNorth());
 convert2xy = new Gdc_To_Utm_Converter(convert2latlon.getA(),
     convert2latlon.getF(), convert2latlon.getZone(),
     convert2latlon.isNorth());
}
origin: edu.ucar/unidataCommon

/**
 * Set whether in North or South Hemisphere.
 *
 * @param newNorth _more_
 */
public void setNorth(boolean newNorth) {
 convert2latlon = new Utm_To_Gdc_Converter(convert2latlon.getA(),
     convert2latlon.getF(), convert2latlon.getZone(), newNorth);
 convert2xy = new Gdc_To_Utm_Converter(convert2latlon.getA(),
     convert2latlon.getF(), convert2latlon.getZone(),
     convert2latlon.isNorth());
}
origin: edu.ucar/unidataCommon

/**
 * Construct a Universal Transverse Mercator Projection.
 *
 * @param a       the semi-major axis (meters) for the ellipsoid
 * @param f       the inverse flattening for the ellipsoid
 * @param zone    the UTM zone number (1-60)
 * @param isNorth true if the UTM coordinate is in the northern hemisphere
 */
public UtmProjection(double a, double f, int zone, boolean isNorth) {
 save = new SaveParams(a, f);
 convert2latlon = new Utm_To_Gdc_Converter(a, f, zone, isNorth);
 convert2xy = new Gdc_To_Utm_Converter(a, f, zone, isNorth);
 addParameter(ATTR_NAME, "universal_transverse_mercator");
 addParameter("semi-major_axis", a);
 addParameter("inverse_flattening", f);
 addParameter("UTM_zone", zone);
 addParameter("north_hemisphere", isNorth
     ? "true"
     : "false");
}
origin: edu.ucar/unidataCommon

/**
 * Constructor with default WGS 84 ellipsoid.
 *
 * @param zone    the UTM zone number (1-60)
 * @param isNorth true if the UTM coordinate is in the northern hemisphere
 */
public UtmProjection(int zone, boolean isNorth) {
 convert2latlon = new Utm_To_Gdc_Converter(zone, isNorth);
 convert2xy = new Gdc_To_Utm_Converter(zone, isNorth);
 addParameter(ATTR_NAME, "UTM");
 addParameter("semi-major_axis", convert2latlon.getA());
 addParameter("inverse_flattening", convert2latlon.getF());
 addParameter("UTM_zone", zone);
 addParameter("north_hemisphere", isNorth
     ? "true"
     : "false");
}
origin: Unidata/thredds

/**
 * Constructor with default WGS 84 ellipsoid.
 *
 * @param zone    the UTM zone number (1-60)
 * @param isNorth true if the UTM coordinate is in the northern hemisphere
 */
public UtmProjection(int zone, boolean isNorth) {
 super("UtmProjection", false);
 convert2latlon = new Utm_To_Gdc_Converter(zone, isNorth);
 convert2xy = new Gdc_To_Utm_Converter(zone, isNorth);
 saveParams = new SaveParams(convert2latlon.getA(), 1/convert2latlon.getF(), zone, isNorth);
 addParameter(CF.GRID_MAPPING_NAME, GRID_MAPPING_NAME);
 addParameter(CF.SEMI_MAJOR_AXIS, convert2latlon.getA());
 addParameter(CF.INVERSE_FLATTENING, convert2latlon.getF());
 addParameter(UTM_ZONE1, zone);
}
origin: edu.ucar/cdm

/**
 * Constructor with default WGS 84 ellipsoid.
 *
 * @param zone    the UTM zone number (1-60)
 * @param isNorth true if the UTM coordinate is in the northern hemisphere
 */
public UtmProjection(int zone, boolean isNorth) {
 super("UtmProjection", false);
 convert2latlon = new Utm_To_Gdc_Converter(zone, isNorth);
 convert2xy = new Gdc_To_Utm_Converter(zone, isNorth);
 saveParams = new SaveParams(convert2latlon.getA(), 1/convert2latlon.getF(), zone, isNorth);
 addParameter(CF.GRID_MAPPING_NAME, GRID_MAPPING_NAME);
 addParameter(CF.SEMI_MAJOR_AXIS, convert2latlon.getA());
 addParameter(CF.INVERSE_FLATTENING, convert2latlon.getF());
 addParameter(UTM_ZONE1, zone);
}
ucar.unidata.geoloc.projectionUtm_To_Gdc_Converter<init>

Javadoc

Constructor using a, f.

Popular methods of Utm_To_Gdc_Converter

  • getA
    _more_
  • getF
    _more_
  • getZone
    _more_
  • init
    initialize
  • isNorth
    _more_
  • projToLatLon
    _more_

Popular in Java

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JFrame (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now