I'm trying to update an attribute table column using v.db.update with
the DBF driver and keep getting a dbmi: Protocol error message.
Example using Spearfish
g.copy vect=fields,myfields
v.db.addcol myfields col=polynum integer
v.db.select myfields where=label like 'V%'
cat|label|polynum
59|V.
On 6/04/11 4:36 PM, grass-user-requ...@lists.osgeo.org wrote:
Message: 9
Date: Wed, 6 Apr 2011 16:06:13 +0930
From: Sharon Mmorrisx...@gmail.com
Subject: [GRASS-user] help with v.db.update
To:grass-user@lists.osgeo.org
Message-ID:BANLkTi=ohuegstnauinliyamfo5-p3r...@mail.gmail.com
Content-Type:
Hi All of you,
I am using grass latest version and i want to know
How to triangulate the raster data using grass so that i can assign
attributes for each pixel?
Thanks in advance,
nani.
___
grass-user mailing list
grass-user@lists.osgeo.org
Richard wrote:
The dbf driver doesn't handle like.
...
If you need more advanced query parameters such as like,
use a different database driver - pg or mysql.
would ~ work?
v.db.update myfields col=polynum val=42 where=label ~ 'V'
?
Hamish
___
On 6/04/11 5:06 PM, Hamish wrote:
Richard wrote:
The dbf driver doesn't handle like.
...
If you need more advanced query parameters such as like,
use a different database driver - pg or mysql.
would ~ work?
v.db.update myfields col=polynum val=42 where=label ~ 'V'
?
Hamish
Hamish,
Why does the DBF driver handle like when using v.db.select?
On Wed, Apr 6, 2011 at 4:29 PM, Richard Chirgwin
rchirg...@ozemail.com.au wrote:
On 6/04/11 4:36 PM, grass-user-requ...@lists.osgeo.org wrote:
Message: 9
Date: Wed, 6 Apr 2011 16:06:13 +0930
From: Sharon Mmorrisx...@gmail.com
vinod wrote:
I am using grass latest version and i want to know
How to triangulate the raster data using grass
so you have a raster grid you'd like to simplify into a TIN?
see Laura's r.refine addon module:
http://grass.osgeo.org/wiki/TIN
(see also
No, error message is now...
DBMI-DBF driver error:
Column 'V' not found
Incompatible types in WHERE condition.
Error in selecting rows
Error in db_execute_immediate()
ERROR: Error while executing: 'UPDATE myfields SET polynum=42 WHERE label ~ V
'
On Wed, Apr 6, 2011 at 4:36 PM, Hamish
I don't know is the short answer. Hamish's suggested worked here for
v.db.update, but when I used like in v.db.update, it failed with the
same error as you saw.
Perhaps a bug in the driver?
Richard
On 6/04/11 5:12 PM, Sharon M wrote:
Why does the DBF driver handle like when using
This is the example provided in the v.db.update man page
g.copy vect=fields,myfields
v.db.addcol myfields col=polynum integer
v.db.update myfields col=polynum val=42 where=label='V. White#1'
which returns the error
White#1: -c: line 0: unexpected EOF while looking for
matching `'
White#1: -c:
Richard - are you working in a win XP environment? If so which vers of WinGrass?
Thanks,
Sharon
On Wed, Apr 6, 2011 at 4:48 PM, Richard Chirgwin
rchirg...@ozemail.com.au wrote:
I don't know is the short answer. Hamish's suggested worked here for
v.db.update, but when I used like in
No - Mac. So perhaps Win interprets the delimiters differently?
Richard
On 6/04/11 5:23 PM, Sharon M wrote:
Richard - are you working in a win XP environment? If so which vers of WinGrass?
Thanks,
Sharon
On Wed, Apr 6, 2011 at 4:48 PM, Richard Chirgwin
rchirg...@ozemail.com.au wrote:
I
Hello,
I want to reactive this thread...
and want just to put in some new ideas...and i still want to use a for-loop
or something similar on a point-vector-file in a Python-script
i want something like Daniel mentioned but want to loop over points within one
single pointfile:
for point in
Marcello wrote:
I solved it using:
d.where map_profile
instead of:
r.profile -ig input=map output=map_profile
The only problem is that I can't see the points while I am digitizing.
Hamish wrote:
use the middle mouse button with d.where to show the line.
Yes, thanks, it helped.
check out the v.rast.stats module.
I just gave it a try using an example raster and it seems to be the solution
to my problem.
Thanks,
Tim
--
View this message in context:
Hej again,
I've got a first basic idea but it isn't working yet completetly.
I wanted to loop over the pointfile to use the single points for other
operations
like the r.stream.basins module. Most of these modules do also except
coordinates.
So here is one solution but hopefully someone know a
Johannes Radinger wrote:
I've got a first basic idea but it isn't working yet completetly.
I wanted to loop over the pointfile to use the single points for other
operations
like the r.stream.basins module. Most of these modules do also except
coordinates.
So here is one solution but
Am 06.04.2011 21:56, schrieb Glynn Clements:
Johannes Radinger wrote:
I've got a first basic idea but it isn't working yet completetly.
I wanted to loop over the pointfile to use the single points for other
operations
like the r.stream.basins module. Most of these modules do also except
Johannes Radinger wrote:
Thank you for your answer but I still get an error, although I changed the
code
which is now:
x = garray.array()
x.read(distance_raster)
Density = garray.array()
Density[...] = p * stats.norm.pdf(x,loc=m, scale=s1*K) + (1-p) *
stats.norm.pdf(x,
Greetings
I have created a group of 10 images (i.group) and I wanted to know how can
I retrieve a pixel value for all images instead of using query raster map
tool wherre I can only retrieve a pixel per image?
Thanks
Monica
___
grass-user mailing list
Hi grass community,
sorry to have to ask - i've read through some of the help topics but either
i'm not finding the correct answers or not executing the commands correctly.
i want to display a raster in 3D. i.e. display landscape maps 'draped on
top' of the dem so i can show the terrain in 3D
Janet Choate said:
i want to display a raster in 3D. i.e. display landscape maps 'draped on
top' of the dem so i can show the terrain in 3D rather than as a flat
image.
do i need to convert a raster to a 3D raster via r.to.rast3 or
r.to.rast3elev, set the region for 3D?
how to display?
Not at
Monica wrote:
I have created a group of 10 images (i.group) and I wanted to know how
can I retrieve a pixel value for all images instead of using query
raster map tool wherre I can only retrieve a pixel per image?
use the r.what module.
23 matches
Mail list logo