[GRASS-user] Vector attribute query errors on a Mac

I. Syncrasy syncrasy at yahoo.com
Mon Aug 2 14:10:24 EDT 2010


I'm unable to figure out how to query vector attribute tables on my Mac using
the sample North Carolina data. I'm trying to query one of the vector files
has a column "CANCER" with attributes 'yes' or 'no'.

What I'm doing:
1. Choose Vector > Query with Attributes
2. In the v.extract window that opens...
- On the Options tab I choose my input vector map and type a name for an
output vector
- On the Selection tab, in the "Where conditions of SQL statement..." field,
I type in my query, "CANCER=yes"
3. I click Run

In the output window,

I get the following error:

---------

DBMI-DBF driver error:
[...]
Column 'yes' not found
Incompatible types in WHERE condition.
Error in selecting rows
Error in db_open_select_cursor()

---------

Is there a db/SQL issue with GRASS on a Macintosh? If so, can it be fixed?
Why would it think "yes" is a column instead of an attribute?

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Vector-attribute-query-errors-on-a-Mac-tp5365200p5365200.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list