X

Oracle Big Data Spatial and Graph - technical tips, best practices, and news from the product team

Oracle Big Data Lite VM 4.2 - Installing the Image Processing Framework for Big Data Spatial and Graph

Jean Ihm
Product Manager, Oracle Spatial and Graph

Cross-posting from Marty Gubar's entries at the Data Warehouse Insider blog.  Thanks Marty for the info!

Oracle Big Data Lite Virtual Machine 4.2 is now available on OTN.  For those of you that are new to the VM - it is a great way to get started with Oracle's big data platform, with many platform components preinstalled and configured.

One of the cool new features is Big Data Spatial and
Graph.  In order to use this new feature, there is one more
configuration step required.  Normally, we include everything you need
in the VM - but this is a component that we couldn't distribute.

For the Big Data Spatial Image Processing Framework, you will need to install and configure Proj.4 - Cartographic Projections Library.  Simply follow these steps: 

  • Start the Big Data Lite VM and log in as user "oracle"
  • Launch firefox and download this tarball (​http://download.osgeo.org/proj/proj-4.9.1.tar.gz) to ~/Downloads
  • Run the following commands at the linux prompt:
    • cd ~/Downloads
    • tar -xvf proj-4.9.1.tar.gz
    • cd proj-4.9.1
    • ./configure
    • make
    • sudo make install

This will create the libproj.so file in directory /usr/local/lib/.  Now that the file has been created, create links to it in the appropriate directories.  At the linux prompt:

  • sudo ln -s /usr/local/lib/libproj.so /u02/oracle-spatial-graph/shareddir/spatial/demo/imageserver/native/libproj.so
  • sudo ln -s /usr/local/lib/libproj.so /usr/lib/hadoop/lib/native/libproj.so

That's all there is to it.  Big Data Lite is now ready for Oracle Big Data Spatial and Graph!

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha