Opisometer

An opisometer, also called a curvimeter, meilograph, or map measurer, is an instrument for measuring the lengths of arbitrary curved lines.
A simple opisometer consists of a toothed wheel of known circumference on a handle. The wheel is placed in contact with the curved line to be measured and run along its length. By counting the number of teeth passing a mark on the handle while this is done, the length of the line can be ascertained: