Registry / utility / spatial4j

spatial4j

JSON →
library0.8javamavenunverified

Spatial4j is a general purpose spatial/geospatial Java library providing common shapes, distance calculations, and shape format readers like WKT and GeoJSON.

<dependency> <groupId>org.locationtech.spatial4j</groupId> <artifactId>spatial4j</artifactId> <version>0.8</version> </dependency>
INSTALL
IMPORT
SIG · SPATIAL4J
S
spatial4j
utilityjavav0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Shape
org.locationtech.spatial4j.shape.Shape

Creates a geospatial point using Spatial4j.

import org.locationtech.spatial4j.shape.Shape; import org.locationtech.spatial4j.context.SpatialContext; SpatialContext ctx = SpatialContext.GEO; Shape point = ctx.getShapeFactory().pointXY(0.0, 0.0); System.out.println(point);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
spatial4j — mvn dependency:get spatial4j · libregistry