On Sat, Aug 14, 2010 at 10:16 AM, Richard Chirgwin
<rchirg...@ozemail.com.au> wrote:
> Hi,
>
> In running v.dissolve within a script, I am getting an intermittent failure:
>
> ERROR: key column must be integer or string
>
> Here's the script spot that fails (but only sometimes)
>
> v.db.addtable MAP
> v.db.addcol MAP columns="Dissolve int"

At this point, please run
v.info -c MAP

and report here.

> v.db.update MAP column=Dissolve value=1
> v.dissolve MAP output=DISSOLVE column=Dissolve
>
> The killer is that it isn't reliable - sometimes it works, sometimes it
> fails, and I can't tell why!

Always on the same machine, the same binary and the same map?

Markus
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to