just following the CSV2Shp example, tinkering with creating shapefiles from 
text, I am getting a curious error when I add the entire collection:

java.io.IOException: Current fid index is null, next must be called before 
write()
    at 
org.geotools.data.shapefile.indexed.IndexedFidWriter.write(IndexedFidWriter.java:250)
    at 
org.geotools.data.shapefile.indexed.IndexedShapefileFeatureWriter.write(IndexedShapefileFeatureWriter.java:100)
    at 
org.geotools.data.shapefile.ShapefileFeatureWriter.close(ShapefileFeatureWriter.java:225)
    at 
org.geotools.data.shapefile.indexed.IndexedShapefileFeatureWriter.close(IndexedShapefileFeatureWriter.java:108)
    at 
org.geotools.data.TransactionStateDiff.applyDiff(TransactionStateDiff.java:265)
    at 
org.geotools.data.TransactionStateDiff.commit(TransactionStateDiff.java:145)
    at org.geotools.data.DefaultTransaction.commit(DefaultTransaction.java:182)
    at Attr2Shp.main(Attr2Shp.java:241)

hints, suggestions, RTFMs welcomed...

thanks!
Chris
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to