osbng.grids.bng_grid_1km#
- osbng.grids.bng_grid_1km: Iterator[dict[str, Any]] = <generator object bbox_to_bng_iterfeatures>#
Iterator of GeoJSON-like Features for all 1km BNG grid squares within
BNG_BOUNDS.Each yielded dictionary implements the
__geo_interface__for a single 1km BNG grid square and corresponds to aBNGReferenceat 1km resolution .Notes
No Features are generated until the iterator is consumed.
Convert to a list (
list(bng_grid_1km)) to trigger Feature generation.Pass directly to
gpd.GeoDataFrame.from_featuresforGeoDataFrameconstruction.