[GRASS-user] Query vector type has problems
mlennert at club.worldonline.be
Wed Oct 7 01:32:24 PDT 2015
On 07/10/15 10:19, Markus Neteler wrote:
> On Mon, Sep 7, 2015 at 8:14 AM, Markus Neteler <neteler at osgeo.org> wrote:
>> On Sep 7, 2015 3:58 AM, "Anna Petrášová" <kratochanna at gmail.com> 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
> 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.
More information about the grass-user