Removing short lines with one side "disconnected"???

3 messages Options
Embed this post
Permalink
incanus

Removing short lines with one side "disconnected"???

Reply Threaded More More options
Print post
Permalink
Hi,
I'm trying to vectorize a map of streets, but after running r.thin and r.to.vect i get this (the aspect is the same befor r.to.vect):

Visualizador

Now I want to remove the shorter lines keeping the principals. I've tried with v.generalize with remove_small, but the central lines are a lot of small lines and they are removed too.

Is any way to remove only the short areas with one side "disconnected" or tu join the segments of the principal lines?

thanx!
achim

Re: Removing short lines with one side "disconnected"???

Reply Threaded More More options
Print post
Permalink
maybe
v.clean input=wtrhhrt output=bewtbt tool=rmdangle thresh=999
could help? Maybe serveral times with different threshs.

Achim

incanus schrieb:

> Hi,
> I'm trying to vectorize a map of streets, but after running r.thin and
> r.to.vect i get this (the aspect is the same befor r.to.vect):
>
> http://n2.nabble.com/file/n3741976/grassLineas.png 
>
> Now I want to remove the shorter lines keeping the principals. I've tried
> with v.generalize with remove_small, but the central lines are a lot of
> small lines and they are removed too.
>
> Is any way to remove only the short areas with one side "disconnected" or tu
> join the segments of the principal lines?
>
> thanx!
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
incanus

Re: Removing short lines with one side "disconnected"???

Reply Threaded More More options
Print post
Permalink
wow!!!
thats it:



thanx!!!

:D


achim wrote:
maybe
v.clean input=wtrhhrt output=bewtbt tool=rmdangle thresh=999
could help? Maybe serveral times with different threshs.

Achim

incanus schrieb:
> Hi,
> I'm trying to vectorize a map of streets, but after running r.thin and
> r.to.vect i get this (the aspect is the same befor r.to.vect):
>
> http://n2.nabble.com/file/n3741976/grassLineas.png 
>
> Now I want to remove the shorter lines keeping the principals. I've tried
> with v.generalize with remove_small, but the central lines are a lot of
> small lines and they are removed too.
>
> Is any way to remove only the short areas with one side "disconnected" or tu
> join the segments of the principal lines?
>
> thanx!
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user