<div dir="ltr"><div>Hello again,</div><div><br></div><div>Ok, finally got a reasonable number of points to import into our database. Took a while because of a hardware failure, but now it is done.</div><div><br></div><div>


I imported about 2500 LAS files, each one about 8mb into a single table. The resulting table has 55 million records (counted not estimated). Each record has 400 points. Database size is about 375gb.</div><div><br></div><div>


I am attempting to do the following from pcpipeline:</div><div><br></div><div><div><?xml version="1.0" encoding="utf-8"?></div><div><Pipeline version="1.0"></div><div>    <Writer type="drivers.las.writer"></div>


<div>        <Option name="filename">test_small.las</Option></div><div>        <Option name="spatialreference">EPSG:4326</Option></div><div>        <Reader type="drivers.pgpointcloud.reader"></div>


<div><span style="white-space:pre-wrap">  </span><Option name="connection">host='ogisrv102' port='8080' dbname='NRCS_LIDAR' user='postgres'password='5Tb3CwBu353w' </Option></div>


<div>            <Option name="table">all_returns</Option></div><div>            <Option name="column">pa</Option></div><div>            <Option name="srid">4326</Option></div>


<div>            <Option name="where">PC_Intersects(pa, ST_MakeEnvelope(-97.27021, 34.46225, -97.26987, 34.46251, 4326))</Option></div><div>        </Reader></div><div>    </Writer></div>


<div></Pipeline></div></div><div><br></div><div>Start time 8:24, end time 8:30 for the program to get here:</div><div><br></div><div><div>F:\PDAL64>pdal64\pcpipeline -i export_pg_to_las_test.xml</div><div>Requested to read 700 points</div>


<div>Requested to write 700 points</div><div>Buffer capacity is 700</div><div>0</div></div><div><br></div><div>Finally completes at 08:35:</div><div><br></div><div><div>F:\PDAL64>pdal64\pcpipeline -i export_pg_to_las_test.xml</div>


<div>Requested to read 700 points</div><div>Requested to write 700 points</div><div>Buffer capacity is 700</div><div>0.100</div></div><div><br></div><div><br></div><div><br></div><div>The new database server has reasonable horsepower. 2 Xeon e5-2690 CPUs, 32gb RAM. Postgresql is 9.2.4, 64 bit on a Windows 2008 Server OS. The 64 bit pgpointcloud build for Windows was provided by Regina. I built the 64 bit PDAL.</div>


<div><br></div><div>11 minutes seems excessive for extracting 700 points. Am I missing something, or is this to be expected?</div><div><br></div><div>Thanks for any insight,</div>Roger<br clear="all"><div><br></div>-- <br>

Roger Bedell<br>
Coordinate Solutions Inc.<br>
</div>