Skip to content

Instantly share code, notes, and snippets.

@chambbj
chambbj / gist:2711166
Created May 16, 2012 15:20
PDAL tests failing
$ mkdir build && cd build
$ mkdir osx && cd osx
$ cmake ../.. \
-DWITH_GDAL=ON \
-DWITH_GEOTIFF=ON \
-DWITH_LASZIP=ON \
-DWITH_TESTS=ON \
-DWITH_ORACLE=ON
@chambbj
chambbj / gist:3418680
Created August 21, 2012 19:45
pdal_test failing on mac
myhost:osx bchambers$ bin/pdal_test ../../test/data
Running 198 test cases...
0.100
Wrote 1065 points
0.100
Wrote 1065 points
0.100
Wrote 1065 points
0.100
Wrote 1065 points
@chambbj
chambbj / gist:3426434
Created August 22, 2012 15:00
remaining pdal_test errors on os x
myhost:osx2 bchambers$ bin/pdal_test ../../test/data/
Running 198 test cases...
0.100
Wrote 1065 points
0.100
Wrote 1065 points
0.100
Wrote 1065 points
0.100
Wrote 1065 points
@chambbj
chambbj / gist:3989768
Created October 31, 2012 20:48
LAS to GeoJSON XML pipeline
<?xml version="1.0" encoding="utf-8"?>
<Pipeline version="1.0">
<Writer type="drivers.text.writer">
<Option name="filename">
output.json
</Option>
<Option name="order">
X,Y,Z
</Option>
<Option name="keep_unspecified">
@chambbj
chambbj / libusb-devel.rb
Created March 28, 2012 18:24
My libusb-devel formula for Homebrew (for PCL installation on OS X Lion)
require 'formula'
class LibusbDevel < Formula
url 'https://github.com/OpenNI/OpenNI/blob/4dbf64bc45b880bfda6aa6bb2a30d1ddd03a8c65/Platform/Linux/Build/Prerequisites/libusb-1.0.8-osx.tar.bz2?raw=true'
homepage 'http://www.libusb.org/'
md5 '8ad20ec24b7612caf75a059a03f21dd8'
depends_on "automake" => :build
depends_on "libtool" => :build
@chambbj
chambbj / 0_reuse_code.js
Created January 12, 2016 18:18
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@chambbj
chambbj / example.json
Last active March 21, 2017 14:09
Branching pipeline
{
"pipeline":[
{
"type":"filters.assign",
"assignment":"Classification[:]=0",
"tag":"reset"
},
{
"type":"filters.outlier",
"inputs":["reset"],
@chambbj
chambbj / Dockerfile
Created June 8, 2017 12:18
Unofficial PDAL + Geowave Dockerfile
FROM pdal/dependencies:latest
ENV CC gcc
ENV CXX g++
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
add-apt-repository -y ppa:webupd8team/java && \
apt-get update && \
apt-get install -y --fix-missing --no-install-recommends \
oracle-java8-installer \
@chambbj
chambbj / creating-a-pipeline.ipynb
Last active August 10, 2017 14:57
Creating a Pipeline
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chambbj
chambbj / validating-and-executing-the-pipeline.ipynb
Created August 10, 2017 16:20
Validating & Executing the Pipeline
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.