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 yetReading 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
- Ben Caradoc-Davies
- Christian Mueller
- Ian Turton
- Justin Deoliveira
- 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
- FeatureIterator API change to throw IOException
- Update Interface and Implementations
- Fix library code including any broken tests
- Warn / Patch downstream applications
- Patch for GeoServer
- Patch for uDig
- Coordinate API Change (above patches should be tested / applied together)
- Implement Closable
- FeatureIterator
- FeatureReader
- FeatureWriter
- Update the 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