Re: Searching for closed polylines that contain a given point

2013-09-23 Thread Smiley, David W.
Mark, Yes you can. You should index polygons, not polylines. A polyline semantically refers to the actual line but rather you want to index the coverage of the nation (the space encircled by the polyline), not the border literally. One thing to be aware of is that indexed non-point shapes are p

Searching for closed polylines that contain a given point

2013-09-23 Thread Mark Backman
I'm new to spatial search within solr.  If I have a set of records containing closed polylines describing, say, the boundaries of nations, can I use solr to build an index of these records against which I can search to see if a point is contained within any of them? Thanks, -Mark