Is that a method to remove duplicate point in a shapefile

Sep 5, 2011 at 10:50 PM

I plan to build KD-Tree for a given shapefile, however I encountered the exception on  DotSpatial.Topology.KDTree.KeyDuplicateException:   which indicated that the key already exists in the tree, Is there a method in the DotSpatial.Topology or elsewhere which can be used to remove the duplicate points?