[GRASS-user] Problems reading ply file

Hi everyone,

I can’t import a ply file with a module v.in.ply.

command line: v.in.ply --verbose input=2.ply output=xx.ply x=1 y=2 z=3
ERROR: Binary PLY format is not yet supported

When I tried to do load of ply data appeared this information:

Traceback (most recent call last):
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/f
orms.py”, line 1756, in OnFileLoad

win[‘text’].SetValue(data)
File “/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/_controls.py”, line 1754, in
SetValue

return controls.TextCtrl_SetValue(*args, **kwargs)
File “/usr/lib/python2.7/encodings/utf_8.py”, line 16, in
decode

return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError
:
‘utf8’ codec can’t decode bytes in position 355-356: invalid
continuation byte

There is a solution for this problem?

Thanks

Carla Rebelo

On Sat, Jun 22, 2013 at 1:24 PM, Carla Rebelo <crrebelo@gmail.com> wrote:

Hi everyone,

I can't import a ply file with a module v.in.ply.

command line: v.in.ply --verbose input=2.ply output=xx.ply x=1 y=2 z=3
ERROR: Binary PLY format is not yet supported

It appears that both ASCII and Binary are available:
http://en.wikipedia.org/wiki/PLY_(file_format)#ASCII_or_Binary_Format

Maybe you could (for now) ask for the PLY files as ASCII files?

Markus