https://hexbinning.vercel.app/
blog post - https://www.c-sharpcorner.com/blogs/how-to-create-hex-binning-for-data-analysis
This repositoy contains commonly used geo-jsons which serve as base layer for analysis.
This geojson consists of hex grid with hex size of 100km with world extent. It is in EPSG 4326 WGS84 project system. This grid can be used as base layer for analysis based on requirment. Eg to represent heat maps, aggregation maps, hexbinning etc. The location can be anywhere on land or in sea.
This geojson is same as above but clipped to country boundaries. This layer can serve as base layer for locations inside country boundaries on land.
- Select "create grid" from reasearch tools in QGIS as shown
- for 100km hex grid select 1 degree overlay. (approx 1 degress = 111 Kms)
- Click "Run" button to create the hex grid with map extent
- Load a simple world datasets.
- select intersection from QGIS
- Click "Run" to get clipped hex layer.
- If you need a complete Hex even at the edges, then save the clicked Hex layer as CSV file without geometries and open the csv file to copy all the IDs.
- Now Filter the original hex layer before intersection with the IDs from csv. Save the filtered hex to new dataset file.
All the above steps were run to create the hex-grid-100km-worldextent_clipped.geojson file.