Monday, May 18, 2020

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

No comments:

Post a Comment

CSP on Apache

To add CSP to root if sort of funny. The following will NOT work for most cases !!     <LocationMatch "^/$">        Header s...