On 07/10/15 10:19, Markus Neteler wrote:
On Mon, Sep 7, 2015 at 8:14 AM, Markus Neteler <[email protected]> wrote:
On Sep 7, 2015 3:58 AM, "Anna Petrášová" <[email protected]> wrote:
...

it took me a while to figure out the problem, but it's because your
samples are 3D and the stand vector is not.

We just got here into the same "trap".

If you convert the samples to 2d
with v.to.3d, then it will work.

Is there a possibility to add a related G_message() to inform the user in
such a situation?

Since we spent too much time on understanding the issue, I have now
added messages in r66426 (trunk) and r66427 (relbr70).

Of course
https://trac.osgeo.org/grass/ticket/2734
remains - will you submit that change?

I have the feeling that the second proposed solution, i.e. "introduce a 2D version of the Vect_point_in_box function which checks x and y only" is the better long-run solution.

Moritz  

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to