public synchronized String writeHexed(Geometry geom) { return writeHexed(geom, ValueSetter.NDR.NUMBER); }
public String getValue() { return bw.writeHexed(geom); }
public synchronized String writeHexed(Geometry geom) { return writeHexed(geom, ValueSetter.NDR.NUMBER); }
public String getValue() { return bw.writeHexed(geom); }
/** * Writes data to the output file. * * @param data * The data to be written. */ public void writeField(Geometry data) { initialize(); try { separateField(); if (data == null) { writer.write(escapeString(null)); } else { writer.write(postgisBinaryWriter.writeHexed(data)); } } catch (IOException e) { throw new OsmosisRuntimeException("Unable to write value (" + data + ")", e); } }
/** * Writes data to the output file. * * @param data * The data to be written. */ public void writeField(Geometry data) { initialize(); try { separateField(); if (data == null) { writer.write(escapeString(null)); } else { writer.write(postgisBinaryWriter.writeHexed(data)); } } catch (IOException e) { throw new OsmosisRuntimeException("Unable to write value (" + data + ")", e); } }