Hi, I want to create a shapefile from a MapLayer. I used the example on the website http://docs.codehaus.org/display/GEOTDOC/11+Exporting+to+A+Shapefile website , but I have a little problem the new shapefile.
When I do that: featureStore.addFeatures(collection); The featureStore doesn't keep the features ID and set IDs as xxx.0, xxx.1, ... But I want to keep these IDs otherwise the styles that I saved in a SLD file can't be reused due to different IDs in the SLD and the shapefile. If someone can help me to solve my problem, I will be grateful. Thanks. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/FeatureStore-and-feature-ID-tp5074621p5074621.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
