Formula/osgeo-pdal.rb
# -- The following features have been disabled:
#  * Bash completion, completion for PDAL command line
#  * CPD plugin, Coherent Point Drift (CPD) computes rigid or nonrigid transformations between point sets
#  * Delaunay plugin, perform Delaunay triangulation of point cloud
#  * GeoWave plugin, Read and Write data using GeoWave
#  * I3S plugin, Read from a I3S server or from a SLPK file
#  * Matlab plugin, write data to a .mat file
#  * MrSID plugin, read data in the MrSID format
#  * NITF plugin, read/write LAS data wrapped in NITF
#  * OpenSceneGraph plugin, read/write OpenSceneGraph objects
#  * Oracle OCI plugin, Read/write point clould patches to Oracle
#  * RiVLib plugin, read data in the RXP format
#  * rdblib plugin, read data in the RDB format
#  * MBIO plugin, add features that depend on MBIO
#  * FBX plugin, add features that depend on FBX
The following features have been disabled:
Bash completion, completion for PDAL command line
CPD plugin, Coherent Point Drift (CPD) computes rigid or nonrigid transformations between point sets
Delaunay plugin, perform Delaunay triangulation of point cloud
GeoWave plugin, Read and Write data using GeoWave
I3S plugin, Read from a I3S server or from a SLPK file
Matlab plugin, write data to a .mat file
MrSID plugin, read data in the MrSID format
NITF plugin, read/write LAS data wrapped in NITF
OpenSceneGraph plugin, read/write OpenSceneGraph objects
Oracle OCI plugin, Read/write point clould patches to Oracle
RiVLib plugin, read data in the RXP format
rdblib plugin, read data in the RDB format
MBIO plugin, add features that depend on MBIO
FBX plugin, add features that depend on FBX
The following features have been disabled : Bash completion completion for PDAL command line CPD plugin Coherent Point Drift ( CPD ) computes rigid or nonrigid transformations between point sets Delaunay plugin perform Delaunay triangulation of point cloud GeoWave plugin Read and Write data using GeoWave I3S plugin Read from a I3S server or from a SLPK file Matlab plugin write data to a . mat file MrSID plugin read data in the MrSID format NITF plugin read / write LAS data wrapped in NITF OpenSceneGraph plugin read / write OpenSceneGraph objects Oracle OCI plugin Read / write point clould patches to Oracle RiVLib plugin read data in the RXP format rdblib plugin read data in the RDB format MBIO plugin add features that depend on MBIO FBX plugin add features that depend on FBX
def install
    ENV.cxx11
    args = std_cmake_args
    args += %W[
      -DBUILD_PLUGIN_GREYHOUND=ON
      -DBUILD_PLUGIN_ICEBRIDGE=ON
      -DBUILD_PLUGIN_PCL=ON
      -DBUILD_PLUGIN_PGPOINTCLOUD=ON
      -DBUILD_PLUGIN_PYTHON=ON
      -DBUILD_PLUGIN_SQLITE=ON
      -DWITH_LASZIP=TRUE
      -DWITH_LAZPERF=ON"
    ]
    args << "-DLASZIP_LIBRARIES=#{Formula["laszip"].opt_lib}/liblaszip.dylib"
    args << "-DLASZIP_INCLUDE_DIR=#{Formula["laszip"].opt_include}"
    args << "-DPYTHON_EXECUTABLE=#{Formula["python"].opt_bin}/python#{py_ver}"
    args << "-DPYTHON_INCLUDE_DIR=#{Formula["python"].opt_frameworks}/Python.framework/Versions/#{py_ver}/Headers"
    args << "-DPYTHON_LIBRARY=#{Formula["python"].opt_frameworks}/Python.framework/Versions/#{py_ver}/lib/libpython#{py_ver}.dylib"
    if build.with?("pg10")
      args << "-DPG_CONFIG=#{Formula["osgeo-postgresql@10"].opt_bin}/pg_config"
      args << "-DPOSTGRESQL_INCLUDE_DIR=#{Formula["osgeo-postgresql@10"].opt_include}"
      args << "-DPOSTGRESQL_LIBRARIES=#{Formula["osgeo-postgresql@10"].opt_lib}/libpq.dylib"
    else
      args << "-DPG_CONFIG=#{Formula["osgeo-postgresql"].opt_bin}/pg_config"
      args << "-DPOSTGRESQL_INCLUDE_DIR=#{Formula["osgeo-postgresql"].opt_include}"
      args << "-DPOSTGRESQL_LIBRARIES=#{Formula["osgeo-postgresql"].opt_lib}/libpq.dylib"
    end
    system "cmake", ".", *args
    system "make", "install"
    doc.install "examples", "test"
  end
