Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed May 13, 2020
1 parent d1d4c7e commit 140e618
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 156 deletions.
1 change: 0 additions & 1 deletion io/EptAddonWriter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#include <cstddef>
#include <memory>
#include <vector>
#include <unordered_map>

#include <pdal/JsonFwd.hpp>
#include <pdal/Writer.hpp>
Expand Down
12 changes: 0 additions & 12 deletions io/EptReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -751,16 +751,4 @@ bool EptReader::processOne(PointRef& point)
return true;
}

/**
Dimension::Type EptReader::getRemoteTypeTest(const NL::json& j)
{
return getRemoteType(j);
}
Dimension::Type EptReader::getCoercedTypeTest(const NL::json& j)
{
return getCoercedType(j);
}
**/

} // namespace pdal
7 changes: 0 additions & 7 deletions io/EptReader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,6 @@ class PDAL_DLL EptReader : public Reader, public Streamable
void process(PointViewPtr dstView, const TileContents& tile,
point_count_t count);
bool processPoint(PointRef& dst, const TileContents& tile);

// To allow testing of hidden getRemoteType() and getCoercedType().
/**
static Dimension::Type getRemoteTypeTest(const NL::json& dimInfo);
static Dimension::Type getCoercedTypeTest(const NL::json& dimInfo);
**/

void load(const Overlap& overlap);

std::unique_ptr<Connector> m_connector;
Expand Down
28 changes: 0 additions & 28 deletions io/private/ept/EptInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,34 +43,6 @@
namespace pdal
{

/**
inline NL::json parse(const std::string& data)
{
NL::json j;
try
{
j = NL::json::parse(data);
}
catch (NL::json::parse_error& err)
{
throw ept_error(std::string("Error during parsing: ") + err.what());
}
return j;
}
inline BOX3D toBox3d(const NL::json& b)
{
if (!b.is_array() || b.size() != 6)
{
throw ept_error("Invalid bounds specification: " + b.dump());
}
return BOX3D(b[0].get<double>(), b[1].get<double>(), b[2].get<double>(),
b[3].get<double>(), b[4].get<double>(), b[5].get<double>());
}
**/

class Connector;

class EptInfo
Expand Down
103 changes: 0 additions & 103 deletions io/private/ept/EptSupport.cpp

This file was deleted.

5 changes: 0 additions & 5 deletions io/private/ept/TileContents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ void TileContents::readLaszip()
reader.prepare(*m_table); // Geotiff SRS initialization is not thread-safe.
lock.unlock();

//ABELL
reader.execute(*m_table);
// PointViewSet s = reader.execute(*m_table);
// m_view = *s.begin();
}

void TileContents::readBinary()
Expand All @@ -110,7 +107,6 @@ void TileContents::readBinary()
VectorPointTable *vpt = new VectorPointTable(m_info.remoteLayout());
vpt->buffer() = std::move(data);
m_table.reset(vpt);
// m_view.reset(new PointView(*m_table, vpt->numPoints()));

transform();
}
Expand All @@ -131,7 +127,6 @@ void TileContents::readZstandard()
VectorPointTable *vpt = new VectorPointTable(m_info.remoteLayout());
vpt->buffer() = std::move(data);
m_table.reset(vpt);
// m_view.reset(new PointView(*m_table, vpt->numPoints()));

transform();
}
Expand Down

0 comments on commit 140e618

Please sign in to comment.