locationtech / locationtech/spatial4j
Add support for Geo3D
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 961
- Forks
- 172
- PR merge metrics
- No merged PRs in 30d
Description
The "Geo3D" library (AKA spatial3d module in Lucene) has surface-of-sphere (and WGS84 ellipsoid) shape implementations. It would be awesome to add a Spatial4j SpatialContext, ShapeFactory, and ShapeBuilders. Perhaps DistanceCalculator too.
It remains to be seen what to do about BinaryCodec but ideally the native xyz coordinates would be serialized, not the lat-lon. That should perhaps be a separate issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Geo3D, or Lucene spatial3d, shape implementations and mapping the requested SpatialContext, ShapeFactory, and ShapeBuilders support. Consider whether DistanceCalculator belongs in the same scope, while treating BinaryCodec and native xyz serialization as a separate concern. Done means the supported Geo3D shapes and APIs are defined and integrated consistently with Spatial4j.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100