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:
nrowsint

Number of rows

ncolsint

Number of cols

outFileNamestr

shapefile name with shp suffix

Returns:
None