Make vector grid construction a streaming process
-------------------------------------------------
Key: GEOT-3133
URL: http://jira.codehaus.org/browse/GEOT-3133
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...
- Create methods will return a FeatureSource which only contains the definition
of the grid, not the grid contents (ie. not features)
- When this FeatureSource receives a query and (optionally) rendering hints
specifying how densely to create polygon vertices, a FeatureCollection is
generated; this collection, like the FeatureSource, contains the grid
definition but not its contents.
- A custom FeatureIterator is used to get features from the collection; each
time next() is called a SimpleFeature is created on-the-fly for the relevant
grid element.
- When working with a user-supplied feature type and associated
GridFeatureBuilder object, 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel