kiwi-postgis  Version 0.1.0.0
HexWKBRastDatatype Class Reference
Inheritance diagram for HexWKBRastDatatype:
Collaboration diagram for HexWKBRastDatatype:

Public Member Functions

GridCoverage read (String geometryLiteral)
 
String toString ()
 
String unparse (GridCoverage geom)
 

Static Public Attributes

static final String URI = POSTGIS.HexWKBRaster
 
static final HexWKBRastDatatype INSTANCE =new HexWKBRastDatatype()
 

Member Function Documentation

◆ read()

GridCoverage read ( String  geometryLiteral)

Referenced by RastFromHexWKB.construct().

24  {
25  /*WKBRasterReader reader2=new WKBRasterReader();
26  BufferedImage img=reader2.read(WKBReader.hexToBytes(geometryLiteral));
27  GridCoverage coverage=reader2.readCoverage(WKBReader.hexToBytes(geometryLiteral), CRS.forCode("EPSG:4326"));
28  return coverage;*/
29  return null;
30  }

◆ toString()

String toString ( )
33  {
34  return "HexWKBRasterDatatype{" + URI + '}';
35  }

◆ unparse()

String unparse ( GridCoverage  geom)

Referenced by AsHexWKB.operation().

39  {
40  /*
41  WKBRasterWriter writer=new WKBRasterWriter();
42  String rasterWKB;
43  try {
44  rasterWKB = WKBWriter.toHex(writer.write((GridCoverage) geom)).toString();
45  return rasterWKB.toString();
46  } catch (IOException | FactoryException e) {
47  throw new AssertionError(e.getMessage());
48  }*/
49  return null;
50  }

Member Data Documentation

◆ INSTANCE

◆ URI

final String URI = POSTGIS.HexWKBRaster
static