You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/10/22 19:31:00 UTC

[jira] [Commented] (LUCENE-8538) Add Simple WKT Shape Parser

    [ https://issues.apache.org/jira/browse/LUCENE-8538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16659528#comment-16659528 ] 

David Smiley commented on LUCENE-8538:
--------------------------------------

Where would this live?  "spatial" module?  I'm not sure where things go anymore.
Would you like to fork/copy the WKT parsing code out of Spatial4j? https://github.com/locationtech/spatial4j/blob/master/src/main/java/org/locationtech/spatial4j/io/WktShapeParser.java   Parts of that were written by [~cmale].

> Add Simple WKT Shape Parser
> ---------------------------
>
>                 Key: LUCENE-8538
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8538
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Nicholas Knize
>            Priority: Major
>
> 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).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org