[Gvsig_english] trouble exporting a shapefile

Juan Lucas Dominguez Rubio jldominguez at prodevelop.es
Mon Jul 28 10:19:19 CEST 2008


Hello, Steven,
 
Field type 8 is the DOUBLE type, so that error message means that gvSIG has found the string '***********' where it should have found a valid double value. That seems to be happening in the 26th field (o-based index = 25) of the first row.
 
Can you check if your DBF file has some strange value in that position?
 
Regards,
 
 
 
Juan Lucas Domínguez Rubio
Prodevelop SL, Valencia (España)
Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
http://www.prodevelop.es <http://www.prodevelop.es/> 

________________________________

De: gvsig_internacional-bounces at runas.cap.gva.es en nombre de Steven Drake
Enviado el: dom 27/07/2008 20:16
Para: gvsig_internacional at runas.cap.gva.es
Asunto: [Gvsig_english] trouble exporting a shapefile


Hello, 
 
I've had trouble exporting a large polygon shapefile (+450,000 polygons) but no trouble exporting smaller size shapefiles. I don't know if the problem is the shapefile or its' size. The shapefile has exported OK with other GIS software so there might be something going on inside gvSIG itself. Using version 1.1.1 build 1022. 
 
Any idea what is going on, and if there is a work-around? I can make the shapefile available if needed. 
 
If it helps any, the Information Console displays the message below:
 
null
com.hardcode.gdbms.engine.data.driver.DriverException: Bad Field Value: '****************' (rowIndes: 0 fielId: 25 fieldType: 8 )
    com.iver.cit.gvsig.fmap.drivers.dbf.DBFDriver.getFieldValue(Unknown Source)
    com.hardcode.gdbms.engine.data.file.FileDataSourceAdapter.getFieldValue(Unknown Source)
    com.hardcode.gdbms.engine.data.DataSourceCommonImpl.getRow(Unknown Source)
    com.hardcode.gdbms.engine.data.AutomaticDataSource.getRow(Unknown Source)
    com.iver.cit.gvsig.fmap.layers.SelectableDataSource.getRow(Unknown Source)
    com.iver.cit.gvsig.ExportTo$WriterTask.run(Unknown Source)
    com.iver.andami.PluginServices$1.construct(PluginServices.java:400)
    com.iver.utiles.swing.threads.SwingWorker$2.run(Unknown Source)
    java.lang.Thread.run(Unknown Source)
null
com.hardcode.gdbms.engine.data.driver.DriverException: Bad Field Value: '****************' (rowIndes: 206 fielId: 25 fieldType: 8 )
    com.iver.cit.gvsig.fmap.drivers.dbf.DBFDriver.getFieldValue(Unknown Source)
    com.hardcode.gdbms.engine.data.file.FileDataSourceAdapter.getFieldValue(Unknown Source)
    com.iver.cit.gvsig.fmap.operations.arcview.ArcJoinDataSource.getFieldValue(Unknown Source)
    com.hardcode.gdbms.engine.data.DataSourceCommonImpl.getRow(Unknown Source)
    com.hardcode.gdbms.engine.data.AutomaticDataSource.getRow(Unknown Source)
    com.iver.cit.gvsig.fmap.layers.SelectableDataSource.getRow(Unknown Source)
    com.iver.cit.gvsig.ExportTo$WriterTask.run(Unknown Source)
    com.iver.andami.PluginServices$1.construct(PluginServices.java:400)
    com.iver.utiles.swing.threads.SwingWorker$2.run(Unknown Source)
    java.lang.Thread.run(Unknown Source)
null
com.hardcode.gdbms.engine.data.driver.DriverException: Bad Field Value: '****************' (rowIndes: 0 fielId: 25 fieldType: 8 )
    com.iver.cit.gvsig.fmap.drivers.dbf.DBFDriver.getFieldValue(Unknown Source)
    com.hardcode.gdbms.engine.data.file.FileDataSourceAdapter.getFieldValue(Unknown Source)
    com.hardcode.gdbms.engine.data.DataSourceCommonImpl.getRow(Unknown Source)
    com.hardcode.gdbms.engine.data.AutomaticDataSource.getRow(Unknown Source)
    com.iver.cit.gvsig.fmap.layers.SelectableDataSource.getRow(Unknown Source)
    com.iver.cit.gvsig.ExportTo$WriterTask.run(Unknown Source)
    com.iver.andami.PluginServices$1.construct(PluginServices.java:400)
    com.iver.utiles.swing.threads.SwingWorker$2.run(Unknown Source)
    java.lang.Thread.run(Unknown Source)
null
com.hardcode.gdbms.engine.data.driver.DriverException: Bad Field Value: '****************' (rowIndes: 0 fielId: 25 fieldType: 8 )
    com.iver.cit.gvsig.fmap.drivers.dbf.DBFDriver.getFieldValue(Unknown Source)
    com.hardcode.gdbms.engine.data.file.FileDataSourceAdapter.getFieldValue(Unknown Source)
    com.hardcode.gdbms.engine.data.DataSourceCommonImpl.getRow(Unknown Source)
    com.hardcode.gdbms.engine.data.AutomaticDataSource.getRow(Unknown Source)
    com.iver.cit.gvsig.fmap.layers.SelectableDataSource.getRow(Unknown Source)
    com.iver.cit.gvsig.ExportTo$WriterTask.run(Unknown Source)
    com.iver.andami.PluginServices$1.construct(PluginServices.java:400)
    com.iver.utiles.swing.threads.SwingWorker$2.run(Unknown Source)
    java.lang.Thread.run(Unknown Source)
null
com.hardcode.gdbms.engine.data.driver.DriverException: Bad Field Value: '****************' (rowIndes: 0 fielId: 25 fieldType: 8 )
    com.iver.cit.gvsig.fmap.drivers.dbf.DBFDriver.getFieldValue(Unknown Source)
    com.hardcode.gdbms.engine.data.file.FileDataSourceAdapter.getFieldValue(Unknown Source)
    com.hardcode.gdbms.engine.data.DataSourceCommonImpl.getRow(Unknown Source)
    com.hardcode.gdbms.engine.data.AutomaticDataSource.getRow(Unknown Source)
    com.iver.cit.gvsig.fmap.layers.SelectableDataSource.getRow(Unknown Source)
    com.iver.cit.gvsig.ExportTo$WriterTask.run(Unknown Source)
    com.iver.andami.PluginServices$1.construct(PluginServices.java:400)
    com.iver.utiles.swing.threads.SwingWorker$2.run(Unknown Source)
    java.lang.Thread.run(Unknown Source)

Thanks!
 
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://runas.cap.gva.es/pipermail/gvsig_internacional/attachments/20080728/5c8bd99b/attachment.htm


More information about the Gvsig_internacional mailing list