Hi Dan,

I’m trying to install the spdviewer  in Mac and experiencing the following 
errors.
My commands are in red, Am I executing the code correctly?
Please help me to get it installed properly.


Narsimhass-iMac:spdlib_v3_2 Study$ conda create -n spdlib_v3_2 -c osgeo 
spd3dpointsviewer
Error: prefix already exists: /Users/Study/miniconda3/envs/spdlib_v3_2
Narsimhass-iMac:spdlib_v3_2 Study$



Narsimhass-iMac:spdlib_v3_2 Study$ conda create -n spdlib_v3_2 -c osgeo 
spd3dpointsviewer
Error: prefix already exists: /Users/Study/miniconda3/envs/spdlib_v3_2
Narsimhass-iMac:spdlib_v3_2 Study$ conda install -c osgeo 
spd3dpointsviewer=2.2.1
Fetching package metadata .........
Solving package specifications: ....

The following specifications were found to be in conflict:
  - python 3.5*
  - spd3dpointsviewer 2.2.1*
Use "conda info <package>" to see the dependencies for each package.
Narsimhass-iMac:spdlib_v3_2 Study$ conda info
Current conda install:

             platform : osx-64
        conda version : 4.1.11
    conda-env version : 2.5.2
  conda-build version : not installed
       python version : 3.5.2.final.0
     requests version : 2.10.0
     root environment : /Users/Study/miniconda3  (writable)
  default environment : /Users/Study/miniconda3
     envs directories : /Users/Study/miniconda3/envs
        package cache : /Users/Study/miniconda3/pkgs
         channel URLs : https://repo.continuum.io/pkgs/free/osx-64/
                        https://repo.continuum.io/pkgs/free/noarch/
                        https://repo.continuum.io/pkgs/pro/osx-64/
                        https://repo.continuum.io/pkgs/pro/noarch/
          config file : None
         offline mode : False
    is foreign system : False

Narsimhass-iMac:spdlib_v3_2 Study$


Thanks,
Narsimha

From: Daniel Clewley <daniel.clew...@gmail.com>
Date: Monday, 1 August 2016 at 10:56 PM
To: Narsimha Garlapati <narsimha.garlap...@anu.edu.au>
Subject: Re: [spdlib-develop] spdtranslate error

Hi Narsimha,

The simplest solution is to install to a separate conda environment and switch 
between them use something like:


conda create -n spdlib_v3_2 -c osgeo spd3dpointsviewer


This should work under Linux or Mac. The conda documentation has more info on 
using environments.


In future can you make sure you reply to all so the list is also involved in 
discussions.


Thanks,


Dan


On 1 Aug 2016, at 13:05, Narsimha Garlapati 
<narsimha.garlap...@anu.edu.au<mailto:narsimha.garlap...@anu.edu.au>> wrote:
Hello Dan,
Is there any standalone version available just to view the points ? Either in 
UNIX or Mac versions?
I'm very poor in programming and to be honest just building my skills with the 
spdlib user guide.
I would like to view the Spd files and start further processing.
Sorry for asking many favours and thanks for understanding the panicky student  
tales 😀
Please let me know the simplest solution for now.

Regards,
N

Sent from Narsimha's iPhone !

On 1 Aug 2016, at 5:04 PM, Daniel Clewley 
<daniel.clew...@gmail.com<mailto:daniel.clew...@gmail.com>> wrote:
Hi Narsimha,

I haven’t rebuilt the points viewer for conda yet - the recipe is available 
from: 
https://bitbucket.org/danclewley/conda-recipes/src/bfc2905875b05f5aa7757b311c4241c207973d90/?at=conda-forge
 if you want to try modifying this and building yourself. I was having some 
problems with Qt, I’ll probably have another look at next weekend. Another 
option is to install the old version in a different conda environment and 
switch to this for viewing data.

SPD files are compressed but contain a lot more information than LAS files. If 
the HDF5 compression is working correctly I don’t think there is an easy way to 
make them smaller.

For the bin size I would normally choose based on the point density.

Thanks,

Dan

On 1 Aug 2016, at 05:36, Narsimha Garlapati 
<narsimha.garlap...@anu.edu.au<mailto:narsimha.garlap...@anu.edu.au>> wrote:

Hi Dan,
I was trying to install the spd3dpoints viewer in HPC environment and below are 
the errors.
It is observed that it’s downgrading the whole spdlib latest version??
I would like to view my test data in the viewer, any advice on this please?

For my sample conversion I was trying to explore the file sizes by defining 
different bin parameters.
Do you think that the final output sizes are reasonable? Is there any way to 
further compress the file sizes? What would be the ideal bin size could be?

For binsize 10:
LAS file size:391.1MB
SPD file size:380.2MB

For binsize1:
LAS file size:443.2MB
SPD file size:386.2MB


Thanks,
Narsimha

(spdlib_v3_3) [nxg650@vdi-n16 ~]$ conda install -c osgeo spd3dpointsviewer=2.2.1
Fetching package metadata .........
Solving package specifications: ..........

