Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13263

Facet Heat Map should support GeoJSON

    XMLWordPrintableJSON

Details

    Description

      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).

      Attachments

        1. SOLR-13263-nocommit.patch
          1 kB
          Bar Rotstein
        2. SOLR-13263-nocommit-geo3d-failure.patch
          13 kB
          Bar Rotstein

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brot Bar Rotstein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: