[pdal] PDAL: readers.pgpointcloud: Argument --spatialreference already exists.

Jeppe Scheidt jscheidt at nvcharts.com
Fri Jan 25 08:30:13 PST 2019


Hello,
i am struggling with a export from postgres to a laz file. I seem to be 
missing something and maybe someone else has a idea on this.
Version: pdal 1.8.0 (git-version: Release)
Running the command
"pdal pipeline export.json"

I get the error message saying
"PDAL: readers.pgpointcloud: Argument --spatialreference already exists."

Here is the json pipeline used:
{
   "pipeline":[
     {
       "type":"readers.pgpointcloud",
       "connection":"dbname='pointcloud' user='postgres' password='asdf' 
host='localhost' port='5433'",
       "table":"pcpatches",
       "spatialreference":"EPSG:4326",
       "column":"pa"
     },
     {
       "type":"filters.reprojection",
        "in_srs":"EPSG:4326",
       "out_srs":"EPSG:3395"
     },
     {
       "type":"writers.las",
       "spatialreference":"EPSG:3395",
       "compression":"laszip",
       "scale_x":"auto",
       "scale_y":"auto",
       "scale_z":"auto",
       "filename":"outputfile.laz"
     }
   ]
}

-- with best regards,
Jeppe


More information about the pdal mailing list