Class TileDecoders
Each decoder accepts an InputStream
, parses the protobuf-encoded partition,
and converts it into the corresponding in-memory representation
within the Library model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MultiPropertyTile
adasAttributes
(InputStream inputStream) Decoder for the ADAS attributes layer that retains all available attributes.static MultiPropertyTile
adasAttributes
(scala.collection.Seq<AdasAttributeDescription> attributes, InputStream inputStream) Decoder for the ADAS attributes layer that retains only the specified attributes.static MultiPropertyTile
advancedNavigationAttributes
(InputStream inputStream) Decoder for the Advanced Navigation attributes layer that retains all available attributes.static MultiPropertyTile
advancedNavigationAttributes
(scala.collection.Seq<AdvancedNavigationAttributeDescription> attributes, InputStream inputStream) Decoder for the Advanced Navigation attributes layer that retains only the specified attributes.static RangeBasedPropertyTile<Object>
freeFlowSpeed
(InputStream inputStream) Decoder for the Free Flow Speed layer.static GeometryTile
geometry
(InputStream inputStream) Decoder for the Geometry layer.static UndirectedPropertyTile<Object>
length
(InputStream inputStream) Decoder for the Length layer.static MappingTile
mapping
(InputStream inputStream) Decoder for the Mapping layer.static MultiPropertyTile
navigationAttributes
(InputStream inputStream) Decoder for the Navigation attributes layer that retains all available attributes.static MultiPropertyTile
navigationAttributes
(scala.collection.Seq<NavigationAttributeDescription> attributes, InputStream inputStream) Decoder for the Navigation attributes layer that retains only the specified attributes.static EdgePropertyTile<Object>
restrictedManoeuvre
(InputStream inputStream) Decoder for the Restricted Manoeuvre layer.static RangeBasedPropertyTile<Object>
roadAccess
(InputStream inputStream) Decoder for the Road Access layer.static MultiPropertyTile
roadAttributes
(InputStream inputStream) Decoder for the Road attributes layer that retains all available attributes.static MultiPropertyTile
roadAttributes
(scala.collection.Seq<RoadAttributeDescription> attributes, InputStream inputStream) Decoder for the Road attributes layer that retains only the specified attributes.static GraphTile
routingGraph
(InputStream inputStream) Decoder for the Routing Graph layer.static com.here.platform.pb.location.optimizedmap.tmc.v2.tmc.TmcTablePartition
tmcTable
(InputStream inputStream) Decoder for the Tmc layer.
-
Constructor Details
-
TileDecoders
public TileDecoders()
-
-
Method Details
-
geometry
Decoder for the Geometry layer.- Parameters:
inputStream
- The input stream containing the protobuf-encoded Geometry layer data.
-
length
Decoder for the Length layer.- Parameters:
inputStream
- The input stream containing the protobuf-encoded Length layer data.
-
mapping
Decoder for the Mapping layer.- Parameters:
inputStream
- The input stream containing the protobuf-encoded Mapping layer data.
-
restrictedManoeuvre
Decoder for the Restricted Manoeuvre layer.- Parameters:
inputStream
- The input stream containing the protobuf-encoded Restricted Manoeuvre layer data.
-
routingGraph
Decoder for the Routing Graph layer.- Parameters:
inputStream
- The input stream containing the protobuf-encoded Routing Graph layer data.
-
roadAccess
Decoder for the Road Access layer.- Parameters:
inputStream
- The input stream containing the protobuf-encoded Road Access layer data.
-
freeFlowSpeed
Decoder for the Free Flow Speed layer.- Parameters:
inputStream
- The input stream containing the protobuf-encoded Free Flow Speed layer data.
-
tmcTable
public static com.here.platform.pb.location.optimizedmap.tmc.v2.tmc.TmcTablePartition tmcTable(InputStream inputStream) Decoder for the Tmc layer.- Parameters:
inputStream
- The input stream containing the protobuf-encoded Tmc layer data.
-
roadAttributes
Decoder for the Road attributes layer that retains all available attributes.Recommended when full access to all Road attributes is required.
- Parameters:
inputStream
- The input stream containing the protobuf-encoded Road attributes data.
-
roadAttributes
public static MultiPropertyTile roadAttributes(scala.collection.Seq<RoadAttributeDescription> attributes, InputStream inputStream) Decoder for the Road attributes layer that retains only the specified attributes.This decoder reads the protobuf data from the provided
inputStream
, but keeps only the attributes explicitly specified in theattributes
parameter. It helps reduce memory consumption and improve performance.Note: Accessing an excluded attribute at runtime will result in an
IllegalArgumentException
.- Parameters:
inputStream
- The input stream containing the protobuf-encoded Road attributes data.attributes
- The list of Road attributes to retain after decoding.
-
adasAttributes
Decoder for the ADAS attributes layer that retains all available attributes.Recommended when full access to all ADAS attributes is required.
- Parameters:
inputStream
- The input stream containing the protobuf-encoded ADAS attributes data.
-
adasAttributes
public static MultiPropertyTile adasAttributes(scala.collection.Seq<AdasAttributeDescription> attributes, InputStream inputStream) Decoder for the ADAS attributes layer that retains only the specified attributes.This decoder reads the protobuf data from the provided
inputStream
, but keeps only the attributes explicitly specified in theattributes
parameter. It helps reduce memory consumption and improve performance.Note: Accessing an excluded attribute at runtime will result in an
IllegalArgumentException
.- Parameters:
inputStream
- The input stream containing the protobuf-encoded ADAS attributes data.attributes
- The list of ADAS attributes to retain after decoding.
-