Two new coordination polymers [Dy-3(PDA)(4)(HO)(H2O)(2)]center dot 6H(2)O (1) H-2[(H3O)Sm-3(PDA)(6)]center dot 14H(2)O (2) (H(2)PDA = 2,4-pyridinedicarboxylic acid), have been hydrothermally synthesized and characterized by elemental analysis, IR, TG, XRD as well as single-crystal X-ray diffraction. They display different three-dimensional coordination frameworks, in which 2,4-PDA exhibits mu(4)-(kappa N-5,O-2:O-2 ':O-4:O-4 '), mu(4)-(kappa N-5,O-2:O-2,O-2 ':O-4:O-4 ') and mu(1)-(kappa N-5,O-2) coordination modes. Their topological structures have been analyzed. It is interesting that they have the same topological structure. The luminescence properties of 1 and 2 were determined with solid samples. They show the exclusive luminescence emission of Dy(III) or Sm(III) ions, respectively. The magnetic properties of 1 were also studied. It displays antiferromagnetic Dy(III)center dot center dot center dot Dy(III) interactions. CCDC 1945187 and 1945188 for complexes 1 and 2, respectively.