Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sparkgis:installation [2017/04/12 10:33]
fbaig2 [Environment Variables]
sparkgis:installation [2017/04/12 10:59] (current)
master [Environment Variables]
Line 1: Line 1:
 +===== SparkGIS Installation =====
 +
 ==== Environment Variables ==== ==== Environment Variables ====
  
 Please add or reconfigure your environment variables to have the following variables set up and pointing to correct paths (preferably in your ''​~/​.bashrc''​ file): Please add or reconfigure your environment variables to have the following variables set up and pointing to correct paths (preferably in your ''​~/​.bashrc''​ file):
  
-''​SPGIS_INC_PATH''​ : This should be pointing to the include folder having header files for native functions. (Available when you download SparkGIS)+  * ''​SPGIS_INC_PATH''​ : This should be pointing to the include folder having header files for native functions. (Available when you download SparkGIS) 
 +  * ''​SPGIS_LIB_PATH'':​ This should be pointing to the lib folder having compiled shared object libraries for native functions. (Available when you download SparkGIS) 
 +  * ''​SPARK_HOME'':​ This should be pointing to your Apache Spark installation directory
  
-''​SPGIS_LIB_PATH'':​ This should be pointing to the lib folder having compiled shared object libraries for native functions. (Available when you download SparkGIS)+==== Library Requirements and Dependencies ====
  
-<font inherit/​inherit;;​inherit;;​rgb(251,​ 250, 249)>​SPARK_HOME</​font> ​   : This should be pointing to your Apache Spark installation directory +Below are the list of dependencies that SparkGIS requires. They must be available on or be accessible from all compute (task) nodes. You can install dependencies as the root user or a non-admin user.
- +
-==== Install library dependencies ==== +
- +
-Below are the list of dependencies that SparkGIS requires. They must be available on all compute (task) nodes. You can install dependencies as the root user or a non-admin user.+
  
 Install the libraries in the following order: Install the libraries in the following order:
 +  * g++ 4.x (x >= 4)
 +  * GEOS 3.x (x >= 3)
 +  * libspatialindex 1.8.x (x >= 0)
 +  * Maven 3.2.x (Compiling from source)
  
-  - g++ 4.x (x >= 4) +If you download from the provided link, the libraries are already compiled and available in the lib folder.
-  - GEOS 3.x (x >= 3) +
-  - libspatialindex 1.8.x (x >= 0) +
-  - Maven 3.2.x (Compiling from source) +
- +
-If you download from provided link, these libraries are already compiled and available in the lib folder.+
  
-No installation is required. SparkGIS binary is available as a JAR which can be included in your project. The JAR can be downloaded through the Download page or can be added through maven (TBU).+No additional ​installation is required. SparkGIS binary is available as a JAR which can be included in your project. The JAR can be downloaded through the [[:​sparkgis:​download|Download]] page or can be added through maven (TBU).
  
 Maven Repo: TBU Maven Repo: TBU