AsSVG precision

14 views
Skip to first unread message

Jan Vaillant

unread,
Aug 7, 2021, 6:06:54 AM8/7/21
to SpatiaLite Users
Dear Sandro,


there seems to be a bug in the assvg function (v 5.0.1):

sqlite> select assvg(geomfromtext('point(10.1 20.2)'), 0, 0);
cx="1" cy="-2"

sqlite> select assvg(geomfromtext('point(11.1 22.2)'), 0, 0);
cx="11" cy="-22"

The trailing zeros are pruned. The first query should give cx="10" cy="-20".


Thank you,

Jan




Reply all
Reply to author
Forward
0 new messages