readLineStringText method
Creates a LineString
using the next token in the stream.
@param tokenizer tokenizer over a stream of text in Well-known Text
format. The next tokens must form a <LineString Text>.
@return a LineString
specified by the next
token in the stream
@throws IOException if an I/O error occurs
@throws ParseException if an unexpected token was encountered
Implementation
LineString readLineStringText(
WKTTokenizer tokenizer, List<Ordinate> ordinateFlags) {
return geometryFactory
.createLineStringSeq(getCoordinateSequence(tokenizer, ordinateFlags));
}