Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configured GeoWave drivers to run as plugins.
- Loading branch information
womeara
committed
Feb 11, 2015
1 parent
40707b9
commit dd63393
Showing
20 changed files
with
121 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# GeoWave support | ||
# | ||
|
||
# GeoWave support - optional, default=OFF | ||
option(BUILD_PLUGIN_GEOWAVE "Choose if GeoWave support should be built" FALSE) | ||
if(BUILD_PLUGIN_GEOWAVE) | ||
find_package(GeoWave 0.8.3) | ||
if(GEOWAVE_FOUND) | ||
mark_as_advanced(CLEAR GeoWave_RUNTIME_JAR) | ||
add_definitions(-DGEOWAVE_RUNTIME_JAR=${GEOWAVE_RUNTIME_JAR}) | ||
set(PDAL_HAVE_GEOWAVE 1) | ||
else() | ||
set(GEOWAVE_RUNTIME_JAR "") | ||
set(BUILD_PLUGIN_GEOWAVE FALSE) | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
# JNI support | ||
# | ||
|
||
# JNI support - optional, default=OFF | ||
if(BUILD_PLUGIN_GEOWAVE) | ||
find_package(JNI) | ||
if(JNI_FOUND) | ||
set(CMAKE_REQUIRED_LIBRARIES "${JNI_LIBRARIES}") | ||
include_directories(${JNI_INCLUDE_DIRS}) | ||
mark_as_advanced(CLEAR JNI_INCLUDE_DIRS) | ||
mark_as_advanced(CLEAR JNI_LIBRARIES) | ||
add_definitions(-DJAVA_EXECUTABLE_PATH=${Java_JAVA_EXECUTABLE}) | ||
set(PDAL_HAVE_JNI 1) | ||
else() | ||
set(JNI_LIBRARIES "") | ||
set(BUILD_PLUGIN_GEOWAVE FALSE) | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# | ||
# GeoWave driver CMake configuration | ||
# | ||
|
||
include(${PDAL_CMAKE_DIR}/jni.cmake) | ||
include(${PDAL_CMAKE_DIR}/jace.cmake) | ||
include(${PDAL_CMAKE_DIR}/geowave.cmake) | ||
|
||
set(GEOWAVE_LIBRARIES "") | ||
set(GEOWAVE_LIBRARIES ${GEOWAVE_LIBRARIES} ${Boost_LIBRARIES}) | ||
set(GEOWAVE_LIBRARIES ${GEOWAVE_LIBRARIES} ${JNI_LIBRARIES}) | ||
set(GEOWAVE_LIBRARIES ${GEOWAVE_LIBRARIES} ${JACE_LIBRARY}) | ||
set(GEOWAVE_LIBRARIES ${GEOWAVE_LIBRARIES} ${JAVA_AWT_LIBRARY}) | ||
set(GEOWAVE_LIBRARIES ${GEOWAVE_LIBRARIES} ${JAVA_JVM_LIBRARY}) | ||
|
||
set(objs "") | ||
|
||
# | ||
# GeoWave Reader | ||
# | ||
set(srcs | ||
io/GeoWaveReader.cpp | ||
) | ||
|
||
set(incs | ||
io/GeoWaveReader.hpp | ||
) | ||
|
||
PDAL_ADD_PLUGIN(reader_libname reader geowave | ||
FILES "${srcs}" "${incs}" | ||
LINK_WITH ${GEOWAVE_LIBRARIES}) | ||
|
||
# | ||
# GeoWave Writer | ||
# | ||
set(srcs | ||
io/GeoWaveWriter.cpp | ||
) | ||
|
||
set(incs | ||
io/GeoWaveWriter.hpp | ||
) | ||
|
||
PDAL_ADD_PLUGIN(writer_libname writer geowave | ||
FILES "${srcs}" "${incs}" | ||
LINK_WITH ${GEOWAVE_LIBRARIES}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.