Converts polygon features to a raster dataset.