Hi Jody, > +1 From me; good to explore the ideas.
Thanks for that. > The only one that confused me was the working with Number? Consider it an experimental, but some advantages over working with primitive types: - It makes for a simpler API (fewer methods) - It allows out-of-bound coordinates to be dealt with by returning null rather than throwing an Exception - It makes it a bit easier for the coverage code to check for fiddly things, like byte/int conversion rather than the user having to do that A factory style class, presently called SimpleGridCoverages (after FeatureCollections) also has methods that use Number, for example: public static create(Number[] data, int width, int height) > Notes: > - I also put into some thought into the idea a more simple Format plugin > system (but cannot find the wiki page); but I think Simone got further than > me. > - whatnick was asking about this kind of thing perhaps he would be > interested > A question; does your module support its own plugin system for additional > formats to be added? Or does it wrap what is already around in an easier to > use interfaces? I haven't thought about that end of things at all yet. I wanted to start by thinking about use once you have a coverage (e.g. getting values, querying data type and bounds, using iterators) before worrying about the I/O and format end of things in the hope that this would lead to a better API for users. That may or may not be sensible :) I don't propose supporting all of what is possible with the coverage module. Most of the questions on the user list are about very basic things (e.g. someone reads in a geotiff but then can't work out how to access values sequentially, or by grid coords, or get the data type etc. So that's the target audience level. Michael ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel