Opened 15 years ago
Closed 12 years ago
#747 closed defect (fixed)
v.rast.stats to table connected to layer 2 fails
Reported by: | pvanbosgeo | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.4 |
Component: | Vector | Version: | svn-releasebranch64 |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | Linux |
Description
I am using v.rast.stats, which works fine when using the default attribute table (layer 1). When however I specify the layer to which the table to be changes is connected to be layer 2 it goes wrong. Basically (1) the columns are added to the table linked to layer 1 instead of the table linked to layer 2 and (2) the columns remain empty.
Best regards
Paulo
Change History (3)
follow-up: 2 comment:1 by , 12 years ago
Component: | Default → Vector |
---|---|
Milestone: | 6.4.0 → 6.4.4 |
Version: | svn-develbranch6 → svn-releasebranch64 |
follow-up: 3 comment:2 by , 12 years ago
Replying to neteler:
The problem appears to be that db.execute is used rather than v.db.addcol (such code is included there but commented for reasons unknown to me).
It should work now, v.rast.stats was fixed 12 months ago. The old code called v.db.addcol without the layer option, the new code always uses the table connected to the given layer.
Markus M
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Closing ticket as fixed.
Markus M
The problem appears to be that db.execute is used rather than v.db.addcol (such code is included there but commented for reasons unknown to me).
Markus