congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
org.apache.sis.referencing.operation
Code IndexAdd Tabnine to your IDE (free)

How to use org.apache.sis.referencing.operation

Best Java code snippets using org.apache.sis.referencing.operation (Showing top 20 results out of 315)

origin: org.apache.sis.core/sis-referencing

/**
 * Returns a name for a transformation between two CRS.
 */
private static Map<String,?> defaultName(CoordinateReferenceSystem source, CoordinateReferenceSystem target) {
  return properties(new CRSPair(source, target).toString());
}
origin: org.apache.sis.core/sis-referencing

/**
 * Sets the geographic component of the area of interest, or {@code null} if none.
 * This convenience method set the bounding box into the spatio-temporal {@link Extent}.
 *
 * <p>The reverse operation can be done with <code>{@linkplain Extents#getGeographicBoundingBox(Extent)
 * Extents.getGeographicBoundingBox}({@linkplain #getAreaOfInterest()})</code>.</p>
 *
 * @param  area  the geographic area of interest, or {@code null} if none.
 */
public void setAreaOfInterest(final GeographicBoundingBox area) {
  areaOfInterest = setGeographicBoundingBox(areaOfInterest, area);
}
origin: org.apache.sis.core/sis-referencing

  /**
   * Returns the target CRS, which must be projected or {@code null}.
   */
  @Override
  public final ProjectedCRS getTargetCRS() {
    return (ProjectedCRS) super.getTargetCRS();
  }
}
origin: apache/sis

  @Override protected void initialize(final int factoryTypes) {
    if ((factoryTypes & OPERATION) != 0) {
      opFactory = new DefaultCoordinateOperationFactory();
    }
  }
};
origin: apache/sis

/**
 * Returns the source CRS, which must be geographic or {@code null}.
 */
@Override
public final GeographicCRS getSourceCRS() {
  return (GeographicCRS) super.getSourceCRS();
}
origin: apache/sis

  /**
   * Invoked when the builder needs a CRS or CS factory.
   */
  @Override
  public void initialize(final int factoryTypes) {
    if ((factoryTypes & CRS) != 0) crsFactory = factorySIS.getCRSFactory();
    if ((factoryTypes & CS)  != 0)  csFactory = factorySIS.getCSFactory();
  }
}
origin: Geomatys/geotoolkit

  protected Object readResolve() throws ObjectStreamException {
    return org.apache.sis.referencing.operation.DefaultOperationMethod.castOrCopy(this);
  }
}
origin: apache/sis

/**
 * Creates a new test case.
 *
 * @throws FactoryException if an error occurred while initializing the finder to test.
 */
public CoordinateOperationFinderTest() throws FactoryException {
  finder = new CoordinateOperationFinder(null, factory, null);
}
origin: apache/sis

/**
 * Returns the operation type of the given method.
 */
private static Class<?> getOperationType(final DefaultOperationMethod method) {
  Class<?> type = method.getOperationType();
  if (type == SingleOperation.class) {
    if (method instanceof Affine) {     // EPSG:9624 - Affine parametric transformation
      type = Transformation.class;
    }
  }
  return type;
}
origin: apache/sis

  /**
   * Invoked by JAXB after unmarshalling.
   */
  void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
    computeTransientFields();
  }
}
origin: org.apache.sis.core/sis-referencing

  /**
   * Returns a string representation of this key.
   */
  @Override
  public String toString() {
    return label(sourceCRS) + " ⟶ " + label(targetCRS);
  }
}
origin: org.apache.sis.core/sis-referencing

/**
 * Returns the interpolation CRS of the given coordinate operation, or {@code null} if none.
 */
static CoordinateReferenceSystem getInterpolationCRS(final CoordinateOperation operation) {
  return (operation instanceof AbstractCoordinateOperation)
      ? ((AbstractCoordinateOperation) operation).getInterpolationCRS() : null;
}
origin: apache/sis

/**
 * Returns a name for a transformation between two CRS.
 */
private static Map<String,?> defaultName(CoordinateReferenceSystem source, CoordinateReferenceSystem target) {
  return properties(new CRSPair(source, target).toString());
}
origin: apache/sis

  /**
   * Returns the target CRS, which must be projected or {@code null}.
   */
  @Override
  public final ProjectedCRS getTargetCRS() {
    return (ProjectedCRS) super.getTargetCRS();
  }
}
origin: org.apache.sis.core/sis-referencing

/**
 * Returns the source CRS, which must be geographic or {@code null}.
 */
@Override
public final GeographicCRS getSourceCRS() {
  return (GeographicCRS) super.getSourceCRS();
}
origin: org.apache.sis.core/sis-referencing

  /**
   * Invoked when the builder needs a CRS or CS factory.
   */
  @Override
  public void initialize(final int factoryTypes) {
    if ((factoryTypes & CRS) != 0) crsFactory = factorySIS.getCRSFactory();
    if ((factoryTypes & CS)  != 0)  csFactory = factorySIS.getCSFactory();
  }
}
origin: apache/sis

/**
 * Sets the geographic component of the area of interest, or {@code null} if none.
 * This convenience method set the bounding box into the spatio-temporal {@link Extent}.
 *
 * <p>The reverse operation can be done with <code>{@linkplain Extents#getGeographicBoundingBox(Extent)
 * Extents.getGeographicBoundingBox}({@linkplain #getAreaOfInterest()})</code>.</p>
 *
 * @param  area  the geographic area of interest, or {@code null} if none.
 */
public void setAreaOfInterest(final GeographicBoundingBox area) {
  areaOfInterest = setGeographicBoundingBox(areaOfInterest, area);
}
origin: org.apache.sis.core/sis-referencing

  /**
   * Invoked by JAXB after unmarshalling.
   */
  void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
    computeTransientFields();
  }
}
origin: apache/sis

  /**
   * Returns a string representation of this key.
   */
  @Override
  public String toString() {
    return label(sourceCRS) + " ⟶ " + label(targetCRS);
  }
}
origin: apache/sis

/**
 * Returns the interpolation CRS of the given coordinate operation, or {@code null} if none.
 */
static CoordinateReferenceSystem getInterpolationCRS(final CoordinateOperation operation) {
  return (operation instanceof AbstractCoordinateOperation)
      ? ((AbstractCoordinateOperation) operation).getInterpolationCRS() : null;
}
org.apache.sis.referencing.operation

Most used classes

  • MathTransforms
    Utility methods creating or working on MathTransform instances. This class centralizes in one place
  • Matrices
    Matrix factory methods and utilities. This class provides the following methods: * Creating new
  • TransferFunction
    The function converting raster sample values to geophysics values. The function is usually linear, b
  • DefaultCoordinateOperationFactory
    Creates AbstractCoordinateOperation capable to transform coordinates from a given source CRS to a gi
  • MatrixSIS
    A Matrix able to perform some operations of interest to Spatial Information Systems (SIS). This clas
  • DefaultConversion,
  • DefaultOperationMethod,
  • Matrix2,
  • ProjectionException,
  • PassThroughTransform,
  • AbstractCoordinateOperation,
  • DefaultFormula,
  • LocalizationGridBuilder,
  • AffineTransforms2D,
  • Matrix1,
  • Matrix3,
  • Matrix4,
  • NormalizedProjection,
  • PolarStereographic
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