congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
TileTransformer
Code IndexAdd Tabnine to your IDE (free)

How to use
TileTransformer
in
com.oculusinfo.tile.rendering.transformations.tile

Best Java code snippets using com.oculusinfo.tile.rendering.transformations.tile.TileTransformer (Showing top 3 results out of 315)

origin: unchartedsoftware/aperture-tiles

/**
 * Set the tile index, and level minimum and maximum for the impending read
 * @param tileIndex The index of the tile to be rendererd.
 * @param levelMinimum The level minimum.
 * @param levelMaximum The level maximum.
 */
public void setLevelProperties (TileIndex tileIndex,
                String levelMinimum,
                String levelMaximum) {
  _tileCoordinate = tileIndex;
  _levelMaximum = levelMaximum;
  _levelMinimum = levelMinimum;
  try {
    TileTransformer<?> tileTransformer = produce(TileTransformer.class);
    if (null != tileTransformer) {
      Pair<Double, Double> extrema = tileTransformer.getTransformedExtrema(this);
      _transformFactory.setExtrema(extrema.getFirst(), extrema.getSecond());
      Pair<Double, Double> rawExtrema = tileTransformer.getRawExtrema(this);
      _alphaTransformFactory.setExtrema(rawExtrema.getFirst(), rawExtrema.getSecond()/2);
    }
  } catch (ConfigurationException e1) {
    String layer;
    try {
      layer = getPropertyValue(LAYER_ID);
    } catch (ConfigurationException e2) {
      layer = "unknown layer";
    }
    LOGGER.warn("Error determining layer-specific extrema for "+layer);
  }
}
origin: unchartedsoftware/aperture-tiles

return transformer.transform( deserializedJSON );
origin: unchartedsoftware/aperture-tiles

modifiedData = tileTransformer.transform( modifiedData );
com.oculusinfo.tile.rendering.transformations.tileTileTransformer

Javadoc

A TileTransformer is an interface that can take a JSON representation of a tile and perform a transform on it. This can include a filter on the data or perform an action on all sets of the data in a uniform way. The resulting tile is passed back in JSON format

Most used methods

  • getRawExtrema
    Returns the raw extrema from a layer configuration
  • getTransformedExtrema
    Computes transformed level extrema from a layer configuration.
  • transform
    Transforms the tile data in JSON format based on transform type and returns result

Popular in Java

  • Reading from database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • compareTo (BigDecimal)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Collectors (java.util.stream)
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 12 Jupyter Notebook extensions
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