[
https://issues.apache.org/jira/browse/SOLR-13263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789011#comment-16789011
]
David Smiley commented on SOLR-13263:
-------------------------------------
JTS can be added to Solr now and perhaps should. For a long time previously it
was licensed in a way the ASF disallowed it's inclusion. At the Lucene layer,
it's included for some tests but I didn't have time to do the Solr side. Solr
side would require a change to spatial-search.adoc as well, and of course a
test to exercise it. All that said, it'd be neat if we had a Spatial4j
SpatialContext impl here that used the Polygon impl that Lucene provides...
then there would be a relatively minor need for JTS. Neither of these things
should block what you're doing here. You could do a test with geojson with a
rectangle.
> Facet Heat Map should support GeoJSON
> -------------------------------------
>
> Key: SOLR-13263
> URL: https://issues.apache.org/jira/browse/SOLR-13263
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Facet Module, faceting
> Affects Versions: 8.0, 8.x, master (9.0)
> Reporter: Bar Rotstein
> Priority: Major
> Labels: Facets, Geolocation, facet, faceting, geo
> Attachments: SOLR-13263-nocommit.patch
>
>
> Currently Facet Heatmap(Geographical facets) do not support any other
> subjects other than WKT or '[ ]'. This seems to be caused since
> FacetHeatmap.Parser#parse uses SpatialUtils#parseGeomSolrException, which in
> turn uses a deprecated JTS method (SpatialContext#readShapeFromWkt) to parse
> the string input.
> The newer method of parsing a String to a Shape object should be used, makes
> the code a lot cleaner and should support more formats (including GeoJSON).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]