Codota Logo
ucar.unidata.geoloc.projection
Code IndexAdd Codota to your IDE (free)

How to use ucar.unidata.geoloc.projection

Best Java code snippets using ucar.unidata.geoloc.projection (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
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/netcdf

/**
 * Get whether in North or South Hemisphere.
 *
 * @return true if north
 */
public boolean isNorth() {
 return convert2latlon.isNorth();
}
origin: edu.ucar/netcdf

/**
 * Set the first standard parallel
 *
 * @param par   the first standard parallel
 */
public void setParallelOne(double par) {
  par1 = par;
  precalculate();
}
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: Unidata/thredds

@Override
public ProjectionImpl constructCopy() {
 LatLonProjection result = new LatLonProjection(getName(), getDefaultMapArea());
 result.setDefaultMapArea(defaultMapArea);
 result.setName(name);
 result.earth = this.earth;
 return result;
}
origin: edu.ucar/cdm

/**
 * Get the parameters as a String
 *
 * @return the parameters as a String
 */
public String paramsToString() {
 return getZone() + " " + isNorth();
}
origin: edu.ucar/cdm

/**
 * Get the zone number = [1,60]
 *
 * @return zone number
 */
public int getZone() {
 return convert2latlon.getZone();
}
origin: Unidata/thredds

/**
 * Create a ProjectionImpl from the projection
 *
 * @param proj projection
 * @return a ProjectionImpl representing the projection
 */
static public ProjectionImpl factory(Projection proj) {
 if (proj instanceof ProjectionImpl) {
  return (ProjectionImpl) proj;
 }
 return new ProjectionAdapter(proj);
}
origin: edu.ucar/netcdf

/**
 * Set the origin longitude.
 *
 * @param lon the origin longitude.
 */
public void setOriginLon(double lon) {
 lon0 = lon;
 precalculate();
}
origin: edu.ucar/netcdf

/**
 * Set the height above the earth
 * @param height   height above the earth
 */
public void setHeight(double height) {
  H = height;
  precalculate();
}
origin: edu.ucar/netcdf

/**
 * Constructor.
 *
 * @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 hemisphere_north true if the UTM coordinate is in the northern hemisphere
 */
public Gdc_To_Utm_Converter(double a, double f, int zone, boolean hemisphere_north) {
 init(a, f, zone, hemisphere_north);
}
origin: Unidata/thredds

/**
 * Create a String of the parameters.
 *
 * @return a String of the parameters
 */
public String paramsToString() {
 return toString();
}
origin: edu.ucar/netcdf

/**
 * Create a String of the parameters.
 *
 * @return a String of the parameters
 */
public String paramsToString() {
 return toString();
}
origin: edu.ucar/netcdf

/**
 * Get the parameters as a String
 *
 * @return the parameters as a String
 */
public String paramsToString() {
 return toString();
}
origin: edu.ucar/netcdf

/**
 * Create a String of the parameters.
 *
 * @return a String of the parameters
 */
public String paramsToString() {
 return toString();
}
origin: edu.ucar/netcdf

/**
 * Create a String of the parameters.
 *
 * @return a String of the parameters
 */
public String paramsToString() {
 return toString();
}
origin: Unidata/thredds

public LatLonProjection(Earth earth) {
 this("LatLonProjection");
 this.earth = earth;
 addParameters();
}
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: 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/netcdf

/**
 * Create a String of the parameters.
 *
 * @return a String of the parameters
 */
public String paramsToString() {
 return toString();
}
ucar.unidata.geoloc.projection

Most used classes

  • LatLonProjection
    This is the "fake" identity projection where world coord = latlon coord. Topologically its the same
  • LambertConformal
    Lambert Conformal Projection, one or two standard parallels, spherical earth. Projection plane is a
  • Mercator
    Mercator projection, spherical earth. Projection plane is a cylinder tangent to the earth at tangent
  • Stereographic
    Stereographic projection, spherical earth. Projection plane is a plane tangent to the earth at latt,
  • AlbersEqualArea
    Albers Equal Area Conic Projection, one or two standard parallels, spherical earth. See John Snyder,
  • RotatedPole,
  • FlatEarth,
  • LambertAzimuthalEqualArea,
  • Orthographic,
  • TransverseMercator,
  • UtmProjection,
  • VerticalPerspectiveView,
  • AlbersEqualAreaEllipse,
  • LambertConformalConicEllipse,
  • MSGnavigation,
  • ProjectionAdapter,
  • StereographicAzimuthalProjection,
  • Gdc_To_Utm_Converter,
  • RotatedLatLon$Test
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now