You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bar Rotstein (JIRA)" <ji...@apache.org> on 2019/02/20 19:14:00 UTC

[jira] [Created] (SOLR-13263) Facet Heat Map should support GeoJSON

Bar Rotstein created SOLR-13263:
-----------------------------------

             Summary: 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)
    Affects Versions: 8.0, 8.x, master (9.0)
            Reporter: Bar Rotstein


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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org