Hi Adrian, Yes when the Feature Model eventually comes out (usual disclaimer of pending time, funding, cooperation) it will need to be explicit if it is making use of a simple feature model (simple == 'flat').
I would expect that with Java 5 we could explicitly return SimpleFeatureType and SimpleFeatureCollection when the occasion warrants, but since we are at Java 1.4 you would need to use an instanceof check. Please note that currently the implementations only support a simple (ie 'flat') feature, and although Justin and I are going to hack this evening the revised feature model looks further and further away with each passing week (sad). Jody > hey all, > > I'd like to implement a memory data store that stored the attribute > array in libR, the engine for the R statistical language. However, I > don't want to store any arbitrary attribute the way the new feature > model does but only totally flat features: > ID:Geometry: 1D Attribute Array > > Is there a way to limit the DataStore to a subset of all features? i.e. > a way to say the DataStore only handles these flat features? > > thanks, > adrian ------------------------------------------------------------------------- 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-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
