Hi,
Trying to import a shapefile using Hana Studio 2.0.7, I always get the following error:
com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [2]: general error: ShapefileImport: inconsistent datatype: Failed to parse from WellKnownText
at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:345)
at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:185)
at com.sap.db.jdbc.packet.ReplyPacket.buildExceptionChain(ReplyPacket.java:102)
at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:1030)
at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:820)
at com.sap.db.jdbc.StatementSapDB.sendCommand(StatementSapDB.java:896)
at com.sap.db.jdbc.StatementSapDB.sendSQL(StatementSapDB.java:945)
at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:256)
at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:228)
at com.sap.db.jdbc.trace.Statement.execute(Statement.java:132)
at com.sap.ndb.studio.jdbc.util.SQLExecutor$1.run(SQLExecutor.java:118)
I followed the prerequisite from this documentation http://help.sap.com/saphelp_hanaplatform/helpdata/en/6e/e89f6694244966bcd25f429840575e/content.htm
and I'm wandering if there is anything specific that needs to be done the shapefile. The shapefiles come from Arcgis for Desktop.
The error seems about a wrong WKT. I believe this is about the projection format which is a standard WGS84 Web Mercator: Maybe it is necessary to register the projections before importing?
Thanks for your help!