[pdal] First steps using PDAL in osgeo4W

adam steer adam.d.steer at gmail.com
Wed Apr 3 04:55:27 PDT 2019


good to hear conda is working. I think the PDAL error refers also to the
json config file for PCL, sorry I didn’t pick that up earlier - look also
at the syntax of ‘passthrough.json’

On Wed, 3 Apr 2019 at 22:40, Silvia Franceschi <silvia.franceschi at gmail.com>
wrote:

> Hi Adam,
> sorry, I just solved the problem with Linux machine... I had an old alias
> calling the Docker installation... sorry for the confusion.
>
> Regarding windows, here is the pipeline JSON, I just copied it from the
> tutorial...
>
> {
> "pipeline":[
> "F:/2019_didalos/pdal/test_data/D_Geologie_Rundschuhhof_SolarTirol.las",
> {
> "type":"filters.pclblock",
> "filename":"passthrough.json"
> },
> "foo.las"
> ]
> }
>
> All is saved in the passthrough.json file.
>
> Silvia
>
>
>
>
> On Wed, Apr 3, 2019 at 1:28 PM adam steer <adam.d.steer at gmail.com> wrote:
>
>> Hi Silvia
>>
>> Conda installs should have the PCL plugin installed - what are you trying
>> to run?
>>
>> ---
>> but I get this error:
>> PDAL: PCL pipeline: Unable to parse pipeline file:
>> * Line 1, Column 1
>>   Syntax error: value, object or array expected.
>>>>
>> this looks like a JSON formatting error - If you’re able to provide a
>> pipeline JSON example that might be useful
>>
>> Cheers
>>
>> Adam
>>
>> On Wed, 3 Apr 2019 at 22:12, Silvia Franceschi <
>> silvia.franceschi at gmail.com> wrote:
>>
>>> Hi all,
>>> sorry for continuous questions...
>>> I installed Anaconda and then pdal on my Linux PC in office and here
>>> (with pdal 1.8 version) it seems to have density but not the PCL filtering,
>>> could it be right?
>>>
>>> Regarding my previous question about the path, do you have any idea on
>>> which is the error?
>>>
>>> Thanks
>>>
>>> Silvia
>>>
>>>
>>>
>>> On Wed, Apr 3, 2019 at 1:09 PM Silvia Franceschi <
>>> silvia.franceschi at gmail.com> wrote:
>>>
>>>> Hi all,
>>>> sorry for continuous questions...
>>>> I installed Anaconda and then pdal on my Linux PC in office and here
>>>> (with pdal 1.8 version) it seems to have density but not the PCL filtering,
>>>> could it be right?
>>>>
>>>> Regarding my previous question about the path, do you have any idea on
>>>> which is the error?
>>>>
>>>> Thanks
>>>>
>>>> Silvia
>>>>
>>>>
>>>> On Tue, Apr 2, 2019 at 5:29 PM Silvia Franceschi <
>>>> silvia.franceschi at gmail.com> wrote:
>>>>
>>>>> Thanks!
>>>>>
>>>>> Last question for today... promised...
>>>>> how can I insert the path of a las in a pipeline json file (using
>>>>> Conda in windows)?
>>>>>
>>>>> it is quite impossible for me to change the folder in the Anaconda
>>>>> Promt with the standard CD ... so I am forced to work in the main user
>>>>> folder.
>>>>> My data are on an hard disk: F:\
>>>>>
>>>>> So in the json file with the script I inserted the following path:
>>>>> F:/2019_project/pdal/test_data/D_Geologie.las
>>>>>
>>>>> but I get this error:
>>>>> PDAL: PCL pipeline: Unable to parse pipeline file:
>>>>> * Line 1, Column 1
>>>>>   Syntax error: value, object or array expected.
>>>>>
>>>>> Silvia
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 2, 2019 at 4:50 PM Howard Butler <howard at hobu.co> wrote:
>>>>>
>>>>>> Yes, density will be available at 1.9
>>>>>>
>>>>>> On Apr 2, 2019, at 9:45 AM, Silvia Franceschi <
>>>>>> silvia.franceschi at gmail.com> wrote:
>>>>>>
>>>>>> Thanks,
>>>>>> so after the release I can just try to do un update to have also the
>>>>>> density?
>>>>>>
>>>>>> Thank you very much, very quick and helpful! :-D
>>>>>>
>>>>>> Silvia
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 2, 2019 at 4:42 PM Howard Butler <howard at hobu.co> wrote:
>>>>>>
>>>>>>> Density not being available is a bug in 1.8.0 that will be fixed in
>>>>>>> 1.9 when it is released at the end of the week.
>>>>>>>
>>>>>>> https://github.com/PDAL/PDAL/issues/2283
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Apr 2, 2019, at 9:40 AM, Silvia Franceschi <
>>>>>>> silvia.franceschi at gmail.com> wrote:
>>>>>>>
>>>>>>> ok, it works now, PCL is present but not the density...
>>>>>>> The following commands are available:
>>>>>>>   - delta
>>>>>>>   - diff
>>>>>>>   - fauxplugin
>>>>>>>   - ground
>>>>>>>   - hausdorff
>>>>>>>   - info
>>>>>>>   - merge
>>>>>>>   - pcl
>>>>>>>   - pipeline
>>>>>>>   - random
>>>>>>>   - smooth
>>>>>>>   - sort
>>>>>>>   - split
>>>>>>>   - tile
>>>>>>>   - tindex
>>>>>>>   - translate
>>>>>>>
>>>>>>> pdal --version
>>>>>>> pdal 1.8.0 (git-version: Release)
>>>>>>>
>>>>>>> Is this correct? So I am now able to go on trying to add some filers
>>>>>>> to my data for a good DTM... any suggestions?
>>>>>>>
>>>>>>> Silvia
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Apr 2, 2019 at 4:30 PM Bradley Chambers <
>>>>>>> brad.chambers at gmail.com> wrote:
>>>>>>>
>>>>>>>> Yes, exactly - activate first, before trying any PDAL commands. Let
>>>>>>>> us know if this works for you.
>>>>>>>>
>>>>>>>> On Tue, Apr 2, 2019 at 10:24 AM Silvia Franceschi <
>>>>>>>> silvia.franceschi at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Thanks Bradley,
>>>>>>>>> I followed the instruction on line and did this command:
>>>>>>>>> conda create --yes --name myenv --channel conda-forge pdal
>>>>>>>>>
>>>>>>>>> and also the
>>>>>>>>> conda update pdal
>>>>>>>>> which gives to me an error...
>>>>>>>>>
>>>>>>>>> Now that I was searching the output of the conda install I found
>>>>>>>>> that perhaps it is necessary to activate my environment? Is this what you
>>>>>>>>> mean in your email?
>>>>>>>>>
>>>>>>>>> This is the command:
>>>>>>>>> conda activate myenv
>>>>>>>>>
>>>>>>>>> and then I can use pdal in the Anaconda Promt with the same syntax
>>>>>>>>> as in the manual?
>>>>>>>>>
>>>>>>>>> Thanks again
>>>>>>>>>
>>>>>>>>> Silvia
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Silvia
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Apr 2, 2019 at 3:25 PM Bradley Chambers <
>>>>>>>>> brad.chambers at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Let us know the exact commands you used to install via Conda. It
>>>>>>>>>> should have installed PDAL v1.8. I'm wondering if you installed to a conda
>>>>>>>>>> environment, but have not activated it yet, hence it's picking up your
>>>>>>>>>> previous OSGeo4W attempt.
>>>>>>>>>>
>>>>>>>>>> On Tue, Apr 2, 2019 at 9:22 AM Silvia Franceschi <
>>>>>>>>>> silvia.franceschi at gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Thanks again,
>>>>>>>>>>> I just installed Anaconda3 on my PC and it seems to work, I
>>>>>>>>>>> installed pdal in it and this is the version:
>>>>>>>>>>> pdal --version
>>>>>>>>>>> pdal 1.7.2 (git-version: Release)
>>>>>>>>>>>
>>>>>>>>>>> I just checked and realized that nor density or PCL are included
>>>>>>>>>>> in this installation too... is there a way to use the PCL filtering?
>>>>>>>>>>>
>>>>>>>>>>> In addition, if I try pdal --drivers I get an exception:
>>>>>>>>>>> Impossible to find the initial point (not sure if this is the correct
>>>>>>>>>>> sentence because I translated this from Italian message...).
>>>>>>>>>>>
>>>>>>>>>>> pdal --help also gives the same exception but it prints
>>>>>>>>>>> something in the console, in particular:
>>>>>>>>>>> The following commands are available:
>>>>>>>>>>>   - delta
>>>>>>>>>>>   - diff
>>>>>>>>>>>   - ground
>>>>>>>>>>>   - hausdorff
>>>>>>>>>>>   - info
>>>>>>>>>>>   - merge
>>>>>>>>>>>   - pipeline
>>>>>>>>>>>   - random
>>>>>>>>>>>   - sort
>>>>>>>>>>>   - split
>>>>>>>>>>>   - tindex
>>>>>>>>>>>   - translate
>>>>>>>>>>>
>>>>>>>>>>> Did I missed something during installation or this is the
>>>>>>>>>>> standard installation for running pdal with Conda in Windows?
>>>>>>>>>>>
>>>>>>>>>>> Thanks and sorry again for the questions...
>>>>>>>>>>>
>>>>>>>>>>> Silvia
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>
>>> --
>>> ing. Silvia Franceschi
>>> Via Latemar, 22
>>> 38030 Castello di Fiemme (TN)
>>>
>>> tel: 0039 -3384501332
>>> _______________________________________________
>>> pdal mailing list
>>> pdal at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/pdal
>>
>>
>>
>> --
>> Dr. Adam Steer
>> http://spatialised.net
>> https://www.researchgate.net/profile/Adam_Steer
>> http://au.linkedin.com/in/adamsteer
>> http://orcid.org/0000-0003-0046-7236
>> +61 427 091 712 ::  @adamdsteer
>>
>> I won’t turn up in a suit: http://www.spatialised.net/business-penguins/
>>
>
>
> --
> ing. Silvia Franceschi
> Via Latemar, 22
> 38030 Castello di Fiemme (TN)
>
> tel: 0039 -3384501332
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal



-- 
Dr. Adam Steer
http://spatialised.net
https://www.researchgate.net/profile/Adam_Steer
http://au.linkedin.com/in/adamsteer
http://orcid.org/0000-0003-0046-7236
+61 427 091 712 ::  @adamdsteer

I won’t turn up in a suit: http://www.spatialised.net/business-penguins/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20190403/317612c4/attachment-0001.html>


More information about the pdal mailing list