A PostgreSQL function that will create hexagonal bins of side length X bounding a collection of polygon geometry.