示例#1
0
        /// <summary>
        /// Converts MultiPoint to WKT format and appends WKT representation to the output stream.
        /// </summary>
        /// <param name="multipoint">The MultiPoint to be converted.</param>
        /// <param name="writer">The output Stream to Append WKT representation to.</param>
        private static void AppendMultiPointTaggedText(IMultiPoint multipoint, TextWriter writer)
        {
            writer.Write("multipoint ");

            string dimension = WktWriter.GetDimensionText(multipoint);

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

            WktWriter.AppendMultiPointText(multipoint, writer);
        }