> i'm going over the 09shaplab tut for displaying on screen, and wandering > is there a function > getDefaultGeometry(). because in the api > http://geoapi.sourceforge.net/2.0/javadoc/org/opengis/feature/FeatureType.html > i can't seem to find this function
Don't confuse feature type with feature... E.g. you might create a feature type: "street" with attributes for the geometry (e.g. a LineString), name, number of traffic lanes etc. etc. Then you create features of that type, each of which represents a particular street. getDefaultGeometry is a feature method, e.g. you are getting the LineString for a particular street feature http://geoapi.sourceforge.net/snapshot/javadoc/org/opengis/feature/simple/SimpleFeature.html Michael ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users