Beispiel #1
0
        /// <summary>
        /// Converts MultiLineString to WKT format and appends WKT representation to the output stream.
        /// </summary>
        /// <param name="mls">The MultiLineString to be converted.</param>
        /// <param name="writer">The output Stream to Append WKT representation to.</param>
        private static void AppendMultiLineStringTaggedText(IMultiLineString mls, TextWriter writer)
        {
            writer.Write("multilinestring ");

            string dimension = WktWriter.GetDimensionText(mls);

            if (string.IsNullOrEmpty(dimension) == false)
            {
                writer.Write(dimension);
                writer.Write(" ");
            }

            WktWriter.AppendMultiLineStringText(mls, writer);
        }