[pdal-commits] [PDAL/PDAL] 01c077: Infer the reader driver, no options required

GitHub noreply at github.com
Tue May 6 08:21:02 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/PDAL/PDAL
  Commit: 01c077cca37687e2c159796011de44fcc9dda068
      https://github.com/PDAL/PDAL/commit/01c077cca37687e2c159796011de44fcc9dda068
  Author: Pete Gadomski <pete.gadomski at gmail.com>
  Date:   2014-05-01 (Thu, 01 May 2014)

  Changed paths:
    M include/pdal/StageFactory.hpp
    M src/StageFactory.cpp

  Log Message:
  -----------
  Infer the reader driver, no options required

This patch adds a StageFactory::inferReaderDriver() method that takes
only a filename, no options. The provided options were not used as part
of the inference process, so the base method should not required them.
The original inferReaderDriver(std::string, Options) has been updated to
call this new method.


  Commit: 05657adec4a7549cd2e2fd890705103b64c7a4d2
      https://github.com/PDAL/PDAL/commit/05657adec4a7549cd2e2fd890705103b64c7a4d2
  Author: Pete Gadomski <pete.gadomski at gmail.com>
  Date:   2014-05-01 (Thu, 01 May 2014)

  Changed paths:
    M src/PipelineReader.cpp
    A test/data/pipeline/pipeline_read_notype.xml
    M test/unit/drivers/pipeline/PipelineReaderTest.cpp

  Log Message:
  -----------
  Without reader type, infer from filename

Add logic in PipelineReader::parseElement_Reader to attempt to infer the
reader type from a filename provided in the options, in absence of a
explicit type.

