开发者

Can Solr perform geo-spacial searches on WKT?

Solr can perform certain geo-spacial searches on its data. Can it index WKT in order to perform these geo-spacial searches?

I do not necessarily need to p开发者_JS百科erform the query with a WKT string. What I do need is the ability to provide WKT in my Solr documents for indexing.


Yes, in Lucene/Solr 4 (trunk, not officially released) with the new Lucene spatial module and JTS support, which handles the WKT / polygons. The Solr component of this is still pending. You'll see some reference to all this at Spatial4j.com You'll have to do a little digging yourself on how its done but it works. Dateline and pole wrap are not yet supported for WKT/polygons.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