[pdal] Problems converting CSV to PLY

Stephen V. Mather svm at clevelandmetroparks.com
Wed Apr 18 09:29:32 PDT 2018


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>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180418/deaae9e1/attachment-0001.html>


More information about the pdal mailing list