Details Ticket 5427


Comment | Reply | Take | Resolve


Serial Number 5427
Subject v.overlay does not run properly with operator=and
Area grass6
Queue grass
Requestors dpinte@itae.be
Owner none
Status open
Last User Contact Never contacted
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Jan 10 16:34:45 2007 (2 yr ago)
Created Wed Jan 10 16:34:45 2007 (2 yr ago)

Transaction History Ticket 5427


Wed, Jan 10 2007 16:34:45    Request created by guest  
Subject: v.overlay does not run properly with operator=and

Platform: GNU/Linux/x86
grass obtained from: Other (CDROM etc)
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 6.2.0-1 

I've tested the following : create the intersection from layer B to
layer A compared with intersection from layer A to layer B :

CASE 1 : 
v.overlay ainput=mpnetwork atype=area binput=management_polygones
atype=area output=base_cells operator=and


CASE 2 :
v.overlay ainput=management_polygones atype=area binput=mpnetwork
atype=area output=base_cells operator=and


The resulting intersection are different and seems to be uncorrect :

CASE 1 :
GRASS 6.2.0 (ALMERIA):~/Documents/ucl/alert/grass > v.db.select
map=base_cells column=a_cat,b_cat,a_area_tot,b_area_tot where="a_cat=37"
a_cat|b_cat|a_area_tot|b_area_tot
37|10|1000000|15000
37|13|1000000|0
37|1|1000000|0
37|8|1000000|0
37|14|1000000|0
37|11|1000000|1527000


CASE 2 : 
GRASS 6.2.0 (ALMERIA):~/Documents/ucl/alert/grass > v.db.select
map=base_cells column=a_cat,b_cat,a_area_tot,b_area_tot where="b_cat=37"
a_cat|b_cat|a_area_tot|b_area_tot

... this is a very strange behaviour ... the CASE 1 gives the correct
intersection and not the CASE2 ...

The problem is bigger that that :

The attribute table created in CASE1 is not totally correct. The b_input as a
b_tot_area value for all the vectors but in the resulting attribute table, you
see that for b_cat 13, 1,8 and 14, the outputed value is 0.

I can provide the input file if needed.

Didrik <dpinte@itae.be>
Comment | Reply | Take | 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