java.lang.UnsatisfiedLinkError: org.gdal.ogr.ogrJNI.Layer_SetSpatialFilter(JLorg/gdal/ogr/Layer;JLorg/gdal/ogr/Geometry;)V

Stack Overflow | Shubham Goyal | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Issue with adding a Mapinfo-File using OgrJNI Plugin geotools

    Stack Overflow | 5 months ago | Shubham Goyal
    java.lang.UnsatisfiedLinkError: org.gdal.ogr.ogrJNI.Layer_SetSpatialFilter(JLorg/gdal/ogr/Layer;JLorg/gdal/ogr/Geometry;)V

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      org.gdal.ogr.ogrJNI.Layer_SetSpatialFilter(JLorg/gdal/ogr/Layer;JLorg/gdal/ogr/Geometry;)V

      at org.gdal.ogr.ogrJNI.Layer_SetSpatialFilter()
    2. org.gdal.ogr
      Layer.SetSpatialFilter
      1. org.gdal.ogr.ogrJNI.Layer_SetSpatialFilter(Native Method)
      2. org.gdal.ogr.Layer.SetSpatialFilter(Layer.java:89)
      2 frames
    3. org.geotools.data
      ContentFeatureCollection.features
      1. org.geotools.data.ogr.jni.JniOGR.LayerSetSpatialFilter(JniOGR.java:257)
      2. org.geotools.data.ogr.OGRFeatureSource.setLayerFilters(OGRFeatureSource.java:124)
      3. org.geotools.data.ogr.OGRFeatureSource.getReaderInternal(OGRFeatureSource.java:230)
      4. org.geotools.data.ogr.OGRFeatureSource.getReaderInternal(OGRFeatureSource.java:167)
      5. org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:647)
      6. org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:173)
      7. org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:58)
      7 frames
    4. org.geotools.renderer
      StreamingRenderer.paint
      1. org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer.java:2285)
      2. org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1920)
      3. org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:833)
      3 frames
    5. org.geotools.swing
      RenderingTask.call
      1. org.geotools.swing.RenderingTask.call(RenderingTask.java:106)
      2. org.geotools.swing.RenderingTask.call(RenderingTask.java:41)
      2 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames