Opened 16 years ago
Closed 16 years ago
#495 closed defect (fixed)
v.out.ascii: layer=2 column output wrong
Reported by: | hamish | Owned by: | martinl |
---|---|---|---|
Priority: | critical | Milestone: | 6.4.0 |
Component: | Vector | Version: | 6.4.0 RCs |
Keywords: | v.out.ascii, layer | Cc: | grass-dev@… |
CPU: | x86-32 | Platform: | Linux |
Description
Hi,
when trying to do v.out.ascii for layer=2 I get tons of
WARNING: Feature has more categories. Only first category (1) is exported.
One for every single point. It's rather annoying to see so many and I'm not really clear about what it actually means. Will only layer 1 be exported even when I specifically asked for layer 2?
example:
#spearfish v.in.ascii out=surv_track format=standard -n << EOF L 3 1 608119 4915294 606085 4919979 599926 4920470 1 1 EOF # v.to.points creates 2 layers v.to.points in=surv_track out=surv_pts dmax=100 v.out.ascii surv_pts layer=2 [noise]
(in my real case I've added a new column to layer 2 and use the new v.out.ascii columns= to export those values)
?
thanks, Hamish
Change History (3)
comment:1 by , 16 years ago
Priority: | major → critical |
---|---|
Summary: | v.out.ascii: warning message when layer=2 → v.out.ascii: layer=2 column output wrong |
comment:2 by , 16 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
seems to work now, thanks.
Hamish
Note:
See TracTickets
for help on using tickets.
Ah, I (think I) see what the warning means,
it means that it is mixing up cats from layer=1 and layer=2.
layer=1 cat is always 1 in this map (orig cat of v.to.points input line) and so it retrieves the layer=2 cat=1 value (594.622) for all points :( instead of by layer 2 cats:
changing title of bug & increasing severity.
Hamish