[GRASS-user] v.generalize: does it take forever?

Fábio Dias fabio.dias at gmail.com
Sun Dec 28 11:04:15 PST 2014


Hello all,

Context: I've loaded some shp files into postgis, containing
information over the amazon forest. For reference, the sql script has
around 6Gb.

Problem: I managed do import, clean and dissolve properly, but when I
run the generalization, by my estimates, it would take almost an year
to complete.

I also noticed that neither grass nor postgis are capable of parallel
processing...

Question: Am I using the correct tool for that? Is there a way to
speed up the processing?

For reference, the commands i've used (grass70, beta4, 22 dez 2014):

v.in.ogr -e --verbose input="pg:host=localhost (...)" layer=ap10
output=ap10 snap=1e-6
v.clean -c --verbose input=ap10 output=ap10c tool=bpol,break,rmsa type=line
v.dissolve --verbose input=ap10c column=tc_2010 output=ap10d --overwrite

Try #1 )   v.generalize --verbose --overwrite input=ap10d output=ap10r
method=reduction threshold=0.00025 --overwrite
Try #2 )   v.generalize --verbose --overwrite input=ap10d output=ap10g
method=douglas threshold=0.00025 --overwrite


Thanks in advance and happy holidays

F

-=--=-=-
Fábio Augusto Salve Dias
http://sites.google.com/site/fabiodias/


More information about the grass-user mailing list