Open GoogleCodeExporter opened 8 years ago
A large search extends is probably not an expected/valid use case. I'll update
the API documentation to include a warning about the use of large extents. The
real open issue is that it is a silent failure. Should we do more than
document it?
One option:
Detect the DT_BUFFER_TOO_SMALL from queryPolygons() and either fail with
DT_INVALID_PARAM (extents too large), or include the DT_BUFFER_TOO_SMALL flag
in the findNearestPoly() return status so the potential problem can be detected
by the caller.
Original comment by steve...@gmail.com
on 6 Sep 2011 at 4:35
I think the best solution would be to get rid of the intermediate buffer. That
would duplicate the aabb tree walk, but probably not too bad idea.
I would document it for now, and try to direct the user to use as small extents
as possible.
Original comment by memono...@gmail.com
on 12 Sep 2011 at 11:57
The API documentation has been updated with a warning in r311.
Original comment by steve...@gmail.com
on 13 Sep 2011 at 11:46
we had a problem with this issue, it would be nice to have some non silent
failure or solution for larger search extents
Original comment by te...@solutionx.com
on 7 Dec 2011 at 8:12
Original issue reported on code.google.com by
steve...@gmail.com
on 6 Sep 2011 at 4:26