[GRASS-user] Why does v.split convert 3D vector to 2D?
neteler at osgeo.org
Sun Mar 7 15:16:18 EST 2010
On Sun, Mar 7, 2010 at 9:10 PM, Martin Landa <landa.martin at gmail.com> wrote:
> 2010/3/7 Markus Neteler <neteler at osgeo.org>:
>> cd v.split/
>> grep open * | grep new
>> main.c: Vect_open_new(&Out, out_opt->answer, 0);
>>> Is this intended behavior?
>> Certainly not ideal. I don't know if changing to
>> Vect_open_new(&Out, out_opt->answer, WITH_Z);
>> would be sufficient (of course recompile after that). If you could
>> provide a test case with the Spearfish or North Carolina test
>> datasets, I could try if you aren't able to compile GRASS yourself
>> to test above suggestion.
> should be fixed in r41335 (synchronized with trunk). Please test it. Martin
... for the list record, correction to my suggestion:
Vect_open_new(&Out, out_opt->answer, Vect_is_3d(&In));
(obviously, open in 3D only when needed).
v.overlay is a similar candidate but maybe more complicated.
More information about the grass-user