Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hobuinc/hexer
LAS and OGR hexagonal density and boundary surface generation
https://github.com/hobuinc/hexer
Last synced: 5 days ago
JSON representation
LAS and OGR hexagonal density and boundary surface generation
- Host: GitHub
- URL: https://github.com/hobuinc/hexer
- Owner: hobuinc
- License: other
- Created: 2013-04-08T14:15:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-07-23T19:29:43.000Z (4 months ago)
- Last Synced: 2024-08-06T16:10:46.685Z (3 months ago)
- Language: C++
- Homepage:
- Size: 8.43 MB
- Stars: 61
- Watchers: 6
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-starred - hobuinc/hexer - LAS and OGR hexagonal density and boundary surface generation (others)
README
# Hexer - Hexbin density and boundary generation
Hexer is a [LGPL] C++ library that provides some classes for generating
hexbin density surfaces and [multipolygon] boundaries for large point sets. I use
the code for generating boundary polygons of large [LiDAR] collections, but it is
useful in other contexts.Hexer also offers support for creating boundaries and density surfaces using Uber's [H3]
geospatial indexing library. By specifying --grid h3, points can be summarized
inside of H3's existing global hexagon grid. H3 [resolution] can be specified with -r,
or Hexer can calculate an appropriate cell size based on the input. H3 processing
currently only supports .LAS and .LAZ files with WGS84 (EPSG:4326) CRS.Hexer supports two operations at this time, density and boundary. You
use hexer through the curse command:```
[howardbutler@ardere hexer (master)]$ ./bin/curse --help
--------------------------------------------------------------------
curse (hexer 1.4.0 at revision e2d559 with GDAL 3.9.1)
--------------------------------------------------------------------
command [boundary]
Command to run on points ('boundary' or 'density')input
Input point set to curseoutput, o []
Specify an OGR-compatible output filename to write boundary. stdout used if none specified.edge [0]
Edge distance of hexagon (hexgrid only)count [0]
Number of points that must be in polygon for it to be positive spaceresolution, r [-1]
H3 grid resolution: 0 (coarsest) - 15 (finest)grid [hexgrid]
Grid type ('hexgrid' or 'h3'): proprietary HexGrid hexagons, or H3 indexed gridFor more information, see the full documentation for hexer at:
http://github.com/hobu/hexer```
### H3 Processing
```
$ curse density mylasfile.las --output myhexagons.shp --grid h3
$ curse boundary mylasfile.las --output myboundary.shp --grid h3 -r 12
```### Default Processing
```
$ curse boundary mypointfile.shp --output myboundary.shp
$ curse density mylasfile.las --output myhexagons.shp --edge 100
```[LGPL]: http://www.gnu.org/licenses/lgpl-2.1.html
[LiDAR]: https://en.wikipedia.org/wiki/LIDAR
[multipolygon]: http://en.wikipedia.org/wiki/Well-known_text
[H3]: https://h3geo.org/
[resolution]: https://h3geo.org/docs/core-library/restable[map]: http://a.tiles.mapbox.com/v3/hobu.serpent-mound.html#16.00/39.0346/-83.4353