Hi, should be fixed in CVS.
Martin 2007/10/12, [email protected] <[email protected]>: > code R item #510, was opened at 2007-10-12 15:40 > Status: Open > Priority: 3 > Submitted By: Maciej Sieczka (msieczka) > Assigned to: Nobody (None) > Summary: v.to.db option=length: please report line's 3d length > Issue status: None > GRASS component: vector > Operating system: all > Operating system version: > > > Initial Comment: > Currently v.to.db always assumes input vector is flat. Condider two vector > lines: > > $ v.out.ascii line_3d form=standard > L 2 > 571600 5722275.5 1 > 571610 5722275.5 4 > > $ v.out.ascii line_flat form=standard > L 2 > 571600 5722275.5 > 571610 5722275.5 > > > Although line_3d's length is 10.440307 and line_flat's is 10, v.to.db will > report 10 for both: > > $ v.to.db -p opt=length map=line_3d col=dummy > cat|length > -1|10 > > v.to.db's options coor, start, end already support Z attribute. Please > implement it for length too. > > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://wald.intevation.org/tracker/?func=detail&atid=188&aid=510&group_id=21 > > _______________________________________________ > grass-dev mailing list > [email protected] > http://grass.itc.it/mailman/listinfo/grass-dev > -- Martin Landa <[EMAIL PROTECTED]> * http://gama.fsv.cvut.cz/~landa * _______________________________________________ grass-dev mailing list [email protected] http://grass.itc.it/mailman/listinfo/grass-dev

