original_docstring: Converts a vector containing polygons into a raster.
  
          Keyword arguments:
  
          i -- Input vector polygons file. 
          field -- Input field name in attribute table. 
          output -- Output raster file. 
          nodata -- Background value to set to NoData. Without this flag, it will be set to 0.0. 
          cell_size -- Optionally specified cell size of output raster. Not used when base raster is specified. 
          base -- Optionally specified input base raster file. Not used when a cell size is specified. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Converts a vector containing polygons into a raster.
  Keyword arguments.
  
  - Input vector polygons file.
  field -- Input field name in attribute table.
  output -- Output raster file.
  nodata -- Background value to set to NoData. Without this flag, it will be set to 0.0.
  cell_size -- Optionally specified cell size of output raster. Not used when base raster is specified.
  base -- Optionally specified input base raster file. Not used when a cell size is specified.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Converts a vector containing polygons into a raster . Keyword arguments . - Input vector polygons file . field -- Input field name in attribute table . output -- Output raster file . nodata -- Background value to set to NoData . Without this flag it will be set to 0 . 0 . cell_size -- Optionally specified cell size of output raster . Not used when base raster is specified . base -- Optionally specified input base raster file . Not used when a cell size is specified . callback -- Custom functon for handling tool text outputs .
code: def vector_polygons_to_raster(self, i, output, field="FID", nodata=True, cell_size=None, base=None, callback=default_callback):
          """Converts a vector containing polygons into a raster.
  
          Keyword arguments:
  
          i -- Input vector polygons file. 
          field -- Input field name in attribute table. 
          output -- Output raster file. 
          nodata -- Background value to set to NoData. Without this flag, it will be set to 0.0. 
          cell_size -- Optionally specified cell size of output raster. Not used when base raster is specified. 
          base -- Optionally specified input base raster file. Not used when a cell size is specified. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--input='{}'".format(i))
          args.append("--field={}".format(field))
          args.append("--output='{}'".format(output))
          if nodata: args.append("--nodata")
          if cell_size is not None: args.append("--cell_size='{}'".format(cell_size))
          if base is not None: args.append("--base='{}'".format(base))
          return self.run_tool('vector_polygons_to_raster', args, callback)
code_tokens: def vector_polygons_to_raster ( self , i , output , field = "FID" , nodata = True , cell_size = None , base = None , callback = default_callback ) : args = [ ] args . append ( "--input='{}'" . format ( i ) ) args . append ( "--field={}" . format ( field ) ) args . append ( "--output='{}'" . format ( output ) ) if nodata : args . append ( "--nodata" ) if cell_size is not None : args . append ( "--cell_size='{}'" . format ( cell_size ) ) if base is not None : args . append ( "--base='{}'" . format ( base ) ) return self . run_tool ( 'vector_polygons_to_raster' , args , callback )
short_docstring: Converts a vector containing polygons into a raster.
short_docstring_tokens: Converts a vector containing polygons into a raster .
comment: """Converts a vector containing polygons into a raster.
  
          Keyword arguments:
  
          i -- Input vector polygons file. 
          field -- Input field name in attribute table. 
          output -- Output raster file. 
          nodata -- Background value to set to NoData. Without this flag, it will be set to 0.0. 
          cell_size -- Optionally specified cell size of output raster. Not used when base raster is specified. 
          base -- Optionally specified input base raster file. Not used when a cell size is specified. 
          callback -- Custom functon for handling tool text outputs.
          """