geoterminal Documentation

geoterminal is a powerful Python library for geospatial data processing and H3 operations. It provides a simple and efficient interface for working with various geospatial file formats and performing common geometric operations.

Key Features

  • File Format Support: GeoJSON, Shapefile, CSV, ORC, and WKT
  • Geometry Operations: Buffer, intersect, simplify, centroids, and more!
  • Data Operations: Query filtering using pandas syntax
  • H3 Integration: Hexagonal hierarchical geospatial indexing
  • Command Line Interface: Easy-to-use CLI with operation chaining
  • Inspection Tools: Head, tail, shape, data types, and CRS information

Quick Start

# Install geoterminal
pip install geoterminal

# Process a file
geoterminal input.shp output.geojson

# Process a WKT string
geoterminal "POLYGON((30 10, 40 40, 20 40, 10 20, 30 10))" output.geojson

# Apply a buffer of 1000 meters and convert to H3 cells
geoterminal input.shp output.geojson --buffer-size 1000 --h3-res 6

# Chain operations to find urban centers in a specific country
geoterminal cities.shp centers.wkt \
    --query "country == 'Country A'" \
    --query "population > 1000000" \
    --centroid

Documentation Sections

Support

If you need help or have questions:

  1. Open an issue on GitHub
  2. Join our community discussions

License

geoterminal is released under the MIT License. See the LICENSE file for details.