rdf4j-postgis
Version 0.1.0.0
|
WKB Raster Writer, used in postGIS 2 but can be used elsewhere. More...
Public Member Functions | |
WKBRasterWriter () | |
void | reset () |
Reset values before new write call. More... | |
byte[] | write (final GridCoverage coverage) throws IOException, FactoryException |
Encode given coverage in Postgis WKB. More... | |
void | write (final GridCoverage coverage, final OutputStream stream) throws IOException, FactoryException |
Encode given coverage in Postgis WKB. More... | |
void | write (final GridCoverage coverage, final OutputStream stream, final boolean littleEndian) throws IOException, FactoryException |
Encode given coverage in Postgis WKB. More... | |
byte[] | write (final RenderedImage image, final AffineTransform gridToCRS, final int srid) throws IOException |
Encode given image in Postgis WKB. More... | |
byte[] | write (final Raster image, final AffineTransform gridToCRS, final int srid) throws IOException |
Encode given image in Postgis WKB. More... | |
void | write (final RenderedImage image, AffineTransform gridToCRS, final int srid, final OutputStream stream) throws IOException |
Encode given image in Postgis WKB. More... | |
void | write (final Raster image, AffineTransform gridToCRS, final int srid, final OutputStream stream) throws IOException |
Encode given image in Postgis WKB. More... | |
void | write (final Raster image, AffineTransform gridToCRS, final int srid, OutputStream stream, final boolean littleEndian) throws IOException |
Encode given image in Postgis WKB. More... | |
WKB Raster Writer, used in postGIS 2 but can be used elsewhere.
WKBRasterWriter | ( | ) |
byte [] write | ( | final GridCoverage | coverage | ) | throws IOException, FactoryException |
Encode given coverage in Postgis WKB.
coverage | : grid coverage 2d , not null |
IOException |
Referenced by HexWKBRastDatatype.unparse(), WKBRastDatatype.unparse(), WKBRasterWriter.write(), and WKBRasterImageWriter.write().
void write | ( | final GridCoverage | coverage, |
final OutputStream | stream | ||
) | throws IOException, FactoryException |
Encode given coverage in Postgis WKB.
coverage | : grid coverage 2d , not null |
stream | : output stream to write in |
IOException |
References WKBRasterWriter.write().
void write | ( | final GridCoverage | coverage, |
final OutputStream | stream, | ||
final boolean | littleEndian | ||
) | throws IOException, FactoryException |
Encode given coverage in Postgis WKB.
coverage | : grid coverage 2d , not null |
stream | : output stream to write in |
littleEndian | : wanted value encoding |
IOException |
References WKBRasterWriter.write().
void write | ( | final Raster | image, |
AffineTransform | gridToCRS, | ||
final int | srid, | ||
final OutputStream | stream | ||
) | throws IOException |
Encode given image in Postgis WKB.
image | : image , not null |
gridToCRS | : image grid to crs, can be null |
srid | : image srid |
stream | : output stream to write in |
IOException |
References WKBRasterWriter.write().
void write | ( | final Raster | image, |
AffineTransform | gridToCRS, | ||
final int | srid, | ||
OutputStream | stream, | ||
final boolean | littleEndian | ||
) | throws IOException |
Encode given image in Postgis WKB.
image | : image , not null |
gridToCRS | : image grid to crs, can be null |
srid | : image srid |
stream | : output stream to write in |
littleEndian | : wanted value encoding |
IOException |
References WKBRasterConstants.getNbBytePerPixel(), and WKBRasterConstants.getPixelType().
byte [] write | ( | final Raster | image, |
final AffineTransform | gridToCRS, | ||
final int | srid | ||
) | throws IOException |
Encode given image in Postgis WKB.
image | : image , not null |
gridToCRS | : image grid to crs, can be null |
srid | : image srid |
IOException |
References WKBRasterWriter.write().
void write | ( | final RenderedImage | image, |
AffineTransform | gridToCRS, | ||
final int | srid, | ||
final OutputStream | stream | ||
) | throws IOException |
Encode given image in Postgis WKB.
image | : image , not null |
gridToCRS | : image grid to crs, can be null |
srid | : image srid |
stream | : output stream to write in |
IOException |
References WKBRasterWriter.write().
byte [] write | ( | final RenderedImage | image, |
final AffineTransform | gridToCRS, | ||
final int | srid | ||
) | throws IOException |
Encode given image in Postgis WKB.
image | : image , not null |
gridToCRS | : image grid to crs, can be null |
srid | : image srid |
IOException |
References WKBRasterWriter.write().