Contact: | |||
|---|---|---|---|
Tracker: | httphttps://jira.codehaus.org/browse/GEOT-XXXX4191 | ||
Tagline: |
|
| Section | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Description
Describe your proposal here, if needed you can provide background information, reference OGC documents, include class diagrams to show what you are simplifying, etc..
Try and provide context if you have a deadline, customer, and any additional information (if you have a design document you can attach it to the page as a PDF).
Status
This proposal is under construction.
Voting has not started yet:
...
Reading the Java 7 planned try-with-resource syntax I am convinced that supporting the Closable interface is necessary change for GeoTools 9.x.
Reading:
Status
This proposal is shaping up, ask question on the email list or vote below:
- Andrea Aime +1
- Ben Caradoc-Davies
- Christian Mueller +1
- Ian Turton +1
- Justin Deoliveira +1
- Jody Garnett +1
- Simone Giannecchini
Tasks
This section is used to make sure your proposal is complete (did you remember documentation?) and has enough paid or volunteer time lined up to be a success
| no progress |
| done |
| impeded |
| lack mandate/funds/time |
| volunteer needed |
|---|
- API changed based on BEFORE / AFTER
- Update default implementation
- Update wiki (both module matrix and upgrade to to 2.5 pages) |
- Remove deprecated code from GeoTools project
- Update the user guide
- Update or provided sample code in demo
- review user documentation
Coordinate API Change (above patches should be tested / applied together)- Implement Closable
FeatureIterator
FeatureReader
FeatureWriter
A lot of this work got rolled into the FeatureCollection clean up- Warn / Patch downstream applications (Combined with FeatureCollection cleanup)
Patch for GeoServer
Patch for uDig (patch ready held up waiting for 1.3.3 release)
- Check the code examples in user guide
Feature Collection try-with-resource code example
Geometry CRS Tutorial
Query Tutorial
API Changes
FeatureIterator
...
| Code Block |
|---|
import java.lang.Closable;
public interface FeatureWriter<T extends FeatureType, F extends Feature> extends Closable {
T getFeatureType();
F next() throws IOException;
void remove() throws IOException;
void write() throws IOException;
boolean hasNext() throws IOException;
void close() throws IOException;
} |
Documentation Changes
list the pages effected by this proposal
- gt-opengis filter api update to reflect api change
- gt-main filter examples updated to reflect api change
- upgrade instructions
- Module Matrix page