thx a lot for help, i'm going to study your docs. The parts that are not
working are mainly parts when i'm using "DefaultFeature",
"DefaultFeatureType", "AttributeType", etc. Just few examples:
1.
...
while (iterator.hasNext()) {
DefaultFeature feature =
(DefaultFeature) iterator.next();
Number number = (Number)
feature.getAttribute("THROUGH");
MultiLineString mls =
(MultiLineString)feature.getDefaultGeometry();
if (1 < mls.getNumGeometries()) {
count ++;
}
...
2.
DefaultFeatureType type = (DefaultFeatureType) feature.getFeatureType();
3.
AttributeType[] types = featureSource.getSchema().getAttributeTypes();
After upgrading do 2.5 compiler doesn't know the types "DefaultFeature",
"DefaultFeatureType" or "AttributeType" because they are not present in 2.5
(my code is from 2.4.2, few years ago)...
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/GeoTools-upgrade-problem-2-4-2-2-5-6-7-tp6355239p6355430.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users