Skip navigation links

Package org.apache.sis.feature

Defines the structure and content of views of real-world phenomenon.

See: Description

Package org.apache.sis.feature Description

Defines the structure and content of views of real-world phenomenon. The phenomenon to represent (or a fundamental unit of information) is called a feature. The term “feature” may be used in different contexts: In addition, a feature type can inherit the properties of one or more other feature types. Properties defined in the sub-type can override properties of the same name defined in the super-types, provided that values of the sub-type property are assignable to the super-type property.
Each feature type has a name, which should be unique. Those names are the main criterion used for checking if a feature type is assignable from another type. Names can be scoped for avoiding name collision.
Class hierarchy
The class hierarchy for feature types is derived from ISO 19109 specification. The class hierarchy for feature instances is closely related:
Feature class hierarchy
Types Instances
Identified type
 ├─ Feature type
 └─ Property type
     ├─ Attribute type
     ├─ Feature association role
     └─ Operation
 ├─ Feature (sparse or dense)
 └─ Property
     ├─ Attribute (singleton or multi-valued)
     └─ Feature association (singleton or multi-valued)
Classes defined in this package are rarely instantiated directly (by a new statement). Instead those classes are instantiated indirectly by invoking a method on a parent container, or by using a builder. The starting point is Feature­Type, which may be created by a Feature­Type­Builder or may be provided by a Data­Store reading a data file. Once a Feature­Type has been obtained, Features can be instantiated by calls to the Feature­Type​.new­Instance() method. Once a Feature instance has been obtained, Attributes can be instantiated indirectly by calls to the Feature​.set­Property­Value(…) method.

Defined in the sis-feature module

Skip navigation links

Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.