{"id":55861,"library":"spatial4j","title":"Spatial4j","description":"Spatial4j is a general purpose spatial/geospatial Java library providing common shapes, distance calculations, and shape format readers like WKT and GeoJSON.","status":"active","version":"0.8","language":"java","source_language":null,"source_url":"https://github.com/locationtech/spatial4j","tags":["spatial","geospatial","geometry","wkt","geojson"],"install":[{"cmd":"<dependency>\n  <groupId>org.locationtech.spatial4j</groupId>\n  <artifactId>spatial4j</artifactId>\n  <version>0.8</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.locationtech.spatial4j:spatial4j:0.8'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Shape","correct":"org.locationtech.spatial4j.shape.Shape"}],"quickstart":{"code":"import org.locationtech.spatial4j.shape.Shape;\nimport org.locationtech.spatial4j.context.SpatialContext;\n\nSpatialContext ctx = SpatialContext.GEO;\nShape point = ctx.getShapeFactory().pointXY(0.0, 0.0);\nSystem.out.println(point);","lang":"java","description":"Creates a geospatial point using Spatial4j."},"warnings":[],"env_vars":null,"search_vec":"'calcul':14 'common':11 'distanc':13 'format':17 'general':5 'geojson':22,27 'geometri':25 'geospati':24 'java':8 'librari':9 'like':19 'provid':10 'purpos':6 'reader':18 'shape':12,16 'spatial':23 'spatial/geospatial':7 'spatial4j':1,2 'wkt':20,26","created_at":"2026-06-15T10:11:01.082704+00:00","updated_at":"2026-06-15T10:11:01.082704+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://projects.eclipse.org/projects/locationtech.spatial4j","github":"https://github.com/locationtech/spatial4j","docs":"https://appdoc.app/artifact/org.locationtech.spatial4j/spatial4j/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}