Package plan for installation in environment 
/g/data/xc0/user/Garlapati/miniconda3/envs/spdlib_v3_3:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    laszip-2.2.0               |                0          72 KB  osgeo
    libffi-3.2.1               |                0          36 KB
    liblas-1.7.0               |                6         1.1 MB  osgeo
    pixman-0.32.6              |                0         2.4 MB
    proj4-4.9.1                |                0         517 KB
    glib-2.43.0                |                1         5.4 MB
    freetype-2.5.5             |                1         2.5 MB
    fontconfig-2.11.1          |                6         405 KB
    harfbuzz-0.9.39            |                1         1.1 MB
    kealib-1.4.5               |                8         227 KB  osgeo
    pango-1.39.0               |                1         668 KB
    spd3dpointsviewer-2.2.1    |                6         1.9 MB  osgeo
    ------------------------------------------------------------
                                           Total:        16.3 MB

The following NEW packages will be INSTALLED:

    armadillo:         5.200.2-1         osgeo
    cairo:             1.12.18-6
    fontconfig:        2.11.1-6
    freetype:          2.5.5-1
    glib:              2.43.0-1
    harfbuzz:          0.9.39-1
    laszip:            2.2.0-0           osgeo
    libffi:            3.2.1-0
    liblas:            1.7.0-6           osgeo
    pango:             1.39.0-1
    pixman:            0.32.6-0
    proj4:             4.9.1-0
    qt:                4.8.7-4
    spd3dpointsviewer: 2.2.1-6           osgeo

The following packages will be SUPERCEDED by a higher-priority channel:

    gdal:              2.1.0-np111py35_6 conda-forge --> 1.11.2-py35_18 osgeo
    hdf5:              1.8.17-2          conda-forge --> 1.8.15.1-14    osgeo
    kealib:            1.4.6-2           conda-forge --> 1.4.5-8        osgeo
    libnetcdf:         4.4.0-2           conda-forge --> 4.3.3.1-11     osgeo

The following packages will be DOWNGRADED due to dependency conflicts:

    spdlib:            3.3.0-0           osgeo       --> 3.2.0-py35_8   osgeo

Proceed ([y]/n)?

From: Daniel Clewley [mailto:daniel.clew...@gmail.com]
Sent: Friday, 29 July 2016 5:17 PM
To: Narsimha Garlapati 
<narsimha.garlap...@anu.edu.au<mailto:narsimha.garlap...@anu.edu.au>>
Cc: spdlib-develop 
<spdlib-develop@lists.sourceforge.net<mailto:spdlib-develop@lists.sourceforge.net>>
Subject: Re: [spdlib-develop] spdtranslate error

Hi Narsimha,

There will be a WKT (Well Known Text) string embedded in the LAS file, so you 
can just view using lasinfo then copy and paste into a text file. The format 
will be similar to this: http://spatialreference.org/ref/epsg/28355/ogcwkt/ 
(you could also just use this file).

This is just a workaround for a bug, I had only tested with LAS 1.3 files so 
hadn’t tried with LAS files containing WKT strings. I’ll try and fix at some 
point so it will read the WKT string from the LAS file.

Thanks,

Dan

On 29 Jul 2016, at 08:09, Narsimha Garlapati 
<narsimha.garlap...@anu.edu.au<mailto:narsimha.garlap...@anu.edu.au>> wrote:

Hi Dan,
I have downloaded latest Miniconda and Python 3.5, it's in HPC environment.
I'm not really sure about .WKT file is?
My data is in GDA94 MGA Zone 55 .
Data provider didn't provide any seperate . WKT file.
Is there anyway that I can develop this?

Cheers,
Narsimha

Sent from Narsimha's iPhone !

On 29 Jul 2016, at 4:59 PM, Daniel Clewley 
<daniel.clew...@gmail.com<mailto:daniel.clew...@gmail.com>> wrote:
Hi Narsimha,

This isn’t the latest version, the latest version is 3.3. Are you using Python 
3.5?

Try creating a new environment and forcing the version using:

conda create -n spdlib_v3_3 -c osgeo -c rios -c conda-forge spdlib=3.3.0

You will also need to pass in the projection as a WKT file using --input_proj 
as it is currently segfaulting when trying to read the projection from a LAS 
1.4 file.

As I said earlier this has only recently been added and not widely tested so 
expect a couple of problems.

Thanks,

Dan

On 29 Jul 2016, at 06:14, Narsimha Garlapati 
<narsimha.garlap...@anu.edu.au<mailto:narsimha.garlap...@anu.edu.au>> wrote:

Hi,

I’m trying to convert LAS1.4 by using the latest version in Linux, but got an 
error as below.
Can you please help me out in this regard.

With thanks,
Narsimha

[nxg650@vdi-n15 ~]$ spdtranslate --if LAS --of SPD -b 10 -x LAST_RETURN -i 
/g/data1/xc0/user/Garlapati/Orthometric/ACT2015-C3-ORT_6826096_55_0002_0002.LAS 
-o /g/data1/xc0/user/Garlapati/Orthometric/LiDAR6826096_10m.spd

spdtranslate SPDLib 3.2.309, Copyright (C) 2014 Sorted Pulse Library (SPD)
This program comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions; See
website (http://www.spdlib.org<http://www.spdlib.org/>). Bugs are to be 
reported on the trac
or directly to 
spdlib-develop@lists.sourceforge.net<mailto:spdlib-develop@lists.sourceforge.net>
terminate called after throwing an instance of 'std::out_of_range'
  what():  version minor out of range
Aborted

------------------------------------------------------------------------------
_______________________________________________
spdlib-develop mailing list
spdlib-develop@lists.sourceforge.net<mailto:spdlib-develop@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/spdlib-develop

------------------------------------------------------------------------------
_______________________________________________
spdlib-develop mailing list
spdlib-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spdlib-develop

Reply via email to