Class ALfnAssetMetadata.AssetPart
- Direct Known Subclasses:
TLfnRasterAssetMetadata.RasterAssetPart
,TLfnVectorAssetMetadata.VectorAssetPart
- Enclosing class:
ALfnAssetMetadata
Bounding boxes have the following requirements:
- The bounding box's coordinates are always in the asset's geographic reference.
- The bounding box may be larger than the area of the corresponding data, but the whole data area must lie within the bounding box.
The location points to the resource which can be decoded into a model.
The root, if present, must be an ancestor of the location, and must end with a slash '/'. It is only relevant when storing asset sources in Tile Store. The location's path relative to the root will be copied as asset sources. Consider for example:
- root=
file:///mnt/data/
- location=
file:///mnt/data/file.tiff
file.tiff
and will result in a folder structure on the server:
- <tile-store-dir>/Assets/<asset-id>/file.tiff
- Since:
- 10.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
ALfnAssetMetadata.AssetPart.Builder<A extends ALfnAssetMetadata.Builder<A,
P>, B extends ALfnAssetMetadata.AssetPart.Builder<A, B, P>, P extends ALfnAssetMetadata.AssetPart> An abstract builder for asset parts. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the parent asset metadata this asset is part of, which is nevernull
.Gets the 2D bounding box of this asset part.Gets the location of this asset part as a URI.getRoot()
The location's root, used by the fusion engine to relativize the location when the asset sources are put in the Tile Store.int
hashCode()
toString()
-
Method Details
-
getRoot
The location's root, used by the fusion engine to relativize the location when the asset sources are put in the Tile Store. The location's root is only relevant when asset sources need to be in the Tile Store.As an example, suppose a location
"file:/C:/Data/ENC_ROOT/CATALOG.031"
and a root"file:/C:/Data/"
. The fusion engine will put all asset sources relevant to"file:/C:/Data/ENC_ROOT/CATALOG.031"
in the Tile Store.- Returns:
- the location's root
- Since:
- 2013.1
-
getLocation
Gets the location of this asset part as a URI. Note that the location must includes the root, if any.OGC filter property XPath:
lts:Location/@xlink:href
- Returns:
- the URI of the location, never
null
-
getBoundingBox
Gets the 2D bounding box of this asset part.OGC filter property XPath:
lts:BoundingBox
This property can be used with the OGC filter bounding box operator.- Returns:
- the 2D bounding box, never
null
-
getAssetMetadata
Gets the parent asset metadata this asset is part of, which is nevernull
.- Returns:
- the parent asset metadata this asset is part of, never
null
- Since:
- 2014.0
-
equals
-
hashCode
public int hashCode() -
toString
-