Hi, Currently, I'm using gdal and ogr to convert a map after classification into a point shape file. Since the classification map typically consists of zones, a polygon shape file would make more sense. I'm wondering if anyone would know or share the idea of how to convert a map into a polygon shape file directly. Thanks Xiaodong