|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractGridFormat
ArcGridFormat
public final class ArcGridFormat
An implementation a Format
for the ASCII grid ESRI and GRASS format.
Field Summary | |
---|---|
static DefaultParameterDescriptor<Boolean> |
FORCE_CELLSIZE
Indicates whether we ask the plugin to resample the coverage to have dx==dy |
static DefaultParameterDescriptor<Boolean> |
GRASS
Indicates whether the arcgrid data must be written in GRASS format |
Constructor Summary | |
---|---|
ArcGridFormat()
Creates an instance and sets the metadata. |
Method Summary | |
---|---|
boolean |
accepts(Object input,
Hints hints)
Tells me if this Format can read the provided input . |
GeoToolsWriteParams |
getDefaultImageIOWriteParameters()
Retrieves the default instance for the ArcGridFormat of the
GeoToolsWriteParams to control the writing process. |
ArcGridReader |
getReader(Object source)
Gets a GridCoverageReader for this format able to create
coverages out of the source object. |
ArcGridReader |
getReader(Object source,
Hints hints)
Gets a GridCoverageReader for this format able to create
coverages out of the source object using the provided
hints . |
GridCoverageWriter |
getWriter(Object destination)
Retrieves a GridCoverageWriter suitable for writing to the
provided destination 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. |
Methods inherited from class AbstractGridFormat |
---|
accepts, equals, getDefaultCRS, getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Format |
---|
getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters |
Field Detail |
---|
public static final DefaultParameterDescriptor<Boolean> GRASS
public static final DefaultParameterDescriptor<Boolean> FORCE_CELLSIZE
Constructor Detail |
---|
public ArcGridFormat()
Method Detail |
---|
public ArcGridReader getReader(Object source)
AbstractGridFormat
GridCoverageReader
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 AbstractGridFormat
source
- The source object to parse.
Format
or null.org.geotools.data.coverage.grid.AbstractGridFormat#getReader(Object
source)
public GridCoverageWriter getWriter(Object destination)
AbstractGridFormat
GridCoverageWriter
suitable for writing to the
provided destination
with this format.
In case no writers are availaible null
is returned.
getWriter
in class AbstractGridFormat
destination
- The destinatin where to write.
GridCoverageWriter
suitable for writing to the provided
destination
with this format.org.geotools.data.coverage.grid.AbstractGridFormat#createWriter(java.lang.Object
destination)
public GridCoverageWriter getWriter(Object destination, Hints hints)
AbstractGridFormat
getWriter
in class AbstractGridFormat
destination
- the destination object to write a WorldImage tohints
- Hints
to control the internal machinery.
org.geotools.data.coverage.grid.AbstractGridFormat#createWriter(java.lang.Object
destination,Hints hints)
public boolean accepts(Object input, Hints hints)
AbstractGridFormat
Format
can read the provided input
.
accepts
in class AbstractGridFormat
hints
- Hints
to control the accepts internal machinery.
org.geotools.data.coverage.grid.AbstractGridFormat#accepts(Object
input)
public ArcGridReader getReader(Object source, Hints hints)
AbstractGridFormat
GridCoverageReader
for this format able to create
coverages out of the source
object using the provided
hints
.
In case this Format
cannot reader the provided
source
object null
is returned.
getReader
in class AbstractGridFormat
source
- The source object to parse. *hints
- The Hints
to use when trying to instantiate this
reader.
Format
or null.org.geotools.data.coverage.grid.AbstractGridFormat#getReader(Object,
Hints)
public GeoToolsWriteParams getDefaultImageIOWriteParameters()
ArcGridFormat
of the
GeoToolsWriteParams
to control the writing process.
getDefaultImageIOWriteParameters
in class AbstractGridFormat
ArcGridFormat
of the
GeoToolsWriteParams
to control the writing process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |