Creates a grid.
Grid type.
Options:
Default: 0
Horizontal extent of the grid.
Default: 360.0
Vertical extent of the grid.
Default: 180.0
X-axes spacing between the lines.
Default: 10.0
Y-axes spacing between the lines.
Default: 10.0
X-coordinate of the grid center.
Default: 0.0
Y-coordinate of the grid center.
Default: 0.0
Coordinate reference system for grid.
Default: EPSG:4326
processing.runalg('qgis:creategrid', type, width, height, hspacing, vspacing, centerx, centery, crs, output)