Fixes #278.


  Commit: 8fccb495534fa03a942c3bdebf27f1c9905b563f
      https://github.com/PDAL/PDAL/commit/8fccb495534fa03a942c3bdebf27f1c9905b563f
  Author: Pete Gadomski <pete.gadomski at gmail.com>
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
    A boost/import-pdal-boost.sh
    R cleanup-cmake.sh
    A cmake/examples/cleanup-cmake.sh
    A cmake/examples/hobu-config.sh
    A cmake/examples/hobu-windows.bat
    A cmake/examples/mpg-config.bat
    A cmake/examples/pramsey-config.sh
    R hobu-config.sh
    R hobu-windows.bat
    R import-pdal-boost.sh
    M include/pdal/Log.hpp
    M include/pdal/Stage.hpp
    R include/pdal/StageBase.hpp
    M include/pdal/StageFactory.hpp
    M include/pdal/StageInfo.hpp
    M include/pdal/Writer.hpp
    M include/pdal/drivers/caris/CloudReader.hpp
    M include/pdal/drivers/oci/common.hpp
    M include/pdal/kernel/Translate.hpp
    R mpg-config.bat
    R pramsey-config.sh
    M src/CMakeLists.txt
    M src/Filter.cpp
    M src/MultiFilter.cpp
    M src/PipelineWriter.cpp
    M src/Reader.cpp
    M src/Stage.cpp
    R src/StageBase.cpp
    M src/StageFactory.cpp
    M src/Writer.cpp
    M src/drivers/oci/Writer.cpp
    M src/filters/Scaling.cpp
    M src/filters/Selector.cpp
    M src/kernel/Support.cpp
    M src/kernel/Translate.cpp
    M test/unit/BoundsTest.cpp
    M test/unit/ConfigTest.cpp
    M test/unit/DimensionTest.cpp
    M test/unit/EnvironmentTest.cpp
    M test/unit/FileUtilsTest.cpp
    M test/unit/GDALUtilsTest.cpp
    M test/unit/LogTest.cpp
    M test/unit/MetadataTest.cpp
    M test/unit/OptionsTest.cpp
    M test/unit/PipelineManagerTest.cpp
    M test/unit/PointBufferCacheTest.cpp
    M test/unit/PointBufferTest.cpp
    M test/unit/RangeTest.cpp
    M test/unit/SchemaLayoutTest.cpp
    M test/unit/SchemaTest.cpp
    M test/unit/SpatialReferenceTest.cpp
    M test/unit/StageFactoryTest.cpp
    M test/unit/StreamFactoryTest.cpp
    M test/unit/Support.cpp
    M test/unit/SupportTest.cpp
    M test/unit/ThreadTest.cpp
    M test/unit/UserCallbackTest.cpp
    M test/unit/UtilsTest.cpp
    M test/unit/VectorTest.cpp
    M test/unit/apps/pc2pcTest.cpp
    M test/unit/apps/pcinfoTest.cpp
    M test/unit/apps/pcpipelineTest.cpp
    M test/unit/drivers/buffer/BufferReaderTest.cpp
    M test/unit/drivers/caris/CarisReaderTest.cpp
    M test/unit/drivers/faux/FauxReaderTest.cpp
    M test/unit/drivers/faux/FauxWriterTest.cpp
    M test/unit/drivers/las/LasReaderTest.cpp
    M test/unit/drivers/las/LasWriterTest.cpp
    M test/unit/drivers/nitf/NitfReaderTest.cpp
    M test/unit/drivers/nitf/NitfWriterTest.cpp
    M test/unit/drivers/pipeline/PipelineReaderTest.cpp
    M test/unit/drivers/pipeline/PipelineWriterTest.cpp
    M test/unit/drivers/qfit/QFITReaderTest.cpp
    M test/unit/drivers/sbet/SbetReaderTest.cpp
    M test/unit/drivers/sqlite/Writer.cpp
    M test/unit/drivers/terrasolid/TerraSolidReaderTest.cpp
    M test/unit/drivers/text/TextWriterTest.cpp
    M test/unit/filters/ByteSwapFilterTest.cpp
    M test/unit/filters/CacheFilterTest.cpp
    M test/unit/filters/ChipperTest.cpp
    M test/unit/filters/ColorFilterTest.cpp
    M test/unit/filters/ColorizationFilterTest.cpp
    M test/unit/filters/CropFilterTest.cpp
    M test/unit/filters/DecimationFilterTest.cpp
    M test/unit/filters/HexbinFilterTest.cpp
    M test/unit/filters/InPlaceReprojectionFilterTest.cpp
    M test/unit/filters/MosaicFilterTest.cpp
    M test/unit/filters/PCLBlockFilterTest.cpp
    M test/unit/filters/ScalingFilterTest.cpp
    M test/unit/filters/SelectorFilterTest.cpp
    M test/unit/filters/SplitterTest.cpp
    M test/unit/filters/StatsFilterTest.cpp
    M test/unit/plang/PLangTest.cpp
    M test/unit/plang/PredicateFilterTest.cpp
    M test/unit/plang/ProgrammableFilterTest.cpp

  Log Message:
  -----------
  Merge branch 'master' into issue/278-infer-reader-type

Conflicts:
	src/StageFactory.cpp


  Commit: 3ec4c100c6ddf5430400a81a2d68a21dfabffbbf
      https://github.com/PDAL/PDAL/commit/3ec4c100c6ddf5430400a81a2d68a21dfabffbbf
  Author: Howard Butler <howard at hobu.co>
  Date:   2014-05-06 (Tue, 06 May 2014)

  Changed paths:
    M include/pdal/StageFactory.hpp
    M src/PipelineReader.cpp
    M src/StageFactory.cpp
    A test/data/pipeline/pipeline_read_notype.xml
    M test/unit/drivers/pipeline/PipelineReaderTest.cpp

  Log Message:
  -----------
  Merge pull request #336 from gadomski/issue/278-infer-reader-type

In a pipeline, infer the reader type from filename in the absence of a type attr


Compare: https://github.com/PDAL/PDAL/compare/e22d4f77dce1...3ec4c100c6dd


More information about the pdal-commits mailing list