Details
Description
To make the geotools feature model extend the geoapi one, tthe following api changes need to be made
- org.geotools.feature.AttributeType
- getName() ==> getLocalName()
- getType() ==> getBinding()
- org.geotools.feature.FeatureType
- getDefaultGeometry() ==> getPrimaryGeometry()
- org.geotools.feature.Feature
- getDefaultGeometry() ==> getPrimaryGeometry()
- retype getBounds() to ReferencedEnvelope
- switch to java 5
Issue Links
- is depended upon by
-
GEOT-1359
make old feature model extend new feature model
-
Activity
Justin Deoliveira
made changes -
Justin Deoliveira
made changes -
| Component/s | core feature [ 12128 ] |
Justin Deoliveira
made changes -
| Description |
To make the geotools feature model extend the geoapi one, the following methods must be renamed: * org.geotools.feature.AttributeType ** getName() ==> getLocalName() ** getType() ==> getBinding() or getTypeBinding() * org.geotools.feature.FeatureType ** getDefaultGeometry() ==> getGeometryDefault() (this one could be fixed with java 5 type narrowing) * org.geotools.feature.Feature ** getDefaultGeometry() ==> getGeometryDefault() ** getBounds() ==> getBoundingBox() |
To make the geotools feature model extend the geoapi one, tthe following api changes need to be made * org.geotools.feature.AttributeType ** getName() ==> getLocalName() ** getType() ==> getBinding() * org.geotools.feature.FeatureType ** getDefaultGeometry() ==> getPrimaryGeometry() * org.geotools.feature.Feature ** getDefaultGeometry() ==> getPrimaryGeometry() ** retype getBounds() to ReferencedEnvelope * switch to java 5 |
Justin Deoliveira
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Andrea Aime
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Jody Garnett
made changes -
| Component/s | main [ 10810 ] | |
| Component/s | core feature [ 12128 ] |