[GRASS-user] Detect failure during batch job execution

Andre Hauptfleisch ahaupt at gmail.com
Wed Dec 12 05:36:54 EST 2007


Hey guys,

I've been using the batch processing feature in grass and it works amazingly
well.

Unfortunately the v.generalize's hermite method dies on me every once and a
while.

Is there a way to detect whether an operation has succeeded or failed? Or
whether a vector layer exists or not?

Regards,
Andre


Here is the error msg:
First error:
v.generalize input=scene_07_clean at test output=scene_07_smooth type=line
method=hermite threshold=10 --overwrite
Generalization (hermite)...
 100%
Building topology ...
Registering lines: v.generalize: index.c:157: RTreeInsertRect: Assertion
`r->boundary[i] <= r->boundary[3+i]' failed.
/home/andreh/workspace/experiment/vectorize.sh: line 57: 17513
Aborted                 (core dumped) v.generalize
input=${fbn}_clean at testoutput=${fbn}_smooth type=line method=hermite
threshold=$hermThr --overwrite


Second error:
v.generalize input=scene_12_clean at test output=scene_12_smooth type=line
method=hermite threshold=10 --overwrite
WARNING: Vector map <scene_12_smooth> already exists and will be
         overwritten
Generalization (hermite)...
 100%
Building topology ...
Registering lines: v.generalize: index.c:157: RTreeInsertRect: Assertion
`r->boundary[i] <= r->boundary[3+i]' failed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20071212/9b555729/attachment.html


More information about the grass-user mailing list