GisForWeb
Menu
All tools
Spatial4j logo

Spatial4j

Open Source

General purpose geospatial library for Java, a LocationTech project.

License

Apache-2.0

About

Spatial4j is a Java library whose core capabilities are shape types that work in both Euclidean and geodesic (on-sphere) world models, distance and area calculations, and reading and writing WKT and GeoJSON. It provides grid-based spatial indexes such as geohash and custom cell sizes, and is used inside projects including Elasticsearch, Apache Lucene and Netty. It is a LocationTech project of the Eclipse Foundation, alongside GeoTools.

Features

  • Shapes for Euclidean and geodesic models
  • Distance, area and bearing calculations
  • WKT and GeoJSON reading and writing
  • Geohash and custom grid spatial indexes
  • Used inside Elasticsearch and Netty
  • LocationTech project of the Eclipse Foundation

Details

Type
Library
Pricing
open-source
License
Apache-2.0
Hosting
Self-host

Platforms

linux
macos
windows

Languages

Java

Data formats

WKT/WKB
GeoJSON

Built with