libpysal.weights.build_lattice_shapefile

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

Build a lattice shapefile with nrows rows and ncols cols.

Parameters:
nrowspython:int

Number of rows

ncolspython:int

Number of cols

outFileNamepython:str

shapefile name with shp suffix

Returns:
python:None