Generates a hexagonal grid of coordinates covering Brazilian cities for general purpose (e.g., solar energy analysis).
- OOP-based processing of cities/states (
city,state,countryclasses). - Parallelized grid generation using
multiprocessing. - Adjustable hexagon radius.
- Visualization with Matplotlib (optional).
from src.hexgrid import hexgrid_generator
hexgrid_generator(radius=1.35) # Saves to /outputs/Brasilfrom src.hexgrid import hexgrid_plot
hexgrid_plot() # Saves PNGs to /outputs/plots/[STATE]/[CITY].pngThe geographic data used in this project comes from IBGE's BC250 series.
