The present invention relates to a figure encoder for encoding figures primarily comprised of lines, such as drawings or maps, so as to facilitate registration of such figures to computers and, more particularly, to such a figure encoder especially suitable for closed figures.