pysal.lib.weights.build_lattice_shapefile

pysal.lib.weights.build_lattice_shapefile(nrows, ncols, outFileName)[source]

Build a lattice shapefile with nrows rows and ncols cols.

Parameters:
nrows : int

Number of rows

ncols : int

Number of cols

outFileName : str

shapefile name with shp suffix

Returns:
None