Make vector grid construction a streaming process -------------------------------------------------
Key: GEOT-3132 URL: http://jira.codehaus.org/browse/GEOT-3132 Project: GeoTools Issue Type: Improvement Components: new modules Reporter: Michael Bedward Assignee: Michael Bedward Fix For: 2.7-M1 The grid module presently constructs grids in memory, with the whole grid being built at one time and stored in a ListFeatureCollection. The next step is to make grid element creation a streaming process as suggested by Andrea on IRC: - Grid creation methods will return a FeatureSource which only contains the definition of the grid, not the grid itself. - When the feature source gets a query (and optionally rendering hints to decide how densely polygon vertices should be created) a FeatureCollection is generated; this collection also only contains the grid definition, not its contents. - A custom FeatureIterator is used to get grid elements. Each time next() is called the element is constructed on the fly. - When working with a user provided feature type and GridFeatureBuilder these are passed to the custom iterator. The result should be a fully streaming solution with close to zero memory footprint. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel