function to convert a pc_patch to a postgsi raster. Experimental!