lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bar Rotstein (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-13263) Facet Heat Map should support GeoJSON
Date Fri, 26 Apr 2019 19:50:00 GMT

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

Bar Rotstein commented on SOLR-13263:
-------------------------------------

Sorry I have been sort of MIA lately.
I continued working on this issue recently, and I noticed that currently, GeoJSON has no equivalent
for WKT's "Envelope" type.
It seems like Elastic Search work around this issue using their own extension to GeoJSON,
which adds an "envelope" type.
Here's a link to the documentation: [Elastic Search "envelope" type|https://www.elastic.co/guide/en/elasticsearch/reference/7.0/geo-shape.html#_envelope].

Should Solr add a convenient shape type for this too?

[~dsmiley],
WDYT?

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


Mime
View raw message