#1928: after v.transform v.to.db gives incorrect length
-------------------------+--------------------------------------------------
Reporter: pertusus | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Vector | Version: svn-releasebranch64
Keywords: | Platform: Linux
Cpu: Unspecified |
-------------------------+--------------------------------------------------
I import a dxf without georeferenced information, then scale it with
v.transform. After that the line length obtained through v.to.db is wrong.
If I export the line with v.out.ascii and reimport it, the length is
correct.
A tarball to reproduce is attached.
{{{
tar xzvf bug_grass.tar.gz
cd bug_grass
./reproduce.sh
}}}
The script will show the lengths that are much lower than the correct
length (should be like 3300 for the first line, for instance).
#1928: after v.transform v.to.db gives incorrect length
-------------------------+--------------------------------------------------
Reporter: pertusus | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Vector | Version: svn-releasebranch64
Keywords: | Platform: Linux
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by mmetz):
Replying to [ticket:1928 pertusus]:
> I import a dxf without georeferenced information, then scale it with
v.transform. After that the line length obtained through v.to.db is wrong.
The bug in v.to.db is that it does not use geodesic distance calculations
in latitude-longitude projections. Fixed in trunk r55729.
#1928: after v.transform v.to.db gives incorrect length
-------------------------+--------------------------------------------------
Reporter: pertusus | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Vector | Version: svn-releasebranch64
Keywords: | Platform: Linux
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by mmetz):
Replying to [comment:1 mmetz]:
> Replying to [ticket:1928 pertusus]:
> > I import a dxf without georeferenced information, then scale it with
v.transform. After that the line length obtained through v.to.db is wrong.
>
> The bug in v.to.db is that it does not use geodesic distance
calculations in latitude-longitude projections.