org.esa.snap.engine_utilities.eo.GeoUtils.xyz2geo()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(82)

本文整理了Java中org.esa.snap.engine_utilities.eo.GeoUtils.xyz2geo()方法的一些代码示例,展示了GeoUtils.xyz2geo()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GeoUtils.xyz2geo()方法的具体详情如下:
包路径:org.esa.snap.engine_utilities.eo.GeoUtils
类名称:GeoUtils
方法名:xyz2geo

GeoUtils.xyz2geo介绍

暂无

代码示例

代码示例来源:origin: senbox-org/s1tbx

GeoUtils.xyz2geo(sensorPos.toArray(), sensorGeoPos, GeoUtils.EarthModel.WGS84);
final double delLatMax = Math.abs(lat - sensorGeoPos.lat);
double delLonMax;

代码示例来源:origin: senbox-org/s1tbx

/**
 * Compute accurate target geo position.
 *
 * @param latMid   The scene latitude.
 * @param lonMid   The scene longitude.
 * @param slrgTime The slant range time of the given pixel.
 * @param data     The orbit data.
 * @return The geo position of the target.
 */
private static GeoPos computeLatLon(final double latMid, final double lonMid, double slrgTime, Orbits.OrbitVector data) {
  final double[] xyz = new double[3];
  final GeoPos geoPos = new GeoPos(latMid, lonMid);
  // compute initial (x,y,z) coordinate from lat/lon
  GeoUtils.geo2xyz(geoPos, xyz);
  // compute accurate (x,y,z) coordinate using Newton's method
  GeoUtils.computeAccurateXYZ(data, xyz, slrgTime);
  // compute (lat, lon, alt) from accurate (x,y,z) coordinate
  GeoUtils.xyz2geo(xyz, geoPos);
  return geoPos;
}

代码示例来源:origin: senbox-org/s1tbx

/**
 * Compute accurate target geo position.
 *
 * @param refLat   The scene latitude.
 * @param refLon   The scene longitude.
 * @param slrgTime The slant range time of the given pixel.
 * @param data     The orbit data.
 * @return The geo position of the target.
 */
private static GeoPos computeLatLon(final double refLat, final double refLon, double slrgTime, Orbits.OrbitVector data) {
  final double[] xyz = new double[3];
  final GeoPos geoPos = new GeoPos(refLat, refLon);
  // compute initial (x,y,z) coordinate from lat/lon
  GeoUtils.geo2xyz(geoPos, xyz);
  // compute accurate (x,y,z) coordinate using Newton's method
  GeoUtils.computeAccurateXYZ(data, xyz, slrgTime);
  // compute (lat, lon, alt) from accurate (x,y,z) coordinate
  GeoUtils.xyz2geo(xyz, geoPos);
  return geoPos;
}

代码示例来源:origin: senbox-org/s1tbx

/**
 * Compute accurate target geo position.
 *
 * @param latMid   The scene latitude.
 * @param lonMid   The scene longitude.
 * @param slrgTime The slant range time of the given pixel.
 * @param data     The orbit data.
 * @return The geo position of the target.
 */
private static GeoPos computeLatLon(final double latMid, final double lonMid, double slrgTime, Orbits.OrbitVector data) {
  final double[] xyz = new double[3];
  final GeoPos geoPos = new GeoPos(latMid, lonMid);
  // compute initial (x,y,z) coordinate from lat/lon
  GeoUtils.geo2xyz(geoPos, xyz);
  // compute accurate (x,y,z) coordinate using Newton's method
  GeoUtils.computeAccurateXYZ(data, xyz, slrgTime);
  // compute (lat, lon, alt) from accurate (x,y,z) coordinate
  GeoUtils.xyz2geo(xyz, geoPos);
  return geoPos;
}

代码示例来源:origin: senbox-org/s1tbx

/**
 * Compute accurate target geo position.
 *
 * @param latMid   The scene latitude.
 * @param lonMid   The scene longitude.
 * @param slrgTime The slant range time of the given pixel.
 * @param data     The orbit data.
 * @return The geo position of the target.
 */
private static GeoPos computeLatLon(final double latMid, final double lonMid, double slrgTime, Orbits.OrbitVector data) {
  final double[] xyz = new double[3];
  final GeoPos geoPos = new GeoPos(latMid, lonMid);
  // compute initial (x,y,z) coordinate from lat/lon
  GeoUtils.geo2xyz(geoPos, xyz);
  // compute accurate (x,y,z) coordinate using Newton's method
  GeoUtils.computeAccurateXYZ(data, xyz, slrgTime);
  // compute (lat, lon, alt) from accurate (x,y,z) coordinate
  GeoUtils.xyz2geo(xyz, geoPos);
  return geoPos;
}

相关文章