I would not write a DataStore for doing that. Having the metadata stored inside the db des not means that you need a DataStore for getting a GridCoverage2D in this case and even if you really want to create such a dastore I would do the converse that is using the DataStore internally to your GridCoverage2D.
I guess you are trying to come up with a GridCoverageReader for the SEAGIS project.If so, I think the second approach is much better. When you create the reader you connect to the db. When you do a read you use the needed metadata and create the GridCoverage2D as you need. The ImageMosaic does something like that (well I admint, much less than what you need to do :-) ) because it stores the index in an internal shapefile. Hope that helps. Simone. On 11/15/06, Cédric Briançon <[EMAIL PROTECTED]> wrote: > Hello Geotools-devel list, > > I'm coding a specific datastore for a GridCoverage database made by > Martin. This database is particular, because it stores GridCoverages > metadata in it, and gives a pointer to images stored in a file system, > or remote server. > The images are stored in different directories, and each directory is a > kind of data (Series). The path to these directories are stored in the > database. > > Firstly, I worked on a CoverageReader for these images. It gives, by the > read() method, a GridCoverage for the date and series specified. > Consequently, a datastore could now use the GridCoverage to form a > Feature with it. > My questions are : > - Can I use a GridCoverage as a Feature for the DataStore and how to use > it ? > - What is the FeatureType associated for this ? > > Cheers, > Cédric B. > > > ------------------------------------------------------------------------- > 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 > Geotools-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel > -- ------------------------------------------------------- Eng. Simone Giannecchini President /CEO GeoSolutions http://www.geo-solutions.it ------------------------------------------------------- ------------------------------------------------------------------------- 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 Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel