[pdal] Problems converting CSV to PLY

Stephen V. Mather svm at clevelandmetroparks.com
Wed Apr 18 10:53:00 PDT 2018


Even with those file names?

[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.com<http://www.clemetparks.com>



________________________________
From: Andrew Bell <andrew.bell.ia at gmail.com>
Sent: Wednesday, April 18, 2018 1:45:30 PM
To: Stephen V. Mather
Cc: pdal at lists.osgeo.org
Subject: Re: [pdal] Problems converting CSV to PLY

I can't recreate this on Windows 10 with PDAL 1.7.


On Wed, Apr 18, 2018 at 12:29 PM, Stephen V. Mather <svm at clevelandmetroparks.com<mailto:svm at clevelandmetroparks.com>> wrote:

HI All,


I'm having issues converting from CSV to PLY.


### How did you install PDAL?

PDAL 1.7 installed using OSGeo4W

### What's your operating system? (Copy/paste the output of https://www.whatismybrowser.com/)

Windows 10

### What is the problem?

When I run pdal translate to convert a CSV to PLY, I get a crash.

### How can we reproduce this?

To reproduce, here are the parts and pieces:

translator.json:
{
  "pipeline":[
    {
      "type":"readers.text",
      "filename":"EC HOVNANIAN 18 - GC translated.csv"
    },
    {
      "type":"writers.ply",
      "filename":"EC HOVNANIAN 18 - GC translated.ply"
    }
  ]
}

EC HOVNANIAN 18 - GC translated.csv:
X,Y,Z,red,green,blue
498.309,742.941,857.817,255,0,0
375.538,898.159,850.729,0,255,0
316.44,888.66,852.831,0,0,255
448.914,630.781,858.101,255,255,0
411.479,813.864,871.643,0,255,255
202.193,819.215,878.784,255,0,255

Command:
pdal translate --json translator.json --input "EC HOVNANIAN 18 - GC translated.csv" --output "EC HOVNANIAN 18 - GC translated.ply"

Ooh. Plot twist: it works if I rename the input file and run as follows:
pdal translate --json translator.json --input "input.csv" --output "output.ply"




[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.com<http://www.clemetparks.com>




_______________________________________________
pdal mailing list
pdal at lists.osgeo.org<mailto:pdal at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/pdal



--
Andrew Bell
andrew.bell.ia at gmail.com<mailto:andrew.bell.ia at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180418/a83da0a1/attachment.html>


More information about the pdal mailing list