Hi 

I'm trying to export some postgis layer to geopackage with GeoScript. Since the 
error seems to be a GeoTools issue, I'm bringing it up here:

Caught: java.io.IOException: Error occurred creating table
java.io.IOException: Error occurred creating table
        at org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:714)
        at org.geotools.jdbc.JDBCDataStore$createSchema.call(Unknown Source)
        at geoscript.workspace.Workspace.create(Workspace.groovy:121)
        at geoscript.workspace.Workspace$create$3.callCurrent(Unknown Source)
        at geoscript.workspace.Workspace.create(Workspace.groovy:111)
        at geoscript.workspace.Workspace$create$2.callCurrent(Unknown Source)
        at geoscript.workspace.Workspace.add(Workspace.groovy:150)
        at geoscript.workspace.Workspace.add(Workspace.groovy)
        at geoscript.workspace.Workspace$add$1.callCurrent(Unknown Source)
        at geoscript.workspace.Workspace.add(Workspace.groovy:131)
        at geoscript.workspace.Workspace$add$0.call(Unknown Source)
        at export.run(export.groovy:13)
Caused by: java.lang.RuntimeException: Unable to map stand_am( java.sql.Date)
        at 
org.geotools.jdbc.JDBCDataStore.createTableSQL(JDBCDataStore.java:2061)
        at org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:700)
        ... 11 more

"stand_am" is a postgresql date type. I'm using GeoScript master (GeoTools 
12-Snapshot) on Ubuntu 12.04 with Java7. Shall I report a bug on JIRA?

Regards
Stefan 

Freundliche Grüsse 
Stefan Ziegler 
Kantonsgeometer 

Amt für Geoinformation
Amtliche Vermessung 
Rötistrasse 4 
4500 Solothurn 

Telefon +41 32 627 75 96
Telefax +41 32 627 75 98 
stefan.zieg...@bd.so.ch
http://www.so.ch 


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to