private static void WritePolygonContents(ShapeData polygon, StringBuilder sb, bool includeZ, bool includeM, CoordinateOrder order)
 {
     sb.Append('(');
     WriteCoordinateCollection(GetVertices(polygon.GetRing(0)), sb, includeZ, includeM, order);
     for (int i = 0; i < polygon.NumInteriorRing; i++)
     {
         sb.Append("),(");
         WriteCoordinateCollection(GetVertices(polygon.GetRing(i + 1)), sb, includeZ, includeM, order);
     }
     sb.Append(')');
 }
 private static void WriteMultiLineString(ShapeData lines, StringBuilder sb, bool includeZ, bool includeM, CoordinateOrder order)
 {
     sb.Append('(');
     for (int i = 0; i < lines.NumGeometries; i++)
     {
         if (i > 0)
         {
             sb.Append("),(");
         }
         WriteCoordinateCollection(GetVertices(lines.GetRing(i)), sb, includeZ, includeM, order);
     }
     sb.Append(")");
 }