Install libspatial4j-java by entering the following commands in the terminal:
sudo apt update sudo apt install libspatial4j-java
Description:
spatial/geospatial Java library
Spatial4j is a general purpose spatial / geospatial Java library. It's core capabilities are 3-fold: to provide common geospatially-aware shapes, to provide distance calculations and other math, and to read and write the shapes to strings.
Homepage: https://github.com/locationtech/spatial4j
Version: 0.5-1
Section: universe/java