Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Mar 23, 2018
2 parents 837ba6a + 62e6406 commit a526df5
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 321 deletions.
2 changes: 1 addition & 1 deletion cmake/laszip.cmake
Expand Up @@ -5,7 +5,7 @@ option(WITH_LASZIP "Choose if LASzip support should be built" TRUE)
option(WITH_STATIC_LASZIP "Choose if LASzip should be statically linked" FALSE)
mark_as_advanced(WITH_STATIC_LASZIP)
if (WITH_LASZIP)
find_package(LASzip QUIET 3.1.1)
find_package(LASzip QUIET 3.1)
set_package_properties(LASzip PROPERTIES TYPE RECOMMENDED
PURPOSE "Provides LASzip compression")
if(LASZIP_FOUND)
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/FindLASzip.cmake
Expand Up @@ -25,7 +25,7 @@ IF(LASZIP_INCLUDE_DIR)
ENDIF()

IF(WIN32)
SET(OSGEO4W_IMPORT_LIBRARY laszip)
SET(OSGEO4W_IMPORT_LIBRARY laszip3)
IF(DEFINED ENV{OSGEO4W_ROOT})
SET(OSGEO4W_ROOT_DIR $ENV{OSGEO4W_ROOT})
#MESSAGE(STATUS " FindLASzip: trying OSGeo4W using environment variable OSGEO4W_ROOT=$ENV{OSGEO4W_ROOT}")
Expand Down
36 changes: 0 additions & 36 deletions doc/stages/filters.computerange.rst

This file was deleted.

117 changes: 0 additions & 117 deletions filters/ComputeRangeFilter.cpp

This file was deleted.

66 changes: 0 additions & 66 deletions filters/ComputeRangeFilter.hpp

This file was deleted.

2 changes: 2 additions & 0 deletions io/TextReader.cpp
Expand Up @@ -90,6 +90,7 @@ QuickInfo TextReader::inspect()

void TextReader::checkHeader(const std::string& header)
{
std::cerr << "Header = " << header << "!\n";
auto it = std::find_if(header.begin(), header.end(),
[](char c){ return std::isalpha(c); });
if (it == header.end())
Expand Down Expand Up @@ -130,6 +131,7 @@ void TextReader::initialize(PointTableRef table)
if (!m_istream)
throwError("Unable to open text file '" + m_filename + "'.");

m_line = 0;
// Skip lines requested.
std::string dummy;
for (size_t i = 0; i < m_skip; ++i)
Expand Down
4 changes: 4 additions & 0 deletions pdal/FlexWriter.hpp
Expand Up @@ -105,7 +105,11 @@ class PDAL_DLL FlexWriter : public Writer
virtual void write(const PointViewPtr view) final
{
if (m_hashPos != std::string::npos)
{
if (view->size() == 0)
return;
readyFile(generateFilename(), view->spatialReference());
}
writeView(view);
if (m_hashPos != std::string::npos)
doneFile();
Expand Down
8 changes: 8 additions & 0 deletions plugins/nitf/io/tre_plugins.hpp
Expand Up @@ -39,7 +39,15 @@
#ifndef IMPORT_NITRO_API
#define IMPORT_NITRO_API
#endif

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic ignored "-Wunused-private-field"

#include <nitro/c++/import/nitf.hpp>

#pragma GCC diagnostic pop

#include <nitro/c++/except/Trace.h>

namespace pdal
Expand Down
1 change: 0 additions & 1 deletion test/unit/CMakeLists.txt
Expand Up @@ -108,7 +108,6 @@ PDAL_ADD_TEST(pdal_filters_colorinterp_test FILES
filters/ColorinterpFilterTest.cpp)
PDAL_ADD_TEST(pdal_filters_colorization_test FILES
filters/ColorizationFilterTest.cpp)
PDAL_ADD_TEST(pdal_filters_computerange_test FILES filters/ComputeRangeFilterTest.cpp)
PDAL_ADD_TEST(pdal_filters_crop_test FILES filters/CropFilterTest.cpp)
PDAL_ADD_TEST(pdal_filters_decimation_test FILES
filters/DecimationFilterTest.cpp)
Expand Down
99 changes: 0 additions & 99 deletions test/unit/filters/ComputeRangeFilterTest.cpp

This file was deleted.

0 comments on commit a526df5

Please sign in to comment.