appendLineStringTaggedText method
void
appendLineStringTaggedText(
- LineString lineString,
- List<
Ordinate> outputOrdinates, - bool useFormatting,
- int level,
- StringBuffer writer,
- NumberFormat formatter,
Converts a LineString
to <LineString Tagged Text>
format, then appends it to the writer.
@param lineString the LineString
to process
@param useFormatting flag indicating that the output should be formatted
@param level the indentation level
@param writer the output writer to append to
@param formatter the NumberFormatter
to use to convert
from a precise coordinate to an external coordinate
Implementation
void appendLineStringTaggedText(
LineString lineString,
List<Ordinate> outputOrdinates,
bool useFormatting,
int level,
StringBuffer writer,
NumberFormat formatter) {
writer.write("LINESTRING ");
appendOrdinateText(outputOrdinates, writer);
appendSequenceText(lineString.getCoordinateSequence(), outputOrdinates,
useFormatting, level, false, writer, formatter);
}