gpt4 book ai didi

org.vfny.geoserver.util.WCSUtils类的使用及代码示例

转载 作者:知者 更新时间:2024-03-22 10:59:05 26 4
gpt4 key购买 nike

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

WCSUtils介绍

暂无

代码示例

代码示例来源:origin: geoserver/geoserver

return bandSelect(coverage, bands);

代码示例来源:origin: org.geoserver/gs-wcs1_0

meta.getGridCoverageReader(null, WCSUtils.getReaderHints(wcs));
if (reader == null) {
Filter filter = WCSUtils.getRequestFilter();
if (filter != null) {
  readParameters =
WCSUtils.checkInputLimits(wcs, meta, reader, requestedGridGeometry);
    WCSUtils.replaceParameter(
        readParameters, Boolean.TRUE, AbstractGridFormat.USE_JAI_IMAGEREAD);
WCSUtils.checkInputLimits(wcs, coverage);
              (GridCoverage2D) WCSUtils.bandSelect(coverage, bands);
WCSUtils.checkOutputLimits(
    wcs,
    destinationGridGeometry.getGridRange2D(),
    WCSUtils.resample(
        bandSelectedCoverage,
        nativeCRS,

代码示例来源:origin: org.geoserver/wcs

bandSelectedCoverage = WCSUtils.bandSelect(request.getParameters(), coverage);
final GridCoverage2D croppedGridCoverage = WCSUtils.crop(bandSelectedCoverage,
    (GeneralEnvelope) coverage.getEnvelope(), cvCRS, destinationEnvelopeInSourceCRS,
    Boolean.TRUE);
subCoverage = WCSUtils.scale(croppedGridCoverage, newGridrange, croppedGridCoverage, cvCRS,
    destinationEnvelopeInSourceCRS);
subCoverage = WCSUtils.reproject(subCoverage, sourceCRS, targetCRS, interpolation);

代码示例来源:origin: org.geoserver/gs-wcs2_0

WCSUtils.checkOutputLimits(wcs, coverage, indexes);
return (GridCoverage2D) WCSUtils.bandSelect(coverage, indexes);

代码示例来源:origin: org.geoserver/gs-wcs2_0

Filter filter = WCSUtils.getRequestFilter();
if (filter != null) {
  request.setFilter(filter);
  hints.add(WCSUtils.getReaderHints(wcs));
  hints.add(
      new RenderingHints(

代码示例来源:origin: org.geoserver/gs-wcs2_0

WCSUtils.checkOutputLimits(
    wcs,
    coverage.getGridGeometry().getGridRange2D(),

代码示例来源:origin: org.geoserver/gs-wcs2_0

WCSUtils.replaceParameter(
        readParameters, Boolean.TRUE, AbstractGridFormat.USE_JAI_IMAGEREAD);
WCSUtils.checkInputLimits(wcs, cinfo, reader, readGG);
Hints readHints = new Hints();
if (hints != null) {
    WCSUtils.checkInputLimits(wcs, coverage);
  } else {

代码示例来源:origin: org.geoserver/gs-wcs2_0

private GridCoverage2D cropOnEnvelope(GridCoverage2D coverage, Envelope cropEnvelope) {
  CoordinateReferenceSystem sourceCRS = coverage.getCoordinateReferenceSystem();
  CoordinateReferenceSystem subsettingCRS = cropEnvelope.getCoordinateReferenceSystem();
  try {
    if (!CRS.equalsIgnoreMetadata(subsettingCRS, sourceCRS)) {
      cropEnvelope = CRS.transform(cropEnvelope, sourceCRS);
    }
  } catch (TransformException e) {
    throw new WCS20Exception(
        "Unable to initialize subsetting envelope",
        WCS20Exception.WCS20ExceptionCode.SubsettingCrsNotSupported,
        subsettingCRS.toWKT(),
        e);
  }
  GridCoverage2D cropped = WCSUtils.crop(coverage, cropEnvelope);
  cropped = GridCoverageWrapper.wrapCoverage(cropped, coverage, null, null, false);
  return cropped;
}

代码示例来源:origin: org.geoserver/gs-wcs1_1

GridCoverage2DReader reader =
    (GridCoverage2DReader)
        meta.getGridCoverageReader(null, WCSUtils.getReaderHints(wcs));
Envelope gridEnvelope = reader.getOriginalEnvelope();
GeneralEnvelope gridEnvelopeBboxCRS = null;

代码示例来源:origin: org.geoserver.extension/gs-wps-core

WCSUtils.resample(
    coverage,
    cvCrs,

代码示例来源:origin: org.geoserver/gs-wcs1_1

meta.getGridCoverageReader(null, WCSUtils.getReaderHints(wcs));
WCSUtils.checkInputLimits(wcs, meta, reader, requestedGridGeometry);
Filter filter = WCSUtils.getRequestFilter();
if (filter != null) {
  readParameters =
    WCSUtils.replaceParameter(
        readParameters, Boolean.TRUE, AbstractGridFormat.USE_JAI_IMAGEREAD);
WCSUtils.checkInputLimits(wcs, coverage);
  coverage = WCSUtils.crop(coverage, intersectionEnvelopeInSourceCRS);
          (GridCoverage2D) WCSUtils.bandSelect(coverage, bands);
    } catch (WcsException e) {
      throw new WcsException(e.getLocalizedMessage());
WCSUtils.checkOutputLimits(
    wcs,
    destinationGridGeometry.getGridRange2D(),
if (reprojectionNeeded || !sameGridGeometry) {
  final GridCoverage2D reprojectedCoverage =
      WCSUtils.resample(
          bandSelectedCoverage,
          nativeCRS,

代码示例来源:origin: org.geoserver/wcs1_1

.bandSelect(coverage, bands);
    } catch (WcsException e) {
      throw new WcsException(e.getLocalizedMessage());
final GridCoverage2D croppedGridCoverage = WCSUtils.crop(bandSelectedCoverage,
    (GeneralEnvelope) coverage.getEnvelope(), nativeCRS,
    destinationEnvelopeInSourceCRS, Boolean.TRUE);
final GridCoverage2D scaledCoverage = WCSUtils.scale(croppedGridCoverage,
    destinationGridGeometry);
final GridCoverage2D reprojectedCoverage = WCSUtils.reproject(scaledCoverage,
    nativeCRS, targetCRS, interpolation);

代码示例来源:origin: org.geoserver/gs-wcs2_0

WCSUtils.checkOutputLimits(
    wcsinfo,
    new GridEnvelope2D(destinationRectangle),

代码示例来源:origin: org.geoserver/wcs

return bandSelect(coverage, bands);

代码示例来源:origin: org.geoserver/gs-wcs2_0

WCSUtils.checkOutputLimits(
    wcsinfo,
    new GridEnvelope2D(0, 0, sizeX, sizeY),

代码示例来源:origin: org.geoserver/gs-wcs2_0

WCSUtils.checkOutputLimits(
    wcsinfo,
    new GridEnvelope2D(

代码示例来源:origin: org.geoserver/gs-wcs2_0

WCSUtils.checkOutputLimits(
    wcsinfo,
    new GridEnvelope2D(

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com