iwfm.gis.shp2png_poly¶ iwfm.gis.shp2png_poly(shape, outfile, iwidth=800, iheight=600)[source]¶ Convert a shapefile to a raster and save as a PNG file, filling in polygon holes. Parameters: shape (str) – input shapefile name outfile (str) – PNG image output file name iwidth (int, default=800) – image width in pixels iheight (int, default=600) – image height in pixels Return type: nothing