[pdal-commits] [PDAL/PDAL] 5d788b: Improvements to reader.pts (#2317)

GitHub noreply at github.com
Wed Dec 19 06:19:57 PST 2018


  Branch: refs/heads/master
  Home:   https://github.com/PDAL/PDAL
  Commit: 5d788bd1b207373c06179601eb40809c783517f2
      https://github.com/PDAL/PDAL/commit/5d788bd1b207373c06179601eb40809c783517f2
  Author: Daniel Brookes <26078684+dbrookes96 at users.noreply.github.com>
  Date:   2018-12-19 (Wed, 19 Dec 2018)

  Changed paths:
    M io/PtsReader.cpp
    A test/data/pts/bunny_8.pts
    M test/unit/io/PtsReaderTest.cpp

  Log Message:
  -----------
  Improvements to reader.pts (#2317)

Peek the first line of the input file to determine what dimensions to add. Allows for reading PTS files which don't have Intensity, R, G or B such as the bunnyData.pts point cloud from http://www.libe57.org/data.html.
Also, limit the number of points read by the expected point count on the first line of the PTS file.
Added a unit test and bunny_8.pts test data to check the above two things. Note that bunny_8.pts actually contains 9 points but has 8 as the expected point count.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the pdal-commits mailing list