Hi there,

I'm looking to store Feature objects to be added to a new layer in a map. I was advised previously to use the MemoryDataStore class. However, when I add features one at a time to it, each feature overwrites the previous one, leaving only one feature in the MemoryDataStore object (i.e. the last one added). Does anybody know what the problem could be here?

Or does anybody know an alternative solution? I want to put new Features that I've created into a FeatureSource object so I can add them to a new layer in the map. The features are being made from scratch (a result of merging polygons).

Thanks,
Sean




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to