David ha scritto:
> Hi,
> My goal is to add a new layer with a custom featureCollection to a map 
> already containing a layer created with a shapefile.
> I want to create a layer with new features and dispose them on top of 
> the "shapefile's" layer.
> Should I use a MemoryDataStore? Or should I create a new featureSource 
> from a new Shapefile?

Both would work. It depends on how big is your data, if small, I'd say,
keep it in memory. Oh, the memory data store is not very used afaik,
whilst the shapefile one is a lot more tested. If you have issues
with the memory one, please let us know.
Cheers
Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to