Output source/target grid points/polygons to ESRI_Shapefile
target layer features are attributed with source index and weight
- Parameters:
filename (str) – path to shape-filename
driver (str) – OGR Vector Driver String, defaults to ‘ESRI Shapefile’
remove (bool) – if True, existing file will be removed before creation