congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
OutputType.setFormat
Code IndexAdd Tabnine to your IDE (free)

How to use
setFormat
method
in
net.opengis.wcs11.OutputType

Best Java code snippets using net.opengis.wcs11.OutputType.setFormat (Showing top 3 results out of 315)

origin: org.geoserver/wcs1_1

private OutputType parseOutputElement(Map kvp) throws Exception {
  final OutputType output = Wcs111Factory.eINSTANCE.createOutputType();
  output.setGridCRS(Wcs111Factory.eINSTANCE.createGridCrsType());
  // check and set store
  Boolean store = (Boolean) kvp.get("store");
  if (store != null)
    output.setStore(store.booleanValue());
  // check and set format
  String format = (String) kvp.get("format");
  if (format == null)
    throw new WcsException("format parameter is mandatory", MissingParameterValue, "format");
  output.setFormat(format);
  // set the other gridcrs properties
  final GridCrsType gridCRS = output.getGridCRS();
  gridCRS.setGridBaseCRS((String) kvp.get("gridBaseCrs"));
  gridCRS.setGridType((String) kvp.get("gridType"));
  gridCRS.setGridCS((String) kvp.get("gridCS"));
  gridCRS.setGridOrigin((Double[]) kvp.get("GridOrigin"));
  gridCRS.setGridOffsets((Double[]) kvp.get("GridOffsets"));
  return output;
}
origin: org.geoserver/gs-wcs1_1

  throw new WcsException(
      "format parameter is mandatory", MissingParameterValue, "format");
output.setFormat(format);
origin: org.geoserver/gs-wcs2_0

private WCS2GetCoverageRequestBuilder() {
  getCoverageType = Wcs20Factory.eINSTANCE.createGetCoverageType();
  wcs111GetCoverage = Wcs11Factory.eINSTANCE.createGetCoverageType();
  wcs111GetCoverage.setVersion("1.1.1");
  OutputType outputType = Wcs11Factory.eINSTANCE.createOutputType();
  outputType.setFormat("image/tiff");
  wcs111GetCoverage.setOutput(outputType);
  getCoverageType.setVersion("2.0.0");
  getCoverageType.setFormat("image/tiff");
}
net.opengis.wcs11OutputTypesetFormat

Javadoc

Sets the value of the ' net.opengis.wcs11.OutputType#getFormat' attribute.

Popular methods of OutputType

  • getFormat
    Returns the value of the 'Format' attribute. Identifier of the format in which GetCoverage response
  • getGridCRS
    Returns the value of the 'Grid CRS' containment reference. Optional definition of the GridCRS in whi
  • isStore
    Returns the value of the 'Store' attribute. The default value is "false". Specifies if the output c
  • setGridCRS
    Sets the value of the ' net.opengis.wcs11.OutputType#getGridCRS' containment reference.
  • setStore
    Sets the value of the ' net.opengis.wcs11.OutputType#isStore' attribute.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • scheduleAtFixedRate (Timer)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now