Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Error in ingest raster data using Geomesa Accumulo gdal library

Continuing the discussion on your post on stack overflow: https://stackoverflow.com/questions/53275300/ingest-geotiff-using-geomesa-accumulo

Thanks,

Emilio

On 11/13/18 2:02 AM, sarath zacharia wrote:
Hi

I am trying to ingest geotiff data using geomesa-accumulo but getting the following error:

WARNING: Failed to load the GDAL native libs. This is not a problem unless you need to use the GDAL plugins: they won't be enabled. java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path

I tried the following commands

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/libgdal.so
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni/libgdaljni.so
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/test/Project/2.0.2-geomesa/geotools/
After adding this, I verified whether everything is correct in the library path, using the following command

java -XshowSettings:properties
I created gdal.jar file after compiling  gdal-2.3.0 source file which i have added in java.library.path, I've also added 'geotoolsinjava.library.path. Myjava.library.path` looks as below

  java.library.path = 
        /usr/lib/jni/libgdaljni.so
        /usr/lib/
        /usr/lib/libgdal.so
        /usr/java/packages/lib/amd64
        /usr/lib64
        /lib64
        /lib
        /usr/lib 
        /usr/local/lib/gdal
        /home/test/Project/2.0.2-geomesa/geotools/
Kindly help me to solve the warning that is shown. Any help is much appreciated.

On Fri, Nov 9, 2018 at 10:30 PM <geomesa-users-request@xxxxxxxxxxxxxxxx> wrote:
Send geomesa-users mailing list submissions to
        geomesa-users@xxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.locationtech.org/mailman/listinfo/geomesa-users
or, via email, send a message with subject or body 'help' to
        geomesa-users-request@xxxxxxxxxxxxxxxx

You can reach the person managing the list at
        geomesa-users-owner@xxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of geomesa-users digest..."


Today's Topics:

   1. Error in ingest raster data using Geomesa Accumulo
      (sarath zacharia)


----------------------------------------------------------------------

Message: 1
Date: Fri, 9 Nov 2018 10:53:15 +0530
From: sarath zacharia <sarathzacharia@xxxxxxxxx>
To: geomesa-users@xxxxxxxxxxxxxxxx
Subject: [geomesa-users] Error in ingest raster data using Geomesa
        Accumulo
Message-ID:
        <CAAsYya5cuyZTzjtLWkLcq455PQX8PnyBdS_6iRJ_KPxyQHjUmg@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hi All,

I am using geomesa-accumulo for ingest raster data, getting following error

WARNING: Failed to load the GDAL native libs. This is not a problem unless
you need to use the GDAL plugins: they won't be enabled.
java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path

I am using geomesa 2.0.2 and accumulo 1.9.2
in geomesa-accumulo lib having all imageio jar files

imageio-ext-gdalarcbinarygrid-1.1.13.jar  imageio-ext-gdalehdr-1.1.13.jar
         imageio-ext-gdalkakadujp2-1.1.13.jar
imageio-ext-geocore-1.1.13.jar
*imageio-ext-gdal-bindings-1.9.2.jar *
 imageio-ext-gdalenvihdr-1.1.13.jar
imageio-ext-gdalmrsid-1.1.13.jar          imageio-ext-imagereadmt-1.1.13.jar
imageio-ext-gdaldted-1.1.13.jar
 imageio-ext-gdalerdasimg-1.1.13.jar
 imageio-ext-gdalmrsidjp2-1.1.13.jar       imageio-ext-streams-1.1.13.jar
imageio-ext-gdalecw-1.1.13.jar
imageio-ext-gdalframework-1.1.13.jar      imageio-ext-gdalnitf-1.1.13.jar
         imageio-ext-tiff-1.1.13.jar
imageio-ext-gdalecwjp2-1.1.13.jar
 imageio-ext-gdalidrisi-1.1.13.jar
 imageio-ext-gdalrpftoc-1.1.13.jar         imageio-ext-utilities-1.1.13.jar

Kindly help me to solve this issue

--
with regards

Sarath Zacharia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.locationtech.org/mhonarc/lists/geomesa-users/attachments/20181109/646eb425/attachment.html>

------------------------------

_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users

End of geomesa-users Digest, Vol 57, Issue 1
********************************************


--
with regards

Sarath Zacharia

_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users


Back to the top