Using GDAL with SpringBoot in Ubuntu

To use GDAL with SpringBoot in Ubuntu:


  1. Apt install gdal-bin, gdal-data, libgdal-java (optionally libgdal26, don't know whether it's necessary)
  2. Set the Environment variables in Eclipse:
    1. GDAL_DATA = /usr/share/gdal
    2. LD_LIBRARY_PATH = /usr/lib/jni:$LD_LIBRARY_PATH


Reference: http://geoexamples.blogspot.com/2012/05/running-gdal-java.html

Comments

Popular posts from this blog

Java encoding : UTF-8, Big5, x-MS950-HKSCS