<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Good idea to try to purge boost!<br>
    <br>
    At some point I though that the selection of dimensions could be
    done when I insert the point cloud format in the DB (I only insert a
    format with X,Y,Z) but I found out that after running PDAL the one I
    inserted is ignored and a new format with all the dimensions is
    used. So, we definitively need a way to tell the writter which
    columns are desired.<br>
    <br>
    Just to be clear, the scale_x..., is supposed to be specified in the
    PDAL pipeline XML or in the point cloud format inserted in the DB or
    in both?<br>
    <br>
    Well, I attach the sql file I execute to set the DB <br>
    and the pipeline xml I am using to run pdal pipeline.<br>
    <br>
    With these ones I get a PDAL: ERROR:  unterminated quoted string at
    or near ".... <br>
    Looks like mismatch between expected format and the actual block
    format<br>
    <br>
    O.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 04-02-15 16:04, Andrew Bell wrote:<br>
    </div>
    <blockquote
cite="mid:CACJ51z2VwGzEyAVM5AkiOs4O4ps=WLZX5ythmQ9UhG4th0jRaQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Wed, Feb 4, 2015 at 7:37 AM, Oscar
            Martinez Rubi <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:o.martinezrubi@tudelft.nl" target="_blank">o.martinezrubi@tudelft.nl</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
              <br>
              About the capacity I found out that i need to specify the
              capacity in both writter and chipper.<br>
              <br>
              Still do not know how to select only x,y,z?<br>
            </blockquote>
            <div><br>
            </div>
            <div>Hi Oscar,</div>
            <div><br>
            </div>
            <div>Thanks for giving the code a try.</div>
            <div><br>
            </div>
            <div>Right now there isn't a way to select dimensions for
              write.  I'll add some option to the writer to select the
              dimensions.</div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">I was
              also trying to use scale_x,y,z but it crashes when
              inserting the patch. Did somebody managed to do this?<br>
            </blockquote>
            <div><br>
            </div>
            <div>Please report the bug with some detail if things aren't
              working for you.  I'm not sure that the postgres driver
              has gotten much of a workout since the scaling code was
              added.  I'll try your pipeline.</div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><?xml
              version="1.0" encoding="utf-8"?><br>
              <Pipeline version="1.0"><br>
                  <Writer type="writers.pgpointcloud"><br>
                      <Option name="connection"><br>
                           dbname='pf20' user='oscar'<br>
                      </Option><br>
                      <Option name="table">patches</Option><br>
                      <Option name="compression">dimensional</Option><br>
                      <Option name="capacity">3000</Option><br>
                      <Option name="srid">28992</Option><br>
                      <Option name="scale_x">0.01</Option><br>
                      <Option name="scale_y">0.01</Option><br>
                      <Option name="scale_z">0.01</Option><br>
                      <Filter type="filters.chipper"><br>
                          <Option
              name="capacity">3000</Option><br>
                          <Reader type="readers.las"><br>
                              <Option name="filename">/home/oscar/ahn_minibench.laz</Option><br>
                              <Option
              name="spatialreference">EPSG:28992</Option><br>
                          </Reader><br>
                      </Filter><br>
                  </Writer><br>
              </Pipeline><br>
            </blockquote>
            <div><br>
            </div>
            <div>Also, I don't think anyone has tried boost 1.57 that
              I'm aware of.  We're trying to purge boost from our code
              because of issues like this, but we haven't gotten there
              yet.  I'll build it and try.</div>
            <div><br>
            </div>
          </div>
          -- <br>
          <div class="gmail_signature">Andrew Bell<br>
            <a moz-do-not-send="true"
              href="mailto:andrew.bell.ia@gmail.com">andrew.bell.ia@gmail.com</a></div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>