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

Reply via email to