iwfm.gis.shp2png

iwfm.gis.shp2png(shape, outname, iwidth=400, iheight=600)[source]

Convert a shapefile to a raster and save as a png file - including white fill.

Parameters:
  • shape (str) – shapefile name

  • outname (str) – output PNG file name

  • iwidth (int, default=400) – width of image in pixels

  • iheight (int, default=600) – height of image in pixels

Return type:

nothing