Solr team, I am indexing geographic points in dec degrees lat lon using the
location_rpt type in my index. The type is setup like this

 <fieldType name="location_rpt"
class="solr.SpatialRecursivePrefixTreeFieldType"
        geo="true" distErrPct="0.025" maxDistErr="0.000009" units="degrees"
 />

my field definition is this

<field name="pointGeom_rpt" type="location_rpt" indexed="true"
stored="true"  multiValued="false"/>

my problem is the return is a very narrow but tall ellipse.... likely due
to the degrees and geo  true... but when I change those params to
geo=false...the index won't start
this is the query I am using

 String query =
"http://myserver:8983/solr/mycore/select?&q=*:*&fq={!geofilt}&sfield=pointGeom_rpt&pt=";
+ lat + "," + lon + "&d=" + distance +
"&wt=json&indent=true&geo=true&rows=" + rows;



I am not using solr cloud, and I am on version 4.8.0

I also opened up this stackoverflow question... it has some more details
and a picture of the return I get

http://stackoverflow.com/questions/25996820/why-is-solr-spatial-buffer-returned-as-an-elipse


BTW, I'm an OpenNLP committer and I am very geospatially focused, let me
know if you want help with anything geo, I'll try to carve out some time if
needed.

thanks
G$

Reply via email to