Interesting idea!  FeaureSource is just an interface - you can go ahead 
and implement the functionality you describe. When the user calls 
source.getFeatures() you would need to make a FeatureCollection that 
iterates over each file in turn...

Jody

Enam wrote:
> I am trying to implement a new kind of datastore that uses multiple
> shapefiles sharing the same schema. This can be useful when the shapefile is
> big. I am not sure on how to implement getFeatureSource() method. I would
> like it to return a FeatureSource containing all the FeatureSource from the
> shapefiles. Is there a way to merge two FeatureSource into one ?
>
> Thanks,
> Enam
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to