dear all,
someone know why the addon v.in.ply does not work on ubuntu 14.04 with Grass 7 stable but works well in windows 7?
I tested it with a file of 90 MB.
There is a specific procedure to install the addon v.in.ply, v.rectify and v.out.ply under ubuntu?
I followed this procedure (http://arc-team-open-research.blogspot.it/2013/12/from-drone-aerial-pictures-to-dem-and.html).
I can send you the file if someone wants to test it.
thanks
···
--
Dr. Nat. Carmine Massarelli, Ph.D.
National Research Council
On Thu, May 28, 2015 at 12:12 PM, Carmine Massarelli
<carmine.massarelli@ba.irsa.cnr.it> wrote:
dear all,
someone know why the addon v.in.ply does not work on ubuntu 14.04 with Grass
7 stable but works well in windows 7?
I tested it with a file of 90 MB.
There is a specific procedure to install the addon v.in.ply, v.rectify and
v.out.ply under ubuntu?
What is exactly the problem? Is installation failing or the script fails?
Please post the error message.
Best
Markus
--
http://consulting.neteler.org
http://courses.neteler.org/blog
http://gis.cri.fmach.it/neteler/
Dear Markus,
I left the PC working (workstation 32GB) in elaboration for all the nightwithout results and without receiving any errormessages.
On the Windows machine (4 GB) complete processing took about 8 hours.
I just remember that I had trouble installing the addon on grass maybe due topermissions, therefore i wonder if there is a special procedure for the installation.
Carmine
Il 28/05/2015 17:45, Markus Neteler ha scritto:
On Thu, May 28, 2015 at 12:12 PM, Carmine Massarelli
<carmine.massarelli@ba.irsa.cnr.it> wrote:
dear all,
someone know why the addon v.in.ply does not work on ubuntu 14.04 with Grass
7 stable but works well in windows 7?
I tested it with a file of 90 MB.
There is a specific procedure to install the addon v.in.ply, v.rectify and
v.out.ply under ubuntu?
What is exactly the problem? Is installation failing or the script fails?
Please post the error message.
Best
Markus
--
Dr. Nat. Carmine Massarelli, Ph.D.
Research fellow
National Research Council
Water Research Institute (IRSA)
Addr: De Blasio n.5 - 70132 Bari Z.I.
Tel: +39 080 582 05 06
Dear Carmine,
On Fri, May 29, 2015 at 2:49 PM, Carmine Massarelli
<carmine.massarelli@ba.irsa.cnr.it> wrote:
Dear Markus,
I left the PC working (workstation 32GB) in elaboration for all the
nightwithout results and without receiving any errormessages.
On the Windows machine (4 GB) complete processing took about 8 hours.
I just remember that I had trouble installing the addon on grass maybe due
topermissions, therefore i wonder if there is a special procedure for the
installation.
With Ubuntu you have have to use the -s flag for g.extension. But
since you installed it I don't know what to suggest. Maybe you can
make the file available and I can try on my Linux box (Fedora).
Markus
Dear Carmine,
On Fri, May 29, 2015 at 2:49 PM, Carmine Massarelli
<carmine.massarelli@ba.irsa.cnr.it> wrote:
Dear Markus,
I left the PC working (workstation 32GB) in elaboration for all the
nightwithout results and without receiving any errormessages.
On the Windows machine (4 GB) complete processing took about 8 hours.
I just tried with the file which I got offlist from you:
GRASS 7.0.1svn (nc_spm_08_grass7):~ > g.extension v.in.ply
Fetching <v.in.ply> from GRASS-Addons SVN repository (be patient)...
Compiling...
Installing...
Updating addons metadata file...
Installation of <v.in.ply> successfully finished
GRASS 7.0.1svn (nc_spm_08_grass7):~ > time -p v.in.ply
input=Downloads/pmvs_options.ply output=pmvs_options
Importing 1338857 vertices ...
Building topology for vector map <pmvs_options@neteler>...
...
Number of primitives: 1338857
Number of points: 1338857
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
v.in.ply complete.
real 60.93
user 47.52
sys 19.30
==> something like 1 minutes on my Fedora 21 box.
GRASS 7.0.1svn (nc_spm_08_grass7):~ > v.info -t pmvs_options
nodes=0
points=1338857
lines=0
boundaries=0
centroids=0
areas=0
islands=0
faces=0
kernels=0
volumes=0
holes=0
primitives=1338857
map3d=1
Lots of points... looks all good to me.
I just remember that I had trouble installing the addon on grass maybe due
topermissions, therefore i wonder if there is a special procedure for the
installation.
On Ubuntu you may need to install addons with the -s flag of g.extension.
Hope this helps,
Markus
Hello,
if i use g.extension -s extension=v.in.ply i receive the error
g.extension -s extension=v.in.ply
D2/5: filename = /usr/lib/grass70/scripts/g.extension
D1/5: G_set_program_name(): g.extension
D2/5: G_file_name(): path =
/media/massarelli/sdb/Mappe/GRASS/Statte/PERMANENT
D1/5: G_set_program_name(): g.gisenv
D2/5: G_option_to_separator(): key = separator → sep = ’
’
D1/5: grass.script.core.start_command(): g.version -rge
D1/5: G_set_program_name(): g.version
D2/5: G_file_name(): path =
/media/massarelli/sdb/Mappe/GRASS/Statte/PERMANENT
D1/5: grass.script.core.start_command(): g.message -e
message=Unable to create ‘/usr/lib/grass70/docs/rest’:
[Errno 13] Permission denied: ‘/usr/lib/grass70/docs/rest’
D1/5: G_set_program_name(): g.message
D2/5: G_file_name(): path =
/media/massarelli/sdb/Mappe/GRASS/Statte/PERMANENT
ERROR: Unable to create ‘/usr/lib/grass70/docs/rest’: [Errno 13] Permission denied: ‘/usr/lib/grass70/docs/rest’
(Fri Jun 5 16:03:55 2015) Comando terminato (0 sec)
According to you where is the permission problem (rest folder)?
Thanks
···
Il 06/05/2015 03:55 PM, Markus Neteler ha scritto:
Dear Carmine,
On Fri, May 29, 2015 at 2:49 PM, Carmine Massarelli
[<carmine.massarelli@ba.irsa.cnr.it>](mailto:carmine.massarelli@ba.irsa.cnr.it) wrote:
Dear Markus,
I left the PC working (workstation 32GB) in elaboration for all the
nightwithout results and without receiving any errormessages.
On the Windows machine (4 GB) complete processing took about 8 hours.
I just tried with the file which I got offlist from you:
GRASS 7.0.1svn (nc_spm_08_grass7):~ > g.extension v.in.ply
Fetching <v.in.ply> from GRASS-Addons SVN repository (be patient)...
Compiling...
Installing...
Updating addons metadata file...
Installation of <v.in.ply> successfully finished
GRASS 7.0.1svn (nc_spm_08_grass7):~ > time -p v.in.ply
input=Downloads/pmvs_options.ply output=pmvs_options
Importing 1338857 vertices ...
Building topology for vector map <pmvs_options@neteler>...
...
Number of primitives: 1338857
Number of points: 1338857
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
v.in.ply complete.
real 60.93
user 47.52
sys 19.30
==> something like 1 minutes on my Fedora 21 box.
GRASS 7.0.1svn (nc_spm_08_grass7):~ > v.info -t pmvs_options
nodes=0
points=1338857
lines=0
boundaries=0
centroids=0
areas=0
islands=0
faces=0
kernels=0
volumes=0
holes=0
primitives=1338857
map3d=1
Lots of points... looks all good to me.
I just remember that I had trouble installing the addon on grass maybe due
topermissions, therefore i wonder if there is a special procedure for the
installation.
On Ubuntu you may need to install addons with the -s flag of g.extension.
Hope this helps,
Markus
--
Dr. Nat. Carmine Massarelli, Ph.D.
National Research Council
Water Research Institute (IRSA)
Addr: De Blasio n.5 - 70132 Bari Z.I.
Skype: carmine.massarelli
On Fri, Jun 5, 2015 at 4:05 PM, Carmine Massarelli
<carmine.massarelli@ba.irsa.cnr.it> wrote:
Hello,
if i use g.extension -s extension=v.in.ply i receive the error
g.extension -s extension=v.in.ply
...
D1/5: grass.script.core.start_command(): g.message -e
message=Unable to create '/usr/lib/grass70/docs/rest':
[Errno 13] Permission denied: '/usr/lib/grass70/docs/rest'
D1/5: G_set_program_name(): g.message
D2/5: G_file_name(): path =
/media/massarelli/sdb/Mappe/GRASS/Statte/PERMANENT
ERROR: Unable to create '/usr/lib/grass70/docs/rest': [Errno 13] Permission
denied: '/usr/lib/grass70/docs/rest'
I think that the "rest" directory should not be generated at all.
Looks like a bug to me (strange that nobody else reported it so far AFAIK).
The workaround is to generate it manually now but I would prefer to
get the issue solved.
Markus