def install ENV . cxx11 args = std_cmake_args args += %W[ -DBUILD_PLUGIN_GREYHOUND=ON -DBUILD_PLUGIN_ICEBRIDGE=ON -DBUILD_PLUGIN_PCL=ON -DBUILD_PLUGIN_PGPOINTCLOUD=ON -DBUILD_PLUGIN_PYTHON=ON -DBUILD_PLUGIN_SQLITE=ON -DWITH_LASZIP=TRUE -DWITH_LAZPERF=ON" ] args << "-DLASZIP_LIBRARIES=#{Formula["laszip"].opt_lib}/liblaszip.dylib" args << "-DLASZIP_INCLUDE_DIR=#{Formula["laszip"].opt_include}" args << "-DPYTHON_EXECUTABLE=#{Formula["python"].opt_bin}/python#{py_ver}" args << "-DPYTHON_INCLUDE_DIR=#{Formula["python"].opt_frameworks}/Python.framework/Versions/#{py_ver}/Headers" args << "-DPYTHON_LIBRARY=#{Formula["python"].opt_frameworks}/Python.framework/Versions/#{py_ver}/lib/libpython#{py_ver}.dylib" if build . with? ( "pg10" ) args << "-DPG_CONFIG=#{Formula["osgeo-postgresql@10"].opt_bin}/pg_config" args << "-DPOSTGRESQL_INCLUDE_DIR=#{Formula["osgeo-postgresql@10"].opt_include}" args << "-DPOSTGRESQL_LIBRARIES=#{Formula["osgeo-postgresql@10"].opt_lib}/libpq.dylib" else args << "-DPG_CONFIG=#{Formula["osgeo-postgresql"].opt_bin}/pg_config" args << "-DPOSTGRESQL_INCLUDE_DIR=#{Formula["osgeo-postgresql"].opt_include}" args << "-DPOSTGRESQL_LIBRARIES=#{Formula["osgeo-postgresql"].opt_lib}/libpq.dylib" end system "cmake" , "." , * args system "make" , "install" doc . install "examples" , "test" end
The following features have been disabled:
 Bash completion, completion for PDAL command line
 CPD plugin, Coherent Point Drift (CPD) computes rigid or nonrigid transformations between point sets
 Delaunay plugin, perform Delaunay triangulation of point cloud
 GeoWave plugin, Read and Write data using GeoWave
 I3S plugin, Read from a I3S server or from a SLPK file
 Matlab plugin, write data to a .mat file
 MrSID plugin, read data in the MrSID format
 NITF plugin, read/write LAS data wrapped in NITF
 OpenSceneGraph plugin, read/write OpenSceneGraph objects
 Oracle OCI plugin, Read/write point clould patches to Oracle
 RiVLib plugin, read data in the RXP format
 rdblib plugin, read data in the RDB format
 MBIO plugin, add features that depend on MBIO
 FBX plugin, add features that depend on FBX
The following features have been disabled : Bash completion completion for PDAL command line CPD plugin Coherent Point Drift ( CPD ) computes rigid or nonrigid transformations between point sets Delaunay plugin perform Delaunay triangulation of point cloud GeoWave plugin Read and Write data using GeoWave I3S plugin Read from a I3S server or from a SLPK file Matlab plugin write data to a . mat file MrSID plugin read data in the MrSID format NITF plugin read / write LAS data wrapped in NITF OpenSceneGraph plugin read / write OpenSceneGraph objects Oracle OCI plugin Read / write point clould patches to Oracle RiVLib plugin read data in the RXP format rdblib plugin read data in the RDB format MBIO plugin add features that depend on MBIO FBX plugin add features that depend on FBX
# args << "-DBUILD_PLUGIN_HEXBIN=ON" # not used by the project