Motivation: |
We are tired of working with flat features. |
|---|---|
Contact: |
|
Tracker: |
|
Tagline: |
Expected refactoring, performed during the FOSS4G code sprint |
This page represents the current plan; for discussion please check the tracker link above.
Description
We are tired of working with flat features:
- The GeoAPI project finally has a feature interface available that meets our needs
- org.opengis.feature.simple.SimpleFeature matches our current expectations - we can do a search and replace in order to switch over
- All code should be changed over to Use SimpleFeatureBuilder before this work proceeds
Status
|
This proposal was part of the FOSS4G code sprint; it was mostly approved as part |
dynamictasklist: task list macros declared inside wiki-markup macros are not supported |
Resources
|
There is a lot of ink split on this topic. If I gave you links you would only get confused. If you would like to be confused: |
Tasks
|
no progress |
|
done |
|
impeded |
|
lack mandate/funds/time |
|
volunteer needed |
|---|
The Strict Plan
We want to prevent a repeat of what happened with Filter, this plan breaks early and breaks often - and then relaxes things for client code right before we ship.
Use SimpleFeatureBuilder
Make org.geotools.feature.FeatureImpl implement SimpleFeature
Move org.geotools.feature.Feature to legacy and deprecate
Add any methods needed to DefaultFeature
Change imports and API as required in geotools modules
Test like mad
Confirm uDig and GeoServer are happy and can build
Confirm uDig and GeoServer are just using SimpleFeature
Update documentation where needed (most of the documentation was created w/ this in mind)
Feature Model Guide Code Example Page used during code sprint
Release milestone release 2.5-M2)
Revise based on experience (change to getDescriptor() and getId() )
Release 2.5-RC0
API Changes
BEFORE
AFTER
Documentation Changes
Website:
- Update Upgrade to 2.5 instructions