From: Gabriella T. <g....@ni...> - 2006-11-08 03:10:48
|
OK, I got it to run (simple matter of replacing hardcode file separator with File.separator in code), but it still does not run. I am running it with out a DB gaby /home/turekg/dev/java/tools/gtexamples/spearfish22/shapefiles/archsites.shp java.io.EOFException: Premature end of file at org.geotools.data.shapefile.dbf.DbaseFileHeader.read(DbaseFileHeader.java:98) at org.geotools.data.shapefile.dbf.DbaseFileHeader.readHeader(DbaseFileHeader.java:459) at org.geotools.data.shapefile.dbf.DbaseFileReader.<init>(DbaseFileReader.java:129 -- *************************************************************** ** Gabriella Turek g....@ni... ** ** National Institute of Water & Atmospheric Research (NIWA) ** ** PO Box 8602 Christchurch New Zealand +64-3-348-8987x3724 ** *************************************************************** |