convert a shapefile to a raster heightmap based on an attribute