Hi guys...
I have got a vactor line layer with a lot of line splitted; in v.digit they
look like this (x is red):
-------x x---------
------------------------
If i use the v.clean command with snap feature, the vertex are being snapped
on the near line and not each other.
Is there a way to issue snap only between nearest vertex?
Thx
Luca
--
"E' molto più bello sapere qualcosa di tutto, che tutto di una cosa (Blaise
Pascal)."
GENTOO-GIS Development Team
jabber: casagrande@jabber.linux.it
I have got a vactor line layer with a lot of line splitted; in v.digit
they look like this (x is red):
-------x x---------
------------------------
If i use the v.clean command with snap feature, the vertex are being
snapped on the near line and not each other.
Is there a way to issue snap only between nearest vertex?
v.extract only the broken bits, then v.clean, v.patch?
Alle 03:20, domenica 26 marzo 2006, Hamish ha scritto:
> I have got a vactor line layer with a lot of line splitted; in v.digit
> they look like this (x is red):
>
> -------x x---------
> ------------------------
>
> If i use the v.clean command with snap feature, the vertex are being
> snapped on the near line and not each other.
> Is there a way to issue snap only between nearest vertex?
v.extract only the broken bits, then v.clean, v.patch?
Hamish
--
"E' molto più bello sapere qualcosa di tutto, che tutto di una cosa (Blaise
Pascal)."
GENTOO-GIS Development Team
jabber: casagrande@jabber.linux.it
> > I have got a vactor line layer with a lot of line splitted; in
> > v.digit they look like this (x is red):
> >
> > -------x x---------
> > ------------------------
> >
> > If i use the v.clean command with snap feature, the vertex are
> > being snapped on the near line and not each other.
> > Is there a way to issue snap only between nearest vertex?
>
> v.extract only the broken bits, then v.clean, v.patch?
How use v.extract with only the broken bits?
figure out what cat numbers are for full lines and extract everything
but.
another way would be to use 'v.to.db option=length' to add a data column
with line length for each segment, then extract everything shorter than
some length with a SQL query (v.extract where="length < 100").
On 3/24/06, Luca Casagrande <luca.casagrande@gmail.com> wrote:
Hi guys...
I have got a vactor line layer with a lot of line splitted; in v.digit they
look like this (x is red):
-------x x---------
------------------------
If i use the v.clean command with snap feature, the vertex are being snapped
on the near line and not each other.
Is there a way to issue snap only between nearest vertex?
I don't think so. It should not be difficult to write such function.
If you don't want to program you can put points on nodes (v.net)
then extract only tho points with one line (v.net, v.extract)
and then connect the points under certain treshold (v.distance link=)
and patch back.
Radim
Thx
Luca
--
"E' molto più bello sapere qualcosa di tutto, che tutto di una cosa (Blaise
Pascal)."
GENTOO-GIS Development Team
jabber: casagrande@jabber.linux.it
I don't think so. It should not be difficult to write such function.
If you don't want to program you can put points on nodes (v.net)
Ok done...now i have got a points vector layer with all the nodes of my
network.
then extract only tho points with one line (v.net, v.extract)
don't understand this part...I have read the v.net manual and i think that is
the report flag to use it, but don't understand what is it for..
and then connect the points under certain treshold (v.distance link=)
and patch back.
What is the link option?
Reading through the manual, i found this:
v.distance -p from=punti_estratti to=linee_spezzate out=connections
upload=dist column=dist
Thx for all
Luca
Radim
--
"E' molto più bello sapere qualcosa di tutto, che tutto di una cosa (Blaise
Pascal)."
GENTOO-GIS Development Team
jabber: casagrande@jabber.linux.it
On 5/27/06, Luca Casagrande <luca.casagrande@gmail.com> wrote:
Alle 07:49, lunedì 27 marzo 2006, hai scritto:
>
> I don't think so. It should not be difficult to write such function.
> If you don't want to program you can put points on nodes (v.net)
Ok done...now i have got a points vector layer with all the nodes of my
network.
> then extract only tho points with one line (v.net, v.extract)
don't understand this part...I have read the v.net manual and i think that is
the report flag to use it, but don't understand what is it for..
> and then connect the points under certain treshold (v.distance link=)
> and patch back.
What is the link option?
Reading through the manual, i found this:
v.distance -p from=punti_estratti to=linee_spezzate out=connections
upload=dist column=dist
I was wrong, it is called output not link.
Radim
Thx for all
Luca
> Radim
--
"E' molto più bello sapere qualcosa di tutto, che tutto di una cosa (Blaise
Pascal)."
GENTOO-GIS Development Team
jabber: casagrande@jabber.linux.it