Details Ticket 4004


Comment | Reply | Resolve


Serial Number 4004
Subject d.vect: where clause does not function for layer 2 table
Area grass6
Queue grass
Requestors dylan.beaudette@gmail.com
Owner mlanda
Status open
Last User Contact Tue Feb 20 19:11:31 2007 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Feb 20 19:18:11 2007 (2 yr ago)
Created Tue Jan 17 21:17:11 2006 (3 yr ago)

Transaction History Ticket 4004


Tue, Jan 17 2006 21:17:11    Request created by guest  
Subject: d.vect: where clause does not function for layer 2 table

Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: CVS 20060116

When two tables are connected to a vector, it is not possible to use a where
clause to filter features based on the table attached to layer 2.

i.e. 

v.db.connect map table=t1 layer=1
v.db.connect map table=t2 layer=2

#works as expected
d.vect map where="t1.col = 1" layer=1

#produces no output
d.vect map where="t2.col = 1" layer=2

This is with the MySQL driver.

Thanks,

Dylan
Mon, Feb 19 2007 15:25:58    Taken by mlanda  
Tue, Feb 20 2007 19:11:31    Mail sent by msieczka  
Hi Dylan!

Could you re-test if this issue is still there?

Thanks!

Maciek

Tue, Feb 20 2007 19:18:11    Mail sent by dylan.beaudette@gmail.com  
Return-Path <dylan.beaudette@gmail.com>
Delivered-To grass-bugs@lists.intevation.de
From Dylan Beaudette <dylan.beaudette@gmail.com>
Reply-To dylan.beaudette@gmail.com
To Maciek Sieczka via RT <grass-bugs@intevation.de>
Subject Re: [bug #4004] (grass) d.vect: where clause does not function for layer 2 table
Date Tue, 20 Feb 2007 10:54:49 -0800
User-Agent KMail/1.9.5
References <20070220181131.4FEA7101F17@lists.intevation.de>
In-Reply-To <20070220181131.4FEA7101F17@lists.intevation.de>
MIME-Version 1.0
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding 7bit
Content-Disposition inline
Message-Id <200702201054.49481.dylan.beaudette@gmail.com>
X-Scanned-By MIMEDefang 2.57 on 128.120.32.41
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Score -5
X-Spam-Level
On Tuesday 20 February 2007 10:11, Maciek Sieczka via RT wrote:
> Hi Dylan!
>
>
>
> Could you re-test if this issue is still there?
>
>
>
> Thanks!
>
>
>
> Maciek
>
>
>
>
>
> -------------------------------------------- Managed by Request Tracker

sure.

I will need some time to re-compile the latest CVS and generate a vector with
two layers.

cheers,

D

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


Comment | Reply | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request