Class RasterFormat
java.lang.Object
org.apache.sis.internal.sql.postgis.RasterFormat
- Direct Known Subclasses:
RasterReader
,RasterWriter
Base class of reader and writer of rasters encoded in PostGIS Well Known Binary (WKB) format.
This format is specific to PostGIS 2 (this is not yet an OGC standard at the time of writing this class),
but it can nevertheless be used elsewhere. We do not use "WKB" in the class name because this class would
be more accurately named "PostGIS raster format" rather than "Well Known Binary raster format".
Multi-threading
This class is not safe for multi-threading. Furthermore, if a non-nullInfoStatements
has been specified to the constructor,
then this object is valid only as long as the caller holds a connection to the database.- Since:
- 1.2
- Version:
- 1.2
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final org.opengis.referencing.datum.PixelInCell
Whether the "grid to CRS" transform maps to pixel center or pixel corner.(package private) final InfoStatements
The object to use for building CRS from or mapping a CRS to the"spatial_ref_sys"
table. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ANCHOR
static final org.opengis.referencing.datum.PixelInCell ANCHORWhether the "grid to CRS" transform maps to pixel center or pixel corner. WKB specification said that the "grid to CRS" translation coefficients maps to upper-left pixel's upper-left corner. -
spatialRefSys
The object to use for building CRS from or mapping a CRS to the"spatial_ref_sys"
table. Can benull
, which means to use the#srid
as EPSG codes.- See Also:
-
-
Constructor Details
-
RasterFormat
RasterFormat(InfoStatements spatialRefSys) Creates a new reader or writer.- Parameters:
spatialRefSys
- the object to use for building CRS from or mapping CRS to the"spatial_ref_sys"
table, ornull
for using the SRID as EPSG codes.
-