apache / apache/lucene

Add Simple WKT Shape Parser [LUCENE-8538]

Open
#9,584 7 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Similar to `SimpleGeoJSONPolygonParser` for creating `Polygon` objects from GeoJSON, it would be helpful to have a `SimpleWKTParser` for creating lucene geometries from WKT. Not only is this useful for simple tests, but also helps for benchmarking from real world data (e.g., PlanetOSM).

---
Migrated from [LUCENE-8538](https://issues.apache.org/jira/browse/LUCENE-8538) by Nick Knize (@nknize), updated Oct 24 2018
Attachments: [LUCENE-8538.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-8538/LUCENE-8538.patch)

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing SimpleGeoJSONPolygonParser mentioned in the issue and the attached LUCENE-8538.patch. Determine the WKT shapes and Lucene geometry objects the SimpleWKTParser must support, then verify that parsed WKT can create Polygon objects for simple tests and real-world benchmarking data such as PlanetOSM.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.