Hello all,
Just a question: How can I update the category line of a vector map?
I'm trying with "Vect_rewrite_line()" and the same line_number and line_points, and the new line_cats,
but I don't like this function because I want to keep the same line_number.
Did you understand me? Any suggestion?
Thank you,
Roberto Antolin.
--
Roberto Antolin Sanchez
Politecnico di Milano – Polo Regionale di Como
Via Valleggio, 11 – 22100 Como, Italy
tel: +39 031 3327533
email: roberto.antolin@polimi.it
On 5/19/06, Roberto Antolin <roberto@geomatica.como.polimi.it> wrote:
Hello all,
Just a question: How can I update the category line of a vector map?
I'm trying with "Vect_rewrite_line()" and the same line_number and
line_points, and the new line_cats,
but I don't like this function because I want to keep the same line_number.
Did you understand me? Any suggestion?
I did not have enough time so Vect_rewrite_line()
is implemented as
Vect_delet_line()
Vect_write_line()
and consequently the 'line number' is changed.
You need to implement Vect_rewrite_line() properly
which is not such problem but you must treat carefully
topology update. Please dont use copy-paste
from Vect_delet_line(), Vect_write_line() and move
the topo update to new functions instead.
Radim
Thank you,
Roberto Antolin.
--
Roberto Antolin Sanchez
Politecnico di Milano – Polo Regionale di Como
Via Valleggio, 11 – 22100 Como, Italy
tel: +39 031 3327533
email: roberto.antolin@polimi.it
_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev