Hi,
2009/1/20 chiaraercoli@tiscali.it <chiaraercoli@tiscali.it>:
I have a problem with v-edit.
I have to break a vector line
into two parts near a point. I gave this command:
v.edit map=ret_125
layer=1 type=line tool=break thresh=$ris_edit coords=$x,$y snap=no
where " $ris_edit " depends on the resolution of the DEM raster
map,
"$x" and "$y" are the coordinates of the point.
are you sure that threshold value is enough to select vector feature
which you want to break?
v.edit map=ret_125 tool=select thresh=$ris_edit coords=$x,$y
?
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut .
cz/~landa
*
v.edit map=ret_125 tool=select thresh=100 coords=$x,$y
I send you the line, ret_125, and the point, punto_minimo.
Thanks for all,
Chiara .
__________________________________________________________Regali di San Valentino. Solo su Tiscali Shoppinghttp://shopping.tiscali.it/c-100492023-regali-per-san-valentino.html
(attachments)
punto_minimo.zip (1.13 KB)
ret_125.zip (2.35 KB)
martinl
February 1, 2009, 10:25pm
2
Ciao Chiara,
2009/1/27 chiaraercoli@tiscali.it <chiaraercoli@tiscali.it>:
I have a problem with v-edit.
I have to break a vector line
into two parts near a point. I gave this command:
v.edit map=ret_125
layer=1 type=line tool=break thresh=$ris_edit coords=$x,$y snap=no
where " $ris_edit " depends on the resolution of the DEM raster
map,
"$x" and "$y" are the coordinates of the point.
are you sure that threshold value is enough to select vector feature
which you want to break?
v.edit map=ret_125 tool=select thresh=$ris_edit coords=$x,$y
v.out.ascii punto_minimo
861020.54634226|7317237.09688885|1
v.edit ret_125 tool=select coord=861020.54634226,7317237.09688885 thresh=15 --q
1
OK, feature selected
v.edit ret_125 tool=break coord=861020.54634226,7317237.09688885
thresh=15 snap=no type=line layer=1
OK, feature broken
Check:
v.edit ret_125 tool=select coord=861020.54634226,7317237.09688885 thresh=15 --q
1,2
So where is the problem?
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa