Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: org.pentaho.gis.shapefiles.GisException

  1. #1
    bartd Guest

    Question org.pentaho.gis.shapefiles.GisException

    Hi,

    I am having trouble trying to load the shape-file using the "ESRI Shapefile Reader"

    Unable to read shapefile [3D_GRB/Shapefile/GRBGebL1D1.shp] because of an error: org.pentaho.gis.shapefiles.GisException: shape type : 15 not recognized! (PolygonZ)

    I think the main issue is that the file is in 3D and the "ESRI Shapefile Reader" doesn't handle that, yet ...

    Affected file is available via https://download.agiv.be/Producten/D...1&title=3D_GRB

    Note the above is a Flemish regional governmental site (in Dutch).

    You need to accept the licence agreement to gain access to the data ( .be emails addresses seem to be allow for registration only).

    Please shout if you have experience to work around the issue.

    Thanks in advance,

    Bart,

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Hi Bart,

    Perhaps you can try the GIS plugin from the marketplace but with the shape file you're out of luck I think. I wrote that step too long ago (13 years!!) to even remember how to implement the 3D format :-)

    Best of luck,

    Matt

  3. #3
    bartd Guest

    Default

    Hi Matt,

    Thanks for the quick feedback.

    I Tried the GIS Plugin.

    However the thing is giving me a: "org/apache/commons/vfs/FileSystemException"

    I assume this is similar to:

    . http://jira.pentaho.com/browse/PDI-12270
    . http://jira.pentaho.com/browse/PDI-13413

    expected workaround didn't solve it

    export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk
    export PATH=$JAVA_HOME/bin:$PATH
    java -version
    ./spoon.sh
    I am not really a Java Duke ...

    any suggestions are welcome

    btw: using centos7 on x86_64 Virtualbox5 and OpenJDK 1.8.0

    Regards,

    Bart,

  4. #4
    bartd Guest

    Default

    stack trace:

    java.lang.NoClassDefFoundError: org/apache/commons/vfs/FileSystemException
    at com.atolcd.pentaho.di.trans.steps.gisfileinput.GisFileInputMeta.getFields(GisFileInputMeta.java:211)
    at org.pentaho.di.trans.TransMeta.compatibleGetStepFields(TransMeta.java:2054)
    at org.pentaho.di.trans.TransMeta.getThisStepFields(TransMeta.java:2040)
    at org.pentaho.di.trans.TransMeta.getStepFields(TransMeta.java:1871)
    at org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1940)
    at org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1905)
    at org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1891)
    at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog.get(TableOutputDialog.java:1374)
    at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog.access$2200(TableOutputDialog.java:94)
    at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog$21.handleEvent(TableOutputDialog.java:833)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339)
    at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.vfs.FileSystemException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClassFromParent(KettleURLClassLoader.java:89)
    at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(KettleURLClassLoader.java:108)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    when pressing the button: "get fields"on the target table

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.