public abstract class BaseGDALGridFormat extends AbstractGridFormat implements Format
Format, to be extended by Formats leveraging on GDAL.| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | BaseGDALGridFormat.InfoWrapper | 
| Modifier and Type | Field and Description | 
|---|---|
| protected static GeneralParameterDescriptor[] | PARAM_DESCRIPTORBase Parameter Descriptor | 
| static DefaultParameterDescriptor<Boolean> | USE_MULTITHREADINGThis  GeneralParameterValuecan be provided to theGridCoverageReaders through
 theGridCoverageReader.read(GeneralParameterValue[])method in order to specify to
 use multithreading when leveraging on a JAI ImageRead operation. | 
BACKGROUND_COLOR, BANDS, DECIMATION_POLICY, ELEVATION, FOOTPRINT_BEHAVIOR, GEOTOOLS_WRITE_PARAMS, INPUT_TRANSPARENT_COLOR, INTERPOLATION, mInfo, OVERVIEW_POLICY, PROGRESS_LISTENER, READ_GRIDGEOMETRY2D, readParameters, SUGGESTED_TILE_SIZE, TILE_SIZE_SEPARATOR, TIME, USE_JAI_IMAGEREAD, writeParameters| Modifier | Constructor and Description | 
|---|---|
| protected  | BaseGDALGridFormat(ImageReaderSpi spi)Constructor for the  BaseGDALGridFormat. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | accepts(Object input,
       Hints hints)Tells me if this  Formatcan read the providedinput. | 
| GeoToolsWriteParams | getDefaultImageIOWriteParameters()Returns an instance of  ImageWriteParamthat can be used to control a subsequentGridCoverageWriter.write(org.opengis.coverage.grid.GridCoverage,
 org.opengis.parameter.GeneralParameterValue[]);
 Be careful with using theImageWriteParamsince their usage is still experimental. | 
| protected static ParameterGroup | getDefaultParameterGroup(Map<String,String> mInfo)Return a ParameterGroup with default General Parameter Descriptors. | 
| AbstractGridCoverage2DReader | getReader(Object source)Gets a  GridCoverageReaderfor this format able to create coverages out of the
 sourceobject. | 
| GridCoverageWriter | getWriter(Object destination)Retrieves a  GridCoverageWritersuitable for writing to the provideddestination
 with this format. | 
| GridCoverageWriter | getWriter(Object destination,
         Hints hints)Call the accepts() method before asking for a writer to determine if the current object is
 supported. | 
| protected abstract void | setInfo()Each plugin needs to implement this method defining format specific properties | 
| protected void | setInfo(BaseGDALGridFormat.InfoWrapper infoWrapper) | 
accepts, equals, getDefaultCRS, getDescription, getDocURL, getName, getReader, getReadParameters, getVendor, getVersion, getWriteParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameterspublic static final DefaultParameterDescriptor<Boolean> USE_MULTITHREADING
GeneralParameterValue can be provided to the GridCoverageReaders through
 the GridCoverageReader.read(GeneralParameterValue[]) method in order to specify to
 use multithreading when leveraging on a JAI ImageRead operation. This will be achieved with
 the use of the ImageReadMT operation of the ImageIO-Ext.protected static final GeneralParameterDescriptor[] PARAM_DESCRIPTOR
protected BaseGDALGridFormat(ImageReaderSpi spi)
BaseGDALGridFormat. It is invoked by the underlying
 implementations.spi - the format specific ImageReaderSpi instanceprotected abstract void setInfo()
public GridCoverageWriter getWriter(Object destination)
AbstractGridFormatGridCoverageWriter suitable for writing to the provided destination
  with this format.
 In case no writers are available null is returned.
getWriter in class AbstractGridFormatdestination - The destinatin where to write.GridCoverageWriter suitable for writing to the provided destination
      with this format.Actually, the plugin does not support write capabilities. The method throws an {@code
     UnsupportedOperationException}.
public GeoToolsWriteParams getDefaultImageIOWriteParameters()
AbstractGridFormatImageWriteParam that can be used to control a subsequent
 GridCoverageWriter.write(org.opengis.coverage.grid.GridCoverage,
 org.opengis.parameter.GeneralParameterValue[]);
 Be careful with using the ImageWriteParam since their usage is still experimental.
getDefaultImageIOWriteParameters in class AbstractGridFormatImageWriteParam.Actually, the plugin does not support write capabilities. The method throws an {@code
     UnsupportedOperationException}.
public GridCoverageWriter getWriter(Object destination, Hints hints)
AbstractGridFormatgetWriter in class AbstractGridFormatdestination - the destination object to write a WorldImage tohints - Hints to control the internal machinery.Actually, the plugin does not support write capabilities. The method throws an {@code
     UnsupportedOperationException}.
public boolean accepts(Object input, Hints hints)
AbstractGridFormatFormat can read the provided input.accepts in class AbstractGridFormathints - Hints to control the accepts internal machinery.org.geotools.data.coverage.grid.AbstractGridFormat#accepts(java.lang.Object input)protected static ParameterGroup getDefaultParameterGroup(Map<String,String> mInfo)
mInfo - Set of properties infoParameterGroup with Default GeneralParameterDescriptors.public AbstractGridCoverage2DReader getReader(Object source)
AbstractGridFormatGridCoverageReader for this format able to create coverages out of the 
 source object.
 In case this Format cannot reader the provided source object 
 null is returned.
getReader in class AbstractGridFormatsource - The source object to parse.Format or null.org.geotools.data.coverage.grid.AbstractGridFormat#getReader(Object source)protected void setInfo(BaseGDALGridFormat.InfoWrapper infoWrapper)
Copyright © 1996–2019 Geotools. All rights reserved.