No idea - sorry. I haven't experienced this error in my own work and don't recall it being reported previously.
Since neither Jody or I have been able to help you so far all I can suggest is for you to track the writing of a feature to shapefile with your debugger and see if you can isolate the point at which the feature id is being set (or not set) and then get back to the list with a code trace. Sorry I can't be more helpful. Michael On 11 October 2011 14:31, filippov70 <filippo...@gmail.com> wrote: > Thank you for the visualization of my data. > But I did not add such polygons in SimpleFeatureCollection: > > mp = new MultiPolygon (pa, geometryFactory); > if (mp.isValid ()) { > parcelBuilder.add ("Polygon"); > parcelBuilder.add (mp); > parcelBuilder.add (cadastreNumber); > parcelBuilder.add (utilization); > SimpleFeature feature = parcelBuilder.buildFeature > (null); > if (feature! = null) { > parcelCollection.add (feature); > } > > The problem remained. Why the current FID == -1? > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/writing-shapefile-problem-tp6846785p6879516.html > Sent from the geotools-gt2-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users