On 03/03/14 20:17, Heidi McClure wrote:
Hello,


I'm using Jena version 2.11.1.   When I use withinCircle, I don't see
results that I would expect - I am able to plot a set of points in a
geospatial application and measure the distance from point 1 to the
other points - they are all within 700 miles of point 1.  When I do a
similar query using the withinCircle API in spatial Jena, I don't get
any points!  When I double 700 mi to 1400 miles I get the results I
expected with 700 miles.



Am I using the API incorrectly?  Does the withinCircle use the number
I pass in as a diameter of a circle centered at the POINT and not a
radius from the POINT?


Heidi,

I'm not sure but I'm afraid you may have tripped over another, fixed bug. Would if the engine was treating 700 as kilometres explain what you are seeing?

This was fixed after the 2.11.1 version - it is available in development builds.

https://repository.apache.org/content/repositories/snapshots/org/apache/jena/

The bug was in the query processing - the data is OK.

If you try this, could let the list know whether it works; otherwise could you provide a complete, minimal example that can be debugged?

https://issues.apache.org/jira/browse/JENA-623

        Andy

Reply via email to