Class TLspFusionGeometryProvider
Provides access to the geometry of Fusion vector features.
Fusion vector features often have multiple geospatial representations; a same feature may for
example be represented by a point at world-scale and a polygon at a more detailed zoom level.
The ILcdShapeList
interface of these features only provide access to the geometry of the
feature at the most detailed level.
The API provided by this class allows to retrieve the geospatial representation of features at the
current view level.
Two mechanisms are provided for accessing feature geometry:
- A simple method for retrieving geometry:
getGeometry(Object, com.luciad.view.lightspeed.TLspContext)
- A set of
ALspStyleTargetProvider
instances, one provider for each supported geometry type and one union provider
Consult the class javadoc of TLspFusionVectorLayerBuilder
for more
information about working with Fusion vector data in combination with an ILspStyler
.
- Since:
- 2012.1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Set
<ALspStyleTargetProvider> Deprecated.Set of style target providers for all style target types supported in fusion vector data.static final ALspStyleTargetProvider
Deprecated.The style target provider instance for selecting fused area outlines.static final ALspStyleTargetProvider
Deprecated.The style target provider instance for selecting fused area outlines.static final ALspStyleTargetProvider
Deprecated.The style target provider instance for selecting ILcdCurve geometries.static final ALspStyleTargetProvider
Deprecated.The style target provider instance for selecting ILcdPoint geometries.static final ALspStyleTargetProvider
Deprecated.The style target provider instance for selecting ILcdText geometries. -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
getGeometry
(Object aModelObject, TLspContext aContext) Deprecated.Extract the geometry associated with the element at the current level for the tiles that are currently available.
-
Field Details
-
TEXT
Deprecated.The style target provider instance for selecting ILcdText geometries. -
POINT
Deprecated.The style target provider instance for selecting ILcdPoint geometries. -
LINE
Deprecated.The style target provider instance for selecting ILcdCurve geometries. -
AREA_OUTLINE
Deprecated.The style target provider instance for selecting fused area outlines. -
AREA_FILL
Deprecated.The style target provider instance for selecting fused area outlines. -
ALL
Deprecated.Set of style target providers for all style target types supported in fusion vector data.
-
-
Method Details
-
getGeometry
Deprecated.Extract the geometry associated with the element at the current level for the tiles that are currently available.
Returned shapes
- An
ILcdShapeList
containing a shape for each visible element of the feature:-
ILcdPoint
: for point elements. -
ILcdShapeList
: for line elements. It containsILcdPolyline
shapes that describe the available parts of the line feature. -
ILfnTiledSurface
: for area elements. SeeILfnTiledSurface.getOutlines()
andILfnTiledSurface.getFills()
for details. -
ILcdText
: for text elements.
- The top-level object will also implement
ILcdDataObject
.Restrictions
- It is possible that you only get a part of the original geometry: if not all tiles geometry were visible, or if some tiles have not yet been loaded.
- It is possible that the geometry is presented in separate parts, e.g. if a tile in the middle is not yet loaded.
- Parts of adjacent wiles will always be merged together into one part.
- It is possible that extra points will be present that were not present in the original geometry. These points are interpolated points and will not be visible.
- Parameters:
aModelObject
- the model object (view-independent)aContext
- a context defining the layer and view for which to get the view-dependent geometry- Returns:
- the view-dependent (tiled) geometry, can be
null
- An
-