You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ben Hosmer <be...@gmail.com> on 2012/12/05 21:52:00 UTC

Update to Polygon and JSON

So, here is the format for my JSON that I had to use to get SOLR to accept
a polygon:

[{ "id": 101,
  "coordinates": "POLYGON (( 100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0,
100.0 0.0 ))"
 }]

-- 
Ben Hosmer

Brevard Tech - Brevard County Florida's Tech User Group
http://www.brevardtech.org

Drupal Developer
http://www.radarearth.com

321.252.9581