[GRASS-user] v.clean infinite loop? bug?

tomd123 tdziedz2 at uiuc.edu
Mon Nov 9 00:59:09 EST 2009




tomd123 wrote:
> 
> This is the file I'm trying to clean
> http://filebin.ca/gfnoza/highway.tar.bz2 (the shp file).
> The command I try running is:
> v.clean input=chicago output=chicago2 type=line tool=snap,break thresh=3,3
> --overwrite
> I thought this was a really long operation, so I stopped it, and ran a
> simpler version:
> v.clean input=chicago output=chicago2 type=line tool=snap thresh=3
> --overwrite
> This also seems to be in an infinite loop (running 252 minutes now):
> 8318 tom       20   0  202m 120m 6024 R  100  6.0 252:06.24 v.clean
> Can anyone help me? I did nothing special to import the shp file.
> The shapefile in the filebin.ca link is a map I created using only the
> chicago area from
> http://downloads.cloudmade.com/north_america/united_states/illinois
> Direct link:
> http://downloads.cloudmade.com/north_america/united_states/illinois/illinois.shapefiles.zip
> 
> Anyone have any suggestions? Is there another way I can clean the shp
> file?
> 

Nevermind. I finally got it working with v.clean input=chicago
output=chicago2 type=line tool=break --overwrite the only thing different is
the threshold which is 0 (default), rather then 3. May have been just a
wrong parameter, but thresh=3 the command took longer then 400minutes (I
stopped it) and the command with thresh=0 took a short amount of time, maybe
a minute to several?
-- 
View this message in context: http://n2.nabble.com/v-clean-infinite-loop-bug-tp3970993p3971412.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list