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 Oct 18, 2016
2 parents aa4f71f + ba2ad1b commit 88d6865
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kernels/info/InfoKernel.cpp
Expand Up @@ -406,7 +406,7 @@ MetadataNode InfoKernel::dumpQuery(PointViewPtr inView) const
else
count = 0;
if (count == 0)
throw pdal_error("Invalid location specificiation. "
throw pdal_error("Invalid location specification. "
"--query=\"X,Y[/count]\"");

auto seps = [](char c){ return (c == ',' || c == '|' || c == ' '); };
Expand Down
17 changes: 15 additions & 2 deletions plugins/hexbin/filters/HexBin.cpp
Expand Up @@ -95,8 +95,21 @@ void HexBin::filter(PointView& view)
void HexBin::done(PointTableRef table)
{
m_grid->processSample();
m_grid->findShapes();
m_grid->findParentPaths();

try
{
m_grid->findShapes();
m_grid->findParentPaths();
}
catch (hexer::hexer_error& e)
{
m_metadata.add("error", e.what(), "Hexer threw an error and was unable to compute a boundary");
m_metadata.add("boundary", "MULTIPOLYGON EMPTY", "Empty polygon -- unable to compute boundary");

return;

}


std::ostringstream offsets;
offsets << "MULTIPOINT (";
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/Dockerfile
Expand Up @@ -56,7 +56,7 @@ RUN git clone https://github.com/PDAL/PRC.git \
&& cmake \
-DCMAKE_BUILD_TYPE=Release \
-DPDAL_DIR=/usr/lib/pdal/cmake \
-DCMAKE_BUILD_PREFIX=/usr \
-DCMAKE_INSTALL_PREFIX=/usr \
.. \
&& make \
&& make install \
Expand Down
10 changes: 10 additions & 0 deletions src/Dimension.json
Expand Up @@ -327,5 +327,15 @@
"alt_names": "Elevation_High",
"type": "double",
"description": "Elevation High"
},
{
"name": "PointId",
"type": "uint32",
"description": "An explicit representation of point ordering within a file, which allows this usually-implicit information to be preserved when reordering points."
},
{
"name": "OriginId",
"type": "uint32",
"description": "A file source ID from which the point originated. This ID is global to a derivative dataset which may be aggregated from multiple files."
}
] }

0 comments on commit 88d6865

Please sign in to comment.