[GRASS-user] v.digit cannot update table

Glynn Clements glynn at gclements.plus.com
Sat Apr 21 15:50:19 EDT 2007


Seb wrote:

> Hi,
> 
> In GRASS CVS, I'm encountering problems digitizing into a vector with the
> following:
> 
> 
> v.digit -n map=newvect bg="d.vect coastline"
> 
> 
> Clicking on the settings button -> table tab -> "create table" tells me
> that a new empty map has been created.  I then proceed with the "digitize
> new boundary" button and create a polygon.  When right-clicking to close
> the line I'm asked about what encoding to use (I leave it as utf-8 which
> which is my locale) and then "submit", I receive the following error:
> 
> ---<---------------cut here---------------start-------------->---
> DBMI-DBF driver error:
> SQL parser error:
> in statement:
> update newvect set  where cat = 1
> Error in db_execute_immediate()
> 
> WARNING: Cannot update table
> ---<---------------cut here---------------end---------------->---
> 
> 
> and on exit:
> 
> 
> Building topology ...
> 1 primitives registered
> Building areas:  100%
> 0 areas built
> 0 isles built
> Attaching islands:
> Attaching centroids:  100%
> Topology was built.
> Number of nodes     :   2
> Number of primitives:   1
> Number of points    :   0
> Number of lines     :   0
> Number of boundaries:   1
> Number of centroids :   0
> Number of areas     :   0
> Number of isles     :   0
> Number of incorrect boundaries   :   1
> 
> 
> Any ideas what might be wrong?  Thanks.

Can you try it with:

	export DEBUG=3
	v.digit -n map=newvect bg="d.vect coastline"

?

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list