props.add( new GenericProperty( ft.getDefaultGeometryPropertyDeclaration(), g ) ); feature = ft.newFeature( fid, props, null );
FeatureType possibleFT = rootFeatureTypes[i]; if ( possibleFT != null ) { GeometryPropertyType geoPT = possibleFT.getDefaultGeometryPropertyDeclaration(); if ( geoPT != null ) { posFT = possibleFT.getName();