Knowing the (geometric) covariogram of a convex body is equivalent to knowing, for each direction u, the distribution of the lengths of the chords of that body which are parallel to u. We prove that the covariogram determines convex polygons, among all convex bodies, up to translation and reflection. This gives a partial answer to a problem posed by Matheron.