Interface FeatureType

    • Method Detail

      • isIdentified

        boolean isIdentified()
        Features are always identified.
        Specified by:
        isIdentified in interface AttributeType
        Returns:
        true
        See Also:
        Attribute#getID()
      • getGeometryDescriptor

        GeometryDescriptor getGeometryDescriptor()
        Describe the default geometric attribute for this feature.

        This method returns null in the case where no such attribute exists.

        Returns:
        The descriptor of the default geometry attribute, or null.
      • getCoordinateReferenceSystem

        CoordinateReferenceSystem getCoordinateReferenceSystem()
        The coordinate reference system of the feature.

        This value is derived from the default geometry attribute:

           ((GeometryType)getDefaultGeometry().getType()).getCRS();
         

        This method will return null in the case where no default geometric attribute is defined.

        Returns:
        The coordinate referencing system, or null.